paper-with-me

Papers

Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameters

2024-08-06 · Charlie Snell, Jaehoon Lee, Kelvin Xu, Aviral Kumar

Enabling LLMs to improve their outputs by using more test-time computation is a critical step towards building generally self-improving agents that can operate on open-ended natural language. In this paper, we study the scaling of inference-time computation in LLMs, with a focus on answering the question: if an LLM is allowed to use a fixed but non-trivial amount of inference-time compute, how much can it improve its performance on a challenging prompt? Answering this question has implications not only on the achievable performance of LLMs, but also on the future of LLM pretraining and how one should tradeoff inference-time and pre-training compute. Despite its importance, little research attempted to understand the scaling behaviors of various test-time inference methods. Moreover, current work largely provides negative results for a number of these strategies. In this work, we analyze two primary mechanisms to scale test-time computation: (1) searching against dense, process-based verifier reward models; and (2) updating the model's distribution over a response adaptively, given the prompt at test time. We find that in both cases, the effectiveness of different approaches to scaling test-time compute critically varies depending on the difficulty of the prompt. This observation motivates applying a "compute-optimal" scaling strategy, which acts to most effectively allocate test-time compute adaptively per prompt. Using this compute-optimal strategy, we can improve the efficiency of test-time compute scaling by more than 4x compared to a best-of-N baseline. Additionally, in a FLOPs-matched evaluation, we find that on problems where a smaller base model attains somewhat non-trivial success rates, test-time compute can be used to outperform a 14x larger model.

📄 PDF Abstract BibTeX arXiv:2408.03314

Code (3)

codelion/optillm pytorch
huggingface/search-and-learn pytorch
zarahall/fairness-prms

Methods 이 논문이 사용한 방법론

BASE 설명 없음
Focus 설명 없음

Similar Papers 제목 키워드 기반

Inference Scaling for Long-Context Retrieval Augmented Generation

2024-10-06 · Zhenrui Yue, Honglei Zhuang, Aijun Bai, Kai Hui 외

The scaling of inference computation has unlocked the potential of long-context large language models (LLMs) across diverse settings. For knowledge-intensive tasks, the increased compute is often allocated to incorporate…

In-Context LearningRAGRetrievalRetrieval-augmented Generation

Navigating Scaling Laws: Compute Optimality in Adaptive Model Training

2023-11-06 · Sotiris Anagnostidis, Gregor Bachmann, Imanol Schlag, Thomas Hofmann

In recent years, the state-of-the-art in deep learning has been dominated by very large models that have been pre-trained on vast amounts of data. The paradigm is very simple: investing more computational resources (opti…

Scaling Collapse Reveals Universal Dynamics in Compute-Optimally Trained Neural Networks

2025-07-02 · Shikai Qiu, Lechao Xiao, Andrew Gordon Wilson, Jeffrey Pennington 외 arxiv

What scaling limits govern neural network training dynamics when model size and training time grow in tandem? We show that despite the complex interactions between architecture, training algorithms, and data, compute-opt…

A Dynamical Model of Neural Scaling Laws

2024-02-02 · Blake Bordelon, Alexander Atanasov, Cengiz Pehlevan

On a variety of tasks, the performance of neural networks predictably improves with training time, dataset size and model size across many orders of magnitude. This phenomenon is known as a neural scaling law. Of fundame…

model

A*-Decoding: Token-Efficient Inference Scaling

2025-05-19 · Giannis Chatziveroglou

Inference-time scaling has emerged as a powerful alternative to parameter scaling for improving language model performance on complex reasoning tasks. While existing methods have shown strong performance gains under fixe…

Language ModelingLanguage Modelling