Skip to main content
QUICK REVIEW

[Paper Review] One Transformer for All Time Series: Representing and Training with Time-Dependent Heterogeneous Tabular Data

Simone Luetto, Fabrizio Garuti|arXiv (Cornell University)|Feb 13, 2023
Time Series Analysis and ForecastingComputer Science3 citations
TL;DR

This paper proposes UniTTab, a unified Transformer architecture that jointly embeds heterogeneous numerical and categorical tabular features in time-series data with variable row structures. By using type-dependent embeddings and frequency-based encoding for numerical values, UniTTab enables end-to-end pre-training via a single masked token prediction task, achieving state-of-the-art performance across multiple tabular time-series benchmarks with significant accuracy gains over both deep learning and traditional ML methods.

ABSTRACT

There is a recent growing interest in applying Deep Learning techniques to tabular data, in order to replicate the success of other Artificial Intelligence areas in this structured domain. Specifically interesting is the case in which tabular data have a time dependence, such as, for instance financial transactions. However, the heterogeneity of the tabular values, in which categorical elements are mixed with numerical items, makes this adaptation difficult. In this paper we propose a Transformer architecture to represent heterogeneous time-dependent tabular data, in which numerical features are represented using a set of frequency functions and the whole network is uniformly trained with a unique loss function.

Motivation & Objective

  • To address the challenge of representing heterogeneous, time-dependent tabular data with mixed numerical and categorical features and variable row structures.
  • To develop a unified deep learning framework that can be pre-trained on large-scale unlabeled tabular time series without task-specific annotations.
  • To enable effective transfer learning by training a single model on diverse tabular time-series data using a uniform masked token prediction objective.
  • To improve prediction accuracy in downstream tasks such as pollution forecasting and loan default prediction, especially when labeled data are scarce.

Proposed method

  • UniTTab employs a two-level Transformer hierarchy: one level encodes individual tabular rows (e.g., financial transactions), and the second models the temporal sequence of these rows.
  • It introduces a type-dependent embedding interface that maps structurally different row types (e.g., POS vs. ATM transactions) into fixed-dimensional vectors, enabling consistent processing across variable row structures.
  • Numerical features are encoded using a frequency-based positional encoding inspired by NeRFs, where each value is projected via a set of sinusoidal functions to capture high-frequency variations.
  • The entire model is pre-trained using a single, unified masked token prediction task that operates uniformly across all feature types and row types, enabling self-supervised representation learning.
  • Fine-tuning is performed on downstream tasks using only labeled data, leveraging the pre-trained representations to improve performance even with limited annotations.

Experimental results

Research questions

  • RQ1Can a single Transformer architecture uniformly represent heterogeneous tabular time-series data with mixed numerical, categorical, and structurally variable row types?
  • RQ2Does a unified masked token pre-training objective improve representation learning for tabular time-series data compared to task-specific or multi-objective approaches?
  • RQ3To what extent does pre-training on large-scale unlabeled tabular sequences improve downstream prediction performance when labeled data are limited?
  • RQ4How does UniTTab compare to state-of-the-art models like XGBoost, CatBoost, and TabBERT in terms of accuracy and robustness across diverse tabular time-series tasks?

Key findings

  • UniTTab significantly outperforms XGBoost and CatBoost in the loan default prediction task, achieving a 67.3% F1 score (vs. XGBoost’s 60.8%) when pre-training is used, even with only 10% of the full pre-training dataset.
  • On the pollution prediction task, UniTTab reduces RMSE to 23.29 with full pre-training, a 29.8% improvement over the next-best method (TabBERT at 29.13) and a 51.1% improvement over XGBoost (48.89).
  • Even with minimal pre-training (25% of the unlabeled data), UniTTab achieves a 24.55 RMSE in pollution prediction, outperforming XGBoost (48.89) and CatBoost (47.09) trained from scratch.
  • The pre-training phase consistently improves performance across all datasets, with gains observed even on small datasets like PKDD’99, where UniTTab surpasses XGBoost in F1 score when pre-training is applied.
  • UniTTab achieves state-of-the-art results across multiple metrics (F1, AUC, accuracy) in both the pollution and loan default tasks, demonstrating robustness and generalization across diverse tabular time-series domains.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.