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.