English

{\sigma}-GPTs: A New Approach to Autoregressive Models

Machine Learning 2024-07-02 v2 Artificial Intelligence

Abstract

Autoregressive models, such as the GPT family, use a fixed order, usually left-to-right, to generate sequences. However, this is not a necessity. In this paper, we challenge this assumption and show that by simply adding a positional encoding for the output, this order can be modulated on-the-fly per-sample which offers key advantageous properties. It allows for the sampling of and conditioning on arbitrary subsets of tokens, and it also allows sampling in one shot multiple tokens dynamically according to a rejection strategy, leading to a sub-linear number of model evaluations. We evaluate our method across various domains, including language modeling, path-solving, and aircraft vertical rate prediction, decreasing the number of steps required for generation by an order of magnitude.

Keywords

Cite

@article{arxiv.2404.09562,
  title  = {{\sigma}-GPTs: A New Approach to Autoregressive Models},
  author = {Arnaud Pannatier and Evann Courdier and François Fleuret},
  journal= {arXiv preprint arXiv:2404.09562},
  year   = {2024}
}

Comments

23 pages, 7 figures, accepted at ECML/PKDD 2024

R2 v1 2026-06-28T15:54:15.183Z