Papers
Topics
Authors
Recent
Search
2000 character limit reached

Time Series Geometric Structure Index

Updated 7 July 2026
  • TGSI is a metric that converts time series into grayscale images to capture and quantify geometric or structural similarity.
  • It employs an SSIM-inspired method focusing on luminance and covariance, effectively mapping temporal shapes rather than point-wise values.
  • TGSI complements traditional metrics like MSE and MAE by evaluating the preservation of temporal patterns and structural fidelity.

Searching arXiv for the cited TGSI paper and closely related work to ground the article in current literature. arXiv search query: "(Yu et al., 31 Jul 2025) Towards Measuring and Modeling Geometric Structures in Time Series Forecasting via Image Modality" The Time Series Geometric Structure Index (TGSI) is a metric for quantifying geometric or structural similarity between time series by transforming each series into a grayscale image and then computing an SSIM-inspired similarity score on the resulting two-dimensional representations. It was introduced to address a specific limitation of point-wise forecasting metrics: Mean Squared Error (MSE) and Mean Absolute Error (MAE) compare values at each time step, but they do not evaluate how those values connect to form temporal shapes. TGSI is therefore intended as a complement to numerical accuracy measures, with the explicit goal of capturing temporal geometry through image modality (Yu et al., 31 Jul 2025).

1. Motivation and problem formulation

The central motivation for TGSI is that conventional forecasting evaluation is largely point-wise. Metrics such as MSE or MAE quantify local deviations, but they ignore whether a forecast preserves periodicity, trend morphology, or other geometric aspects of temporal evolution. The underlying claim is not that point-wise errors are uninformative, but that they are incomplete when structural fidelity is important (Yu et al., 31 Jul 2025).

A canonical illustration is the toy example in which yy is a noisy periodic series, x1x_1 is yy shifted vertically with different noise, and x2x_2 is the zero series. Both pairs (y,x1)(y,x_1) and (y,x2)(y,x_2) have identical MSE, approximately $0.79$, even though x1x_1 clearly shares more of yy's periodic shape. TGSI was proposed precisely to separate these cases by evaluating the geometry of the curve traced by the series rather than only the value discrepancy at aligned time indices (Yu et al., 31 Jul 2025).

The same motivation is used to distinguish TGSI from Dynamic Time Warping and related LpL_p-based losses. In the formulation accompanying TGSI, such methods still operate in one dimension and therefore cannot fully capture two-dimensional geometric patterns. The proposed remedy is to embed a univariate time series into an image, with time on the horizontal axis and amplitude on the vertical axis, and then assess structural similarity in that image domain (Yu et al., 31 Jul 2025).

2. Formal definition

After transforming two series x1x_10 and x1x_11 into grayscale images x1x_12, TGSI is defined in direct analogy to the Structural Similarity Index (SSIM), but with the contrast term omitted. The required image statistics are the means x1x_13, standard deviations x1x_14, and covariance x1x_15 of the two images (Yu et al., 31 Jul 2025).

The constants are

x1x_16

and

x1x_17

The luminance component is

x1x_18

and the covariance component is

x1x_19

TGSI is then

yy0

Higher TGSI indicates greater geometric or structural similarity of the underlying time-series shapes. The omission of the contrast term is deliberate: in the accompanying analysis, vertical variance is fixed by the decay kernel used in the image construction, so a separate contrast measure is treated as redundant (Yu et al., 31 Jul 2025).

3. Time-series-to-image mapping

The time-series-to-image mapping is the defining design choice behind TGSI. Each sequence is first normalized independently to yy1: yy2 This normalization ensures consistent mapping across sequences (Yu et al., 31 Jul 2025).

The image canvas has width yy3, so that each time step occupies one column, and a fixed height yy4, with yy5 given as an example. Pixel values lie in yy6, usually with yy7. For each time index yy8, the method activates the pixel at row yy9 and column x2x_20 with intensity x2x_21. This creates a one-pixel-wide ridge corresponding to the sampled time series (Yu et al., 31 Jul 2025).

A vertical expansion, or thickening, is then applied. Around each activated pixel, the representation extends by x2x_22 rows using a one-dimensional vertical decay kernel. If

x2x_23

the intensity is

x2x_24

The resulting image is described as a “probability-like” two-dimensional map whose bright ridge traces the original series. Optional uniform down-sampling can be applied before computing covariances to compensate for the effects of vertical thickening (Yu et al., 31 Jul 2025).

This construction is essential to the metric’s interpretation. TGSI does not compare sequences directly in value space; it compares geometric traces in image space after a controlled rasterization and smoothing procedure (Yu et al., 31 Jul 2025).

4. Parameters and theoretical behavior

The principal design parameters are image height x2x_25, vertical half-width x2x_26, and pixel dynamic range x2x_27. In the reported experiments, x2x_28 and (

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Time Series Geometric Structure Index (TGSI).