Abstract
Subsurface ocean observations remain severely limited in spatial coverage due to the high cost and operational difficulty of in-situ deployment. Although moored buoys and profiling floats enable continuous, minute-level sampling at fixed locations, the temporal evolution information they record is largely underutilized in existing frameworks—where point measurements are typically reduced to daily means or treated as static interpolation nodes. This study investigates a fundamental question: can single-point time series encode sufficient spatial information to reconstruct the surrounding temperature field? To address this, we propose a metric learning-based framework that learns to align temporal features with spatial patterns in a shared latent space, enabling spatial inversion from single-point time series. The framework is validated using the 100 m depth temperature field in the northern South China Sea, derived from a high-resolution reanalysis product. Results show that temporal and spatial features exhibit no significant correlation when optimized solely for reconstruction; after metric learning-based joint adjustment, they form clear cluster structures in the latent space. The reconstructed spatial fields capture the dominant modes of oceanic features, primarily internal wave-related spatial patterns, though fine-scale details remain limited. Quantitative evaluation yields an RMSE of 0.12 °C and an R² of 0.21, providing the first quantified evidence for the feasibility of the “time-depth for spatial-breadth” strategy. These findings suggest that single-point temporal dynamics encode meaningful spatial information, offering a new perspective for sparse-observation ocean state estimation.
1 Introduction
Ocean temperature is a fundamental variable for understanding global heat exchange, energy transport, and climate system variability. Mesoscale and submesoscale processes play critical roles in the vertical and horizontal redistribution of heat, yet their relatively small spatial scales make them difficult to resolve with existing observation systems (; ). Satellite remote sensing provides high-resolution sea surface temperature measurements, but subsurface thermal information still relies heavily on sparse in situ platforms such as moored buoys and subsurface moorings. These instruments are typically deployed at fixed locations, offering continuous, minute-level sampling over extended periods. Such time series contain rich temporal signatures of oceanic thermal dynamics. However, in current practice, these records are often reduced to daily averages or used merely as interpolation control points, discarding a substantial portion of their dynamic content. This creates a paradoxical situation: subsurface observations are simultaneously scarce and underexploited. Developing methods to extract the spatial information potentially encoded in single-point time series is therefore a key step toward alleviating the current observational bottleneck.
Early ocean state estimation methods relied primarily on optimal interpolation and variational data assimilation, which infer spatial distributions by combining sparse observations with statistical correlations or physics-based model constraints (; ; ; ; ). While these approaches have been widely applied, their performance depends critically on the accuracy of the background covariance or the numerical model, which is often difficult to guarantee in regions of complex dynamics.
The advent of deep learning has opened new avenues for ocean state reconstruction. Neural-network-based methods have been increasingly used to learn nonlinear mappings from sparse observations to full-field ocean states (; ; ; , ). More recently, reduced-order modeling frameworks have further bridged deep learning and data assimilation by compressing high-dimensional observations into low-rank latent representations for state estimation and reconstruction (; ; ; ; ; ). Despite these advances, most existing reconstruction methods still require multiple synchronous spatial inputs—a condition that is rarely satisfied in the extremely sparse subsurface observation scenarios typical of operational oceanography.
A further limitation of current latent-space approaches is that they typically learn representations optimized solely for data reconstruction, without explicitly considering the semantic relationship between the observational data and the target field (). As a result, these methods are not designed to extract features that are specifically relevant to cross-domain mapping—such as from single-point time series to spatial temperature fields. This gap is not merely technical but conceptual: the features that best reconstruct the observed data are not necessarily those that best correlate with the target spatial distribution. Addressing this requires a mechanism that actively adjusts the feature space to enhance the association between the two modalities.
Based on the above analysis, this study asks a foundational question: do single-point temperature time series contain learnable information about the surrounding spatial temperature distribution? To answer this, we draw upon metric learning—a framework that brings related representations closer while separating unrelated ones in the latent space, thereby learning a semantically meaningful feature embedding (; ). We propose a metric-learning-based spatiotemporal feature extraction and inversion framework. The framework first encodes the single-point time series and the corresponding spatial temperature fields into a shared latent space, then applies metric learning to align temporal features with their spatially corresponding counterparts. The aligned temporal representations are subsequently mapped into the spatial feature domain and decoded into the surrounding temperature field. In this way, the framework explicitly constructs a semantic bridge between temporal evolution at a single point and spatial distribution in the surrounding region.
It should be emphasized that the objective of this study is not to produce an operational product with maximal reconstruction accuracy, but rather to assess whether and to what extent single-point time series contribute to spatial reconstruction. This is a question of fundamental scientific interest in the context of sparse subsurface observations: if time series do encode meaningful spatial information, then existing long-term observational records—which are already in place—could be repurposed as a distributed sensing network for surrounding dynamics. Conversely, if the contribution is shown to be limited, this would likewise inform future observational strategies. The present work focuses on establishing the feasibility of this concept and quantifying the nature of the information transfer, leaving operational optimization for subsequent studies.
2 Data and methodology
2.1 Study area and data
The study area is located in the northern South China Sea (116°E–118°E, 18°N–20°N), at the transition between the continental slope and the deep-sea basin. This region is characterized by complex multi-scale dynamics, including Kuroshio intrusion and internal wave activities (; ; ), making it an ideal natural laboratory for investigating the spatial variability of oceanic submesoscale and internal wave processes.
The data used in this study are derived from the high-resolution South China Sea reanalysis product, provided by the South China Sea Ocean Data Center (; https://data.scsio.ac.cn). The product has a horizontal resolution of 1/10° × 1/10° and a temporal resolution of 1 hour, and has been validated to successfully reproduce a wide range of oceanic phenomena, including internal tides. We focus on the subsurface temperature at 100 m depth over the period from January 1, 1999 to December 31, 2019, yielding 21 years (183,960 hourly time steps) of continuous data. Considering the typical deployment density of moored buoys and the spatial scales of submesoscale processes, the inversion domain is set to 2° × 2°, covering 20 × 20 grid points.
To isolate the thermal signals associated with submesoscale and internal wave activities, we removed large-scale background signals—including interannual variability, seasonal cycles, and long-term trends—by subtracting the climatological monthly mean and applying a running mean filter. This preprocessing step effectively reduces the variance dominated by low-frequency variations while preserving the short-term fluctuations that are the primary information carriers for spatial reconstruction in this study.
Figure 1 illustrates the key characteristics of the preprocessed data from both temporal and spatial perspectives. Figure 1A shows three representative single-point temperature evolution trajectories within 5-day windows, each window starting at a selected time instant. Figure 1B presents the corresponding spatial temperature distributions at those instants. It is worth noting that the temperature at the central point exhibits different evolutionary patterns across the three windows, and these differences correspond to distinct spatial distribution regimes. This observation suggests that the temporal evolution trajectory of a single point—rather than its instantaneous value—may encode information about the surrounding spatial state, providing the empirical motivation for the methodological framework developed below.
Figure 1
Based on this dataset, we constructed samples for feature extraction, matching, and spatial inversion. Using a 5-day sliding window with zero overlap between consecutive windows (i.e., each window is immediately adjacent to the next), we generated 1,533 non-overlapping time-series samples from the 21-year single-point record. For each sample, the input is the temperature trajectory within the 5-day window, and the target is the corresponding 20 × 20 spatial temperature field at the start of that window. This configuration is designed for retrospective reconstruction of the ocean state, where a short sequence of post-event observations is available to enhance the estimation of the state at the beginning of the window. This setting is relevant for delayed-mode analysis of moored time-series data, and serves as a proof-of-concept for assessing the spatial information content of single-point temporal evolution. The samples were chronologically split into a training set (first 17 years, 1,241 samples), a validation set (next 2 years, 146 samples), and a test set (final 2 years, 146 samples), ensuring no temporal overlap between the training, validation, and test sets, so that spatiotemporal patterns from the test period are not exposed to the model during training or validation, thus preserving a fair assessment of generalization performance.
2.2 Methodological framework
The methodological framework consists of three core modules (Figure 2): (1) spatiotemporal feature extraction, which maps the spatial field and the single-point time series into low-dimensional latent representations; (2) spatiotemporal feature matching, which uses metric learning to align temporal and spatial features in the latent space; and (3) temporally driven spatial inversion, which transforms the matched temporal features into spatial features and decodes them into temperature fields. This section describes each module in sequence.
Figure 2
2.2.1 Spatiotemporal feature extraction
In the original physical space, both time series and spatial fields contain substantial redundancy. Directly establishing a mapping between temporal sequences and spatial distributions in this high-dimensional space is prone to overfitting and limited generalization. Therefore, it is necessary to compress the raw data into low-dimensional latent representations that preserve essential information while discarding irrelevant variability. We employ convolutional autoencoders for temporal and spatial feature extraction, with the detailed encoder–decoder architectures shown in Figure 3.
Figure 3
2.2.1.1 Spatial encoder
The spatial encoder compresses each 20×20 temperature field into a low-dimensional feature vector while preserving its principal spatial structure. Given the complex temperature variations across spatial points and the high spatial dimensionality, we adopt an autoencoder based on a deep Inception-style convolutional network as the spatial feature extraction backbone. The encoder consists of four convolutional stages: the first two stages use mixed convolutional layers to reduce spatial dimensions while maintaining feature integrity; the subsequent two stages employ Inception blocks that perform parallel convolutions with varying kernel sizes (e.g., 3×3 and 5×5) to extract multi-scale features, followed by channel-wise concatenation to enhance feature diversity. An RGA (Region-Global Association) attention module is inserted between the two Inception blocks to strengthen the model’s focus on spatially correlated features. The convolutional outputs are then flattened and passed through fully connected layers to produce a spatial feature vector of dimension 112. Residual connections are applied throughout to stabilize gradient flow. The spatial decoder is a symmetric inverse of the encoder, reconstructing the feature vector back to the original 20×20 grid via transposed convolutions and a final 1×1 convolution layer. The detailed architecture is shown in Figure 3A.
2.2.1.2 Temporal encoder
In designing the temporal encoder, we consider that the interannual variability of single-point temperature is limited, and the dimensionality of the time series is substantially smaller than that of the spatial domain. An overly complex model would introduce excessive parameters relative to the information content, leading to training instability and computational inefficiency. We therefore adopt a deliberately lighter architecture for the temporal encoder, omitting the sophisticated modules used in the spatial encoder. The temporal encoder consists of three 1D convolutional layers—each combining 1×3 kernels with 1×1 convolutions for channel adjustment—to extract local temporal patterns, followed by a fully connected layer that maps the features to an 80-dimensional temporal embedding. Residual connections are introduced at each layer to mitigate gradient vanishing. The temporal decoder is symmetric to the encoder, acting as its inverse, with an additional fully connected layer at the output to reconstruct the 120-step time series. The detailed architecture is shown in Figure 3B.
2.2.1.3 Self-reconstruction validation
To verify that the encoders preserve essential information after dimensionality reduction, we performed self-reconstruction experiments on both modalities. Each encoder was trained to compress and then reconstruct its input, with reconstruction accuracy serving as an indicator of information retention. For the temporal encoder (embedding dimension = 80), the reconstruction achieved an RMSE of 0.02 °C and an R2 of 0.96. For the spatial encoder (embedding dimension = 112), the reconstruction achieved an RMSE of 0.02 °C and an R2 of 0.97. These results confirm that both encoders effectively preserve the key information of their respective inputs while compressing to a low-dimensional latent space.
2.2.2 Spatial and temporal feature matching
After feature extraction, a central challenge remains: how can semantic alignment between temporal features and spatial features be ensured? Ideally, similar temporal evolution patterns should correspond to similar spatial structures, and dissimilar ones to different structures. This alignment is not automatically achieved by autoencoders, whose optimization objective is reconstruction error rather than cross-modal correspondence. Therefore, an additional mechanism is required to actively adjust the feature space and enhance its correlation with the target physical field.
To achieve this, we introduce metric learning, specifically the triplet loss (). The core idea is straightforward: in the latent space, we pull the positive pair—consisting of temporal and spatial features from the same time instant—closer together, while pushing the negative pair—consisting of a temporal feature and a spatial feature from a different time instant—farther apart. Through this optimization, the model learns a feature space in which the distance metric effectively reflects the semantic similarity between temporal evolution and spatial temperature distribution.
Specifically, for each sample in a training batch, we construct a triplet consisting of an anchor temporal feature ZT, a positive spatial feature ZS+ corresponding to the same time instant, and a negative spatial feature ZS− selected from a different time instant. In constructing these triplets, we define positive and negative pairs solely by temporal identity: the positive spatial sample is the one taken at the same time instant as the temporal anchor, and the negative spatial sample is taken at a different time instant. We do not impose additional filtering based on spatial similarity, nor do we adopt hard or semi-hard negative mining strategies. This deliberately simple definition is chosen to align with the proof-of-concept nature of this study—our primary goal is to establish whether temporal features and spatial features can be associated at all, using time as the most direct and unambiguous ground-truth correspondence, rather than to optimize the matching performance through sophisticated sampling schemes. The sensitivity of the inversion results to different negative sampling strategies is an important question that we leave for future investigation.
The triplet loss is defined in Equation 1 as:
where the distances between the temporal feature and the positive or negative spatial feature are calculated using the L1 distance (Equations 2, 3):
where ZT denotes the temporal anchor feature, ZS+ denotes the positive spatial feature corresponding to the same time instant, and ZS− denotes a negative spatial feature selected from a different time instant. D is the common feature dimension after projection, j indexes the feature dimensions, and m is the margin parameter. The triplet losses are averaged over all samples in each training batch.
To further stabilize cross-modal feature alignment and explicitly reduce the distance between matched temporal and spatial features, we introduce an additional positive-pair distance penalty. The resulting combined matching loss, referred to as the fusion loss, is defined in Equation 4 as:
where α is a weighting coefficient that balances the triplet loss and the positive-pair distance penalty.
Figure 4 illustrates the architecture of the spatiotemporal feature matching model. The temporal branch takes the original single-point time series as input and outputs the temporal anchor feature. The spatial branch takes, as inputs, both the positive spatial sample (same time instant as the anchor) and the negative spatial sample (different time instant), and outputs the corresponding positive and negative spatial features. Prior to metric learning, the spatial features are projected into the temporal feature space via a fully connected layer, ensuring dimensional compatibility for triplet loss computation. This projection layer is trained jointly with the encoders during the matching stage.
Figure 4
Through this joint optimization, the temporal and spatial encoders are updated simultaneously: the temporal encoder learns to extract features that are strongly predictive of spatial structure, while the spatial encoder learns to produce discriminative representations of spatial patterns. The result is an aligned semantic structure in the latent space, where cross-modal correspondence is explicitly encoded. This alignment is a prerequisite for the inversion step that follows, as it ensures that the temporal features fed into the decoder are positioned in the correct region of the latent space to generate meaningful spatial fields.
2.2.3 Temporally driven spatial inversion
The feature matching module establishes correspondences between temporal and spatial features in the latent space, but it does not inherently possess the ability to generate a spatial field from temporal features. Metric learning is fundamentally a contrastive framework: it organizes the latent space by pulling semantically similar items together and pushing dissimilar ones apart, but it does not learn a direct mapping from one modality to the other. Therefore, a separate generative module is required to translate the aligned temporal features into spatial distributions.
We construct the inversion model as follows (Figure 5). Given a single-point time window, the temporal encoder extracts the aligned temporal feature. This feature is then passed through a feature mapping module that transforms it into a spatial feature representation, which is subsequently fed into the spatial decoder (pre-trained in the self-reconstruction stage, Section 2.2.1) to reconstruct the 20×20 temperature field. The inversion model thus consists of three components: the temporal encoder, the feature mapping module, and the spatial decoder.
Figure 5
The feature mapping module undertakes the function of translating temporal features into spatial features. We design this module with a Transformer encoder as its backbone, preceded and followed by two fully connected layers for dimension adjustment. The Transformer’s self-attention mechanism captures long-range dependencies among feature dimensions, allowing the model to integrate global contextual information from the temporal embedding—an ability that is particularly beneficial for predicting spatial patterns that depend on coordinated variations across multiple temporal scales.
The inversion model is trained in two stages to decouple the tasks of feature alignment and field generation:
2.2.3.1 Feature transformation stage
The feature mapping module is trained to translate temporal matching features into spatial features, using the mean squared error (MSE) between the mapped features and the true spatial features as the loss. This stage focuses on learning the cross-modal mapping in the latent space, without involving the decoder.
2.2.3.2 Spatial decoding stage
In this stage, the full inversion pipeline is optimized end-to-end, with the feature mapping module continuing to be updated while the MSE between the reconstructed spatial field and the true field is used as the loss. This ensures that the semantic alignment established in the matching stage is preserved while the generation capability is refined.
Through this two-stage strategy, we decouple feature alignment from feature-to-field generation, allowing each module to focus on its specific objective. The final model is capable of reconstructing the surrounding 2° × 2° spatial temperature field from a single-point time series alone, with the feature mapping module serving as the critical bridge between the two modalities. The key hyperparameters for the spatiotemporal feature extraction, matching, and inversion modules are summarized in Table 1.
Table 1
| Parameter | Value |
|---|---|
| Batch_size: Reconstruction | 64 |
| Batch_size: Pre_match | 48 |
| Batch_size: Hard_match | 96 |
| Transformer: Input_embed_dim | 120 |
| Transformer: Output_embed_dim | 400 |
| Transformer: Num_heads | 4 |
| Transformer: Num_layers | 4 |
| Transformer: Deef | 512 |
| Triplet loss:Margin | 0.3 |
| Triplet loss:Fusion loss weight | 1 |
| Number of training runs | 10000 |
| Learning rate: Reconstruction | 1e-4 |
| Learning rate:Pre_match | 1e-4 |
| Learning rate:Hard_match | 5e-4 |
| Learning rate:Match_recon | 1e-5 |
Key hyperparameters of the proposed model framework.
3 Results
3.1 Evaluation of feature space alignment via metric learning
The proposed methodological framework hinges on a core premise: the spatial information encoded in single-point time series can be effectively extracted only when the temporal and spatial features are embedded in a semantically aligned latent space. To test whether metric learning achieves this alignment, we compare the distributions of temporal and spatial features before and after metric learning, using samples from the test set. If alignment is successful, temporal features from a given time instant should be closer in the latent space to their corresponding spatial features than to those from other time instants.
Figure 6 presents the scatter plots of five randomly selected temporal–spatial feature pairs in the latent space. Each column shows the distribution of one temporal feature (horizontal axis) against the corresponding spatial features (vertical axis), with Pre-ML results shown in the upper row and Post-ML results in the lower row.
Figure 6
3.1.1 Pre-ML
Semantic disconnection in the reconstruction-optimized space. Without metric learning, the temporal and spatial features exhibit scattered distributions with no clear clustering, trajectory, or discernible nonlinear structure. The linear correlation coefficients between temporal and spatial features range from −0.15 to 0.12, close to zero, confirming the absence of a meaningful linear relationship. To further quantify the relationship between temporal and spatial features, we performed a cross-modal retrieval experiment using the squared Euclidean distance as the matching criterion: for each temporal feature in the test set, we retrieved the nearest spatial feature in the latent space. Prior to distance computation, the spatial features were projected into the temporal feature space via a fully connected layer; however, without metric learning, this projection failed to align the two modalities. The retrieval accuracy was therefore only 1% at 100 m, confirming that the reconstruction-optimized latent space does not preserve temporal correspondence. This indicates that autoencoder-based reconstruction alone—optimized solely for minimizing reconstruction error—does not naturally produce cross-modal semantic correspondence. In other words, a feature space that is effective for reconstructing individual modalities is not necessarily suitable for aligning them.
3.1.2 Post-ML
emergence of structured correspondence. After metric learning, the feature distributions change markedly. The scatter points cluster along distinct directions, forming structured trajectories that suggest the emergence of both linear and nonlinear correlations. For most feature groups, the absolute values of Pearson’s r increase substantially—for example, from 0.12 to 0.85 in Group 3—indicating that linear correlations have been activated. More importantly, the cross-modal retrieval accuracy increased substantially after metric learning, rising from 1% to 45%. This substantial improvement confirms that temporal and spatial features from the same time instant form paired structures in the latent space, demonstrating that the metric learning process has successfully established semantic alignment.
Feature-wise variability and implications for inversion. Notably, not all temporal features benefit equally from metric learning. Some features—such as ZT31 and ZT55 in Figure 6—show only weak correlation with spatial features even after alignment. This implies that when the time series is dominated by such features, the model’s ability to retrieve the corresponding spatial state becomes limited. This variability across feature dimensions suggests that not all temporal information is equally useful for spatial reconstruction; some temporal patterns may carry more spatial information than others, and the metric learning process does not fully compensate for these inherent differences.
Together, these results demonstrate that the link between single-point time series and the surrounding spatial field is not naturally encoded in the original data space, but must be actively constructed through feature-space adjustment. The metric learning module serves precisely this purpose: it reshapes the latent space so that the similarity between temporal and spatial features reflects their physical correspondence. This semantically aligned space is a necessary prerequisite for the inversion step, as it ensures that a temporal feature can be reliably mapped to the correct spatial feature region.
3.2 Quantitative evaluation of inversion capability
This section presents a quantitative assessment of the inversion performance of the proposed model on the test set. As a baseline for comparison, we included two additional configurations. First, we implemented an optimal interpolation (OI) scheme using the same single-point observations. The OI method relies on instantaneous temperature values and static spatial covariance statistics—a conventional approach that does not exploit temporal evolution information. Second, we designed an ablation experiment, referred to as “No-TL” (no triplet loss), in which the triplet loss and fusion loss were removed from the training pipeline while all other architectural and training settings were kept identical to those of the complete Post-ML model. This ablation allows us to isolate the contribution of feature space alignment via metric learning. Table 2 summarizes the inversion error (RMSE), coefficient of determination (R²), and spatial correlation coefficient (SIM) for the three configurations over the 2° × 2° domain at 100 m depth.
Table 2
| Method | RMSE (°C) | R² | SIM |
|---|---|---|---|
| OI | 0.14 ± 0.04 | −0.04 ± 0.11 | 0.12 ± 0.18 |
| No-TL | 0.18 ± 0.04 | −0.86 ± 0.66 | 0.12 ± 0.23 |
| Post-ML | 0.12 ± 0.04 | 0.21 ± 0.29 | 0.50 ± 0.17 |
Performance metrics of inversion at 100 m depth.
The proposed model (Post-ML) clearly outperforms OI across all three metrics (Table 2). This confirms that single-point time series contain additional information beyond the instantaneous values used by traditional interpolation methods. The temporal evolution trajectory provides dynamic clues—such as the rate of temperature change, fluctuation patterns, and persistence—that are not captured by static covariance statistics. This result supports the premise that process information, rather than point values alone, contributes to spatial reconstruction. In contrast, the No-TL ablation yields substantially worse performance than Post-ML and, interestingly, even slightly underperforms OI across all metrics. This demonstrates that without feature space alignment, the temporal features cannot be effectively leveraged for spatial inversion, confirming that metric learning plays a critical role in extracting spatially relevant information from the time series.
In this retrospective reconstruction setting, the proposed model achieves an RMSE of 0.12 °C and a spatial correlation coefficient (SIM) of 0.50 on the test set. The R² value is 0.21, indicating that approximately 21% of the spatial variance can be explained by the temporal features under the current model configuration. While this confirms the presence of spatial information in single-point time series, the modest R² also reflects a fundamental constraint: a single-point observation contains inherently limited information compared to the full spatial field (20×20 = 400 grid points). The model extracts what is available, but cannot create information that is not present in the input.
To further investigate which temporal features contribute most to successful inversion, we stratified the test samples into three groups based on their spatial correlation coefficient (SIM): High-QI (SIM >0.75), Medium-QI (0.10≤ SIM ≤0.75), and Low-QI (SIM<0.10). For each group, we computed feature importance as the mean absolute derivative of the output spatial features with respect to each input temporal feature—a standard sensitivity measure that indicates how much a given temporal feature influences the reconstructed spatial field.
Figure 7 presents the importance and magnitude of the top ten temporal features for the High-QI and Low-QI groups. Two distinct patterns emerge:
Figure 7
High-QI group (Figure 7A): The top ten features exhibit both high importance and high feature magnitudes. This combination—high sensitivity paired with strong signal strength—suggests that the model can effectively leverage these features to reconstruct spatial patterns with good fidelity.
Low-QI group (Figure 7B): Although the top features also show high sensitivity (i.e., the model “attends” to them strongly), their feature magnitudes are generally lower. This high-sensitivity, low-signal combination implies that the model is attempting to use features that carry weak information, resulting in less reliable reconstructions despite strong attention.
This contrast suggests that the success of inversion depends not only on whether the model can identify relevant temporal patterns, but also on whether those patterns are sufficiently pronounced in the input signal. In cases where the time series is dominated by weak-amplitude fluctuations, even a well-trained model struggles to produce accurate spatial reconstructions—a limitation that is inherent to the input data rather than the model architecture.
3.3 Case analysis of inversion performance and feature-level interpretation
To complement the quantitative evaluation presented in Section 3.2, this section examines three representative test samples in detail, comparing the inversion results with both the ground truth and the optimal interpolation (OI) baseline. The goal is to identify the feature-level factors that contribute to successful inversion and to illustrate the strengths and limitations of the proposed method in specific scenarios.
Figure 8 presents the inversion comparison for three representative time instants. Panels (A)–(C) show, from left to right, the true spatial field, the OI result, the No-TL result, and the model inversion result (Post-ML) at 100 m depth for three selected instants (t1, t2, and t3). These instants were chosen to represent different internal-wave activity regimes, ranging from relatively regular wave patterns to more complex, multi-wave structures.
Figure 8
To examine the feature-level factors controlling the inversion performance across these three cases, we identified the five most important temporal features affecting the spatial distribution (based on the sensitivity analysis described in Section 3.2) and compared their magnitudes across the three instants. Figure 8D shows the magnitudes of these top five features—ZT24, ZT66, ZT5, ZT4, and ZT74—at t1, t2, and t3.
A clear pattern emerges: at t2, where the inversion achieves the highest spatial correlation (SIM = 0.64; Figure 8B), most of the five important features exhibit relatively large magnitudes. This suggests that strong activation of key temporal features is associated with better reconstruction performance. At t3, where the inversion result contains fewer fine-scale details and achieves a lower SIM (Figure 8C), the magnitudes of these same features are generally weaker. At t1, the feature magnitudes fall between the other two cases, consistent with its intermediate inversion quality (SIM = 0.55; Figure 8A). This consistent relationship across the three cases suggests that the overall inversion performance is related to the combined magnitude of multiple important temporal features, rather than being controlled by any single feature in isolation.
Across all three scenarios, the proposed method consistently outperforms OI (Figures 8A–C). The OI results exhibit a characteristic pattern: the spatial structure remains largely invariant across different time instants, with only the overall magnitude changing. This reflects the inherent limitation of OI—it relies on static spatial covariance and instantaneous point values, and therefore cannot capture the evolving spatial structures associated with internal wave propagation. In contrast, the proposed method successfully retrieves distinct spatial distributions that closely approximate the ground truth, capturing the changing wave patterns across different time instants. This comparison confirms that temporal evolution information provides additional constraints that are unavailable to static interpolation methods.
Based on the above analysis, the proposed method is generally effective in recovering the dominant spatial patterns associated with internal wave activity. However, the case analysis also reveals persistent challenges: limited by the inherent information content of single-point observations, challenges remain in recovering fine-scale structures, accurate amplitudes, and fine details.
4 Conclusion
This study addresses the tension between the sparsity of subsurface ocean observations and the underutilization of single-point temporal information. The central question is whether a single-point time series contains information that can help infer the surrounding spatial temperature field. To answer this, we constructed a metric-learning-based framework that explicitly aligns temporal features with spatial features in a shared latent space, enabling spatial inversion from single-point time series.
The main findings are summarized as follows:
First, temporal information and spatial state do have a learnable relationship, but this relationship is not naturally encoded in the original reconstruction-optimized feature space. In the Pre-ML space—where features were learned solely for autoencoding reconstruction—temporal and spatial features exhibited scattered distributions with no significant linear or nonlinear correspondence. After metric learning (Post-ML), the same features formed structured clusters in the latent space. This confirms that metric learning serves as an effective mechanism for actively reshaping the feature space to reveal cross-modal associations that are otherwise hidden.
Second, the utility of temporal features for spatial inversion is not uniform across all feature dimensions. The feature importance analysis revealed that some temporal features contribute strongly to inversion performance, while others remain weakly correlated with spatial structure even after metric learning. This variability suggests that not all temporal information is equally useful for spatial reconstruction—a finding that has implications for feature selection and model design in future studies.
Third, quantitative evaluation shows that the proposed method outperforms optimal interpolation, but the overall reconstruction accuracy is limited by the inherent information content of single-point observations. The model achieves an RMSE of 0.12 °C and an R² of 0.21 on the test set, with SIM values reaching 0.64 in the best cases. The modest R² also reflects a fundamental constraint: a single-point observation cannot fully capture the spatial complexity of a 20×20 grid, and fine-scale structures, accurate amplitudes, and multi-wave details remain challenging to reconstruct.
In summary, this study provides preliminary but quantified evidence that long-term, high-density time series from single-point instruments—such as moored buoys—may serve not only for climatological statistics but also as a complementary information source for sensing surrounding spatial dynamics. While our method is not intended for real-time causal forecasting, it provides a proof-of-concept that temporal dynamics encode spatial information, which can be exploited in delayed-mode data processing. The proposed framework is not intended as an operational product, but rather as a proof-of-concept demonstration of the underlying scientific question. Future work may extend this approach by incorporating additional observational constraints, adopting more advanced generative models, or integrating physical priors to improve reconstruction fidelity and generalization.
Statements
Data availability statement
The publicly available South China Sea reanalysis product is available through the Digital South China Sea data platform at https://data.scsio.ac.cn/metaData-detail/1480813599763386368 (dataset/project identifier: GML2019ZD0303). The code used in this study is available in Zenodo at https://doi.org/10.5281/zenodo.20635948.
Author contributions
LH: Data curation, Formal analysis, Investigation, Software, Validation, Visualization, Writing – original draft. MW: Formal analysis, Software, Validation, Writing – review & editing. QX: Methodology, Validation, Writing – review & editing. ZH: Conceptualization, Funding acquisition, Methodology, Project administration, Supervision, Writing – review & editing.
Funding
The author(s) declared that financial support was received for this work and/or its publication. This work was supported by the National Natural Science Foundation of China (Grant No. 42276204) and the joint research project between Harbin Engineering University and the 715th Research Institute (Project No. 2025715YKC08).
Acknowledgments
The authors thank the Southern Marine Science and Engineering Guangdong Laboratory (Guangzhou) for providing the high-resolution South China Sea reanalysis product developed under the Key Special Project for Introduced Talents Team (Grant No. GML2019ZD0303).
Conflict of interest
The author(s) declared that this work was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
Generative AI statement
The author(s) declared that generative AI was used in the creation of this manuscript. ChatGPT (GPT-5.6 Thinking, OpenAI; accessed July 2026) was used for English-language editing, text organization, and drafting assistance during manuscript preparation. All AI-assisted text was critically reviewed, revised, and verified by the authors. The tool was not used to generate or modify the underlying data, analyses, figures, or computational results. The authors take full responsibility for the final manuscript.
Any alternative text (alt text) provided alongside figures in this article has been generated by Frontiers with the support of artificial intelligence and reasonable efforts have been made to ensure accuracy, including review by the authors wherever possible. If you identify any issues, please contact us.
Publisher’s note
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.
References
1
AlfordM. H.PeacockT.MacKinnonJ. A.NashJ. D.BuijsmanM. C.CenturioniL. R.et al. (2015). The formation and fate of internal waves in the South China Sea. Nature521, 65–69. doi: 10.1038/nature14399
2
BarthA.Alvera-AzcárateA.TroupinC.BeckersJ.-M. (2022). DINCAE 2.0: multivariate convolutional neural network with error estimates to reconstruct sea surface temperature satellite and altimetry observations. Geosci. Model. Dev.15, 2183–2196. doi: 10.5194/gmd-15-2183-2022
3
BocquetM.BrajardJ.CarrassiA.BertinoL. (2020). Bayesian inference of chaotic dynamics by merging data assimilation, machine learning and expectation-maximization. Found. Data Sci.2, 55–80. doi: 10.3934/fods.2020004
4
CheltonD. B.SchlaxM. G.SamelsonR. M. (2011). Global observations of nonlinear mesoscale eddies. Prog. Oceanogr.91, 167–216. doi: 10.1016/j.pocean.2011.01.002
5
CutoloE.PascualA.RuizS.ZarokanellosN. D.FabletR. (2024). CLOINet: ocean state reconstructions through remote-sensing, in-situ sparse observations and deep learning. Front. Mar. Sci.11, 1151868. doi: 10.3389/fmars.2024.1151868
6
DavisJ. V.KulisB.JainP.SraS.DhillonI. S. (2007). “ Information-theoretic metric learning”, in: Proceedings of the 24th International Conference on Machine Learning (New York, NY: ACM), 209–216. doi: 10.1145/1273496.1273523
7
FabletR.ChapronB.DrumetzL.MéminE.PannekouckeO.RousseauF. (2021). Learning variational data assimilation models and solvers. J. Adv. Model. Earth Syst.13, e2021MS002572. doi: 10.1029/2021MS002572
8
GaoZ.ChenZ.HuangX.YangH.WangY.MaW.et al. (2024). Estimating the energy flux of internal tides in the northern South China Sea using underwater gliders. J. Geophys. Res. Oceans129, e2023JC020385. doi: 10.1029/2023JC020385
9
GroomsI. (2021). Analog ensemble data assimilation and a method for constructing analogs with variational autoencoders. Q. J. R. Meteorol. Soc147, 139–149. doi: 10.1002/qj.3910
10
HamY.-G.JooY.-S.KimJ.-H.LeeJ.-G. (2024). Partial-convolution-implemented generative adversarial network for global oceanic data assimilation. Nat. Mach. Intell.6, 834–843. doi: 10.1038/s42256-024-00867-x
11
HuntB. R.KostelichE. J.SzunyoghI. (2007). Efficient data assimilation for spatiotemporal chaos: a local ensemble transform Kalman filter. Physica D230, 112–126. doi: 10.1016/j.physd.2006.11.008
12
KayaM.BilgeH. S. (2019). Deep metric learning: a survey. Symmetry11, 1066. doi: 10.3390/sym11091066
13
LeglerS.JanjićT. (2022). Combining data assimilation and machine learning to estimate parameters of a convective-scale model. Q. J. R. Meteorol. Soc148, 860–874. doi: 10.1002/qj.4235
14
Mohd RazakS.JahandidehA.DjuraevU.JafarpourB. (2022). Deep learning for latent space data assimilation in subsurface flow systems. SPE J.27, 2820–2840. doi: 10.2118/203997-PA
15
MooreA. M.MartinM. J.AkellaS.ArangoH. G.BalmasedaM.BertinoL.et al. (2019). Synthesis of ocean observations using data assimilation for operational, real-time and reanalysis systems: a more complete picture of the state of the ocean. Front. Mar. Sci.6, 90. doi: 10.3389/fmars.2019.00090
16
MouC.SmithL. M.ChenN. (2023). Combining stochastic parameterized reduced-order models with machine learning for data assimilation and uncertainty quantification with partial observations. J. Adv. Model. Earth Syst.15, e2022MS003597. doi: 10.1029/2022MS003597
17
NanF.XueH.YuF. (2015). Kuroshio intrusion into the South China Sea: a review. Prog. Oceanogr.137, 314–333. doi: 10.1016/j.pocean.2014.05.012
18
ReynoldsR. W.SmithT. M. (1994). Improved global sea surface temperature analyses using optimum interpolation. J. Clim.7, 929–948. doi: 10.1175/1520-0442(1994)007<0929:IGSSTA>2.0.CO;2
19
RieneckerM. M.MillerR. N. (1991). Ocean data assimilation using optimal interpolation with a quasi-geostrophic model. J. Geophys. Res. Oceans96, 15093–15103. doi: 10.1029/91JC01530
20
SchroffF.KalenichenkoD.PhilbinJ. (2015). “ FaceNet: a unified embedding for face recognition and clustering”, in: 2015 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) (Boston, MA: IEEE), 815–823. doi: 10.1109/CVPR.2015.7298682
21
SmithT. M.ReynoldsR. W. (2003). Extended reconstruction of global sea surface temperatures based on COADS data, (1854-1997). J. Clim.16, 1495–1510. doi: 10.1175/1520-0442(2003)016<1495:EROGSS>2.0.CO;2
22
SuH.JiangJ.WangA.ZhuangW.YanX.-H. (2022). Subsurface temperature reconstruction for the global ocean from 1993 to 2020 using satellite observations and deep learning. Remote Sens.14, 3198. doi: 10.3390/rs14133198
23
SuR.ZhaoJ.BaoS.FuH.WangH.ZhangX.et al. (2025). Deep learning approach for internal tide prediction based on China Ocean Reanalysis data. Ocean Eng.340, 122348. doi: 10.1016/j.oceaneng.2025.122348
24
YanH.WangH.ZhangR.ChenJ.BaoS.WangG. (2020). A dynamical-statistical approach to retrieve the ocean interior structure from surface data: SQG-mEOF-R. J. Geophys. Res. Oceans125, e2019JC015840. doi: 10.1029/2019JC015840
25
YangY.HuangX.ZhouC.ZhangZ.ZhaoW.TianJ. (2022). Three-dimensional structures of internal solitary waves in the northern South China Sea revealed by mooring array observations. Prog. Oceanogr.209, 102907. doi: 10.1016/j.pocean.2022.102907
26
ZhuY. H.PengS. Q. (2019). 40 years of marine data products in the South China Sea, (1980-2019) (1/10 degree) (hourly) (NetCDF)Southern Marine Science and Engineering Guangdong Laboratory (Guangzhou), Key Special Project for Introduced Talents Team (GML2019ZD0303). Available online at: https://data.scsio.ac.cn/metaData-detail/1480813599763386368 (Accessed July 29, 2026).
Summary
Keywords
metric learning, single-point time series, South China Sea, sparse ocean observations, spatial reconstruction, subsurface temperature
Citation
Hong L, Wang M, Xu Q and He Z (2026) Reconstructing subsurface temperature fields from single-point time series: a metric learning approach in the South China Sea. Front. Mar. Sci. 13:1953292. doi: 10.3389/fmars.2026.1953292
Received
30 July 2026
Revised
01 September 2026
Accepted
07 September 2026
Published
23 September 2026
Volume
13 - 2026
Edited by
Kyung-Ae Park, Seoul National University, Republic of Korea
Reviewed by
Yajun Wang, Ministry of Natural Resources, China
Yiyuan Zhang, University of Minnesota Twin Cities, United States
Updates
Copyright
© 2026 Hong, Wang, Xu and He.
This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
*Correspondence: Zhongjie He, hzj@hrbeu.edu.cn
Disclaimer
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.