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



    Problem 11, AIME 2024                                   Verification Score         Final Answer        # Solutions



    Find the number of triples of nonnegative                          0.98           601     (Correct)         1

    integers (a, b, c) satisfying a + b + c = 300                      0.76             6     (Wrong)          11

    and a2 b + a2 c + b2 a + b2 c + c2 a + c2 b =                      0.52             0     (Wrong)          14

    6, 000, 000.                                                       0.40             7     (Wrong)          21

                                                                       0.38             4     (Wrong)          10

                                                                       0.36             1     (Wrong)          124

                                                                       0.22            10     (Wrong)           2

                                                                       0.20             3     (Wrong)           9

                                                                       0.18           301     (Wrong)           1

                                                                       0.16          45451    (Wrong)           1

                                                                       0.14           101     (Wrong)           2

                                                                       0.06             2     (Wrong)           1

                                                                       0.04          45151    (Wrong)           1

                                                                       0.04           303     (Wrong)           1

                                                                       0.00           100     (Wrong)           1



Table 2. The final answers identified by the Gemini v1.5 Pro model to Problem 11 on AIME 2024, sorted by verification score and

annotated with their multiplicity in 200 solution generations. The correct final answer (green) is only found by 1 generated response

whereas Consistency@200 selects an incorrect final answer (red) that is found by 124 generated responses.





3.2. Ablation Studies                                                  Main refers to manually written prompts used in our ex-

                                                                       periments. Shortened refers to a shorter variant of “Main”

We can individually ablate the practices of comparing and

                                                                       that omits, e.g., instructions to avoid truncation. Without

rewriting candidate responses to confirm their role in elicit-

                                                                       Rewrite refers to a variant of “Main” that omits instructing

ing greater verification capability.

                                                                       the verifier to first rewrite responses. Split-Context refers

                                                                       to a variant of “Main” that creates separate conversation

Ablating comparisons. The step of asking models to di-                 threads to individually verify pieces of the response.

rectly compare candidate solutions with similar verification

scores significantly increases sampling-based search perfor-           The gap between the performance of “Main” and “Without

mance. This is demonstrated in Table 3, where we depict                Rewrite” demonstrates that ablating the rewriting of solu-

the accuracy rates from Table 1 alongside the accuracy rates           tions negatively impacts verification performance. Similarly,

after ablating the tie-breaking step. These comparisons                the gap with “Split-Context” demonstrates that splitting

have the greatest impact when models struggle from low                 the verification process into separate conversation threads

recall and excessively assign high verification scores. On             sharply decreases performance due to low precision, which

the MATH benchmark, which sees the greatest lift from                  we attribute to miscalibration.

comparisons, the average verification score of the top 3

candidate responses is nearly 90%.                                     4. Technical Details



Ablating rewritings. We explored a limited number of                   All experiments are run on Google Cloud with Gemini

prompts for self-verification, including prompts which omit            v1.5-Pro-002 and Gemini v1.5-Flash-002 models dated

instructing the model to rewrite responses. We did not per-            to September 2024. Unless otherwise specified, the de-

form further prompt optimization and expect refinements                fault parameters for our implementation of sampling-based

would boost accuracy. Table 4 shows each prompt’s proba-               search (Section 3) are kinf = 200, σinf = 1.5, kverif = 50,

bility of mislabeling correct solutions (false positive) and in-       σverif = 1, and a maximum of 8,192 output tokens per query.

correct solutions (false negative), with the former generally          For all benchmarks, the scoring of candidate responses is

having a more severe impact on downstream performance.                 performed using a language model rather than literal string

We evaluated these prompts on 1,080 candidate responses                comparison; details are in Appendix C.2.

to 54 level-5 questions from the MATH training split, and

120 candidate responses to 6 questions from AIME 2023.                 Preliminary scoring. When generating kverif = 50 veri-

A response is marked as incorrect if, of 20 verification at-           fication scores per candidate solution is too expensive, we

tempts, the number finding an error in the solution exceeds            first generate kverif = 10 preliminary verification scores

the equal error rate threshold.                                        and discard candidate solutions with an average score below



                                                                   7

