A testbed measuring whether text-derived features actually improve decisions, not just forecasts. On real data, no text representation or LLM extraction significantly lowers decision cost, and prediction loss can mislead.
Going deeper
Imagine a shop owner who reads the morning news before deciding how much stock to order. A weather forecast predicting rain might mean fewer customers, and a review warning about defects might mean more returns. The question is whether reading that text actually leads to a cheaper order, not just a more accurate guess about demand.
Current benchmarks for text-aware forecasting grade only the guess. This paper builds a testbed that grades the order. It pairs five different business decisions, from stocking shelves to picking which software bugs to fix, with a fixed decision rule and scores every method by how much more the decision costs compared with what hindsight would have chosen.
The surprise: on a controlled scenario where the text carries real information, a flexible predictor turns it into savings, but a simple one makes things worse even with perfect reading. On real business data, no method tested brings a statistically meaningful saving. And two popular text encoders make the forecast look better while making the decision worse, like reading glasses that sharpen the wrong line of a menu.
The abstract, word for word, with the seven densest phrases unpacked.
Predict-then-optimize maps a forecast to a decision, and the lowest prediction loss does not always yield the lowest decision cost1. 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 decision2. 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 regret3. 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%4. Including the optimization structure in the extraction prompt brings no consistent gain5, and zero-shot direct forecasts generally raise regret above the no-text baseline6 of either predictor. These results motivate training text representations and LLM forecasters directly on decision cost7, and TextPredOpt provides the decision tasks, data pipelines, and evaluation code for developing and comparing them.
Two lines of prior work converge at this testbed.
Read four parts, in this order.
Skip Section 2 and Appendices A–B if you know contextual optimization and want only results.
If the testbed's conclusions are weaker than they look, these places show why.
On the four real-data tasks, no text method significantly lowers regret under either predictor. Some point estimates are favorable: under the linear predictor, nearly every text method lowers mean regret on Patch Prioritization, and features from Gemma-E4B, Gemma-31B, and GPT-6-Luna lower it on Retail Assortment by 6% to 14%. Under boosted trees, every text-feature method lowers mean regret on Patch Prioritization.
On Retail Assortment under the linear predictor, every text-feature method lowers prediction loss, but only six of the eleven lower regret. Granite-Emb has the lowest prediction loss yet raises regret by 22%, second only to the 61% increase from EmbeddingGemma. The negative correlation arises between the two groups of methods: in 22 of the 24 pairs of a text representation and an LLM extraction, the text representation has the lower median loss and the higher regret. The optimizer values a product set through the median forecasts, the margins, and a choice-model denominator shared by the selected products, so a forecast closer to the realized counts on average can still select a worse set.
| Difference in regret | Linear | Boosted |
|---|---|---|
| Ground-truth extraction no text | [2.68, 5.04] | [14.41, 12.25] |
| Shuffled ground truth no text | [0.31, 1.36] | [0.02, 0.70] |
| Ground-truth extraction shuffled | [1.79, 4.22] (5/32) | [14.79, 12.57] (32/32) |
Nothing on this page was recomputed. Every claim points to the paper so you can check it.
More latest news
Read all