Latency and Token-Aware Test-Time Compute

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Huang, Jenny Y., Damani, Mehul, El-Kurdi, Yousef, Astudillo, Ramon, Sun, Wei
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866911151199092736
author Huang, Jenny Y.
Damani, Mehul
El-Kurdi, Yousef
Astudillo, Ramon
Sun, Wei
author_facet Huang, Jenny Y.
Damani, Mehul
El-Kurdi, Yousef
Astudillo, Ramon
Sun, Wei
contents Inference-time scaling has emerged as a powerful way to improve large language model (LLM) performance by generating multiple candidate responses and selecting among them. However, existing work on dynamic allocation for test-time compute typically considers only parallel generation methods such as best-of-N, overlooking incremental decoding methods like beam search, and has largely ignored latency, focusing only on token usage. We formulate inference-time scaling as a problem of dynamic compute allocation and method selection, where the system must decide which strategy to apply and how much compute to allocate on a per-query basis. Our framework explicitly incorporates both token cost and wall-clock latency, the latter being critical for user experience and particularly for agentic workflows where models must issue multiple queries efficiently. Experiments on reasoning benchmarks show that our approach consistently outperforms static strategies, achieving favorable accuracy-cost trade-offs while remaining practical for deployment.
format Preprint
id arxiv_https___arxiv_org_abs_2509_09864
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Latency and Token-Aware Test-Time Compute
Huang, Jenny Y.
Damani, Mehul
El-Kurdi, Yousef
Astudillo, Ramon
Sun, Wei
Machine Learning
Artificial Intelligence
Computation and Language
Inference-time scaling has emerged as a powerful way to improve large language model (LLM) performance by generating multiple candidate responses and selecting among them. However, existing work on dynamic allocation for test-time compute typically considers only parallel generation methods such as best-of-N, overlooking incremental decoding methods like beam search, and has largely ignored latency, focusing only on token usage. We formulate inference-time scaling as a problem of dynamic compute allocation and method selection, where the system must decide which strategy to apply and how much compute to allocate on a per-query basis. Our framework explicitly incorporates both token cost and wall-clock latency, the latter being critical for user experience and particularly for agentic workflows where models must issue multiple queries efficiently. Experiments on reasoning benchmarks show that our approach consistently outperforms static strategies, achieving favorable accuracy-cost trade-offs while remaining practical for deployment.
title Latency and Token-Aware Test-Time Compute
topic Machine Learning
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2509.09864