论文

TextPredOpt:评估 LLM 文本预测能否降低决策成本的测试床

TextPredOpt: A Testbed for LLM Predict-then-Optimize with Textual Information

精选理由

论文发现一个反直觉现象:句子嵌入把预测误差降下来了,决策成本却升高 22% 到 61%。做预测+决策类系统(库存、选品、补丁)的工程师值得看看这个测试床,代码和数据管道都开源了。

arXiv 论文 2612.02419 提出 TextPredOpt,一个针对 predict-then-optimize 场景的测试床,同时评估预测损失(prediction loss)与决策悔值(regret),弥补现有文本感知预测基准只看预测精度的缺陷。

正文

测试床包含五个决策任务,配固定优化器,比较 TF-IDF、两种句子嵌入和四个 LLM 作为特征提取器,以及四个 LLM 的零样本直接预测表现。合成任务上,LLM 提取字段在 boosted trees 下将 regret 降低 8% 到 24%,真值提取为 26%;

但在真实数据任务中,没有任何文本表示或 LLM 提取能显著降低 regret。线性预测器下几乎所有文本方法在漏洞修补任务上降低 regret 最高 16%,零售选品任务上四个 LLM 中三个降低 6% 到 14%,而两种句子嵌入虽降低预测损失却反而使 regret 升高 22% 和 61%。

零样本直接预测普遍使 regret 高于无文本基线,提示文本表示和 LLM 预测器需要在决策成本上直接训练。

原文 · arXiv cs.LG

TextPredOpt: A Testbed for LLM Predict-then-Optimize with Textual Information

Predict-then-optimize maps a forecast to a decision, and the lowest prediction loss does not always yield the lowest decision cost. Much decision-relevant context arrives as text, such as news, customer reviews, and vulnerability reports. Embedding models and LLMs convert this text into features or direct forecasts. Text-aware forecasting benchmarks evaluate the forecast itself, so they cannot show whether text improves the decision made from it. This paper introduces TextPredOpt, a testbed that closes this gap by evaluating both the forecast and the decision. TextPredOpt pairs five decision tasks with fixed optimizers and an evaluator of prediction loss and regret, and its synthetic task has a known ground-truth extraction. The evaluation compares TF-IDF, two sentence embeddings, and four LLMs as feature extractors under linear and boosted-tree predictors, and the four LLMs as direct forecasters. On the synthetic task, the LLM-extracted fields lower regret by 8% to 24% under boosted trees, against 26% for the ground-truth extraction, and raise it by 3% to 6% under a linear predictor. On the real-data tasks, no text representation or LLM extraction significantly lowers regret. Under the linear predictor, nearly every text method lowers mean regret on vulnerability patching, by up to 16%, and extraction with three of the four LLMs lowers it on retail assortment by 6% to 14%. There, the two sentence embeddings lower prediction loss yet raise regret by 22% and 61%. Including the optimization structure in the extraction prompt brings no consistent gain, and zero-shot direct forecasts generally raise regret above the no-text baseline of either predictor. These results motivate training text representations and LLM forecasters directly on decision cost, and TextPredOpt provides the decision tasks, data pipelines, and evaluation code for developing and comparing them.

产业坐标与信源核验

本条情报归属 AITOP「论文」核心追踪栏目。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:LLM、TextPredOpt、predict-then-optimize、文本嵌入,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。

信源核验说明:本文原始线索采编自「arXiv cs.LG」(@Tinghan Ye, Pascal Van Hentenryck),经 AITOP 多维评分管线结构化提炼。

发现摘要或翻译有误? 告诉我们