# Poster 31024

- Kind: Poster
- Talk page and recording: https://iclr.cc/virtual/2025/poster/31024

> Transcript of the talk's recording (session_asr), made by speech recognition or taken from the host's captions. It may contain errors. The words are the speakers'; listen to the recording on the talk's page before quoting it.

Hello, today I'm presenting Scaling LLM Test Time Compute Optimally Can Be More Effective Than Scaling Model Parameters. In the past we've seen that when we give neural networks the ability to use additional computation at test time, their performance can be substantially improved. This is with things like AlphaGo. However, these are in domains with, you know, fairly limited tasks, very specific tasks. We'd like to enable a similar capability in more general settings.
settings with language models specifically in this paper we're trying to answer the following question given a challenging input query how can we enable language models to most effectively make use of additional computation at test time so as to improve the accuracy of their response
There's many different ways you could go about using test time compute. You could do best of N with the verifier. You could have a model iteratively revise answers, etc. And we might even find that different problems benefit from different test time compute strategies. To sort of formalize this point, we define this notion of compute optimal test time scaling, which essentially means for a given question, what are the optimal hyperparameters for test time scaling that can
maximize performance. And so these hyperparameters could be like what search algorithm you use, what beam width you use when doing search, whether you sample answers in parallel or using a revision model you sample a bunch of revisions in sequence. And in practice how we implement this notion of compute optimal scaling is we bin questions by according to their difficulty and then select the best performing hyperparameters for each difficulty bin. And there's a couple different ways we implement difficulty in the paper.
Now, we explore a couple different ways of scaling test time compute. One is by using verifiers. So specifically, we have a process-based verifier, which assigns a score to the correctness of each intermediate step in a solution to a math problem. And we see that, so one thing we can do with this is you can do sort of like a beam search. You can also do a simpler approach like best -of-end, which just scores the final answer.
If we compare sort of the different search methods according to difficulty, we see that on the easier questions, beam search kind of is a little bit overkill and shows some signs of over-optimization. Best of end is kind of the best you can do here. On the medium and harder questions, and difficulty bins three and four here, we see that beam search generally outperforms best of end. However, on the very hardest questions, we see that all methods kind of struggle. If we select the best performing strategy within each difficulty bin, we can get a boost in test time computer efficiency.
Now, the other way we scale test time compute in the paper is by training a model to iteratively revise answers. So given previous attempts in context, propose a new answer. And so given such a model, you can use it in multiple ways to test time. You could sample one long chain of revisions and then select the best one. You could sample a bunch of answers independently in parallel, or you can do some combination of the two. Now, if we look at, you know, how does this sequential to parallel ratio vary?
With performance, we see that on the easy questions, it's preferable to sample more sequentially, but on the harder questions, there's kind of an ideal sweet spot ratio. And if we select the best performing ratio for each difficulty level, we again get an efficiency improvement in test time scaling.
Now that we've seen sort of the benefits that can be had from scaling test time compute with verifiers and with revisions, we'd like to understand whether scaling test time compute can be more effective than scaling model parameters. And we do some analysis, try to equalize the flops between these two, and we find that on the easy and medium difficulty questions or in settings with low inference requirements, scaling test time compute can be preferable to scaling parameters. However, on harder questions or in settings with a high inference load, scaling parameters might be preferable.
might be preferable. And so the sort of takeaway is that like using pretty simple methods, scaling test time compute can really improve performance a lot. And in some settings, it can even outperform scaling parameters. But there's a lot of room for future work to improve upon our techniques. There's many different ways you could scale test time compute that go beyond the ones we explored in this paper. And, you know, there's a lot of additional analysis that could be done. That's all I have. Thank you for listening.
