arXiv:2610.31288cs.LGOct 2026

Manuscript Offprint

arXiv:2610.31288

DISC: Domain-Integrated Similarity Cost for Time-Series Dataset

Yen-Ku Liu, Hongjie Chen, Franck Dernoncourt, Ryan Rossi

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

Yen-Ku Liu

National Yang Ming Chiao Tung University

yenkuliu.cs15@nycu.edu.tw

Hongjie Chen

Dolby Laboratories

hongjie.chen@dolby.com

Franck Dernoncourt

Adobe Research

dernonco@adobe.com

Ryan Rossi

Adobe Research

ryrossi@adobe.com

Abstract—The growth of time-series datasets and foundation models has made dataset comparison a central part of time-series workflows. Assessing source-target transfer before model adaptation requires similarity estimates that can summarize transfer-related dataset relationships without exhaustive source-target evaluation over every candidate pair. Many metrics have been proposed for measuring similarity between time-series datasets, but they capture different dataset relationships and vary in how well they align with downstream utility across tasks. We evaluate this gap by measuring the correlation between source-target similarity scores and downstream forecasting errors in out-of-distribution and transfer-learning settings. We propose Domain-Integrated Similarity Cost (DISC), a learnable aggregation framework that uses calibration transfer observations to select, weight, and combine similarity metrics for different downstream tasks. By integrating complementary metric values, DISC better distinguishes source-target dataset differences that matter for downstream behavior. After calibration, DISC scores source-target pairs using only their similarity-metric values and yields higher alignment than single-metric references on the reported split. These results show that time-series dataset similarity is task-dependent, and that learned metric integration provides a stronger proxy for downstream transfer behavior than manually selecting one similarity metric.

Index Terms—time-series dataset similarity, transfer learning, foundation models, correlation evaluation

I. INTRODUCTION

Time-series data appear in energy, transportation, weather, healthcare, finance, and web-traffic systems [1]–[5]. As time-series research has expanded, dedicated resources have been developed for classification [6], anomaly detection [7], forecasting [8]–[10], and foundation-model development [11]–[13]. Recent foundation models for time-series forecasting make it possible to adapt pretrained models across heterogeneous domains [11], [14], [15]. This growth makes relevant source-target transfer assessment important for downstream time-series tasks, particularly when models rely on transfer, adaptation, or external data reuse [16]–[20]. In transfer-learning and adaptation settings, source-target compatibility can affect whether fine-tuning provides useful signal [20]–[22], while a mismatched pair can degrade target-domain performance or introduce negative transfer [21], [23], [24].

As a result, quantifying similarity between time-series datasets becomes crucial. However, this utility depends on what relationship a metric captures: two datasets may be close in marginal distribution, temporal shape, representative pattern, or alignment structure, and each view can be more

Figure

(a) Wasserstein distance

(b) Match-and-Deform

Figure

(c) Longest Common Subsequence

(d) Maximum Mean Discrepancy

Fig. 1: Pairwise dataset distances under four similarity metrics. Darker cells indicate smaller distance and therefore higher metric-implied similarity. The panels illustrate why single-metric similarity is insufficient: WSD captures a broad related group, MAD sharpens only part of that relation, DBA+LCSS reveals additional temporal-shape similarities, and MMD rejects a spurious group that the other metrics rank as close. This motivates learning an integrated similarity cost that combines complementary evidence while avoiding over-reliance on any single metric.

or less informative for a particular downstream task [25]. Figure 1 illustrates how different single similarity metrics expose different parts of the dataset relationship. In Fig. 1(a)–(b), both Wasserstein distance (WSD) and Match-and-Deform (MAD) identify the electricity-related datasets as similar, as indicated by the red outlines. MAD further sharpens this relation by revealing that electricity, electricity_hourly, and electricity_nips form a tighter core within the broader electricity group. However, MAD does not clearly mark m4_daily and m4_hourly as similar, whereas Dy-namic Time Warping Barycenter Averaging with Longest Common Subsequence (DBA+LCSS) gives this green-outlined pair a clearer low-distance relation in Fig. 1(c). DBA+LCSS also gives the clearest similarity result for the orange-outlined mobility datasets uber_tlc_daily, uber_tlc_hourly, and vehicle_trips_wm, while WSD and MAD leave the pairs involving uber_tlc_hourly comparatively distant. At the same time, not every low-distance value should be trusted uniformly. For the yellow-outlined semantically mismatched group covid_deaths, ml_quarterly, and tourism_quarterly, WSD, MAD, and DBA+LCSS all rank the three pairwise relations as relatively close, but Maximum Mean Discrepancy (MMD) ranks them as distant. The yellow-outlined case shows that a low distance under one metric can be misleading when other metrics capture a conflicting dataset relationship. Together, these examples motivate a learnable framework that integrates metric evidence according to downstream utility, rather than relying on any single metric that happens to mark a pair as similar.

These metric-level differences matter because dataset similarity is used beyond pairwise comparison: it can support transfer assessment [26]–[28], dataset visualization and inspection [25], [26], benchmark curation [8], [10], and analysis of cross-domain generalization [22]. Since evaluating every source-target transfer setting is costly, dataset similarity has been used to prioritize source-target evaluations before downstream adaptation [26], [29], [30]. A useful similarity score should therefore vary with downstream transfer behavior, especially because source-target similarity can affect forecasting performance across zero-shot and fine-tuned settings [22], [31]. We therefore treat time-series dataset similarity as a correlation-alignment problem between source-target similarity scores and downstream task errors, which also explains why no single metric should be expected to dominate across all tasks. These observations suggest that dataset similarity should not be treated as a fixed metric choice.

To address the gap between single-metric similarity and downstream task behavior, this paper proposes Domain-Integrated Similarity Cost (DISC), a learnable aggregation framework for time-series dataset similarity. DISC uses observed transfer results on calibration datasets to learn metric mixtures that can then be applied to other source-target pairs using only dataset similarity values. The base mixture forms the primary similarity score from standardized metric values. The prior mixture forms a rank-based value from source-wise metric ranks. A learned sigmoid gate uses the prior value to modulate the base score. This design lets DISC emphasize metrics that provide useful cost value while using rank-based information as supplementary source-wise evidence. The resulting workflow integrates complementary metric evidence into a similarity score intended to better separate datasets whose downstream behaviors differ.

We evaluate DISC across out-of-distribution and transfer-learning forecasting settings with multiple similarity configurations. On the reported split, DISC increases the average test correlation by about 10% across the four task settings.

Our contributions are:

• DISC integrates complementary dataset similarity metrics, which enables the learned similarity score to better discern source-target differences associated with downstream transfer behavior.

• DISC is flexible and task-adaptable to different downstream settings, using learnable aggregation parameters to adjust metric composition and weighting toward improved downstream-aligned similarity estimation.

  • The learned metric weights provide an interpretable view of which dataset relationships are useful for a given model and task setting.

References (50)