TextPredOpt: A Testbed for LLM Predict-then-Optimize with Textual Information
Abstract
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.
Create a lesson
Metadata
- Categories
- cs.LG, cs.CL, math.OC
Related papers
Lattice: From Tabular Foundation Models to General-Purpose Predictive Systems
Shared title terminologycs.LGSi-Yang Liu, Hao-Run Cai, Yi-Chen Zhu et al.
Ultra-weak separable physics-informed neural networks
Shared title terminologycs.LGBruno Jacob, Carlos Antonio Ribeiro Duarte
Beyond Fisher Information: The Geometry of Computational Recoverability
Shared title terminologycs.LGMojtaba Soltanalian
δ-APO: Domain Adaptive Policy Optimization for Large Multimodal Learning
Shared title terminologycs.LGThanh-Dat Truong, Huu-Thien Tran, Vinh-Tiep Nguyen et al.
RIVET: Router-Informed, Verifier-Guided Expert Tailoring for MoE Self-Speculative Decoding
Shared title terminologycs.LGYunhao Wang, Hongyu Zhao, Zhenjia Mo et al.
Molecular Uncertainty Gradients: Exact Decomposition of Predictive Variance Onto Molecular Substructures
Shared title terminologycs.LGŁukasz Janisiów, Anna Bielawska, Aneta Pawelec et al.