Electricity demand forecasting is fundamental to grid operations, particularly in rapidly urbanizing industrial regions where consumption patterns are volatile and unpredictable. A research team has developed a hybrid machine learning framework combining a Temporal Fusion Transformer (TFT) with LightGBM to predict short-to-medium-term electricity loads with significantly improved accuracy.
The study focused on Tabriz, a medium-sized industrial city in Iran, using hourly consumption data from 2023–2024. The researchers incorporated meteorological variables, calendar features, and industrial activity indicators into their model. The TFT component excels at capturing complex temporal dependencies across multiple variables, while its built-in attention mechanism reveals which factors most strongly influence demand. LightGBM, a gradient boosting algorithm, then corrects forecast residuals and captures remaining nonlinear patterns.
Results were compelling. The hybrid model reduced root mean square error by 11.7% and mean absolute error by 13.9% compared to the TFT alone. It also outperformed six established benchmarks, including LSTM, GRU, and Informer architectures across all error metrics.
Beyond raw accuracy, the framework offers two practical advantages: interpretability and computational efficiency. Utilities can understand which variables drive load forecasts—industrial production, temperature, time-of-week patterns—enabling better operational decisions. The model also runs efficiently on standard hardware, essential for utilities with limited computational budgets.
The work addresses a real challenge for grid operators managing industrial demand. Unlike residential consumption, which follows predictable daily and seasonal cycles, industrial loads depend heavily on production schedules and external economic factors. By combining deep learning's pattern recognition with gradient boosting's residual refinement, the hybrid approach captures both broad temporal structures and fine-grained anomalies.
For utilities planning generation capacity, managing renewable integration, and optimizing demand response programs, improved forecasting directly reduces operational risk and cost. The framework's explainability also builds confidence among operators, a critical factor in adopting AI for mission-critical infrastructure.



