arXiv:2610.07895cs.AIOct 2026

Manuscript Offprint

arXiv:2610.07895

Textual Environmental Context and Spatial Graphs for LLM-Based Regional SST Forecasting

Xiong Li, Xiaowei Zhou, Yanwei Yu, Qian Cui, Junyu Dong

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Xiong Li, Xiaowei Zhou, Yanwei Yu, Qian Cui, and Junyu Dong

Abstract—Sea surface temperature (SST) forecasting depends on local temporal persistence, regional spatial dependence, and environmental conditions that evolve with the forecast date. We study how these heterogeneous conditions can be presented to a large language model (LLM) for regional multi-step forecasting without serializing the full SST grid as text. We formulate forecasting as conditional numerical generation: historical SST and anomaly sequences, date-aligned environmental records, and static ocean knowledge form a textual context, while regional spatial state is supplied through continuous graph-derived prefixes. A static graph encodes persistent geographic–climatological relations, and a dynamic graph encodes recent SST correlations and localized tropical-cyclone influence. Two graph neural networks produce a target-node representation that is mapped by a spatial-prefix fusion and injected into the LLM input. On SST forecasting in the South China Sea, the complete configuration achieves the best MAE and R2R^{2} among the compared methods over ten forecast steps. Alongside the numerical forecast, a rule-based module matches predicted trends and environmental-factor directions with knowledge entries to return source-linked, post-hoc contextual explanations.

I. INTRODUCTION

Sea surface temperature (SST) forecasting supports marine environmental monitoring and related applications [1], [2]. SST evolution reflects local temporal persistence, spatial dependence among ocean cells, and environmental conditions such as tropical cyclones, large-scale climate states, and regional circulation [3]. A forecasting model that uses only the historical SST sequence of one target cell must infer these heterogeneous influences indirectly. This motivates a central question: how can date-aligned environmental context and regional spatial state be presented jointly to a large language model (LLM) for multi-step SST forecasting?

Recent work has explored the use of LLMs for numerical and text-conditioned forecasting [4], [5]. From News to Forecast combines selected news, auxiliary information, and historical sequences in textual prompts for numerical generation [6]. In the SST domain, OKG-LLM aligns ocean-domain knowledge representations with SST observations through an LLM-based prediction pipeline [7]. These studies establish that LLMs can incorporate contextual information and domain knowledge into numerical forecasting. However, they do not directly address how forecast-date environmental descriptions and explicit, date-varying regional spatial relations should be jointly supplied to an LLM for regional multi-step SST forecasting.

We address this problem by assigning textual and spatial conditions distinct roles. Related studies have paired auxiliary context with numerical histories, aligned time-series representations with language, and adapted models to heterogeneous covariates [8]–[10]. Tropical-cyclone records are organized as descriptions of time, location, and intensity; the ENSO index and regional circulation provide climate and atmospheric context; and static ocean knowledge describes mixing, advection, upwelling, and air–sea exchange. These sources form a textual forecasting context together with the historical SST and anomaly sequences of the target cell. Text, however, does not itself perform neighborhood feature aggregation over the SST field: cells with similar environmental descriptions may have different local neighborhood states or storm influences. We therefore represent persistent and date-varying spatial relations separately. A static graph encodes geographic proximity and climatological features, whereas a dynamic graph encodes recent SST correlations and localized tropical-cyclone influence.

The two GNN branches aggregate regional information and produce a representation for the target cell. Rather than serializing all grid cells as text, a factorized spatial-prefix projector maps this representation into a compact sequence of continuous prefix tokens, which is concatenated with the LLM input embeddings for autoregressive SST generation. Alongside the numerical forecast, a separate rule-based module matches predicted trends and environmental-factor directions with knowledge entries to return source-linked post-hoc contextual explanations.

The main contributions are as follows:

• A time-aligned text–graph interface for regional SST forecasting. We formulate multi-step SST forecasting as conditional numerical generation, where environmental records and ocean knowledge are represented as text and regional spatial state is supplied through continuous graph-derived prefixes.

• Date-specific dual-graph spatial conditioning. We combine a static geographic–climatological graph with a dynamic graph constructed from recent SST correlations and localized tropical-cyclone influence, then inject the target-node state into the LLM without increasing the input length with the number of grid cells.

• Lead-wise empirical evaluation of text and spatial conditions. On South China Sea SST forecasting, we report lead-wise comparisons and ablations. Among the compared baseline methods, the full configuration achieves the best performance on average.

All authors are with Ocean University of China, Qingdao, China.

References (36)