Methods › Sequential › Time Series Modules › Temporal Distribution Matching

Temporal Distribution Matching

1 paper tagged archive 2025-07-28

Introduced by Yuntao Du et al. in AdaRNN: Adaptive Learning and Forecasting of Time Series

archive 2025-07-28 Description, source and code snippet are the archive's method entry.

Temporal Distribution Matching, or TDM, is a module used in the AdaRNN architecture to match the distributions of the discovered periods to build a time series prediction model ℳ Given the learned time periods, the TDM module is designed to learn the common knowledge shared by different periods via matching their distributions. Thus, the learned model ℳ is expected to generalize well on unseen test data compared with the methods which only rely on local or statistical information.

Within the context of AdaRNN, Temporal Distribution Matching aims to adaptively match the distributions between the RNN cells of two periods while capturing the temporal dependencies. TDM introduces the importance vector α ∈ℝ^(V̂) to learn the relative importance of V hidden states inside the RNN, where all the hidden states are weighted with a normalized α. Note that for each pair of periods, there is an α, and we omit the subscript if there is no confusion. In this way, we can dynamically reduce the distribution divergence of cross-periods.

Given a period-pair (𝒟ᵢ, 𝒟ⱼ), the loss of temporal distribution matching is formulated as:

ℒ_(t d m)(𝒟ᵢ, 𝒟ⱼ ; θ)=∑ₜ₌₁ⱽ α_(i, j)ᵗ d(𝐡ᵢᵗ, 𝐡ⱼᵗ ; θ)

where α_(i, j)ᵗ denotes the distribution importance between the periods 𝒟ᵢ and 𝒟ⱼ at state t.

All the hidden states of the RNN can be easily computed by following the standard RNN computation. Denote by δ(·) the computation of a next hidden state based on a previous state. The state computation can be formulated as

𝐡ᵢᵗ=δ(𝐱ᵢᵗ, 𝐡ᵢᵗ⁻¹)

The final objective of temporal distribution matching (one RNN layer) is:

ℒ(θ, α)=ℒ_(pred)(θ)+λ2/(K(K-1)) ∑_(i, j)^(i ≠j) ℒ_(t d m)(𝒟ᵢ, 𝒟ⱼ ; θ, α)

where λ is a trade-off hyper-parameter. Note that in the second term, we compute the average of the distribution distances of all pairwise periods. For computation, we take a mini-batch of 𝒟ᵢ and 𝒟ⱼ to perform forward operation in RNN layers and concatenate all hidden features. Then, we can perform TDM using the above equation.

PaperSource

Papers archive 2025-07-28

1 shown of 1, newest first. Repository counts are the archive's code-links table. A Syntology line states what Syntology ran from that paper's harvested code; it is per sample and not a correctness claim.

Tasks archive 2025-07-28

5 tasks the archive attaches to papers tagged with this method, by distinct papers. A task without a page in the catalog is plain text.

TaskPapers
Activity Recognition1
Financial Analysis1
Human Activity Recognition1
Time Series1
Time Series Analysis1

Usage over time archive 2025-07-28

Papers per year tagged with Temporal Distribution Matching: 2021 to 2021, peak 1 1 0 2021: 1 paper 2021
Papers per year the archive tags with this method, by the paper's archive date (1 dated). Bars are counts, not a trend claim.

Components: the archive holds no method-to-method composition, so PwC's Components table cannot be rebuilt; the Papers list carries no Results column for the same reason (the archive does not join its leaderboard rows to method tags).

Categories archive 2025-07-28

Time Series Modules

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections