arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.20216cs.CL
收藏

基于分位数标记和邻近上下文的文本到分布预测

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

Amazon.com, Inc.(亚马逊公司);Stanford University(斯坦福大学)

Yilun Zhu, Yuan Zhuang, Nikhita Vedula, Dushyanta Dhyani, Shaoyuan Xu, Moyan Li, Mohsen Bayati, Bryan Wang, Shervin Malmasi

AI总结:

本文提出分位数标记回归,通过插入专用分位数标记并结合邻近实例,提升分布预测精度,实验显示在多个数据集上效果显著,MAPE更低且预测区间更窄。

摘要:

许多基于大语言模型(LLM)的文本回归应用需要预测完整的条件分布而非单一点值。我们研究了基于经验分位数监督的分布回归,其中每个输入都与多个观测到的分位数结果配对,目标分布由密集的分位数网格表示。我们解决了当前方法的两个关键限制:分布估计缺乏局部支撑,以及依赖共享表示导致输入与分位数输出之间存在间接瓶颈。本文引入了分位数标记回归,这是首次在输入序列中插入专用分位数标记,通过自注意力机制为每个分位数提供直接的输入-输出路径。我们进一步通过检索增强这些分位数标记,结合语义相似的邻近实例及其经验分布,以本地证据支撑预测。我们还提供了分位数回归损失函数的首次理论分析,澄清了每个分布目标优化的损失函数。在Inside Airbnb和StackSample基准数据集上,使用从1.7B到14B参数的LLM进行实验,结果表明带有邻近实例的分位数标记在多个数据集上显著优于基线方法(MAPE低4个百分点,预测区间窄2倍),尤其在较小且更具挑战性的数据集上,分位数标记产生了显著更精确和更尖锐的分布。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