4.11 Cost, hardware and software
\tophline Item Time \middlehline Autoencoder training, once (2500 epochs) 1.9 h (GPU) Encoding all 522 months 5.4 s (GPU) FMO training, one operator 8.6 min (GPU, mean of 40) FMO training, 40 operators 5.7 h (GPU) FMO forecast, 99 initializations (one fold) × \times × 24 leads, 10 operators 0.27 s (GPU) XRO-dom fit, 4 folds 0.9 s (CPU) XRO fit, 4 folds 3.0 s (CPU) XRO-lat nested selection, per fold about 5 min (CPU) Published XRO, echo-state network (ESN), DESN training 4 s, 26 s, 122 s (CPU) Published 3D-Geoformer ( Zhou and Zhang, 2023 ) training about 12 h (V100 GPU) \bottomhline Table 6: Measured cost. GPU: one NVIDIA RTX 4090; CPU timings on the same workstation. Published timings are those reported by Zhang et al. (2026) . LatENSO is cheap to run once trained (Table 6 ). The autoencoder is trained once, in 1.9 h on one GPU, and encoding the whole record takes seconds. A Floquet operator trains in under nine minutes and forecasts in milliseconds. XRO with the latent state fits in about a second, and its nested selection over eleven designs takes about five minutes per fold on a CPU. The operators are no cheaper to fit than XRO itself, so the argument for the latent state is not computational. Instead, it rests on the size of the representation (Sect. 4.1 ) and on what that representation adds. The code runs in Python 3.11 with PyTorch 2.6 (CUDA 12.4), NumPy, SciPy and xarray. The reference models use XRO (revision d8527a8) and the RC-ENSO code of Zhang et al. (2026) (revision a506ab2) with ReservoirPy 0.3.12.
5 Discussion
The central result of LatENSO concerns the learned representation rather than either operator. What does the learned state add? It was learned solely to reconstruct the fields, so nothing in its training rewards a good forecast. Even so, its 32 latent coordinates capture information that otherwise requires 89–172 EOF modes, and they separate eastern- and central-Pacific El Niño events into distinct coordinates. When supplied to XRO as just two additional state variables, they yield skill gains comparable to those obtained from the eight remote-basin indices over leads 1–18, and larger ones from lead 15 onward, where the gain from the remote-basin indices fades.
Would a linear compression of the same fields do as well? Through the same selection pipeline, it does not. EOFs derived from the same fields and passed through that pipeline provide no measurable benefit, whether they are computed from the full record or from the training months of each fold. Note, however, that this is a statement about the selection pipeline. Some EOF designs do provide a benefit when used in every fold without the selection (Appendix B ). In fact, averaged over the eleven designs, the latent state and the EOFs score alike (Sect. 4.6 ). The latent state is ahead where its slow directions are used: two of them outscore two slow EOF directions in every fold (0.670 against 0.653 and 0.648; Appendix B ).
One feature of the autoencoder may explain why its slow directions carry more than those of a linear basis, although the present experiments do not test it. Its latent representation is nonlinear in the input fields. This allows a single latent direction to combine thermocline, wind, and SST anomalies nonlinearly, whereas a multivariate EOF combines them only linearly. The decoder, in contrast, is affine at the token level in its first stage, which gives each latent direction a fixed token-level pattern. Its later stages are nonlinear, and for this reason the physical interpretation in Sect. 4.2 rests on regression maps of the observed fields.
The limitations are equally clear. The latent state is learned exclusively from tropical-Pacific fields, which means that it contains no out-of-sample information about Indian or Atlantic Ocean variability. Accordingly, over leads 1–18 the three-basin XRO remains ahead of XRO-lat in three of the four folds, although the two are statistically indistinguishable overall. What the latent representation contributes is therefore information that is in-domain, low-dimensional, and slowly varying.
Nevertheless, the latent state matches the skill provided by remote-basin indices over leads 1–18 and exceeds it from lead 15 onward. This suggests that the slow evolution of the Pacific holds predictability of its own. The two sources also differ in two respects. First, they act at different leads: the gain from the remote-basin indices peaks at lead 12 and turns negative from lead 17, whereas that of the latent state stays near its maximum, about + 0.06 +0.06 + 0.06 , to lead 24. Second, the corrections that they make to individual forecasts are only weakly correlated ( r = 0.30 r=0.30 r = 0.30 ; Sect. 4.6 ). These differences point to distinct signals. However, whether the two are truly distinct or simply different manifestations of the same large-scale dynamics remains unresolved. Note also that the benefit depends on parsimony. In practice, two to four carefully selected latent directions improve forecasts, whereas including all 32 coordinates does not. Likewise, only four of the eleven latent designs outperform XRO-dom when used in every fold without the selection, compared with all eleven designs based on remote-basin indices. This means that the latent state helps through a few well-chosen directions, and not through all of its coordinates at once.
It is just as important to say what the evidence does not show. Three conclusions lie beyond its scope and are therefore not claimed. First, LatENSO cannot be claimed to outperform oscillator models constructed from the same information. Over leads 1–18, XRO-lat is ahead of nRO and XRO-dom with evidence that is strong at most, and the Floquet operator is statistically indistinguishable from nRO, XRO-dom, and DESN-dom. At leads 3–9 the Floquet operator underperforms all three, with strong evidence against XRO-dom and weak evidence against the other two. Among the systems compared, the Floquet operator’s only clear ACC improvement is relative to its own base. For the full operator over leads 1–18, even this improvement appears only under one-year block resampling. One natural reading would be to count this improvement as skill against a competitor. However, the base is part of the same system, so this comparison is not a claim against other models. Instead, it measures what the operator adds to its base, and which part of the operator adds it (see below).
Second, the apparent El Niño advantage at leads 12–18 remains suggestive rather than definitive. In its favor, the signal is consistent across lead times and across event thresholds from + 0.75 +0.75 + 0.75 to + 1.5 ∘ +1.5\,^{\circ} + 1.5 ∘ C. However, the evidence against any reference model is only moderate, and it is clear at no threshold. Further, the advantage nearly vanishes under the standard + 0.5 ∘ +0.5\,^{\circ} + 0.5 ∘ C event definition, and it is not mirrored for La Niña. Third, decoding does not clearly improve field prediction relative to XRO. XRO needs no decoder for this: regression maps derived from its indices can already forecast pan-tropical SST anomalies ( Zhao et al., 2024 ) . Under cross-validation, our decoded SST scores higher than these maps over the whole domain (0.372 against 0.351 and 0.340), but the decoded fields score lower in the equatorial waveguide and for Z20 and U10 (Appendix E ). The significance of the decoded fields therefore lies not primarily in forecast skill, but in the additional insights they provide (Sect. 5.1 ).
How much can a record of this length support? An important caveat of this work is the limited size of the available record. With only 36 initialization years, the smallest difference in mean ACC that a paired bootstrap can resolve is between about 0.02 and 0.10, depending on the pair of systems (Table 4 ), while many of the effects considered here are of similar magnitude. For this reason, we prespecified four primary comparisons, fixed their acceptance criteria in advance, and treated all remaining analyses as descriptive. One natural way to judge each comparison would be to ask only whether its 95 % confidence interval excludes zero. However, for effects that are comparable to the resolution of the bootstrap, this would reduce inference to a yes-or-no answer. Instead, we graded the strength of evidence across comparisons. None of the four primary comparisons met its prespecified criterion. Two missed it narrowly (the latent state in XRO by 0.002, and the lead-dependent base, preferred in two of the four folds), and we report all four accordingly.
A second caveat concerns the descriptive analyses. Because no multiple-testing correction was applied to them, isolated clear differences should not be overemphasized. Instead, the conclusions of this study rest on signals that recur across lead times, folds, and bootstrap block lengths. Further, more aggressive tuning of the latent-state representation on a record of this size would likely increase the risk of false positives. Note also that there is no untouched test period: every development choice, including the blend weight, was made with the cross-validated forecasts in view. What the Floquet operator adds to its base does not, however, rest on the fold used during development (2013–2024). With that fold left out, the gain remains positive, with strong evidence (Sect. 4.5 ).
The limited record also has a cost for the reference models. All systems were refitted on folds of about 30 years. This is fair, because every system is treated alike, but it costs XRO and DESN skill at long leads. For example, XRO trained on 1958–1999 reaches 0.54 and 0.38 at leads 12 and 15 on the 197 verification windows of 2002–2023, and 0.47 and 0.26 when trained on our folds (moderate evidence for XRO and weak for DESN over leads 10–18; Appendix A ). The authors of XRO note that a robust fit needs 40–50 years ( Zhao et al., 2024 ) . The autoencoder suffers less from this, since it is fitted once on the whole record without any forecasting target. However, the operators are fitted on the folds, like the reference models. Two routes would lengthen the training record: earlier reanalysis years, for which observational data are sparser, and pre-training the operators on coupled climate model outputs, as Ham et al. (2019) did for a convolutional network. Note, however, that both require the encoder to map the new data into the same latent space, which is a test of the representation in itself.
Several aspects of LatENSO’s behavior help to clarify both its strengths and its limitations. Where, for example, do the two main deficits of the Floquet operator come from? Both can be traced to identifiable causes, and neither is shared by XRO-lat, which is built on the same latent state and is level with XRO-dom at leads 3–9. The first deficit is the skill gap to the in-domain reference models at leads 3–9, which originates in large part from the base forecast rather than from the learned dynamics themselves. When the base coefficients are allowed to vary seasonally at short leads (the lead-dependent base), the gap to XRO-dom is halved and the forecast amplitude increases. The operator still adds skill over the new base ( + 0.039 +0.039 + 0.039 against + 0.054 +0.054 + 0.054 over leads 1–18), and the modal spectrum of its generator remains essentially unchanged. The second deficit, for boreal-summer targets at lead 18, also lies mostly in the base. Alone, the base reaches only 0.283 for these targets, against 0.381 for nRO and 0.418 for XRO-dom. The operator lowers this score further, to 0.218, through its learned terms around the propagation, which the fixed blend weight applies in every season. A season-dependent blend weight would be an obvious remedy for that part. The absence of a comparable deficit in XRO-lat, which uses neither this base nor a blend and is the most skillful system for these targets, is consistent with this interpretation.
Neither modification, however, is part of LatENSO v1.0, each for its own reason. The lead-dependent base narrowly failed the criterion specified in advance: it scored higher than OLS4 on training data in two of the four folds, where three were required. A season-dependent blend was not tested, because selecting it after inspection of the verification results would have introduced tuning on the years held out for verification.
The Floquet operator was designed not only to forecast but also to provide a degree of dynamical interpretability, and the results show that this objective was achieved for the leading mode of its generator. Within the inductive biases built into the operator (three damped oscillators with bounded damping rates and periods), the learned time-invariant generator is remarkably stable. Its oscillatory periods remain within the ENSO band, while stability (every mode is damped) is imposed as part of that inductive bias rather than learned. The generator consistently holds a prominent quasi-biennial oscillator, the least damped of the three, together with decay modes that fade without cycling.
Two cautions apply to this reading. First, these are properties of the generator: the seasonal terms are larger and mix its modes through the year, so they are not eigenperiods of the full seasonal operator. Second, the remaining oscillators contribute little beyond the isotropic share (the share of the forecast variance that their planes would carry if that variance were the same in every direction), and adding a fourth oscillator provides no reproducible benefit. Note, however, that the generator’s periods are essentially unchanged when the base is changed. This indicates that they reflect a property of the learned dynamics rather than an artifact of the prediction target.
The propagation built on this generator also carries what the operator adds to its base. With the two additive terms removed, the propagation alone adds + 0.066 +0.066 + 0.066 [ + 0.022 +0.022 + 0.022 , + 0.112 +0.112 + 0.112 ] to the ACC of the base over leads 1–18, with clear evidence at every block length and with the fold means removed, against + 0.054 +0.054 + 0.054 for the full operator. Further, an operator trained without these terms reaches the same ACC over these leads, with generator periods 0.03–0.12 years shorter (Sects. 4.5 and 4.10 ; Appendix C ). The interpretation should nevertheless remain modest. The operator exposes interpretable parameters that a black-box forecasting system would not provide, but its three-oscillator structure is an inductive bias of the design rather than an empirical discovery. Equally informative are the approaches that did not improve performance. As a residual corrector, the latent state improved nRO by + 0.019 +0.019 + 0.019 [ + 0.007 +0.007 + 0.007 , + 0.038 +0.038 + 0.038 ] and XRO-dom by + 0.010 +0.010 + 0.010 [ − 0.001 -0.001 − 0.001 , + 0.022 +0.022 + 0.022 ], in every fold, but it offered no advantage over 32 EOFs derived from the same fields. Restricting the Floquet operator to the latent coordinates most strongly correlated with Niño 3.4 reduced rather than increased skill. A fourth oscillator failed to generalize across folds, an explicit amplitude nonlinearity produced no measurable improvement, and a seasonal base selected within the training data overfitted at leads 10–18. Nor do the two additive terms of the operator add skill to the forecast (Sects. 4.5 and 4.10 ). An operator without them is therefore a candidate for a simpler next version, although this record does not resolve whether they help the propagation during training. Together, these null results place useful constraints on future developments by identifying modifications that appear plausible but do not survive out-of-sample evaluation. From this perspective, the fourth oscillator is particularly instructive. On the development fold it improved the forecast in six of six seeds (paired t 5 = 5.93 t_{5}=5.93 t 5 = 5.93 ), but in its four-fold test it did so in 20 of 40 pairs (paired t 39 = 1.31 t_{39}=1.31 t 39 = 1.31 ). This means that, on a record of this size, a single development fold can produce apparently decisive evidence for an improvement that does not generalize. 5.1 Next steps
The decoder gives the latent state value beyond forecasting. With the decoder, the latent state is not just a compact predictor. Instead, it provides a two-way mapping between a small number of latent coordinates and the full set of coupled ocean–atmosphere fields. This creates an interpretable state space in which information can be compressed, analyzed, modified, and then translated back into physical variables, in the spirit of the learned, interpretable representations that Gupta (2026) calls for, and of solvers that work in the latent space of a pre-trained generator ( Panahi et al., 2026 ) . For example, a climate model simulation could, in principle, be projected into the same latent space and compared directly with observations coordinate by coordinate. Ultimately, this would allow model biases to be diagnosed and potentially corrected in a compact dynamical representation before being decoded back into physical fields. Of course, whether the encoder learned here transfers to climate-model output remains an open question. Establishing the extent to which its latent coordinates retain the same physical meaning across models is therefore the first exploration to be pursued.
A second avenue concerns the spatial domain itself. The present latent state is restricted to the tropical Pacific, and it therefore cannot explicitly represent variability that originates in other basins. One natural step would be to extend the autoencoder to the entire tropical belt. The latent representation could then encode Indian Ocean and Atlantic variability alongside Pacific dynamics within a single, unified state space. In principle, such a state could capture much of the information that XRO currently obtains through separate remote-basin indices, while preserving the advantages of a compact and physically interpretable representation. Exploring whether a latent space that spans the tropics can unify these sources of predictability and improve forecasts is the focus of ongoing work.
\conclusions
We asked whether a state learned from the coupled fields of the tropical Pacific alone, compressed to a few tens of numbers and trained without any forecasting objective, can serve as a physically grounded state for seasonal ENSO operators. LatENSO v1.0 demonstrates that such a compact, learned representation of tropical-Pacific variability can support ENSO forecasting on a par with leading oscillator and deep-learning systems trained on the same record, while remaining physically interpretable. Its 32-dimensional state is generated by a Swin-transformer autoencoder whose attention windows follow the Walker and Hadley circulations and which is trained solely to reconstruct thirteen coupled ocean–atmosphere fields. Despite its compactness, the representation reproduces these fields as accurately as 89–172 EOF modes, separates eastern- and central-Pacific El Niño events into distinct coordinates, and compresses the 1981–2024 record into only 3.0 MB.
On identical data, folds, and verification windows, the forecasting systems built on this latent state are level with or ahead of the recharge oscillator and the versions of XRO and of a deep echo-state network that use the same domain, over leads 1–18. Specifically, the Floquet operator is statistically indistinguishable from all three, and XRO-lat is ahead of the in-domain XRO with strong evidence. Over the same leads, XRO-lat is also statistically indistinguishable from the versions of XRO and DESN with remote-basin indices. Note, however, that these versions remain ahead of the Floquet operator at leads 3–9.
When used as an augmentation of XRO, the latent state contributes about as much forecast skill as the eight remote-basin indices added through the same selection pipeline ( + 0.019 +0.019 + 0.019 against + 0.021 +0.021 + 0.021 in mean ACC), with a gain that is positive in every fold and grows with lead. In contrast, EOFs derived from the same fields and selected in the same way provide no measurable benefit. XRO-lat is therefore the most skillful system considered here that relies exclusively on tropical-Pacific information, and it achieves an ACC within 0.012 of the full three-basin XRO. From lead 15 to lead 24 it is the most skillful of all systems considered. The Floquet operator further identifies El Niño events more effectively than every reference model at leads 12–18 (AUC 0.819 against 0.752–0.767 over leads 10–18), although the evidence for this advantage is moderate at most. What it adds to its base is carried by its Floquet propagation, which reaches the same ACC over leads 1–18 as the full operator when trained alone. In addition, its time-invariant generator consistently holds a prominent quasi-biennial oscillator whose period remains stable across model configurations. Among the systems compared, the Floquet operator is also the best calibrated at leads 4–8, and XRO-lat is among the best calibrated at leads 12–18 (Sects. 4.9 and 4.6 ). The principal deficiencies of the Floquet operator are partly attributable to the base forecast and the blending strategy rather than to the latent representation itself.
Of course, these conclusions, and the comparisons between models, are necessarily constrained by the available record. With only 36 initialization years, many of the differences of interest are comparable to the resolution of the paired bootstrap, between about 0.02 and 0.10 in mean ACC depending on the pair of systems. This is why we emphasize graded evidence rather than binary significance tests.
One outcome is intriguing. Although the latent state remains confined to the tropical Pacific and contains no explicit information from the Indian or Atlantic Oceans, it adds forecast skill at leads where the remote-basin indices no longer do. Their contribution peaks at lead 12 and turns negative from lead 17, whereas that of the latent state stays near its maximum, about + 0.06 +0.06 + 0.06 , to lead 24. This suggests that the slow evolution of the Pacific itself holds long-lead predictability of its own, but more work is needed to prove it. More broadly, we believe that the contribution of LatENSO lies not only in competitive forecast skill but, above all, in the introduction of an interpretable state space that links a small set of coordinates to the full coupled climate fields. This two-way mapping opens the possibility of comparing observations and climate-model simulations within a common latent representation, diagnosing model errors, and potentially correcting them before reconstructing the physical fields. Two questions remain open here: whether the encoder transfers to climate-model output, and whether a latent state that spans the whole tropical belt can unify the Pacific and remote-basin sources of predictability. To allow the results to be checked and extended, all code, trained weights and forecasts are openly available, and every table and figure of this paper can be regenerated from them.
\codedataavailability The exact version of the LatENSO v1.0 code used to produce the results of this paper (the autoencoder, the Floquet modal operator and its training, the pipeline that places latent directions in XRO, the reference-model runs on our folds, the evaluation and the scripts that produce every figure and table) is archived on Zenodo under the MIT license at https://doi.org/10.5281/zenodo.24374200 ( Panahi and Bracco, 2026a ) . The trained autoencoder, the 40 trained operators, the 40 retrained on the lead-dependent base (Sect. 3.6 ) and the 40 retrained without the two additive terms (Sect. 4.10 ), the stored forecasts of every system on the 394 verification windows, the latent trajectories and the 13-field input on the model domain (1.3 GB, compressed) are archived under the Creative Commons Attribution 4.0 license at https://doi.org/10.5281/zenodo.24374299 ( Panahi and Bracco, 2026b ) . ERA5 monthly averaged data on single levels are available from the Copernicus Climate Change Service Climate Data Store ( https://doi.org/10.24381/cds.f17050d7 ; Hersbach et al., 2020 ), and the SODA4.15.2 regridded fields from https://dsrs.atmos.umd.edu/DATA/SODA4.15.2_REG/ ( Chepurin et al., 2025 ) . The XRO code is available at https://github.com/senclimate/XRO ( Zhao et al., 2024 ) ; the DESN code and the ORAS5-based climate-mode indices used here are available at https://github.com/zhangzejing/RC-ENSO ( Zhang et al., 2026 ) . The revisions used are given in Appendix A .
Acknowledgements. We thank Silvio Gualdi and Antonio Navarra (CMCC) for their guidance and for many helpful discussions. We thank the European Centre for Medium-Range Weather Forecasts for ERA5 and the SODA team for SODA4; Sen Zhao and co-authors for making the XRO code openly available, and Zejing Zhang and co-authors for the RC-ENSO code, its DESN models and the ORAS5 index data distributed with it. The AI assistants Claude Code (Anthropic) and Gemini (Google) were used to help check the verification scripts, to prepare the plotting scripts of the figures, and to organize the code into the released package. The authors reviewed all code; the results were verified by independent re-implementation and by reproduction from the archived data (Sect. 3.5 ), and the authors take full responsibility for the content of the paper, the code, the results and their interpretation.
\financialsupport This work was supported by the EU under Grant Agreement No. 101294938 (EarthGenerator).