REACT: Physically and Chemically Consistent Reconstruction of Marine Active Tracers
Organizations: Shanghai Jiao Tong University Shanghai, China
Abstract
Reconstructing global sea surface pH from sparse observations is critical for monitoring ocean acidification and understanding marine carbon cycling. Traditional assimilation and inverse models are physically grounded but costly for large-scale reconstruction. Recent black-box and physics-guided AI models improve efficiency, but are mainly designed for passive tracers, where the reconstructed variable is also the transported inventory. In contrast, pH is an active carbonate tracer: it is the prediction target, while dissolved inorganic carbon (DIC) is the conserved carbon inventory. This mismatch can produce low pH error while violating carbonate closure and source-free carbon conservation. To address this, we introduce REACT, a carbon-first reconstruction framework that decouples transport, active correction, and chemical decoding. REACT transports a latent carbonate state with a conservative advection--diffusion solver, captures non-conservative carbon-cycle variations with a source module, decodes the corrected state into pH, and constrains the output through carbonate equilibrium. This design keeps pH as the target while enforcing consistency on the underlying carbon state. On simulation data, REACT reduces pH NRMSE by (14.7%) and chemical consistency error by (24.0%) over the best baseline. Cross-temporal-scale evaluations show robustness against error accumulation from coarse to fine temporal scales, and ablation studies validate the effectiveness of each component.
Figures & tables
| Task | Train | Val. | Test |
|---|---|---|---|
| Month Week | 1971–2010 | 1965–1970; 2011–2016 | 1959–1964; 2017–2022 |
| Week Day | 1988–2003 | 1987; 2004 | 1986; 2005 |
| WOD | 1982–2018 | 2019–2020 | 2021–2022 |
| Methods | Params | Month Week | Week Day | ||||||||||
| 0.11% | 1% | 10% | 0.11% | 1% | 10% | ||||||||
| pH | Chem. | pH | Chem. | pH | Chem. | pH | Chem. | pH | Chem. | pH | Chem. | ||
| Krig-Exp | – | 50.6 {}_{\scalebox{0.70}{\scriptstyle\pm 0.91}} | 10.1 {}_{\scalebox{0.70}{\scriptstyle\pm 0.34}} | 37.0 {}_{\scalebox{0.70}{\scriptstyle\pm 0.84}} | 7.06 {}_{\scalebox{0.70}{\scriptstyle\pm 0.26}} | 23.3 {}_{\scalebox{0.70}{\scriptstyle\pm 0.72}} | 4.56 {}_{\scalebox{0.70}{\scriptstyle\pm 0.23}} | 51.2 {}_{\scalebox{0.70}{\scriptstyle\pm 0.86}} | 9.95 {}_{\scalebox{0.70}{\scriptstyle\pm 0.29}} | 37.1 {}_{\scalebox{0.70}{\scriptstyle\pm 0.82}} | 6.94 {}_{\scalebox{0.70}{\scriptstyle\pm 0.27}} | 22.2 {}_{\scalebox{0.70}{\scriptstyle\pm 0.68}} | 4.22 {}_{\scalebox{0.70}{\scriptstyle\pm 0.17}} |
| Krig-Sph | – | 50.9 {}_{\scalebox{0.70}{\scriptstyle\pm 0.89}} | 10.2 {}_{\scalebox{0.70}{\scriptstyle\pm 0.20}} | 41.2 {}_{\scalebox{0.70}{\scriptstyle\pm 0.88}} | 7.83 {}_{\scalebox{0.70}{\scriptstyle\pm 0.27}} | 33.8 {}_{\scalebox{0.70}{\scriptstyle\pm 0.81}} | 6.11 {}_{\scalebox{0.70}{\scriptstyle\pm 0.28}} | 52.2 {}_{\scalebox{0.70}{\scriptstyle\pm 0.83}} | 10.2 {}_{\scalebox{0.70}{\scriptstyle\pm 0.33}} | 39.4 {}_{\scalebox{0.70}{\scriptstyle\pm 0.84}} | 7.35 {}_{\scalebox{0.70}{\scriptstyle\pm 0.30}} | 26.9 {}_{\scalebox{0.70}{\scriptstyle\pm 0.66}} | 5.04 {}_{\scalebox{0.70}{\scriptstyle\pm 0.19}} |
| 4D-Var. | 0.27M | 6.92 {}_{\scalebox{0.70}{\scriptstyle\pm 0.03}} | 2.09 {}_{\scalebox{0.70}{\scriptstyle\pm 0.03}} | 7.14 {}_{\scalebox{0.70}{\scriptstyle\pm 0.04}} | 2.00 {}_{\scalebox{0.70}{\scriptstyle\pm 0.02}} | 5.99 {}_{\scalebox{0.70}{\scriptstyle\pm 0.06}} | 1.90 {}_{\scalebox{0.70}{\scriptstyle\pm 0.04}} | 5.93 {}_{\scalebox{0.70}{\scriptstyle\pm 0.07}} | 1.86 {}_{\scalebox{0.70}{\scriptstyle\pm 0.03}} | 6.02 {}_{\scalebox{0.70}{\scriptstyle\pm 0.05}} | 1.88 {}_{\scalebox{0.70}{\scriptstyle\pm 0.03}} | 7.40 {}_{\scalebox{0.70}{\scriptstyle\pm 0.05}} | 2.05 {}_{\scalebox{0.70}{\scriptstyle\pm 0.04}} |
| Marble | 0.83M | 25.7 {}_{\scalebox{0.70}{\scriptstyle\pm 0.03}} | 5.65 {}_{\scalebox{0.70}{\scriptstyle\pm 0.10}} | 25.8 {}_{\scalebox{0.70}{\scriptstyle\pm 0.03}} | 5.71 {}_{\scalebox{0.70}{\scriptstyle\pm 0.07}} | 25.2 {}_{\scalebox{0.70}{\scriptstyle\pm 0.02}} | 5.51 {}_{\scalebox{0.70}{\scriptstyle\pm 0.07}} | 26.9 {}_{\scalebox{0.70}{\scriptstyle\pm 0.04}} | 5.51 {}_{\scalebox{0.70}{\scriptstyle\pm 0.06}} | 26.9 {}_{\scalebox{0.70}{\scriptstyle\pm 0.02}} | 5.55 {}_{\scalebox{0.70}{\scriptstyle\pm 0.03}} | 27.0 {}_{\scalebox{0.70}{\scriptstyle\pm 0.03}} | 5.51 {}_{\scalebox{0.70}{\scriptstyle\pm 0.05}} |
| REACT (Month Week) | REACT (Week Day) | U-Net (Month Week) | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Source | pH | Chem. | Drift local | Drift global | pH | Chem. | Drift local | Drift global | pH | Chem. | Drift local | Drift global | ||
| – | – | – | 40.8 | Div. | – | – | 11.8 | 2.73 | – | – | 7.74 | 2.12 | – | – |
| ✓ | – | – | 5.79 | 1.93 | 8.84‰ | Div. | 4.03 | 1.65 | 1.11‰ | Div. | 7.75 | 2.14 | 21.2‰ | 17.3‰ |
| ✓ | ✓ | – | 5.68 | 1.94 | 2.26‰ | 9.73‰ | 4.27 | 1.69 | 0.57‰ | 7.41‰ | 7.78 | 2.03 | 4.24‰ | 3.34‰ |
| ✓ | ✓ | ✓ | 5.84 | 1.59 | 2.21‰ | 10.3‰ | 4.64 | 1.35 | 0.63‰ | 7.68‰ | 7.92 | 1.65 | 5.53‰ | 4.88‰ |
| (a) Interval Length. case pH Chem. Drift local Drift global 1 5.85 1.57 2.10‰ Div. 2 6.52 1.51 2.90‰ Div. 4 5.84 1.59 2.21‰ 10.3‰ 8 6.09 1.58 2.44‰ 10.2‰ | (b) Depth of State Initializer. depth pH Chem. Drift local Drift global 4 6.73 1.59 2.98‰ 11.0‰ 6 6.16 1.60 2.30‰ 8.62‰ 12 5.84 1.59 2.21‰ 10.3‰ 24 5.98 1.59 8.75‰ 19.5‰ | (c) Depth of pH Decoder/Source Module. depth pH Chem. Drift local Drift global 2 5.75 1.54 8.41‰ 19.1‰ 3 5.88 1.54 7.91‰ 18.4‰ 4 5.84 1.59 2.21‰ 10.3‰ 5 7.51 1.85 2.75‰ 11.4‰ |
| (d) State Initializer Structure. case pH Chem. Drift local Drift global ViT 6.58 1.53 3.74‰ Div. 2D CNN 5.96 1.67 8.81‰ 537‰ 3D CNN 36.6 462 8.44‰ Div. ViViT 5.84 1.59 2.21‰ 10.3‰ | (e) Auxiliary Variables. Task Metric Chl. SSH MLD Salt Temp. Monthly to Weekly pH 21.7 6.98 5.97 6.18 5.93 5.95 6.05 6.17 6.32 Chem. 4.97 1.55 1.73 1.58 1.57 1.70 1.61 1.60 1.73 Weekly to Daily pH 11.9 4.81 4.79 4.76 4.88 4.69 4.77 4.78 4.75 Chem. 2.57 1.33 1.30 1.26 1.25 1.40 1.29 1.26 1.31 | |
Appendix figures & tables12 assets
Supplementary material from the paper’s appendix.
Appendix
| Hyper-param. | Meaning | Value |
|---|---|---|
| Temporal tubelet size in the ViViT initializer | 1 | |
| Spatial patch size in the ViViT initializer | 12, 12 | |
| Embedding dimension in the ViViT initializer | 768 | |
| # Layers | Number of transformer layers in the ViViT initializer | 12 |
| # Heads | Number of attention heads in each transformer layer | 12 |
| MLP ratio | Expansion ratio of the MLP layers | 4.0 |
| Baseline | Hyper-param. | Meaning | Value |
| NUTS | Tubelet size in the initializer | 2 | |
| Patch size in the transformer layers | 18, 36 | ||
| D | Embedding dimension | 768 | |
| # Coarse layer | Number of transformer layers in the initializer | 12 | |
| # Refine layer | Number of transformer layers in the refinement module | 6 | |
| # Heads | Number of attention heads in each transformer layer | 16 |
| Methods | Params | pH NRMSE | Chem. | ||||
|---|---|---|---|---|---|---|---|
| (s/epoch) | (GB) | (s) | (GB) | ||||
| 4D-Var. | 0.27M | 4.654 | 5.444 | 0.513 | 0.821 | 6.92 {}_{\scalebox{0.70}{\scriptstyle\pm 0.03}} | 2.09 {}_{\scalebox{0.70}{\scriptstyle\pm 0.03}} |
| Marble | 0.83M | 1.237 | 0.563 | 0.213 | 0.274 | 25.7 {}_{\scalebox{0.70}{\scriptstyle\pm 0.03}} | 5.65 {}_{\scalebox{0.70}{\scriptstyle\pm 0.10}} |
| FNO | 8.42M | 2.711 | 0.757 | 0.254 | 0.380 | 16.7 {}_{\scalebox{0.70}{\scriptstyle\pm 0.07}} | 3.88 {}_{\scalebox{0.70}{\scriptstyle\pm 0.07}} |
| U-Net | 31.1M | 1.544 | 1.173 | 0.190 | 0.612 | 7.78 {}_{\scalebox{0.70}{\scriptstyle\pm 0.04}} | 2.17 {}_{\scalebox{0.70}{\scriptstyle\pm 0.08}} |
| ViT | 0.11B | 8.805 | 2.319 | 0.298 | 1.093 | 9.56 {}_{\scalebox{0.70}{\scriptstyle\pm 0.10}} | 2.51 {}_{\scalebox{0.70}{\scriptstyle\pm 0.01}} |
| Methods | Params | Month Week | Week Day | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0.11% | 1% | 10% | 0.11% | 1% | 10% | ||||||||
| DIC | DIC | DIC | DIC | DIC | DIC | ||||||||
| Kriging (Exp.) | – | 10.3 | 9.82 | 7.33 | 6.78 | 4.86 | 4.26 | 10.2 | 9.73 | 7.16 | 6.72 | 4.45 | 3.99 |
| Kriging (Sph.) | – | 10.3 | 9.99 | 8.00 | 7.65 | 6.41 | 5.82 | 10.4 | 9.91 | 7.52 | 7.18 | 5.30 | 4.77 |
| 4D-VarNet | 0.27M | 2.28 | 1.91 | 2.18 | 1.82 | 2.06 | 1.74 | 1.93 | 1.79 | 1.95 | 1.81 | 2.12 | 1.98 |
| Marble | 0.83M | 5.95 | 5.36 | 5.99 | 5.42 | 5.77 | 5.25 | 5.66 | 5.35 | 5.67 | 5.44 | 5.64 | 5.39 |
| REACT (Month Week) | REACT (Week Day) | U-Net (Month Week) | ||||||
|---|---|---|---|---|---|---|---|---|
| Source | DIC | DIC | DIC | |||||
| – | – | – | 8.94 | Div. | 2.84 | 2.62 | 2.27 | 1.98 |
| ✓ | – | – | 2.06 | 1.80 | 1.71 | 1.59 | 2.28 | 2.00 |
| ✓ | ✓ | – | 2.06 | 1.82 | 1.76 | 1.62 | 2.17 | 1.89 |
| ✓ | ✓ | ✓ | 1.73 | 1.45 | 1.44 | 1.27 | 1.77 | 1.53 |
| Factor | Setting | DIC | |
|---|---|---|---|
| Interval length | 1 | 1.71 | 1.44 |
| 2 | 1.66 | 1.36 | |
| 4 | 1.73 | 1.45 | |
| 8 | 1.70 | 1.46 | |
| Initializer depth | 4 | 1.73 | 1.46 |
| 6 | 1.74 | 1.46 |
| Factor | Setting | pH | DIC | Chem. | Drift local | Drift global | |
|---|---|---|---|---|---|---|---|
| Interval length | 1 | 4.89 | 1.47 | 1.29 | 1.38 | 0.61‰ | Div. |
| 2 | 4.64 | 1.44 | 1.27 | 1.35 | 0.63‰ | 7.68‰ | |
| 3 | 5.37 | 1.59 | 1.50 | 1.54 | 0.85‰ | 8.35‰ | |
| 4 | 4.79 | 1.35 | 1.19 | 1.27 | 0.77‰ | 3.59‰ | |
| Initializer depth | 4 | 4.74 | 1.35 | 1.20 | 1.27 | 0.63‰ | 8.21‰ |
| 6 | 4.80 | 1.33 | 1.18 | 1.26 | 0.60‰ | 7.96‰ |