EF-LLM: A Continual Learning-Based Framework for AI-Assisted Automation, Enhanced Sparse Prediction, and Hallucination Detection
Abstract
Accurate prediction helps achieve supply-demand balance in energy systems,thereby supporting operational decision-making and scheduling.Traditional models,which lack AI-assisted automation,often rely heavily on expert knowledge,incur high labor costs,and perform poorly under sparse-data conditions.To address these challenges,this work proposes an Energy Forecasting Large Language Model (EF-LLM),which integrates domain knowledge and temporal data for time-series forecasting while supporting both pre-forecast operations and post-forecast decision-making.EF-LLM's human-artificial intelligence (AI) interaction capabilities further lower the entry barrier for forecasting tasks and reduce the need for additional expert involvement.To support these functions, a continual learning framework with updatable Low-Rank Adaptation (LoRA) and a multi-channel architecture is developed to align heterogeneous multimodal data, enabling EF-LLM to continuously acquire and adapt multimodal knowledge.In addition,EF-LLM improves prediction accuracy under sparse-data conditions by leveraging its ability to process and fuse multimodal information.A Fusion Parameter-Efficient Fine-Tuning (F-PEFT) method is further introduced to effectively exploit both time-series data and textual information.EF-LLM is also the first energy-specific LLM to detect hallucinations and quantify their occurrence rate, achieved via multi-task learning and semantic similarity analysis.This work has achieved success in energy prediction scenarios for load, PV, and wind power forecast.
Figures & tables
| Func | Auto | Pred | Multimodal | Hallucination Detection | multiple scenarios | scope |
| Zhang et al. [2024] | ✔ | ✘ | ✘ | ✘ | ✘ | bidding |
| Liang et al. [2025] | ✔ | ✘ | ✘ | ✘ | ✘ | prediction |
| Wang et al. [2024] | ✘ | ✘ | ✔ | ✘ | ✘ | Knowledge QA |
| Bao et al. [2026] | ✘ | ✘ | ✘ | ✔ | ✘ | Knowledge QA |
| Gabber and Hemied [2024] | ✘ | ✘ | ✘ | ✘ | ✔ | Knowledge QA |
| Buster [2023] | ✘ | ✘ | ✘ | ✘ | ✔ | Knowledge QA |
| Techniques | Restrict format | Function call | Inject knowledge |
| prepare data | |||
| F&P engineering | |||
| prediction | |||
| decision support |
| Pre-trained LLM | EF-LLM | |
| data preparation | 0.781 | 0.844 |
| prediction | 0.353 | 0.947 |
| decision support | 0.367 | 0.999 |
| EF-LLM base | updated EF-LLM | EF-LLM(direct) | |
| data preparation | 0.813 | 0.839 | 0.844 |
| prediction | 0.945 | 0.947 | 0.947 |
| decision support | 0.999 | 0.999 | 0.999 |
| Load | EF-CLS | EF-REG | LSTM | iTF | TN | STELLM-style |
| MAE (kW) | 18.14 | 24.34 | 24.28 | 20.34 | 19.32 | 22.73 |
| RMSE (kW) | 20.63 | 33.13 | 32.56 | 24.62 | 23.41 | 27.19 |
| PV | EF-CLS | EF-REG | LSTM | iTF | TN | STELLM-style |
| MAE (kW) | 15.07 | 16.81 | 17.71 | 16.69 | 16.16 | 18.72 |
| RMSE (kW) | 38.18 | 46.79 | 41.44 | 43.99 | 45.14 | 56.48 |
| Wind | EF-CLS | EF-REG | LSTM | iTF | TN | STELLM-style |
| load | 1-C | 1-R | 2-C | 2-R | EF-C | EF-R |
| MAE (kW) | 18.65 | 24.45 | 17.93 | 24.27 | 18.14 | 24.34 |
| RMSE (kW) | 21.47 | 33.23 | 19.92 | 32.69 | 20.63 | 33.13 |
| PV | 1-C | 1-R | 2-C | 2-R | EF-C | EF-R |
| MAE (kW) | 16.52 | 17.62 | 14.62 | 17.45 | 15.07 | 16.81 |
| RMSE (kW) | 42.36 | 47.41 | 37.93 | 45.33 | 38.18 | 46.79 |
| wind | 1-C | 1-R | 2-C | 2-R | EF-C | EF-R |
| load | EF-CLS | EF-REG | LSTM | iTF | TN | STELLM-style |
| MAE (kW) | 25.17 | 32.72 | 31.81 | 27.98 | 29.08 | 31.62 |
| RMSE (kW) | 33.83 | 53.88 | 49.71 | 40.28 | 37.92 | 51.56 |
| PV | EF-CLS | EF-REG | LSTM | iTF | TN | STELLM-style |
| MAE (kW) | 10.32 | 16.73 | 13.83 | 19.93 | 24.40 | 15.13 |
| RMSE (kW) | 20.40 | 24.39 | 18.27 | 33.34 | 40.19 | 22.23 |
| wind | EF-CLS | EF-REG | LSTM | iTF | TN | STELLM-style |
| load | 0.2 | 0.3 | 0.4 | 0.5 | 0.6 | 0.7 | 0.8 |
| MAE-C | 19.9 | 17.4 | 16.8 | 15.1 | 15.0 | 15.1 | 15 |
| MAE-R | 16.8 | 16.6 | 16.7 | 16.8 | 17.2 | 17.4 | 17.8 |
| HP-C/% | 22.8 | 7.5 | 2.1 | 0 | 0 | 0 | 0 |
| HP-R/% | 0 | 0 | 0 | 0 | 0 | 1.3 | 14.9 |
| PV | 0.2 | 0.3 | 0.4 | 0.5 | 0.6 | 0.7 | 0.8 |
| MAE-C | 21.1 | 20.6 | 19.2 | 18.1 | 18.3 | 18.1 | 18.1 |
| ANOVA | Load | PV | wind |
| F-statistic | 0.00265 | 0.00473 | 0.00154 |
| P-value | 0.9999 | 0.9999 | 0.9999 |
Appendix figures & tables7 assets
Supplementary material from the paper’s appendix.
Appendix
| Load | EF-CLS | EF-REG | LSTM | iTF | TN | STELLM-style |
| MAE (kW) | 17.11 | 24.36 | 20.82 | 17.65 | 18.10 | 18.23 |
| RMSE (kW) | 17.91 | 33.86 | 25.47 | 17.33 | 20.67 | 20.79 |
| PV | EF-CLS | EF-REG | LSTM | iTF | TN | STELLM-style |
| MAE (kW) | 14.81 | 17.16 | 15.98 | 14.35 | 14.04 | 15.39 |
| RMSE (kW) | 36.75 | 43.87 | 43.24 | 33.94 | 34.24 | 44.78 |
| Wind | EF-CLS | EF-REG | LSTM | iTF | TN | STELLM-style |
LLM-Based Time Series Forecasting
LLM-based time series forecasting uses large language models to predict future values from numerical histories and contextual data.
See all 102 papers