multivariateGPT: a decoder-only transformer for multivariate categorical and numeric data

📅 2025-05-27
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
Real-world time-series data often exhibit irregular sampling and mixed-type tokens (categorical, numerical, and textual), posing challenges for unified modeling: discrete tokenization yields weak numerical representations, while neural ODEs struggle with categorical variables and information-rich sampling. This paper introduces the first end-to-end decoder-only Transformer architecture tailored for irregular mixed-type time series. It employs hybrid embedding—combining categorical encoding with numerical projection—and hierarchical loss—jointly optimizing cross-entropy and regression objectives—to generalize next-token prediction into discrete-continuous joint likelihood estimation. No data augmentation or model ensembling is required. Evaluated on physics simulations, electrocardiograms, and multivariate electronic health records, our method significantly outperforms state-of-the-art approaches in both generation and anomaly detection, while improving training efficiency by over 30%.

Technology Category

Application Category

📝 Abstract
Real-world processes often generate data that are a mix of categorical and numeric values that are recorded at irregular and informative intervals. Discrete token-based approaches are limited in numeric representation capacity while methods like neural ordinary differential equations are not well suited for categorical data or informative sampling and require augmentation to handle certain classes of trajectories. Here, we present multivariateGPT, a single architecture for modeling sequences of mixed categorical (including tokenized text) and numeric data. This is accomplished with an autoregressive sequence decomposition, embedding scheme, and loss function that extend the next token prediction task to likelihood estimation of the joint distribution of next token class and value. We demonstrate how this approach can efficiently learn to generalize patterns in simple physical systems and model complex time series including electrocardiograms and multivariate electronic health record data. This work extends the utility of transformer based models to additional classes of data.
Problem

Research questions and friction points this paper is trying to address.

Modeling mixed categorical and numeric data sequences
Handling irregular and informative sampling intervals
Extending transformer utility to diverse data types
Innovation

Methods, ideas, or system contributions that make the work stand out.

Decoder-only transformer for mixed categorical and numeric data
Autoregressive sequence decomposition for joint distribution estimation
Embedding scheme and loss function for diverse data types
🔎 Similar Papers
No similar papers found.
A
Andrew Loza
Department of Biomedical Informatics and Data Science, Yale School of Medicine; Department of Pediatrics, Yale School of Medicine
J
Jun Yup Kim
Yale School of Medicine
S
Shangzheng Song
Yale School of Medicine
Y
Yihang Liu
Yale School of Medicine
J
Joseph J. Y. Sung
Lee Kong Chian School of Medicine, Nanyang Technological University
R
R Andrew Taylor
Yale School of Medicine
Dennis L. Shung
Dennis L. Shung
Yale University School of Medicine