---
title: Trend-Adjusted Time Series Model
url: https://www.emergentmind.com/topics/trend-adjusted-time-series-tats-model
type: topic
---

# Trend-Adjusted Time Series Model

Trend-Adjusted Time Series (TATS) models are a broad class of methodologies designed to explicitly account for deterministic (or stochastic) trend, seasonal, and structural features in time series, providing adaptive decompositions for both univariate and multivariate contexts. The essential principle is to separate the evolving mean or directionality from stochastic residual or irregular components, enabling improved inference, prediction, and interpretability. TATS approaches span classical regression/filtering, state-space/Bayesian models, deep learning, and adaptive shrinkage frameworks. This article presents a comprehensive technical overview of key TATS methods and their theoretical and empirical properties.

## 1. Structural Decomposition and Model Architectures

TATS methodologies posit that an observed series $y_t$ or $y_{i t}$ (for multivariate $p$-vector series) arises as the sum of a deterministic trend $\mu_t$, seasonal component $\gamma_t$, and an irregular or residual term $\xi_t$:
$$
y_{i t} = \mu_{i t} + \gamma_{i t} + \xi_{i t}, \quad i=1,\ldots,p,\; t=1,\ldots,T
$$
This structure accommodates:

- **Polynomial or piecewise-linear trend models**: Trends may be specified as polynomials (for stationarity or smooth evolution) or segmented linear functions with breakpoints, optionally subject to continuity constraints [2506.07987].
  
- **Deterministic seasonality via Fourier or trigonometric bases**: Seasonal variation is expressed as sums of sines and cosines of known period $s$ [1808.06518, 2506.07987].
  
- **Stochastic residual modeling**: The irregular term can be captured via ARMA processes, factor models (for high-dimensional data), or latent states [1808.06518, 2209.10587].

- **State-space and Bayesian extensions**: Trends, seasonality, and coefficients themselves can be modeled as random walks or latent processes evolving in a state-space framework [1512.02149, 2309.00080].

Table: Decomposition in principal TATS frameworks

| Model                | Trend Specification    | Seasonality          | Irregular Component        |
|----------------------|-----------------------|----------------------|----------------------------|
| Gao & Tsay [1808.06518] | Polynomial           | Trigonometric series | Factor model (common/noise)|
| LTSTA [2506.07987]   | Piecewise-linear      | Fourier basis        | ARMA(p,q)                  |
| Hazra [1512.02149]   | Latent random walk    | Lagged latent state  | Gaussian error             |

## 2. Model Selection, Estimation, and Trend Adaptivity

Selection of latent structural orders is critical for TATS models. In high-dimensional settings, polynomial trend order $d$ and seasonal order $k$ are chosen via marginal BIC minimization over candidate tuples for each series, with global orders $\hat d, \hat k$ assigned as the maxima over individual optima [1808.06518]. These selectors are formally consistent as both $T,p \to \infty$ under regularity conditions.

Piecewise-linear trend models estimate break locations via dynamic programming, minimizing the sum of squared residuals (SSR) across feasible segmentation patterns [2506.07987]. Seasonal and ARMA orders are typically determined via information criteria (AICc) or likelihood.

State-space and Bayesian versions apply Gibbs sampling, exploiting univariate normal conditionals for latent trends, seasonality, and variances, permitting simultaneous learning without matrix inversion or ad-hoc detrending [1512.02149]. Shrinkage priors further enhance adaptivity, allowing latent trend smoothness to vary over time and to accommodate local structural breaks or spikes [2309.00080].

## 3. Deep Learning TATS Extensions

Recent advances infuse deep learning architectures into the TATS paradigm. In DeepVARwT, a multivariate VAR($p$) model is coupled with a deterministic trend generated by an LSTM network, which ingests exogenous time functions and outputs a nonlinear trend vector for each series [2209.10587]. Trend, VAR coefficients, and noise covariances are jointly estimated via maximum likelihood, enabling simultaneous identification of both persistent drift and cross-series temporal dependence.

To maintain stability, DeepVARwT enforces causality via the Ansley-Kohn transformation on the AR coefficient matrices, projecting unconstrained network outputs to the causal region through partial-autocorrelation recursion [2209.10587].

Additionally, hybrid architectures decompose forecasting into trend direction (binary classification, e.g., via XGBoost) and quantitative estimation (regression, e.g., LSTM/Bi-LSTM), adjusting value forecasts based on classifier output [2601.12706]. Corrective steps are triggered when regression and classifier disagree on the forecasted direction.

