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

通过生成进行预测:为何生成优于预测

Predicting Through Generation: Why Generation Is Better for Prediction

University of Central Florida(佛罗里达中央大学);DotStar Inc(DotStar公司);Nokia Bell Labs(诺基亚贝尔实验室);University of Illinois Chicago(伊利诺伊大学香槟分校)

Md Kowsher, Nusrat Jahan Prottasha, Prakash Bhat, Chun-Nam Yu, Mojtaba Soltanalian, Ivan Garibay, Ozlem Garibay, Chen Chen, Niloofar Yousefi

AI总结:

本文提出PredGen框架,通过生成标记而非池化表示进行预测,利用计划采样和任务适配器解决暴露偏差与格式不匹配,并引入WDAL损失提升一致性,实验证明其在分类和回归任务上优于基线。

摘要:

本文认为,在预测任务中,生成输出标记比使用池化表示更有效,因为标记级生成保留了更多的互信息。由于大型语言模型(LLMs)是在大规模文本语料库上通过下一标记预测进行训练的,因此生成与其学习行为自然一致。利用数据处理不等式(DPI),我们提供了支持这一主张的理论和实证证据。然而,自回归模型在用于预测时面临两个关键挑战:(1)暴露偏差,即模型在训练期间看到真实标记,但在推理时依赖自身预测,导致错误;(2)格式不匹配,即离散标记并不总是与任务要求的输出结构对齐。为解决这些挑战,我们引入了PredGen(通过生成进行预测),一个端到端框架,该框架(i)使用计划采样以减少暴露偏差,(ii)引入任务适配器将生成的标记转换为结构化输出。此外,我们提出了作者-导演对齐损失(WDAL),以确保标记生成与最终任务预测之间的一致性,从而提高文本连贯性和数值准确性。我们在多个分类和回归基准上评估了PredGen。我们的结果表明,PredGen始终优于标准基线,证明了其在结构化预测任务中的有效性。

英文摘要:

This paper argues that generating output tokens is more effective than using pooled representations for prediction tasks because token-level generation retains more mutual information. Since LLMs are trained on massive text corpora using next-token prediction, generation aligns naturally with their learned behavior. Using the Data Processing Inequality (DPI), we provide both theoretical and empirical evidence supporting this claim. However, autoregressive models face two key challenges when used for prediction: (1) exposure bias, where the model sees ground truth tokens during training but relies on its own predictions during inference, leading to errors, and (2) format mismatch, where discrete tokens do not always align with the tasks required output structure. To address these challenges, we introduce PredGen(Predicting Through Generating), an end to end framework that (i) uses scheduled sampling to reduce exposure bias, and (ii) introduces a task adapter to convert the generated tokens into structured outputs. Additionally, we introduce Writer-Director Alignment Loss (WDAL), which ensures consistency between token generation and final task predictions, improving both text coherence and numerical accuracy. We evaluate PredGen on multiple classification and regression benchmarks. Our results show that PredGen consistently outperforms standard baselines, demonstrating its effectiveness in structured prediction tasks.

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

↑