Hugging Face Trending Papers

Pathwise-Budgeted LLM Routing: Online Allocation with K-Bit Tail-Cost Learning

arXiv Machine Learning
Nov 5

Pathwise-Budgeted LLM Routing: Online Allocation with K-Bit Tail-Cost Learning

The paper introduces Pathwise-Budgeted LLM Routing, a contextual bandit policy called ADP-HT designed for firms that must allocate a fixed budget across large language model calls. ADP-HT learns each model’s task‑specific success probability and builds conservative cost estimates using coarsened response‑length labels on a quantile grid with $2^K$ intervals, balancing predicted success against these costs and adjusting penalties based on actual spending and remaining budget. Experiments show that ADP-HT solves more than twice as many MATH500 and GPQA tasks as the best baseline, achieves the highest mean cumulative score on most RouterBench budgets, and outperforms a commercial router on LiveCodeBench at low budgets.

By Hanzhang Qin, Sophie H. Yu, Yuewei Zhang, Zhi-Hai Zhang
arXiv AI
Sep 2

Drift-Aware LLM Routing with Sparse Contexts and Shared Budgets

The paper introduces Drift‑Aware Sparse Routing (DRS), a method for routing requests in a multi‑model language service while respecting compute, latency, memory, or cost budgets. DRS estimates reward and resource use from a rolling audit window, routes using pessimistic reward and optimistic cost estimates, updates resource shadow prices online, and applies a hard meter before commitment. The authors provide theoretical regret bounds that separate control from statistics, showing how the method adapts to non‑stationary prompt distributions and model changes.

By Cheung Hao Lee, Patrick Wong
arXiv AI
Sep 2

Bandits in Prod: Hyperparameter Optimization at Inference Time

The paper introduces Online Hyperparameter Optimization (OHPO), framing it as an infinitely many‑armed bandit problem over mixed and conditional search spaces. It proposes the IMABO framework, which couples any bandit policy with any oracle for proposing new configurations, and presents IMOSS—a restart‑free anytime policy with provable regret bounds. Experiments show that IMABO, combined with practical oracles such as TPE, an incumbent‑mutation oracle, and a pretrained tabular foundation model, outperforms random search across a range of settings from classical ML models to LLM‑based agents.

By Louis Abraham, Tuan-Anh Nguyen, Nicolas Devatine
arXiv Machine Learning
Oct 9

Amortized Off-Policy Evaluation for LLMs

The paper introduces PFN‑OPE, a prior‑data fitted network that performs amortized off‑policy evaluation (OPE) for large language models (LLMs). Unlike traditional OPE methods that must be retrained for each new logged dataset or reward definition, PFN‑OPE is pretrained once on a diverse set of contextual‑bandit tasks and can estimate value for any new logged dataset and target response in a single forward pass. Experiments on HelpSteer2 and UltraFeedback with Qwen, Llama, and Gemma policies show that PFN‑OPE reduces error by 2.0 to 9.3 times compared to the best baselines in reward‑shifted settings.

By Younwoo Choi, Leo Feng, Vincent Liu, Haanvid Lee
arXiv Machine Learning
Aug 31

Budget-Constrained Causal Bandits: Bridging Uplift Modeling and Sequential Decision-Making

The paper introduces Budget-Constrained Causal Bandits (BCCB), an online framework that learns individual treatment effects, explores uncertain users, and manages budget pacing simultaneously. It derives a per-arrival decision rule from a KKT condition of a Lagrangian relaxation, providing a principled algorithmic foundation. Experiments on the Criteo Uplift dataset show BCCB outperforms offline pipelines and other online baselines, especially when historical data is scarce (below 7,500 observations).

By Abhirami Pillai