Nonlinear Dynamic Factor Analysis With a Transformer Network

Oliver Snellman
1/17/2026
econ.EMcs.LG
transformer-attention

No confident code implementation found for this paper.

Abstract

The paper develops a Transformer architecture for estimating dynamic factors from multivariate time series data under flexible identification assumptions. Performance on small datasets is improved substantially by using a conventional factor model as prior information via a regularization term in the training objective.

Show full abstract

The results are interpreted with Attention matrices that quantify the relative importance of variables and their lags for the factor estimate. Time variation in Attention patterns can help detect regime switches and evaluate narratives. Monte Carlo experiments suggest that the Transformer is more accurate than the linear factor model, when the data deviate from linear-Gaussian assumptions. An empirical application uses the Transformer to construct a coincident index of U.S. real economic activity.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{snellman2026nonlinear,
  title  = {Nonlinear Dynamic Factor Analysis With a Transformer Network},
  author = {Oliver Snellman},
  year   = {2026},
  eprint = {2601.12039},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2601.12039v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2601.12039.svg)](https://codeofpaper.com/paper/2601.12039)

Discussion