NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Inference Auctions

Keegan Harris, Siddharth Prasad, Asher Trockman, Nika Haghtalab, Michael I. JordanarXiv 2026

TL;DR

This paper introduces Inference Auctions, a novel mechanism for prioritizing LLM requests that balances economic efficiency with system performance. By constraining the auction to follow a cache-optimal Depth-First Search (DFS) schedule, the authors improve social welfare by up to 100% while avoiding the massive latency spikes (up to 12x) that occur when traditional auctions disrupt the KV cache.

What Problem Does This Paper Address?

As LLM demand skyrockets, model providers face a scheduling dilemma. Users have vastly different needs: an interactive chatbot user might pay a premium for low latency, while a batch background job can wait. Currently, providers use coarse, fixed-price tiers (e.g., "Free" vs. "Pro"), which are economically inefficient because they don't allow users to express their specific willingness to pay for priority.

However, simply implementing a standard auction (sorting by the highest bidder) is a disaster for LLM serving. Modern engines like SGLang use a "radix tree" to store and reuse the Key-Value (KV) cache for shared prompt prefixes (like system prompts or few-shot examples). A standard auction would interleave unrelated requests, constantly evicting and recomputing these prefixes, leading to a "thrashing" effect that destroys throughput and spikes latency. The challenge is: How do we create a market for priority that doesn't break the cache?

Methods

The authors propose a mechanism that restricts the set of possible schedules to those that are cache-optimal.

  1. DFS-Constrained Scheduling: The auction only considers schedules that correspond to a Depth-First Search (DFS) traversal of the request radix tree. This ensures that requests sharing a long prefix are served contiguously, maximizing KV cache hits.
  2. The Average-Bid Rule: To maximize welfare within this constraint, the authors prove a simple local rule: at every branch in the radix tree, the scheduler should visit children in decreasing order of the average bid of all requests in that subtree.
  3. Fast VCG Payments: To ensure users bid truthfully, the authors use Vickrey-Clarke-Groves (VCG) payments. While VCG is often computationally expensive, they developed a quasilinear-time algorithm that decomposes welfare externalities into local changes along the radix tree.
  4. Autobidding Agents: Recognizing that users manage long-term budgets, they designed an autobidder that uses online gradient descent to adjust a "pacing multiplier," ensuring the budget is spent on the most valuable requests over time.
The Average-Bid DFS Scheduling Rule (Algorithm 1)

Datasets

The authors evaluated their mechanism using semi-synthetic workloads derived from real LLM evaluation data, covering three distinct radix tree topologies:

  • Stars: Mixing SQuAD (shared article prefixes) and GSM8K (shared few-shot examples).
  • Chains: Replaying trajectories from the SWE-agent (software engineering agent).
  • 3-ary Trees: Replaying "Tree-of-Thought" reasoning paths.

These were tested on a state-of-the-art SGLang server running on an NVIDIA H100 GPU.

Key Insights and Ideas

  • The 50% Guarantee: The authors prove that even by restricting the schedule to DFS (to save the cache), you are guaranteed to capture at least 50% of the social welfare of an unconstrained, cache-destroying schedule. In practice, they found they captured ~80%.
  • The Latency-Welfare Tradeoff: A "bid-sort" auction (highest bidder first) might look better on paper for welfare, but it is a systemic failure. By interleaving requests, it forces the GPU to recompute prefixes so often that average latency can increase by 12x.
  • Local Optimality = Global Optimality: The discovery that a simple local comparison (average subtree bid) at each node of the radix tree leads to a globally welfare-optimal DFS schedule is a significant algorithmic win for real-time serving.

Key Results

  • Welfare Gains: Compared to standard bid-blind scheduling, Inference Auctions improved social welfare by 12–18.6% for i.i.d. valuations and up to 100% in non-i.i.d. scenarios.
  • System Stability: The mechanism maintained the same cache hit rates and Time-To-First-Token (TTFT) as SGLang’s default prefix-aware scheduler.
  • Scalability: The custom VCG algorithm is highly efficient; for a batch of 1024 queries, it computes the entire order and all payments in just 34ms, compared to the minutes it takes to actually serve the batch.
Figure 1: Stars topology. Welfare, cache hit rate, and mean TTFT, varying: batch size 𝑛(left), sharing fraction 𝑃with 𝑛=256 (middle), and within-cluster bid correlation 𝜌(right).

Limitations and Future Work

  • Multi-Worker Orchestration: The current work focuses on a single inference worker. Scaling this to large clusters requires joint orchestration of auctions, request routing, and distributed cache management.
  • Linear Value Assumptions: The model assumes user value increases linearly as a request moves up the queue. Real-world latency preferences might be non-linear (e.g., a "deadline" where value drops to zero after 2 seconds).
  • Collusion: The paper notes that future work is needed to ensure the auction is robust against strategic coordination between different users.

Summary updated

BibTeX
@misc{harris2026inference,
  author = {Keegan Harris and Siddharth Prasad and Asher Trockman and Nika Haghtalab and Michael I. Jordan},
  title = {{Inference Auctions}},
  year = {2026},
  eprint = {2609.40070},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.40070},
}
Figure