Decoding-based Regression

Xingyou Song, Dara Bahri
1/31/2025
cs.LGcs.AIcs.CL

No official code found. Best implementation: google-research/optformer (242 stars, Apache-2.0, last commit 2026-02-23).

Abstract

Language models have recently been shown capable of performing regression wherein numeric predictions are represented as decoded strings. In this work, we provide theoretical grounds for this capability and furthermore investigate the utility of causal sequence decoding models as numeric regression heads given any feature representation. We find that, despite being trained in the usual way - for next-token prediction via cross-entropy loss - decoder-based heads are as performant as standard pointwise heads when benchmarked over standard regression tasks, while being flexible enough to capture smooth numeric distributions, such as in the task of density estimation.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
24238PythonOct 4, 20228 months agoApache-2.0

Similar Papers

Cite this paper

@article{song2025decodingbased,
  title  = {Decoding-based Regression},
  author = {Xingyou Song and Dara Bahri},
  year   = {2025},
  eprint = {2501.19383},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.19383v2}
}

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/2501.19383.svg)](https://codeofpaper.com/paper/2501.19383)

Discussion