                     Sample, Scrutinize and Scale: Effective Inference-Time Search by Scaling Verification



Acknowledgments                                                         Cobbe, K., Kosaraju, V., Bavarian, M., Chen, M., Jun, H.,

                                                                          Kaiser, L., Plappert, M., Tworek, J., Hilton, J., Nakano,

This material is based on work supported by the National                  R., Hesse, C., and Schulman, J. Training Verifiers to

Science Foundation Graduate Research Fellowship Program                   Solve Math Word Problems, November 2021.

under Grant No. DGE 2146752 and by a Google PhD

Fellowship (EZ).                                                        Collins, K. M., Jiang, A. Q., Frieder, S., Wong, L., Zilka,

                                                                          M., Bhatt, U., Lukasiewicz, T., Wu, Y., Tenenbaum,

Impact Statement                                                          J. B., Hart, W., Gowers, T., Li, W., Weller, A., and

                                                                          Jamnik, M. Evaluating language models for mathemat-

This paper presents work whose goal is to advance the field               ics through interactions. Proceedings of the National

of Machine Learning. There are many potential societal                    Academy of Sciences of the United States of America, 121

consequences of our work, none which we feel must be                      (24):e2318124121. ISSN 0027-8424.

specifically highlighted here.

                                                                        Dhuliawala, S., Komeili, M., Xu, J., Raileanu, R., Li, X.,

References                                                                Celikyilmaz, A., and Weston, J. Chain-of-verification

                                                                          reduces hallucination in large language models. In Ku,

Agarwal, R., Singh, A., Zhang, L. M., Bohnet, B., Rosias,                 L., Martins, A., and Srikumar, V. (eds.), Findings of the

  L., Chan, S., Zhang, B., Anand, A., Abbas, Z., Nova, A.,               Association for Computational Linguistics, ACL 2024,

  Co-Reyes, J. D., Chu, E., Behbahani, F., Faust, A., and                Bangkok, Thailand and virtual meeting, August 11-16,

  Larochelle, H. Many-shot in-context learning, 2024.                    2024, pp. 3563–3578. Association for Computational

                                                                          Linguistics, 2024.

Akyürek, E., Damani, M., Qiu, L., Guo, H., Kim, Y., and

 Andreas, J. The surprising effectiveness of test-time                  Gao, K., Cai, H., Shuai, Q., Gong, D., and Li, Z. Embedding

  training for abstract reasoning, 2024.                                  Self-Correction as an Inherent Ability in Large Language

                                                                          Models for Enhanced Mathematical Reasoning, October

An, S., Ma, Z., Lin, Z., Zheng, N., Lou, J.-G., and Chen, W.

                                                                          2024.

  Learning From Mistakes Makes LLM Better Reasoner,

  March 2024.

                                                                        Gemini Team. Gemini 1.5: Unlocking multimodal under-

Anil, C., Zhang, G., Wu, Y., and Grosse, R. Learning to                   standing across millions of tokens of context, 2024.

  Give Checkable Answers with Prover-Verifier Games,

                                                                        Gou, Z., Shao, Z., Gong, Y., Shen, Y., Yang, Y., Duan, N.,

 August 2021.

                                                                          and Chen, W. CRITIC: Large Language Models Can

Anil, C., Durmus, E., Rimsky, N., Sharma, M., Benton,                     Self-Correct with Tool-Interactive Critiquing, February

 J., Kundu, S., Batson, J., Tong, M., Mu, J., Ford, D. J.,                2024.

  Mosconi, F., Agrawal, R., Schaeffer, R., Bashkansky, N.,

  Svenningsen, S., Lambert, M., Radhakrishnan, A., Deni-                Havrilla, A., Raparthy, S. C., Nalmpantis, C., Dwivedi-Yu,

  son, C., Hubinger, E. J., Bai, Y., Bricken, T., Maxwell, T.,            J., Zhuravinskyi, M., Hambro, E., and Raileanu, R. Glore:

  Schiefer, N., Sully, J., Tamkin, A., Lanham, T., Nguyen,                When, where, and how to improve LLM reasoning via

  K., Korbak, T., Kaplan, J., Ganguli, D., Bowman, S. R.,                 global and local refinements. In Forty-first International

  Perez, E., Grosse, R. B., and Duvenaud, D. Many-shot                    Conference on Machine Learning, ICML 2024, Vienna,

  jailbreaking, 2024.                                                    Austria, July 21-27, 2024. OpenReview.net, 2024.



Brown, B., Juravsky, J., Ehrlich, R., Clark, R., Le, Q. V., Ré,        Hendrycks, D., Burns, C., Kadavath, S., Arora, A., Basart,

  C., and Mirhoseini, A. Large language monkeys: Scaling                  S., Tang, E., Song, D., and Steinhardt, J. Measuring math-

  inference compute with repeated sampling, 2024. URL                     ematical problem solving with the MATH dataset. In Van-

  https://arxiv.org/abs/2407.21787.                                       schoren, J. and Yeung, S. (eds.), Proceedings of the Neu-

                                                                          ral Information Processing Systems Track on Datasets

Chen, Y., Pan, X., Li, Y., Ding, B., and Zhou, J. A Simple                and Benchmarks 1, NeurIPS Datasets and Benchmarks

  and Provable Scaling Law for the Test-Time Compute of                   2021, December 2021, virtual, 2021.

  Large Language Models, November 2024.

                                                                        Huang, J., Chen, X., Mishra, S., Zheng, H. S., Yu, A. W.,

Chow, Y., Tennenholtz, G., Gur, I., Zhuang, V., Dai, B.,                  Song, X., and Zhou, D. Large language models cannot

  Thiagarajan, S., Boutilier, C., Agarwal, R., Kumar, A.,                 self-correct reasoning yet. In The Twelfth International

  and Faust, A. Inference-Aware Fine-Tuning for Best-of-N                Conference on Learning Representations, ICLR 2024,

  Sampling in Large Language Models, December 2024.                      Vienna, Austria, May 7-11, 2024. OpenReview.net, 2024.



                                                                   10

