SPIRIT: Short-term Prediction of solar IRradIance for zero-shot Transfer learning using Foundation Models

Aditya Mishra, Ravindra T, Srinivasan Iyengar, Shivkumar Kalyanaraman, Ponnurangam KumaraguruarXiv 2025 · DOI

Abstract

SPIRIT is a novel framework for "plug-and-play" solar forecasting that leverages Vision Foundation Models (VFMs) and physics-informed features to enable accurate predictions for new solar installations without extensive historical data. By utilizing pre-trained encoders and deterministic solar geometry, SPIRIT achieves up to 70% improvement in zero-shot transfer scenarios compared to state-of-the-art baselines. This approach addresses the "data bottleneck" in renewable energy grid management, facilitating the rapid integration of new solar capacity.

Introduction

As the global energy landscape shifts toward renewables, the intermittency of solar power presents significant challenges for grid stability. This is often characterized by the "duck curve," where solar production peaks do not align with demand. Accurate short-term irradiance forecasting is essential for grid operators to manage these fluctuations.

However, a major "data bottleneck" exists: current state-of-the-art models typically require 5 to 10 years of site-specific historical data from sky cameras to achieve high accuracy. With the projected decupling of global solar capacity by 2030, the vast majority of new sites will lack this historical record. SPIRIT addresses this challenge by providing a model that generalizes across diverse locations and camera configurations, eliminating the need for years of local data collection.

Methodology

The SPIRIT framework (Short-Term Prediction of Solar IRradIance for Transfer Learning) is built upon three core pillars:

  1. Vision Foundation Models (VFMs): Instead of training vision components from scratch, SPIRIT utilizes pre-trained encoders such as Google’s ViT or DINOv2. These models extract robust, high-level features from sky images that are less sensitive to variations in camera resolution or orientation.
  2. Physics-Inspired Feature Engineering: The model incorporates deterministic solar geometry, including "clear-sky" irradiance estimates and solar zenith/azimuth angles. These provide a stable reference point regardless of local weather conditions.
  3. Hybrid Architecture: The system is divided into nowcasting and forecasting modules. Nowcasting employs an XGBoost regressor on image embeddings and physics features. Forecasting uses a Transformer-based temporal encoder to process a 1-hour context window of images, combined with "future covariates" (known future solar positions) to predict Global Horizontal Irradiance (GHI) up to 4 hours ahead.
The SPIRIT architecture showing the data processing, nowcasting, and forecasting pipelines.

Experimental Setup

The model was evaluated across three public datasets to test its generalization capabilities:

  • TSI880 & ASI16 (NREL, Colorado): Shared location but different camera setups, testing intra-location generalization.
  • SKIPP’D (Stanford, California): Lower-resolution images focused on PV power output, testing cross-location and cross-task generalization.

Results and Discussion

SPIRIT demonstrates significant advantages in zero-shot and low-data scenarios:

  • Zero-Shot Performance: In tests where the model was trained on one site and tested on another without any local training data, SPIRIT outperformed baselines by up to 70%. While baseline errors (nMAP) often reached ~90%, SPIRIT maintained errors between 27-35%.
  • Rapid Adaptation: The framework exhibits remarkable efficiency in fine-tuning. With only one week of local data, SPIRIT's error rates drop significantly, consistently outperforming baselines trained on much larger datasets.
  • Inference Efficiency: With an average inference time of approximately 0.54 seconds on standard hardware, SPIRIT is well-suited for real-time operational environments.
Comparison of nMAP error between SPIRIT and the baseline over several weeks of adaptation.

Conclusion

The success of SPIRIT highlights the superiority of foundation models over site-specific training for solar forecasting. By capturing universal visual patterns and leveraging deterministic future covariates, the model reduces uncertainty drift in long-range forecasts. Future work will address geographical biases by expanding datasets beyond North America and optimizing the large-scale foundation models for edge deployment at solar farm sites.

Summary updated

BibTeX
@misc{mishra2025spirit,
  author = {Aditya Mishra and Ravindra T and Srinivasan Iyengar and Shivkumar Kalyanaraman and Ponnurangam Kumaraguru},
  title = {{SPIRIT: Short-term Prediction of solar IRradIance for zero-shot Transfer learning using Foundation Models}},
  year = {2025},
  eprint = {2502.10307},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.10307},
}
Figure