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





   # Student Solution Final Answer

   Identify the final answer of the student solution.

   YOUR RESPONSE HERE SHOULD BE BRIEF. JUST IDENTIFY WHAT THE QUESTION IS ASKING FOR,

   AND IDENTIFY THE STUDENT’S FINAL ANSWER. DO NOT ATTEMPT TO ANSWER THE QUESTION OR

   EVALUATE INTERMEDIATE STEPS.

   # Correctness

   Simply evaluate whether the student’s final answer is correct by comparing it to the answer key’s final answer.

   Compare the student’s final answer against the answer key’s final answer to determine if the student’s final answer is

   correct.

   * It does not matter how the student reached their final answer, so long as their final answer itself is correct.

   * It does not matter how the student formatted their final answer; for example, if the correct final answer is 7/2 ,

                                                                 14

   the student may write ***3.5*** or three and a half or            . It does not matter if the student’s final answer uses

                                                                  4

   the same specific formatting that the question asks for, such as writing multiple choice options in the form ”(E)”

   rather than ”***E***”.

   * It does not matter if the student omitted units such as dollar signs.

   * If the student solution appears to be truncated or otherwise incoherent, e.g. due to a technical glitch, then it should

   be treated as being incorrect.

   ONCE AGAIN, DO NOT EVALUATE INTERMEDIATE STEPS OR TRY TO SOLVE THE PROBLEM YOUR-

   SELF. THE ANSWER KEY IS ALWAYS RIGHT. JUST COMPARE THE FINAL ANSWERS. IF THEY MATCH,

   THE STUDENT ANSWER IS CORRECT. IF THEY DO NOT MATCH, THE STUDENT ANSWER IS INCOR-

   RECT.

   # Summary

   * Answer key final answer: (The final answer of the answer key solution. Please remove any unnecessary formatting,

   e.g. provide ”3” rather than ” 3 ”, provide ”E” rather than ”***E***”, provide ”1, 2, 3” rather than ”[1, 2, 3]”,

   provide ”4 ounces” rather than ”4oz”.)

   * Student final answer: (The final answer of the student’s solution. Please remove any unnecessary formatting, e.g.

   provide ”3” rather than ” 3 ”, provide ”E” rather than ”***E***”, provide ”1, 2, 3” rather than ”[1, 2, 3]”, provide

   ”4 ounces” rather than ”4oz”.)

   * Student final answer is correct?: (Does the student final answer match the answer key final answer? Please provide

   ”true” or ”false”.)

   ```



   Prompt 2



   Please structure your output now as JSON, saying nothing else. Use the following format: ``` { ”an-

   swer key final answer”: str (the final answer of the answer key solution; please remove any formatting”),

   ”student final answer”: str (the final answer of the student’s solution; please remove any formatting”), ”stu-

   dent final answer is correct”: true/false, }





C.3. Implementation of Consistency@k

Consistency@k measures the performance of a model by evaluating the correctness of the most common answer reached by

the model after being run k times. An important consideration with implementing consistency@k is that there are many

choices for the equivalence relation one can use to define “the most common answer”. We define two candidate responses as

reaching the same answer if their final answer is the same. We determine a candidate response’s final answer by prompting a

language model to identify the final answer from the candidate response; we then strip the extracted final answer of leading

and trailing whitespace. We determine equivalence with a literal string match. After determining the most common final

answer to a question, we use the string “The final answer is {final answer}” as the consistency@k response. Note that we

could have instead randomly chosen a candidate response corresponding to the most common final answer, and used that

selected response as the consistency@k response—we have found that, because our LM-based scoring system evaluates

correctness using only the final answer, this alternative results in the same consistency@k metrics.



                                                              20

