Test-Time Compute Games
Ander Artola Velasco, Dimitrios Rontogiannis, Stratis Tsirtsis, Manuel Gomez-Rodriguez
TL;DR
The paper tackles the misalignment between profit-driven test-time compute (TTC) in LLM-as-a-service and social welfare. It formalizes TTC markets as a normal-form game, analyzes equilibria through a generalized ordinal potential framework, and proves that standard TTC markets are socially inefficient (positive price of anarchy). To address this, it proposes a reverse second-price auction in which a third-party platform incentivizes providers to choose TTC levels that maximize social welfare, yielding a welfare-optimal outcome with dominant strategies. Empirical results across GSM8K, GPQA, and AIME with Llama, Qwen, and DeepSeek-R1 models show meaningful welfare gains under the auction, particularly for non-reasoning settings, while still highlighting limitations and avenues for real-world deployment and extensions. Overall, the work provides both theoretical guarantees and practical insights for welfare-centered market designs in TTC-enabled LLM services, with potential for broader applicability in AI-driven infrastructure markets.
Abstract
Test-time compute has emerged as a promising strategy to enhance the reasoning abilities of large language models (LLMs). However, this strategy has in turn increased how much users pay cloud-based providers offering LLM-as-a-service, since providers charge users for the amount of test-time compute they use to generate an output. In our work, we show that the market of LLM-as-a-service is socially inefficient: providers have a financial incentive to increase the amount of test-time compute, even if this increase contributes little to the quality of the outputs. To address this inefficiency, we introduce a reverse second-price auction mechanism where providers bid their offered price and (expected) quality for the opportunity to serve a user, and users pay proportionally to the marginal value generated by the winning provider relative to the second-highest bidder. To illustrate and complement our theoretical results, we conduct experiments with multiple instruct models from the $\texttt{Llama}$ and $\texttt{Qwen}$ families, as well as reasoning models distilled from $\texttt{DeepSeek-R1}$, on math and science benchmark datasets.
