Text-to-Distribution Prediction with Quantile Tokens and Neighbor Context

Yilun Zhu, Yuan Zhuang, Nikhita Vedula, Dushyanta Dhyani, Shaoyuan Xu +4 more
4/22/2026
cs.CL

No official code found. Best implementation: yilunzhu/text2distribution (0 stars, last commit 2026-04-15).

Abstract

Many applications of LLM-based text regression require predicting a full conditional distribution rather than a single point value. We study distributional regression under empirical-quantile supervision, where each input is paired with multiple observed quantile outcomes, and the target distribution is represented by a dense grid of quantiles. We address two key limitations of current approaches: the lack of local grounding for distribution estimates, and the reliance on shared representations that create an indirect bottleneck between inputs and quantile outputs. In this paper, we introduce Quantile Token Regression, which, to our knowledge, is the first work to insert dedicated quantile tokens into the input sequence, enabling direct input-output pathways for each quantile through self-attention. We further augment these quantile tokens with retrieval, incorporating semantically similar neighbor instances and their empirical distributions to ground predictions with local evidence from similar instances. We also provide the first theoretical analysis of loss functions for quantile regression, clarifying which distributional objectives each optimizes. Experiments on the Inside Airbnb and StackSample benchmark datasets with LLMs ranging from 1.7B to 14B parameters show that quantile tokens with neighbors consistently outperform baselines (~4 points lower MAPE and 2x narrower prediction intervals), with especially large gains on smaller and more challenging datasets where quantile tokens produce substantially sharper and more accurate distributions.

View on arXivView PDF

Code Implementations(1)

The codebase for paper "Text-to-Distribution Prediction with Quantile Tokens and Neighbor Context"

00Apr 15, 20266 months ago

Similar Papers

Cite this paper

@article{zhu2026texttodistribution,
  title  = {Text-to-Distribution Prediction with Quantile Tokens and Neighbor Context},
  author = {Yilun Zhu and Yuan Zhuang and Nikhita Vedula and Dushyanta Dhyani and Shaoyuan Xu and Moyan Li and Mohsen Bayati and Bryan Wang and Shervin Malmasi},
  year   = {2026},
  eprint = {2604.20216},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.20216v1}
}

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

Discussion