## 4. Algorithmic Steps, Forecasting Procedures, and Theoretical Guarantees

A generic TATS workflow entails:

1. **Structural fit**: Regress observations on polynomial, segmented, or LSTM-generated trend + trigonometric seasonality.
2. **Residual modeling**: Fit ARMA, factor, or stochastic state models to detrended/seasonally-adjusted residuals.
3. **Parameter selection**: Employ BIC, AICc, or likelihood for optimal structural and residual orders.
4. **Factor/VAR model estimation**: For multivariate series, extract common factors via canonical correlation or deep learning; fit VAR/VARIMA models to common components [1808.06518, 2209.10587].
5. **Forecasting**: Update trend/seasonal parameters, predict latent states or factors recursively, and reconstruct forecasted observations via summation of deterministic and stochastic components.
6. **Posterior inference (Bayesian models)**: Generate MCMC draws for forecasting distribution, compute credible intervals, and propagate uncertainty.

Theoretical properties include root-$T$ consistency of trend/seasonal estimators, factor number selection consistency, and stable convergence rates for loading/error matrices in high-dimensional settings [1808.06518]. For hybrid classifier+regressor TATS, expected MSE reduction is quantitatively linked to the respective accuracy of trend classifier vs. base forecaster [2601.12706].

## 5. Empirical Performance and Comparative Evaluation

Empirical validation covers financial, economic, environmental, and count-data time series:

- On daily gold price forecasting, TATS with trend detection (XGBoost) and sequence regression (LSTM/Bi-LSTM) reduces test MSE by 13–17% over baseline neural models and elevates trend detection accuracy by over 20% [2601.12706].
- The LTSTA TATS approach, decomposing US GDP into piecewise-linear trend, Fourier seasonality, and ARMA errors, accurately detects known economic breakpoints (e.g., 2008 crisis, COVID-19 shocks) and attains lower MAE/RMSE than SES, Theta, TBATS, ETS, ARIMA, and Prophet on competition datasets [2506.07987].
- State-space and Bayesian TATS models forecast nonstationary meteorological temperature series and address missing data seamlessly [1512.02149].
- Locally adaptive shrinkage TATS approaches for count time series (NB-BTF) outperform penalized trend-filtering and classical state-space models for multiscale trend estimation and uncertainty quantification [2309.00080].
- DeepVARwT achieves superior long-range forecast accuracy relative to two-stage VAR+trend models and RNN-based alternatives, especially for nonstationary, multivariate economic time series [2209.10587].

## 6. Interpretability, Implementation, and Limitations

TATS decompositions offer explicit representation of time-varying trend magnitude, seasonal behavior, and break dates, which facilitate interpretation in economic and scientific applications. Practitioners can trace regime changes to external events or interventions, directly assess seasonal cycles, and diagnose short-term error behavior through ARMA or state modeling.

Implementation strategies depend on data context:

- High-dimensional series leverage efficient regression and canonical extraction (factor models), or deep learning with stability constraints.
- Solution algorithms utilize dynamic programming for breaks, sparse matrix solvers for Bayesian state-space updates, XGBoost for trend classification, and MCMC for credible prediction intervals.
- Adaptive shrinkage techniques furnish locally controlled smoothing and break detection for multiscale count data.

Limitations include the simplicity of some adjustment functions (e.g., constant offsets for trend disagreements [2601.12706]), possible underestimation of interval coverage due to omitted breakpoint uncertainty, and restricted empirical generalization to domains outside those directly tested (e.g., health care or sensor signals).

## 7. Extensions, Variants, and Current Research Directions

Current research explores extensions such as:

- Colored noise and ARMA residual embedding within Kalman filters [1904.09245].
- Integration of NLP features or large language models for trend detection in financial and social domains [2601.12706].
- Joint end-to-end training of trend classifiers and forecasters, anticipated as a direction for future work [2601.12706].
- Bayesian modeling for trend and seasonality parameters with dynamic global-local priors for enhanced adaptivity [2309.00080].

Collectively, TATS models synthesize deterministic and stochastic structure for robust, interpretable, and adaptive time series analysis across a wide range of contemporary research problems.

Source: https://www.emergentmind.com/topics/trend-adjusted-time-series-tats-model