Self-Evaluation Guided Beam Search for Reasoning
Paper · 2023 · Yuxi Xie, Kenji Kawaguchi, Yiran Zhao et al.
Summary
An error in the middle of a solution can survive all the way to the answer. The arithmetic that follows may be flawless, or the explanation may read smoothly, even though both depend on a premise that should have been rejected. Writing out intermediate steps makes a problem easier to break down, but it also creates more places for a solution to go wrong. The authors ask whether a system can use those steps to improve its reasoning while it is still deciding what to write.
Their method keeps a small collection of unfinished solutions and proposes several ways to extend each one. An extension is a meaningful piece of the solution, such as a line of Python or a step in a written explanation. The same system then receives a different prompt asking it to judge the extension in the context of the problem and the work so far. The probability it assigns to the favorable option in a multiple-choice check becomes a confidence score. The search combines that score with the likelihood of generating the extension, then uses both to decide which unfinished solutions survive. A temperature setting controls how readily the search keeps lower-scoring alternatives. The procedure can return a preferred solution or let several completed solutions vote on the answer.
With Codex, the headline few-shot comparisons report accuracy of 85.5% against 80.4% on GSM8K, 64.2% against 58.6% on AQuA, and 77.2% against 73.2% on StrategyQA. The paper expresses those gains in few-shot accuracy as 6.34%, 9.56%, and 5.46%, respectively. It also reports gains on symbolic tasks. In a separate comparison using Llama-2 and comparable token budgets, the guided method beats self-consistency on arithmetic tasks, though the commonsense cost analysis favors the baseline. On GSM8K and StrategyQA, the analysis by chain length finds larger gains on questions associated with longer solutions.
The evaluator is more informative on the structured arithmetic examples than on the commonsense examples. It can catch a bad operation, yet it can also favor a plausible explanation that reaches the wrong conclusion or penalize a correct program for a minor naming choice. The method uses demonstrations in a prompt and dispenses with separate verifier training. Running it still requires access to token likelihoods, and proposing and checking alternatives adds work at inference time. Its strongest case is a problem with enough consequential intermediate decisions for early checks to improve the eventual answer.
Deep dive: Self-Evaluation Guided Beam Search for Reasoning
Self-evaluation guided beam search checks intermediate reasoning steps as it builds solutions, improving accuracy most clearly on longer chains. · about 36 minutes to read
The problem and its context
Why a solution can become less reliable as it grows
A question and its final answer make up only part of a reasoning task. An arithmetic word problem also requires choices about which quantities belong together, which operation expresses their relationship, and which result should be carried into the next calculation. A commonsense question can require an intermediate inference about the situation before a defensible answer is possible. Making these choices explicit creates a sequence that can be inspected and, in principle, redirected partway through.
The paper situates this problem in the development of few-shot learning. In the setting that interests the authors, examples in a prompt show how to approach a task before the system sees the new question. Some examples demonstrate answers with worked intermediate steps. Scratchpads display intermediate computation. Chain-of-thought prompting (CoT) commonly expresses the reasoning in ordinary prose. Least-to-most prompting separates a difficult problem into subproblems and then addresses them in sequence. These formulations give the next piece of a solution a context that includes earlier decisions.
That context brings a dependency. If a program assigns the wrong meaning to a quantity, a later line can manipulate that quantity correctly as a matter of arithmetic and still move the solution farther from the answer. A prose explanation can have the same structure. Once an unwarranted inference is written down, subsequent statements may follow from it in a way that makes the whole explanation feel coherent. The difficulty grows with the length of the chain because there are more opportunities to make an error and more opportunities to carry it forward.
There is also a search problem. A partial solution typically admits several plausible continuations. Each continuation can in turn branch into several more. The authors describe the resulting growth in possible chains as exponential in the number of steps. A system that commits early follows only a narrow part of that space. A system that samples many complete solutions reaches more of it, at the cost of continuing some chains whose shortcomings would already have been visible partway through.
What earlier methods change
In the paper’s account, self-consistency deals with unreliable individual chains by sampling multiple solutions and aggregating their answers. Different explanations can support the same answer, so the vote takes place after each solution has been interpreted. The scheme can succeed even when any particular chain is unreliable, provided the right answer attracts enough support across samples. Work the authors discuss under the name Diverse also varies the prompts to broaden the samples and uses a task-specific verifier to weight them.
Program-aided reasoning moves a different part of the task outside text generation. In program-aided reasoning (PAL) and Program-of-Thought prompting (PoT), a system represents its numerical solution with a Python program. Execution can carry out the computations specified by that program. This makes a distinction especially clear. Given a program that expresses the intended operations, execution can produce their result. Choosing a program that expresses those operations is itself a reasoning problem. A reliable interpreter will carry out a mistaken instruction just as faithfully as a correct one.
Another line of prior work uses feedback to assess a generated result. The authors draw in particular on Kadavath and colleagues’ use of a prompted judgment whose probability can be read from the response options. They also place the work alongside approaches that use a system’s own feedback to refine a response at the level of a full instance. This paper makes the judgment earlier and attaches a specific consequence to it. The score determines whether a partial solution gets the opportunity to develop further. Self-Refine
What search needs from a score
In ordinary text generation, decoding is the procedure that selects an output from the continuations the system assigns probabilities to. A greedy procedure repeatedly takes its preferred continuation. Beam search keeps a collection of promising prefixes, where a prefix is a sequence generated so far. The beam is that collection, and its width is the number of prefixes it can retain. Retaining alternatives allows some decisions to remain open until later context becomes available. The paper draws on earlier uses of beam search for sequence generation. Sequence Transduction with Recurrent Neural Networks
The choice of what to score matters as much as the decision to keep a beam. The probability of generating a continuation reflects how well its wording fits the prompt and the preceding text. The authors want a further signal about whether the continuation is justified. A conventional expression can describe an invalid step, while an unusual expression can convey a valid one. A search that ranks branches by their generation probabilities alone has no explicit way to distinguish those cases.
The paper also inherits a tension between diversity and selection. Deterministic decoding makes the same pruning choice when it sees the same scored candidate pool. Sampling can broaden the range of solutions, and earlier work uses temperature or restrictions on which continuations can be sampled to influence this breadth. The paper discusses tree-of-thought as another way of reasoning over candidate paths, with different search strategies for different tasks. Its own approach keeps the repeated expand-and-prune structure of a beam and lets the pruning decision vary probabilistically. The aim is to preserve enough alternatives to benefit from a final vote while still using intermediate judgments to direct the search.
The method, step by step
From a question to a beam of partial solutions
The procedure begins with a question and demonstrations of how to express its solution. In a math setting that uses PAL, the demonstrations show a program that can be built in pieces. In a setting using CoT, they show a solution written as successive passages of prose. The unit of search is one of those pieces. Internally the system still generates tokens, the units into which it divides text. The beam makes a retention decision after enough tokens have been produced to form a reasoning step. Tokenization
Consider the distinction using a program assignment. At the token level, a variable name, an operator, and the quantity that follows it are successive choices. At the reasoning level, the assignment is a proposal about how to represent a quantity in the problem. Once the assignment is available together with what precedes it, an evaluator can ask whether that proposal makes sense. The same idea applies to a sentence that infers something from an earlier statement in a written chain. What qualifies as a step depends on how the prompt structures the solution.
The search extends each retained prefix with independently sampled proposals from the generator. A proposal can preserve earlier choices and make a different next decision. The evaluator receives the question and the prefix through the proposed step, with examples that demonstrate the judging task. Generation and evaluation use the same underlying system with different prompts. Each candidate thus has a generation likelihood and a separate score derived from the evaluation response.
These signals are combined with the score already accumulated along the prefix. The search collects the expanded prefixes from all current beams, then reduces that collection to the allowed beam width. With deterministic pruning, the strongest candidates by the combined score survive. With stochastic pruning, high-scoring candidates have an advantage and other candidates can survive as well. The process repeats with the retained prefixes. A completed program yields answers by execution. A completed written solution yields answers by interpretation. When the procedure keeps several completed chains, it can select an answer by voting.
How stepwise self-evaluation guides the beam
The steps in order.
How chains lead to answers
The authors begin with a distinction between producing a solution and obtaining an answer from it. They express answer probability as an average over possible chains. This formulation explains why both improving individual chains and aggregating several of them can matter.
P(a ∣ x) = 𝔼[R ∼ P(R ∣ x)] P(a ∣ R, x)
Here P denotes a probability distribution, a is an answer, and x represents the input consisting of the prompt and question. The vertical bar means “given.” R stands for the intermediate solution, and R ∼ P(R ∣ x) says that it is drawn from the distribution of chains conditioned on the input. 𝔼 takes the expectation over those draws. P(a ∣ R, x) is the contribution of a given chain to the probability of the answer. Different chains can contribute to the same answer, which is the basis for combining their outputs.
The paper represents answer extraction with an operation that returns a set. For PAL, the operation executes the program. The abstraction also covers interpreting the output of a prose solution.
A = execute(R)
R is the chain. execute denotes the operation that interprets it, and A is the resulting set of candidate answers. A chain can yield an empty set when it provides no valid answer. It can also yield more than one answer. This allows the formulation to represent ambiguity or failure at the point where reasoning is turned into a prediction.
P(a ∣ R, x) = 𝟙_A(a) / max(|A|, 1)
P(a ∣ R, x) is the contribution assigned to answer a by chain R for input x. 𝟙_A(a) is the indicator of membership in A. It is 1 if the answer belongs to the set and 0 otherwise. |A| counts its members. max selects the larger of that count and 1, which keeps the denominator positive even when the set is empty. The slash means division. An ambiguous chain shares its contribution evenly among the answers it yields. A chain that yields no answer assigns zero to every candidate answer.
The algorithms compared in the paper use different approximations to the expectation. A single-chain method uses one resulting solution. Self-consistency samples solutions and aggregates their predictions. Guided beam search changes which chains are produced, and it can still use voting after that search. The objective that directs the beam concerns the first distribution in the expectation, the one over reasoning paths. The answer-extraction operation is still necessary after that intervention.
How step scores accumulate
The sequential organization of the chain makes it possible to evaluate a prefix and extend its score when another step is added. The chain notation counts reasoning steps, regardless of how many tokens are needed to express any one of them.
R = [s¹, s², …, sᵀ] = s¹:ᵀ
R is the complete chain, and T is its length in reasoning steps. s denotes a step, with the superscript indicating its position. The brackets enclose the ordered sequence, and the ellipsis stands for the intervening steps. s¹:ᵀ abbreviates the range from the first step through T. The superscripts in this chain notation are indices.
P(R = s¹:ᵀ ∣ x) = ∏ₜ P(sᵗ ∣ x, s¹:ᵗ⁻¹)
On the left, P gives the probability that the chain R is the sequence s¹:ᵀ for input x. On the right, ∏ₜ multiplies a factor for each step index t through T. sᵗ is the step at that index, while s¹:ᵗ⁻¹ is the prefix ending immediately before it. The conditional bar shows that each factor is evaluated given both x and the preceding steps. The factorization allows strong dependence between steps. The scoring procedure uses that dependence to judge the same proposed operation differently when the earlier work changes its meaning.
The extra signal is a confidence in correctness. The paper writes it as a function of the new step and its preceding context. Its interval gives the possible values, with each endpoint included.
𝒞(sᵗ, s¹:ᵗ⁻¹) ∈ [0, 1]
𝒞 is the correctness-confidence function, sᵗ is the proposed step, and s¹:ᵗ⁻¹ is the preceding prefix. The membership symbol ∈ indicates that its value lies in the interval between 0 and 1. The question is also available to the evaluator. When the paper shortens the notation to 𝒞(sᵗ), the context remains part of the judgment.
ℰ(s¹:ᵀ) = ∏ₜ [P_LM(sᵗ ∣ x, s¹:ᵗ⁻¹)]^λ [𝒞(sᵗ)]^(1 − λ)
ℰ is the accumulated decoding score for the chain s¹:ᵀ. The product over t combines contributions from its successive steps. P_LM is the generator’s probability of the new step sᵗ, conditional on x and the preceding steps s¹:ᵗ⁻¹. The paper also calls the generation score 𝒫. 𝒞(sᵗ) is the evaluator’s confidence for the new step in context. The caret marks exponentiation. The weight λ lies in [0, 1]. In this display, λ controls the contribution of generation probability and 1 − λ is the complementary exponent for correctness confidence. The paper’s later analysis uses the opposite exponent convention, exchanging the roles of the endpoints. Its experimental choice of 0.5 gives equal exponents in either notation.
Because the score is a product, extending a path adds a factor to the accumulated score. The decision therefore carries a record of earlier judgments. A high confidence on the latest step does not erase the effect of an earlier low confidence. There is a practical reason for this design. A fresh step can follow logically from a mistaken premise. Tracking the earlier score gives the search a way to retain the penalty associated with that premise while evaluating the new step.
The score guides comparisons among proposed prefixes. The paper’s correctness language describes the target of the prompt. The score itself is obtained from a probabilistic judgment whose quality can vary with the reasoning format and task. This difference is important when reading the experiments. A scale bounded by 0 and 1 allows the confidence to enter the objective, while the experiments investigate how much information about correctness it carries.
How the evaluator is prompted
The generator receives worked examples from the corresponding baseline. The authors manually construct examples for the evaluation prompt using outputs produced by those baselines on the relevant training data. These demonstrations show how to examine steps and include rationales for the judgments. The evaluation is presented as a multiple-choice question. Its favorable option is designated A, and the score comes from the probability assigned to that token. This A is an option label with a different role from the answer set in the earlier formula.
𝒞(sᵗ) = P_LM𝒞(A ∣ prompt𝒞, Q, s¹:ᵗ)
𝒞(sᵗ) is the correctness confidence for the current step. P_LM𝒞 is the token probability under the evaluation prompt, with the subscript identifying the judging role of the underlying system. A is the option token associated with the favorable judgment. prompt𝒞 supplies the evaluation instructions and demonstrations. Q is the problem question, and s¹:ᵗ includes the reasoning through the step being judged. The vertical bar separates the option token whose probability is read from the material on which that probability is conditioned.
A categorical judgment expressed in text would supply only the chosen option. Reading its probability gives the search a graded preference. Several extensions can receive the favorable option as the most likely response while differing in how strongly the evaluator favors it. That difference can influence which prefixes survive. The use of an option probability is also the reason the method requires access to more information than the response text alone.
The preparation consists of selecting or reusing generation demonstrations and making the evaluation demonstrations from baseline outputs. The two roles then run at inference time with their respective prompts. In the GSM8K CoT setup the authors use 8-shot generation and 5-shot evaluation. The GSM8K PAL setup uses 9-shot generation and 5-shot evaluation. On AQuA, the PAL prompt uses 8-shot generation and 5-shot evaluation. These counts refer to demonstrations in the prompts for those configurations. The authors make the implementation and full prompts available through their guided decoding project.
How candidates are proposed and retained
The generator first samples continuations for each current beam member. For a beam of width k, the authors draw n extensions per retained prefix. They collect nk hypotheses for pruning. The distribution used to propose them is the generation distribution, with a generation temperature denoted by γ. Changing γ affects what the search gets to consider. Even a very good evaluator has no influence over a branch that never enters the candidate pool.
The procedure then chooses which members of this pool to retain. Stochastic pruning draws k candidates without replacement, so a chosen entry is removed from the pool for that round. The initial probabilities for a draw favor prefixes with stronger accumulated scores.
P_beam(s¹:ᵗ) ∝ exp(ℰ(s¹:ᵗ) / τ), s¹:ᵗ ∈ 𝒮
P_beam is the distribution used for pruning, s¹:ᵗ is a prefix through step t, and ℰ(s¹:ᵗ) is its accumulated score. τ is the pruning temperature. exp is the exponential function, and the slash divides the score by τ. ∝ means that the probability is proportional to this weight after normalization. 𝒮 contains the available expanded prefixes, and ∈ marks membership in that pool.
A low positive pruning temperature makes differences in score more decisive. In the limit as τ approaches 0, selection favors the highest scores as in deterministic beam pruning. The deterministic setting uses that limiting rule in place of evaluating the expression at 0. Generation can still sample alternative extensions before this deterministic retention decision. Conversely, higher pruning temperature can preserve more variation among the proposals that were actually sampled.
τ → ατ, α ∈ [0, 1]
τ is the current pruning temperature, α is its decay factor, and the arrow indicates that the current value is replaced by its product with α as decoding advances. ∈ [0, 1] restricts the factor to the closed interval from 0 to 1. This cooling schedule lets the search explore at early stages and make more selective decisions later. The authors use α = 0.5 across their experiments and tune the initial pruning temperature separately.
The paper gives k = 5 and n = 16 for the Codex implementation, with a cap of 16 reasoning steps. Its lower-cost Llama-2 configurations illustrate reducing n to 2 and using beam widths in [3, 4]. For deterministic PAL runs with Codex on arithmetic and symbolic tasks, it reports that generation temperatures in [0.4, 0.8] generally work well. For Codex CoT on commonsense tasks, the reported range is [0.1, 0.5]. In the stochastic settings for voting, the authors choose τ = 0.5 for PAL and τ = 0.2 for CoT. The rationale concerns the differences in how the formats decompose problems and how much variation their candidate generation already supplies.
The distinction between the rollout count and the beam width is useful here. The rollout count governs how many alternatives each surviving prefix proposes. The beam width governs how many prefixes can continue after they compete. A wide candidate pool can still narrow to a small beam. A wider beam can also carry several closely related solutions forward. Voting on the final beam reuses chains the search has already produced, with the tradeoff that chains sharing early steps can be less diverse than independent samples.
What the finite candidate pool approximates
The appendix makes the normalization in the pruning rule explicit. A candidate’s probability is its exponentiated score divided by the total weight of the sampled pool.
P_beam(u) = exp(ℰ(u) / τ) / Σ[v ∈ 𝒮] exp(ℰ(v) / τ)
u is the prefix whose probability is sought, and v ranges over prefixes in the sampled pool 𝒮. Both are instances of the step-prefix notation used above. ℰ gives their accumulated scores. τ is the pruning temperature, exp takes the exponential, and Σ sums over the specified members. The denominator makes the probabilities across the available pool add up to the total probability mass for a draw.
The paper compares this expression with a formal version in which the denominator sums over all possible completions through the current reasoning step.
P_beam*(u) = exp(ℰ(u) / τ) / Σ[v ∈ 𝒮*] exp(ℰ(v) / τ)
P_beam* denotes the proposed full-space distribution, and 𝒮* denotes the full set. u is the prefix being evaluated and v is a member used in the sum. ℰ, τ, and exp have the same meanings as in the finite-pool expression. The star marks the formal full-space version.
|P_beam*(u) − P_beam(u)| ≤ r² (1 − M / |𝒮*|) / M
The left-hand bars mark the absolute difference between the two assigned probabilities for a retained prefix u, and ≤ marks the proposed upper bound. M is the finite pool size, equal to nk in the paper’s notation. |𝒮*| counts the members of the full space. r is the ratio of an upper bound on an individual exponential weight to a lower bound on such a weight. r² is its square. The term in parentheses is the part of a finite full space omitted by the pool, and division by M scales the bound by the size of that pool.
The argument compares the denominators for the same prefix, isolates the weight associated with omitted entries, and bounds the weights above and below. Read on a finite space where both distributions normalize, it describes an error for an individual included candidate as the pool covers more of the space. The practical algorithm only needs its sampled denominator. That distinction matters because the appendix describes the full set as infinite while also giving every term of its normalizing sum a positive lower bound. The implications of that assumption concern the interpretation of the guarantee, instead of the operation of the finite beam.
Experiments and results
The tasks and the comparison settings
The experiments cover arithmetic, symbolic reasoning, and commonsense reasoning. The arithmetic benchmarks differ in how the numerical problem is presented. GSM8K consists of math word problems. AQuA concerns algebraic word problems, while SVAMP uses variations in the structure of math word problems. ASDiv supplies a diverse collection of word problems. TabMWP adds information presented in tables. In these tasks a successful program has to represent the problem’s quantities and relationships before execution can produce a useful answer.
The symbolic tests come from BIG-Bench. Date Understanding asks for a date inferred from the context. Object Counting asks for the enumeration and counting of specified kinds of objects. PAL is used for these comparisons as well as for the main arithmetic comparisons. The two symbolic tasks illustrate why an executable solution can still require reasoning before calculation. What the program should take as the reference date or as an object belonging to the requested category comes from understanding the task. BIG-Bench
The commonsense tests use CoT. CommonsenseQA requires knowledge beyond the literal wording of the question. StrategyQA requires intermediate inferences whose sequence is implicit in the question. Sports Understanding, also from BIG-Bench, asks whether a sports-related statement is plausible. These tasks use written explanations, which give the evaluator a different kind of material from an arithmetic program. The commonsense result comparison with Codex reports the single-chain setting. CommonsenseQA
The authors use Codex (code-davinci-002) for their broad benchmark comparison. For the cost analysis they use Llama-2 (13B), explaining that Codex was unavailable for that set of runs. The evaluations distinguish a single returned chain from multiple chains whose answers can be aggregated. CoT serves as the free-text baseline, and the baseline setup also includes PAL and PoT as program-aided approaches. Self-consistency versions of the prompting methods give a comparison for multiple-chain reasoning. The arithmetic and symbolic results also place the work alongside Diverse, whose sample weights come from task-specific verification, and comparisons involving supervision or content-specific training. Evaluating Large Language Models Trained on Code and Llama 2
The performance metric is answer accuracy. A valid program or a plausible explanation can contribute to getting the answer right, but the main benchmark figures count the final prediction. The cost analyses use token counts. For the baselines, the authors count generated tokens. For the guided runs, they also count the extra input tokens consumed by self-evaluation. The result comparisons identify GSM8K and StrategyQA as the arithmetic and commonsense examples, respectively, for which token costs are reported alongside the Codex results. The separate Llama-2 analysis then makes cost the basis for comparing runs.
Comparisons with Codex
The headline GSM8K comparison moves from 80.4% accuracy for the baseline to 85.5% for guided decoding. The paper describes its reported few-shot gain as 6.34%. The multi-chain comparison is important because both approaches can combine answers. In plain self-consistency the diversity comes from generating complete chains and then voting. The guided approach can use feedback to decide which partial chains are worth completing before asking those completed chains to vote.
Headline Codex accuracy on GSM8K
Guided search achieves higher answer accuracy than the corresponding Codex baseline.
The numbers
| System or setting | accuracy % |
|---|---|
| Codex baseline | 80.4 |
| Guided beam search with Codex (this paper) | 85.5 |
On AQuA, the headline Codex baseline reaches 58.6% accuracy and the guided approach reaches 64.2%. The paper reports a few-shot gain of 9.56% for this comparison. AQuA provides another setting where a program can carry out the arithmetic or algebra it is given while leaving the formulation of that computation to the generator. The result is evidence about the complete guided procedure, which still relies on those worked programs and their execution to turn reasoning into answers.
Headline Codex accuracy on AQuA
The guided approach improves answer accuracy on the algebraic word problems.
The numbers
| System or setting | accuracy % |
|---|---|
| Codex baseline | 58.6 |
| Guided beam search with Codex (this paper) | 64.2 |
The arithmetic results also describe gains in the single-chain analysis. The authors report absolute accuracy increases of 5.3% on GSM8K, 8.3% on AQuA, and 0.7% on SVAMP. These figures belong to that analysis and have their own reported conditions. The spread is relevant to the authors’ explanation of where guided decoding can help. If the proposal distribution repeatedly supplies similar solutions, intermediate scoring has fewer distinct options to act on, even when more candidates are requested. The authors suggest that limited diversity helps explain the relatively modest gain on SVAMP.
The authors describe improvements on the symbolic tasks, with restricted headroom on Object Counting. The Object Counting baseline reaches 96.7% accuracy. This creates a small set of remaining errors that a search intervention could correct. The authors also propose that confident generation can make the candidate space harder to diversify. Under that explanation, high baseline accuracy and limited variation both constrain the opportunity for improvement. Only the second of those mechanisms concerns what the evaluator sees during search.
The main commonsense example is StrategyQA. In the single-chain Codex comparison, CoT reaches 73.2% accuracy and the guided procedure reaches 77.2%. The paper reports a 5.46% gain in few-shot accuracy. This finding matters because the mechanism is operating on prose rather than Python. It can improve the selection of intermediate inferences even in a format where a step is harder to verify. The reported effects are uneven across this task family. The authors identify limited variety in generations for Sports Understanding as a constraint, much as they do for Object Counting.
The appendix also compares the Codex-based guided method with ChatGPT prompting. In the PAL comparison on GSM8K the reported accuracies are 80.2% for the guided Codex system and 78.7% for ChatGPT. For the same comparison on AQuA they are 55.9% and 54.7%. On TabMWP they are 79.1% and 80.6%, respectively. In the commonsense comparison on StrategyQA the authors report 77.2% and 65.9%, and on CommonsenseQA they report 78.6% and 75.2%. These comparisons change the underlying system as well as the decoding setup. The controlled comparisons with a shared backbone are the ones that more directly measure the effect of guiding the search.
Accuracy for comparable token budgets
Guiding the beam often costs more than ordinary prompting because the system both generates alternatives and receives additional evaluation prompts. The paper reports that the single-chain PAL version on GSM8K, with n = 16 rollouts per beam, costs about 3 times as much as the self-consistency baseline in the comparison it describes. A label such as “single chain” refers to what the procedure ultimately uses for its prediction. It can still have explored and scored many partial chains internally.
For the Llama-2 cost analysis, the authors reduce the rollout count to 2. They compare the guided and self-consistency approaches in the multiple-chain setting. On GSM8K the guided procedure reports 46.1% accuracy at a cost of 12.6k tokens. Self-consistency reaches 41.8% accuracy at 13.9k tokens. Both methods aggregate answers, and the guided run obtains the higher accuracy with a lower token count in this example.
Llama-2 GSM8K accuracy at comparable token budgets
The guided method reaches higher answer accuracy while using fewer tokens in this comparison.
The numbers
| System or setting | accuracy % |
|---|---|
| Self-consistency | 41.8 |
| Guided beam search (this paper) | 46.1 |
The authors also plot accuracy against cost on GSM8K for PAL and CoT prompting. They report that the guided curves compare favorably with their corresponding baselines and that the advantage is particularly apparent as the available budget rises. The point of the curves is to examine what additional tokens buy. Self-consistency spends them on more complete samples. Guided decoding can spend them on proposing and judging intermediate continuations, as well as retaining enough completed paths for a vote. The paper’s interpretation is that the second allocation gives the arithmetic task a better attainable level of performance in the budget range studied.
The cost comparison on commonsense reasoning comes out differently. There the authors report that the guided approach trails the CoT baseline. They relate this to shorter chains, where there are fewer successive opportunities for a useful evaluation to redirect a solution. With that kind of question, additional independent answers can be a better use of the budget than repeatedly checking short prefixes. This qualification gives the StrategyQA headline result its proper context. A same-backbone accuracy improvement in the Codex comparison and a weaker cost–accuracy tradeoff in the separate Llama-2 setting address different experimental questions.
What the ablations show
Both parts of the score contribute
One analysis compares the confidence assigned to baseline predictions that yield correct answers with the confidence assigned to those that yield wrong ones. The authors examine generation likelihood and correctness confidence separately. The score distributions differ more clearly on GSM8K than on StrategyQA. Correctness confidence separates the outcomes more strongly than generation likelihood in both examples, although on StrategyQA the separation between correct and incorrect predictions is weak overall.
The difference is consistent with what each score has been asked to represent. Generation likelihood is sensitive to how expected the continuation is under the prompt. Evaluation confidence is elicited with a question about the reasoning. A strong generation score can coexist with an invalid operation or inference. Giving the evaluator its own prompt provides another source of information about those decisions. The distribution plots show how informative that source is for the predictions under study. They also make clear that a higher score is an imperfect guide to a correct answer.
Changing the mixture tests whether the generator’s likelihood still matters when the evaluator appears more discriminating. For the GSM8K comparison in the calibration analysis, the paper reports 80.2% accuracy with λ = 0.5, 74.5% when only correctness confidence is used, and 77.1% when only generation confidence is used. The analysis labels the correctness-only endpoint 1 and the generation-only endpoint 0, consistent with its appendix expression. The earlier decoding equation assigns λ to generation likelihood. The numerical comparison can be read by following the stated score component at each endpoint. The mixed setting is the strongest of the reported runs in that comparison.
ℰ_λ = 𝒞^λ · 𝒫^(1 − λ)
ℰ_λ is the mixed score under the notation used in the later analysis. 𝒞 is the correctness confidence, and 𝒫 is the generation confidence. λ is the weighting parameter within [0, 1]. The caret marks an exponent, and · multiplies the powered signals. In this formulation the weight λ is attached to correctness, while the complementary weight 1 − λ is attached to generation. For λ = 0.5 the two powers are equal, as they are in the main objective at that setting.
The appendix varies the mixture in a ranking diagnostic, using baseline chains already generated at different generation temperatures. It reports area under a curve, abbreviated AUC, as a way to assess whether the mixed score distinguishes chains that recover the correct answer from chains that fail to recover it. In that experiment, changing the weight over the tested range generally leaves the ranking performance relatively stable. This is a different outcome from answer accuracy after search. Ranking existing chains tests the information in their scores. Running the beam also changes which paths survive and what later candidates can be produced.
Longer chains offer more chances to intervene
The authors group questions by the number of steps in their reasoning chains, using length as the indicator of complexity. The reported gains in absolute answer accuracy rise with chain length on both GSM8K and StrategyQA. On StrategyQA, the favorable overall comparison comes primarily from the longer-chain groups. A question with a short explanation can still be hard, but the length analysis isolates a feature that bears directly on this algorithm. A longer chain presents more successive decisions at which pruning can stop a weak continuation from taking up future search capacity.
This finding also helps connect the accuracy comparisons to the cost results. Repeated evaluation has an overhead, and its cumulative value depends on how many useful decisions it influences. A long chain supplies repeated chances to catch errors, especially when the intermediate operations are explicit. A short chain supplies fewer chances. The observed association supports the authors’ motivation for stepwise evaluation. Chain length here is an observed property of generated reasoning, so the comparison also reflects differences among the kinds of problems and explanations that fall into each group.
Diversity helps most when answers can be combined
The authors vary beam width in a Llama-2 analysis on GSM8K. They compare methods at the same width and therefore at equal cost within the corresponding comparison. At k = 10, the paper reports accuracy of 42.8% when the final beam is used for multiple-chain voting, against 35.7% for the single-chain result. The chains are already available at the end of the search. The vote changes how their answers are used without requiring a separate round of generation in that comparison.
A wider beam has several effects. It can delay a difficult decision by preserving competing prefixes. It can also carry forward similar continuations that agree because they descend from common earlier steps. As a consequence, a wider beam supplies candidates for aggregation without guaranteeing much independence among them. The benefit shown by the comparison is that aggregating those existing candidates makes better use of them on this task than returning a single chain from the same search.
The temperature experiments distinguish between the diversity of generated proposals and the diversity introduced by pruning. Raising γ changes which extensions are commonly proposed. Raising τ increases the chances of retaining a lower-ranked proposal from the pool. Increasing α keeps the pruning temperature higher for longer. These controls all influence diversity, but at different points in the procedure. A wider range of suggestions helps only when the pool includes useful alternatives. Stochastic pruning can keep those alternatives in play when a strong preference for the current top score would remove them.
When the system returns a single chain, the authors find that adding diversity through higher temperatures generally lowers accuracy. More variable retention makes it easier to follow a weaker branch and end the run there. For multi-chain voting, diverse proposals can help by expanding coverage and giving the aggregation step different paths to the answer. The experiments also find that moderate decay is favorable, with α = 0.5 used across the reported runs. The effect accords with early exploration followed by stronger selection later in a chain. The Codex study does not explore generation temperatures above 1.0 because that was the upper limit of the API used for the experiments.
Which judgments are useful in practice
The case studies show how the score can expose a specific failure. On an arithmetic problem, confidence can fall at an operation that uses earlier quantities in an invalid way. The next line may be more fluent or syntactically simpler, while the damage to the solution happened at the preceding decision. Evaluating the new line with the question and earlier assignments lets the judge respond to those accumulated dependencies. Generation likelihood can remain high because the resulting program still resembles a familiar solution pattern.
The same studies give examples of mistakes in both directions. A program that returns the correct result can receive a low correctness score because of an imperfect variable name. In a commonsense example, a logically plausible chain receives high confidence and reaches the wrong answer. A jump between unsupported premises and a conclusion can produce a low score, as can tentative language in a chain. The presence of these cases matters for interpretation. The evaluator responds to inferential support and to features of presentation, with neither response guaranteed to settle the quality of the final answer.
The score-shift analysis compares baseline and guided predictions on the same questions. The authors examine cases where both answer correctly, cases where both are wrong, cases improved by guidance, and cases made worse. Most predictions retain their correctness status, so the switched cases show more directly what changes when guidance affects the outcome. Corrected predictions usually come with higher evaluation confidence, while the generation confidence remains similar to the baseline’s. The shift is more pronounced for PAL than for CoT. That pattern supports the explanation that explicit program structure makes the reasoning easier to assess.
The comparison of low- and high-scoring predictions points in the same direction. On GSM8K, answer accuracy separates more clearly across those groups. On StrategyQA, even many low-scoring solutions yield the correct answer. This makes the score more useful as a relative search criterion on structured problems than as a threshold for guaranteed correctness in commonsense reasoning. The contrast between those tasks also cautions against attributing every gain to accurate error localization. Better outcomes can come from favoring useful alternatives even when the score gives noisy judgments about individual steps.
A separate check with GPT-4
The authors also ask GPT-4 to evaluate particular reasoning chains. The interface available in their experiments did not return the token likelihood required by the original scoring rule. They therefore request binary judgments repeatedly and average them for their qualitative comparison with Codex.
S = (S₁ + S₂ + S₃) / 3, Sᵢ ∈ [0, 1]
S is the average step score from the GPT-4 judgments. S₁, S₂, and S₃ are the individual responses from the repeated evaluations, and Sᵢ denotes one of those responses, indexed by i. The plus signs add the judgments, and division by 3 takes their mean. The interval bounds an individual value between 0 and 1, with the actual judgments elicited as binary responses.
In the arithmetic example, GPT-4 more sharply identifies the assignment associated with the consequential wrong operation and gives a more favorable assessment of a later addition. Its explanations can discuss where a smaller mistake remains even in a chain that gives the intended final answer. The repeated judgments also vary for a difficult step, which shows that a detailed rationale can coexist with uncertainty about where to assign the error.
In the commonsense example, GPT-4 questions assumptions that Codex tends to score favorably. The issue is the gap between the evidence in the question and a confident statement in the chain. The authors find the explanations helpful in describing that gap. The study is a comparison of judgments on examples, with a discrete scoring procedure introduced for this purpose. It supplies qualitative evidence about the evaluation role while leaving the original search results attached to the systems on which the authors actually run it.
Limitations
Limits the authors identify
The original procedure requires the probability of a particular answer token from the evaluation prompt and uses generation likelihood in the search objective. The authors identify access to logits, the scores from which token probabilities are obtained, as a practical restriction. They point to the GPT-4 interface available for their study as an example of an interface without the required token likelihoods. Its binary judgments allow the appendix’s qualitative analysis. The paper leaves the effect of substituting those judgments into the full beam search open. GPT-4 Technical Report
Computational overhead is the other explicit limitation. Each rollout adds a candidate to generate, and judging the candidates requires additional input. Pruning controls how many prefixes continue but comes after their extensions have been proposed and assessed. Lowering the rollout count saves work at that stage and can also reduce the variety of proposals. The authors therefore describe longer chains as the better setting for the method when cost matters, consistent with their accuracy-by-length analysis and the weaker commonsense cost comparison.
The generator also limits what the evaluator can improve. The paper suggests that when a system strongly favors a narrow set of continuations, increasing the generation temperature can still yield a pool with little useful variation. In that case the evaluator has limited room to redirect the search. The authors raise this point in their discussion of strong baselines and small gains on tasks such as Object Counting. Search effectiveness depends on both the quality of the judging signal and the availability of alternatives that the signal can recognize.
The discussion takes the results on long chains as motivation to explore external knowledge, external tools, and tasks involving more complex sources of information or multimodal inputs. The reported evaluations concern the arithmetic, symbolic, and commonsense tasks studied. The proposed applications extend beyond those experimental settings.
Limits of what the evidence establishes
Answer accuracy measures a result obtained from a chain. The paper’s examples illustrate how that can come apart from the soundness of every step. An answer can match the benchmark despite an unjustified intermediate assertion, and a valid program can receive a weak evaluation because of its naming choices. The distribution analyses and the AUC diagnostic help explain how the scores relate to final correctness. A probability-calibration claim for individual steps would require evidence comparing those probabilities with step-level correctness across many judgments. The case studies and answer-level analyses establish a narrower form of usefulness for search.
The apparent advantage of structured reasoning deserves a similarly scoped interpretation. GSM8K and StrategyQA differ in subject matter, required knowledge, and the form of the solutions being compared. A Python assignment often makes its inputs and operation explicit. A prose inference can depend on context or unstated world knowledge. The appendix also includes score shifts for PAL and CoT on GSM8K, giving another perspective on the role of format. Taken together, the results support a difference in how readily the evaluated outputs can be judged. They leave open how much of that difference is due to the representation, the domain, or the distribution of mistakes.
The authors construct the evaluator demonstrations manually from baseline outputs on corresponding training data. This procedure is lighter than fitting a separate verifier, but it still requires examples suited to the task and its reasoning format. The paper’s demonstrated gains come from setups in which that preparation has been done. The experimental design leaves open how well one judging prompt would transfer across task families or how the score responds to changes in the demonstrations.
The token-budget analysis compares the amount of text the different procedures generate and the extra evaluation input used by the guided approach. It supports a comparison under that accounting. Runtime can also depend on how requests are grouped and on the sequence of dependent generation and evaluation calls. A procedure that has to wait for a judgment before extending a branch can have a different time profile from one that samples complete answers. The numerical results concern token counts, leaving runtime and serving cost as separate questions.
The mathematical approximation also has a boundary. A finite sum over candidates can be normalized as described in the algorithm. If the full set truly has infinitely many members and all its weights have the stated positive lower bound, the full normalizing sum diverges. The appendix’s pointwise estimate is interpretable for a finite full space, or under assumptions that make the reference distribution well-defined. Even on a finite space, a bound for a prefix that has entered the pool says little about the chances that the generator proposes the most useful prefix. The experiment examines whether useful guidance survives that practical restriction.
Finally, the beam can carry related chains into the vote. Those chains can share a mistaken premise as readily as a valid one. A strong final vote may reflect a common ancestry within the search rather than agreement among substantially different solutions. The authors recognize the reduction in diversity that comes with voting inside a beam. Their ablations show that voting helped under the tested settings, while the dependence among the votes helps explain why proposal diversity and pruning temperature remain consequential design choices.
What came after
Search and additional computation at inference time
Later papers that cite this work make different decisions about where to invest computation and what signal should guide it. Outcome-supervised Value Models for Planning in Mathematical Reasoning takes up evaluation in mathematical planning through outcome supervision. The connection is the use of a value signal to guide the selection of reasoning paths. In the beam-search paper, the immediate question asked of the evaluator is whether the proposed step is correct in context. The value approach named by OVM frames supervision through outcomes. That changes the information a score is meant to convey, which is particularly relevant when a locally plausible step leads into an unproductive branch. OVM
Monte Carlo Tree Search Boosts Reasoning via Iterative Preference Learning connects reasoning search to iterative preference learning. It follows the same broad question of how to obtain useful reasoning paths from a space too large to explore in full. Its named search procedure and source of preferences emphasize different choices within that question. The stochastic beam in the earlier paper draws and prunes a pool at the current depth. The later work brings tree search together with learning preferences iteratively, putting the acquisition of a search signal alongside the use of that signal. Monte Carlo Tree Search Boosts Reasoning
From Decoding to Meta-Generation addresses inference-time algorithms as a broader subject. Self-evaluation guided beam search fits that scope because a procedure outside the ordinary next-token choice determines which work to pursue, how to assess it, and how to obtain a final answer. The broader framing makes it possible to compare such procedures by the decisions they add at inference. In the original experiment those decisions concern proposing steps, pruning candidate prefixes, and aggregating answers. From Decoding to Meta-Generation
Inference Scaling Laws investigates compute-optimal inference for problem solving. The link to the beam-search experiments is the question of what a fixed computation budget should buy. The original comparisons use token counts to weigh extra independent solutions against evaluation and directed search. The later work studies the wider empirical problem of allocating inference computation. The arithmetic and commonsense comparisons in the earlier paper show why that question matters. More checking can be a favorable allocation in one setting while more sampling is favorable in another. Inference Scaling Laws
Critique, correction, and the reliability of judgments
Self-RAG brings reflection to retrieval, generation, and critique. Its subject links the act of judging an output with decisions about the information used to produce it. The beam-search paper uses the problem and the generated prefix as the context for a step judgment. Self-RAG puts retrieval within the scope of reflection, extending the question of what a system can assess beyond the current reasoning continuation. The shared theme is the use of an internal judgment to influence what happens during generation. Self-RAG
LLMs cannot find reasoning errors, but can correct them given the error location focuses on the difference between locating a mistake and doing useful work once its position is supplied. This distinction bears directly on the claims one can make for a stepwise judge. The beam-search experiments show useful guidance and offer examples where a low score coincides with a logical fault. They also show cases where confidence responds to presentation or misses a plausible error. The later work makes error location itself part of the question, alongside the ability to correct the reasoning. LLMs cannot find reasoning errors
When Can LLMs Actually Correct Their Own Mistakes? examines self-correction through a critical survey. The stepwise search gives that broader question a concrete case. A branch can be removed and a different continuation explored without producing a corrected version of the flawed branch. A complete solution can also reach the correct answer by voting even when some of its competitors were poorly evaluated. The survey’s concern with the conditions of successful correction gives a reason to distinguish these mechanisms when interpreting an accuracy gain from internal feedback. When Can LLMs Actually Correct Their Own Mistakes?
LLMs-as-Judges surveys automated evaluation by the same class of systems used to generate responses. The beam-search paper supplies a specific decision for such a judge. Its score helps allocate search to unfinished candidates before their answers can be known. This places a particular demand on evaluation reliability. A mistaken negative judgment can remove a branch from consideration, while a mistaken positive judgment can direct generation towards a poor premise. The broader survey treats judging as a subject in its own right, and the search setting gives those judgments a measurable downstream consequence. LLMs-as-Judges
Fields, topics and concepts
Shelves 3The field of science this work belongs to (OpenAlex fields).Computer Science · 19,503 worksArtificial Intelligence · 18,805 worksComputer Networks and Communications · 115 works
Topics 2Research subjects and languages the work is about.Reasoning · 1,948 worksEvaluation & benchmarks · 1,394 works
Cite
Cite as Yuxi Xie, Kenji Kawaguchi, Yiran Zhao, Xu Zhao, Min-Yen Kan, Junxian He and Qizhe Xie. 2023. Self-Evaluation Guided Beam Search for Reasoning. arXiv:2305.00633.
@misc{xie2023self,
title = {{Self-Evaluation Guided Beam Search for Reasoning}},
author = {Yuxi Xie, Kenji Kawaguchi, Yiran Zhao, Xu Zhao, Min-Yen Kan, Junxian He and Qizhe Xie},
year = {2023},
doi = {10.48550/arxiv.2305.00633},
eprint = {2305.00633},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.2305.00633}
}References
- David H. Ackley, Geoffrey E. Hinton, and Terrence J. Sejnowski. 1985. A learning algorithm for boltzmann machines (https://doi.org/https://doi.org/10.1016/S0364-0213(85)80012-4). Cognitive Science, 9(1):147–169. OpenAlex ↗ · Scholar ↗
- Tom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, Sandhini Agarwal, Ariel Herbert-Voss, Gretchen Krueger, Tom Henighan, Rewon Child, Aditya Ramesh, Daniel M. Ziegler, Jeffrey Wu, Clemens Winter, Christopher Hesse, Mark Chen, Eric Sigler, Mateusz Litwin, Scott Gray, Benjamin Chess, Jack Clark, Christopher Berner, Sam McCandlish, Alec Radford, Ilya Sutskever, and Dario Amodei. 2020. Language models are few-shot learners (https://proceedings.neurips.cc/paper/2020/hash/1457c0d6bfcb4967418bfb8ac142f64a-Abstract.html). In Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems 2020, NeurIPS 2020, December 6-12, 2020, virtual. our card
- Massimo Caccia, Lucas Caccia, William Fedus, Hugo Larochelle, Joelle Pineau, and Laurent Charlin. 2020. Language gans falling short (https://openreview.net/forum?id=BJgza6VtPB). In 8th International Conference on Learning Representations, ICLR 2020, Addis Ababa, Ethiopia, April 26-30, 2020. OpenReview.net. OpenAlex ↗ · Scholar ↗
- Mark Chen, Jerry Tworek, Heewoo Jun, Qiming Yuan, Henrique Ponde de Oliveira Pinto, Jared Kaplan, Harri Edwards, Yuri Burda, Nicholas Joseph, Greg Brockman, Alex Ray, Raul Puri, Gretchen Krueger, Michael Petrov, Heidy Khlaaf, Girish Sastry, Pamela Mishkin, Brooke Chan, Scott Gray, Nick Ryder, Mikhail Pavlov, Alethea Power, Lukasz Kaiser, Mohammad Bavarian, Clemens Winter, Philippe Tillet, Felipe Petroski Such, Dave Cummings, Matthias Plappert, Fotios Chantzis, Elizabeth Barnes, Ariel Herbert-Voss, William Hebgen Guss, Alex Nichol, Alex Paino, Nikolas Tezak, Jie Tang, Igor Babuschkin, Suchir Balaji, Shantanu Jain, William Saunders, Christopher Hesse, Andrew N. Carr, Jan Leike, Josh Achiam, Vedant Misra, Evan Morikawa, Alec Radford, Matthew Knight, Miles Brundage, Mira Murati, Katie Mayer, Peter Welinder, Bob McGrew, Dario Amodei, Sam McCandlish, Ilya Sutskever, and Wojciech Zaremba. 2021. Evaluating large language models trained on code (http://arxiv.org/abs/2107.03374). our card
- Wenhu Chen, Xueguang Ma, Xinyi Wang, and William W. Cohen. 2022. Program of thoughts prompting: Disentangling computation from reasoning for numerical reasoning tasks (https://doi.org/10.48550/arXiv.2211.12588). CoRR, abs/2211.12588. OpenAlex ↗ · Scholar ↗
- Aakanksha Chowdhery, Sharan Narang, Jacob Devlin, Maarten Bosma, Gaurav Mishra, Adam Roberts, Paul Barham, Hyung Won Chung, Charles Sutton, Sebastian Gehrmann, Parker Schuh, Kensen Shi, Sasha Tsvyashchenko, Joshua Maynez, Abhishek Rao, Parker Barnes, Yi Tay, Noam Shazeer, Vinodkumar Prabhakaran, Emily Reif, Nan Du, Ben Hutchinson, Reiner Pope, James Bradbury, Jacob Austin, Michael Isard, Guy Gur-Ari, Pengcheng Yin, Toju Duke, Anselm Levskaya, Sanjay Ghemawat, Sunipa Dev, Henryk Michalewski, Xavier Garcia, Vedant Misra, Kevin Robinson, Liam Fedus, Denny Zhou, Daphne Ippolito, David Luan, Hyeontaek Lim, Barret Zoph, Alexander Spiridonov, Ryan Sepassi, David Dohan, Shivani Agrawal, Mark Omernick, Andrew M. Dai, Thanumalayan Sankaranarayana Pillai, Marie Pellat, Aitor Lewkowycz, Erica Moreira, Rewon Child, Oleksandr Polozov, Katherine Lee, Zongwei Zhou, Xuezhi Wang, Brennan Saeta, Mark Diaz, Orhan Firat, Michele Catasta, Jason Wei, Kathy Meier-Hellstern, Douglas Eck, Jeff Dean, Slav Petrov, and Noah Fiedel. 2022. Palm: Scaling language modeling with pathways (https://doi.org/10.48550/arXiv.2204.02311). CoRR, abs/2204.02311. our card
- Karl Cobbe, Vineet Kosaraju, Mohammad Bavarian, Mark Chen, Heewoo Jun, Lukasz Kaiser, Matthias Plappert, Jerry Tworek, Jacob Hilton, Reiichiro Nakano, Christopher Hesse, and John Schulman. 2021. Training verifiers to solve math word problems (http://arxiv.org/abs/2110.14168). CoRR, abs/2110.14168. our card
- Angela Fan, Mike Lewis, and Yann Dauphin. 2018. Hierarchical neural story generation (https://doi.org/10.18653/v1/P18-1082). In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 889–898, Melbourne, Australia. Association for Computational Linguistics. our card
- Luyu Gao, Aman Madaan, Shuyan Zhou, Uri Alon, Pengfei Liu, Yiming Yang, Jamie Callan, and Graham Neubig. 2023. PAL: program-aided language models (https://proceedings.mlr.press/v202/gao23f.html). In International Conference on Machine Learning, ICML 2023, 23-29 July 2023, Honolulu, Hawaii, USA, volume 202 of Proceedings of Machine Learning Research, pages 10764–10799. PMLR. OpenAlex ↗ · Scholar ↗
- Mor Geva, Daniel Khashabi, Elad Segal, Tushar Khot, Dan Roth, and Jonathan Berant. 2021. Did aristotle use a laptop? A question answering benchmark with implicit reasoning strategies (https://doi.org/10.1162/tacl\_a\_00370). Trans. Assoc. Comput. Linguistics, 9:346–361. our card
- Alex Graves. 2012. Sequence transduction with recurrent neural networks (http://arxiv.org/abs/1211.3711). CoRR, abs/1211.3711. our card
- Chuan Guo, Geoff Pleiss, Yu Sun, and Kilian Q. Weinberger. 2017. On calibration of modern neural networks (http://proceedings.mlr.press/v70/guo17a.html). In Proceedings of the 34th International Conference on Machine Learning, ICML 2017, Sydney, NSW, Australia, 6-11 August 2017, volume 70 of Proceedings of Machine Learning Research, pages 1321–1330. PMLR. OpenAlex ↗ · Scholar ↗
- Jiaxian Guo, Sidi Lu, Han Cai, Weinan Zhang, Yong Yu, and Jun Wang. 2018. Long text generation via adversarial training with leaked information (https://doi.org/10.1609/aaai.v32i1.11957). Proceedings of the AAAI Conference on Artificial Intelligence, 32(1). OpenAlex ↗ · Scholar ↗
- Ari Holtzman, Jan Buys, Li Du, Maxwell Forbes, and Yejin Choi. 2020. The curious case of neural text degeneration (https://openreview.net/forum?id=rygGQyrFvH). In 8th International Conference on Learning Representations, ICLR 2020, Addis Ababa, Ethiopia, April 26-30, 2020. OpenReview.net. our card
- Jiaxin Huang, Shixiang Shane Gu, Le Hou, Yuexin Wu, Xuezhi Wang, Hongkun Yu, and Jiawei Han. 2022. Large language models can self-improve (http://arxiv.org/abs/2210.11610). our card
- Zhengbao Jiang, Jun Araki, Haibo Ding, and Graham Neubig. 2021. How can we know When language models know? on the calibration of language models for question answering (https://doi.org/10.1162/tacl\_a\_00407). Trans. Assoc. Comput. Linguistics, 9:962–977. our card
- Dan Jurafsky and James H. Martin. 2009. Speech and language processing : an introduction to natural language processing, computational linguistics, and speech recognition (http://www.amazon.com/Speech-Language-Processing-2nd-Edition/dp/0131873210/ref=pd\_bxgy\_b\_img\_y). Pearson Prentice Hall, Upper Saddle River, N.J. OpenAlex ↗ · Scholar ↗
- Saurav Kadavath, Tom Conerly, Amanda Askell, Tom Henighan, Dawn Drain, Ethan Perez, Nicholas Schiefer, Zac Hatfield-Dodds, Nova DasSarma, Eli Tran-Johnson, Scott Johnston, Sheer El Showk, Andy Jones, Nelson Elhage, Tristan Hume, Anna Chen, Yuntao Bai, Sam Bowman, Stanislav Fort, Deep Ganguli, Danny Hernandez, Josh Jacobson, Jackson Kernion, Shauna Kravec, Liane Lovitt, Kamal Ndousse, Catherine Olsson, Sam Ringer, Dario Amodei, Tom Brown, Jack Clark, Nicholas Joseph, Ben Mann, Sam McCandlish, Chris Olah, and Jared Kaplan. 2022. Language models (mostly) know what they know (https://doi.org/10.48550/arXiv.2207.05221). CoRR, abs/2207.05221. our card
- Takeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo, and Yusuke Iwasawa. 2022. Large language models are zero-shot reasoners (http://papers.nips.cc/paper\_files/paper/2022/hash/8bb0d291acd4acf06ef112099c16f326-Abstract-Conference.html). In NeurIPS. our card
- Wouter Kool, Herke van Hoof, and Max Welling. 2019. Stochastic beams and where to find them: The gumbel-top-k trick for sampling sequences without replacement (http://proceedings.mlr.press/v97/kool19a.html). In Proceedings of the 36th International Conference on Machine Learning, ICML 2019, 9-15 June 2019, Long Beach, California, USA, volume 97 of Proceedings of Machine Learning Research, pages 3499–3508. PMLR. OpenAlex ↗ · Scholar ↗
- Lorenz Kuhn, Yarin Gal, and Sebastian Farquhar. 2023. Semantic uncertainty: Linguistic invariances for uncertainty estimation in natural language generation (https://openreview.net/pdf?id=VD-AYtP0dve). In The Eleventh International Conference on Learning Representations, ICLR 2023, Kigali, Rwanda, May 1-5, 2023. OpenReview.net. our card
- Aitor Lewkowycz, Anders Andreassen, David Dohan, Ethan Dyer, Henryk Michalewski, Vinay V. Ramasesh, Ambrose Slone, Cem Anil, Imanol Schlag, Theo Gutman-Solo, Yuhuai Wu, Behnam Neyshabur, Guy Gur-Ari, and Vedant Misra. 2022. Solving quantitative reasoning problems with language models (http://papers.nips.cc/paper\_files/paper/2022/hash/18abbeef8cfe9203fdf9053c9c4fe191-Abstract-Conference.html). In NeurIPS. our card
- Yifei Li, Zeqi Lin, Shizhuo Zhang, Qiang Fu, Bei Chen, Jian-Guang Lou, and Weizhu Chen. 2022. On the advance of making language models better reasoners (http://arxiv.org/abs/2206.02336). OpenAlex ↗ · Scholar ↗
- Wang Ling, Dani Yogatama, Chris Dyer, and Phil Blunsom. 2017. Program induction by rationale generation: Learning to solve and explain algebraic word problems (https://doi.org/10.18653/v1/P17-1015). In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics, ACL 2017, Vancouver, Canada, July 30 - August 4, Volume 1: Long Papers, pages 158–167. Association for Computational Linguistics. our card
- Pan Lu, Liang Qiu, Kai-Wei Chang, Ying Nian Wu, Song-Chun Zhu, Tanmay Rajpurohit, Peter Clark, and Ashwin Kalyan. 2023. Dynamic prompt learning via policy gradient for semi-structured mathematical reasoning (https://openreview.net/pdf?id=DHyHRBwJUTN). In The Eleventh International Conference on Learning Representations, ICLR 2023, Kigali, Rwanda, May 1-5, 2023. OpenReview.net. our card
- Aman Madaan, Niket Tandon, Prakhar Gupta, Skyler Hallinan, Luyu Gao, Sarah Wiegreffe, Uri Alon, Nouha Dziri, Shrimai Prabhumoye, Yiming Yang, Sean Welleck, Bodhisattwa Prasad Majumder, Shashank Gupta, Amir Yazdanbakhsh, and Peter Clark. 2023. Self-refine: Iterative refinement with self-feedback (https://doi.org/10.48550/arXiv.2303.17651). CoRR, abs/2303.17651. our card
- Clara Meister, Afra Amini, Tim Vieira, and Ryan Cotterell. 2021. Conditional poisson stochastic beam search (http://arxiv.org/abs/2109.11034). CoRR, abs/2109.11034. OpenAlex ↗ · Scholar ↗
- Clara Meister, Ryan Cotterell, and Tim Vieira. 2020. Best-first beam search (https://doi.org/10.1162/tacl\_a\_00346). Trans. Assoc. Comput. Linguistics, 8:795–809. our card
- Shen-Yun Miao, Chao-Chun Liang, and Keh-Yih Su. 2020. A diverse corpus for evaluating and developing english math word problem solvers (https://doi.org/10.18653/v1/2020.acl-main.92). In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, ACL 2020, Online, July 5-10, 2020, pages 975–984. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Maxwell I. Nye, Anders Johan Andreassen, Guy Gur-Ari, Henryk Michalewski, Jacob Austin, David Bieber, David Dohan, Aitor Lewkowycz, Maarten Bosma, David Luan, Charles Sutton, and Augustus Odena. 2021. Show your work: Scratchpads for intermediate computation with language models (http://arxiv.org/abs/2112.00114). CoRR, abs/2112.00114. our card
- OpenAI. 2023. GPT-4 technical report (https://doi.org/10.48550/arXiv.2303.08774). CoRR, abs/2303.08774. our card
- Arkil Patel, Satwik Bhattamishra, and Navin Goyal. 2021. Are NLP models really able to solve simple math word problems? (https://doi.org/10.18653/v1/2021.naacl-main.168) In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, NAACL-HLT 2021, Online, June 6-11, 2021, pages 2080–2094. Association for Computational Linguistics. our card
- Debjit Paul, Mete Ismayilzada, Maxime Peyrard, Beatriz Borges, Antoine Bosselut, Robert West, and Boi Faltings. 2023. REFINER: reasoning feedback on intermediate representations (https://doi.org/10.48550/arXiv.2304.01904). CoRR, abs/2304.01904. our card
- Jack W. Rae, Sebastian Borgeaud, Trevor Cai, Katie Millican, Jordan Hoffmann, H. Francis Song, John Aslanides, Sarah Henderson, Roman Ring, Susannah Young, Eliza Rutherford, Tom Hennigan, Jacob Menick, Albin Cassirer, Richard Powell, George van den Driessche, Lisa Anne Hendricks, Maribeth Rauh, Po-Sen Huang, Amelia Glaese, Johannes Welbl, Sumanth Dathathri, Saffron Huang, Jonathan Uesato, John Mellor, Irina Higgins, Antonia Creswell, Nat McAleese, Amy Wu, Erich Elsen, Siddhant M. Jayakumar, Elena Buchatskaya, David Budden, Esme Sutherland, Karen Simonyan, Michela Paganini, Laurent Sifre, Lena Martens, Xiang Lorraine Li, Adhiguna Kuncoro, Aida Nematzadeh, Elena Gribovskaya, Domenic Donato, Angeliki Lazaridou, Arthur Mensch, Jean-Baptiste Lespiau, Maria Tsimpoukelli, Nikolai Grigorev, Doug Fritz, Thibault Sottiaux, Mantas Pajarskas, Toby Pohlen, Zhitao Gong, Daniel Toyama, Cyprien de Masson d'Autume, Yujia Li, Tayfun Terzi, Vladimir Mikulik, Igor Babuschkin, Aidan Clark, Diego de Las Casas, Aurelia Guy, Chris Jones, James Bradbury, Matthew J. Johnson, Blake A. Hechtman, Laura Weidinger, Iason Gabriel, William Isaac, Edward Lockhart, Simon Osindero, Laura Rimell, Chris Dyer, Oriol Vinyals, Kareem Ayoub, Jeff Stanway, Lorrayne Bennett, Demis Hassabis, Koray Kavukcuoglu, and Geoffrey Irving. 2021. Scaling language models: Methods, analysis & insights from training gopher (http://arxiv.org/abs/2112.11446). CoRR, abs/2112.11446. our card
- Noah Shinn, Beck Labash, and Ashwin Gopinath. 2023. Reflexion: an autonomous agent with dynamic memory and self-reflection (https://doi.org/10.48550/arXiv.2303.11366). CoRR, abs/2303.11366. OpenAlex ↗ · Scholar ↗
- Aarohi Srivastava, Abhinav Rastogi, Abhishek Rao, Abu Awal Md Shoeb, Abubakar Abid, Adam Fisch, Adam R. Brown, Adam Santoro, Aditya Gupta, Adrià Garriga-Alonso, Agnieszka Kluska, Aitor Lewkowycz, Akshat Agarwal, Alethea Power, Alex Ray, Alex Warstadt, Alexander W. Kocurek, Ali Safaya, Ali Tazarv, Alice Xiang, Alicia Parrish, Allen Nie, Aman Hussain, Amanda Askell, Amanda Dsouza, Ameet Rahane, Anantharaman S. Iyer, Anders Andreassen, Andrea Santilli, Andreas Stuhlmüller, Andrew M. Dai, Andrew La, Andrew K. Lampinen, Andy Zou, Angela Jiang, Angelica Chen, Anh Vuong, Animesh Gupta, Anna Gottardi, Antonio Norelli, Anu Venkatesh, Arash Gholamidavoodi, Arfa Tabassum, Arul Menezes, Arun Kirubarajan, Asher Mullokandov, Ashish Sabharwal, Austin Herrick, Avia Efrat, Aykut Erdem, Ayla Karakas, and et al. 2022. Beyond the imitation game: Quantifying and extrapolating the capabilities of language models (https://doi.org/10.48550/arXiv.2206.04615). CoRR, abs/2206.04615. our card
- Felix Stahlberg and Bill Byrne. 2019. On NMT search errors and model errors: Cat got your tongue? (https://doi.org/10.18653/v1/D19-1331) In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 3356–3362, Hong Kong, China. Association for Computational Linguistics. our card
- Alon Talmor, Jonathan Herzig, Nicholas Lourie, and Jonathan Berant. 2019. Commonsenseqa: A question answering challenge targeting commonsense knowledge (https://doi.org/10.18653/v1/n19-1421). In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, NAACL-HLT 2019, Minneapolis, MN, USA, June 2-7, 2019, Volume 1 (Long and Short Papers), pages 4149–4158. Association for Computational Linguistics. our card
- Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timothée Lacroix, Baptiste Rozière, Naman Goyal, Eric Hambro, Faisal Azhar, Aurélien Rodriguez, Armand Joulin, Edouard Grave, and Guillaume Lample. 2023a. Llama: Open and efficient foundation language models (https://doi.org/10.48550/arXiv.2302.13971). CoRR, abs/2302.13971. our card
- Hugo Touvron, Louis Martin, Kevin Stone, Peter Albert, Amjad Almahairi, Yasmine Babaei, Nikolay Bashlykov, Soumya Batra, Prajjwal Bhargava, Shruti Bhosale, Dan Bikel, Lukas Blecher, Cristian Canton-Ferrer, Moya Chen, Guillem Cucurull, David Esiobu, Jude Fernandes, Jeremy Fu, Wenyin Fu, Brian Fuller, Cynthia Gao, Vedanuj Goswami, Naman Goyal, Anthony Hartshorn, Saghar Hosseini, Rui Hou, Hakan Inan, Marcin Kardas, Viktor Kerkez, Madian Khabsa, Isabel Kloumann, Artem Korenev, Punit Singh Koura, Marie-Anne Lachaux, Thibaut Lavril, Jenya Lee, Diana Liskovich, Yinghai Lu, Yuning Mao, Xavier Martinet, Todor Mihaylov, Pushkar Mishra, Igor Molybog, Yixin Nie, Andrew Poulton, Jeremy Reizenstein, Rashi Rungta, Kalyan Saladi, Alan Schelten, Ruan Silva, Eric Michael Smith, Ranjan Subramanian, Xiaoqing Ellen Tan, Binh Tang, Ross Taylor, Adina Williams, Jian Xiang Kuan, Puxin Xu, Zheng Yan, Iliyan Zarov, Yuchen Zhang, Angela Fan, Melanie Kambadur, Sharan Narang, Aurélien Rodriguez, Robert Stojnic, Sergey Edunov, and Thomas Scialom. 2023b. Llama 2: Open foundation and fine-tuned chat models (https://doi.org/10.48550/arXiv.2307.09288). CoRR, abs/2307.09288. our card
- Jonathan Uesato, Nate Kushman, Ramana Kumar, Francis Song, Noah Siegel, Lisa Wang, Antonia Creswell, Geoffrey Irving, and Irina Higgins. 2022. Solving math word problems with process- and outcome-based feedback (http://arxiv.org/abs/2211.14275). our card
- Boshi Wang, Xiang Deng, and Huan Sun. 2022. Shepherd pre-trained language models to develop a train of thought: An iterative prompting approach (https://doi.org/10.48550/arXiv.2203.08383). CoRR, abs/2203.08383. OpenAlex ↗ · Scholar ↗
- Xuezhi Wang, Jason Wei, Dale Schuurmans, Quoc V. Le, Ed H. Chi, Sharan Narang, Aakanksha Chowdhery, and Denny Zhou. 2023. Self-consistency improves chain of thought reasoning in language models (https://openreview.net/pdf?id=1PL1NIMMrw). In The Eleventh International Conference on Learning Representations, ICLR 2023, Kigali, Rwanda, May 1-5, 2023. OpenReview.net. our card
- Jason Wei, Yi Tay, Rishi Bommasani, Colin Raffel, Barret Zoph, Sebastian Borgeaud, Dani Yogatama, Maarten Bosma, Denny Zhou, Donald Metzler, Ed H. Chi, Tatsunori Hashimoto, Oriol Vinyals, Percy Liang, Jeff Dean, and William Fedus. 2022a. Emergent abilities of large language models (https://openreview.net/forum?id=yzkSU5zdwD). Trans. Mach. Learn. Res., 2022. our card
- Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Brian Ichter, Fei Xia, Ed H. Chi, Quoc V. Le, and Denny Zhou. 2022b. Chain-of-thought prompting elicits reasoning in large language models (http://papers.nips.cc/paper\_files/paper/2022/hash/9d5609613524ecf4f15af0f7b31abca4-Abstract-Conference.html). In NeurIPS. our card
- Sarah Wiegreffe and Ana Marasovic. 2021. Teach me to explain: A review of datasets for explainable natural language processing (https://datasets-benchmarks-proceedings.neurips.cc/paper/2021/hash/698d51a19d8a121ce581499d7b701668-Abstract-round1.html). In Proceedings of the Neural Information Processing Systems Track on Datasets and Benchmarks 1, NeurIPS Datasets and Benchmarks 2021, December 2021, virtual. OpenAlex ↗ · Scholar ↗
- Sarah Wiegreffe, Ana Marasovic, and Noah A. Smith. 2021. Measuring association between labels and free-text rationales (https://doi.org/10.18653/v1/2021.emnlp-main.804). In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, EMNLP 2021, Virtual Event / Punta Cana, Dominican Republic, 7-11 November, 2021, pages 10266–10284. Association for Computational Linguistics. our card
- Tongshuang Wu, Michael Terry, and Carrie Jun Cai. 2022. Ai chains: Transparent and controllable human-ai interaction by chaining large language model prompts (https://doi.org/10.1145/3491102.3517582). In Proceedings of the 2022 CHI Conference on Human Factors in Computing Systems, CHI '22, New York, NY, USA. Association for Computing Machinery. OpenAlex ↗ · Scholar ↗
- Yonghui Wu, Mike Schuster, Zhifeng Chen, Quoc V. Le, Mohammad Norouzi, Wolfgang Macherey, Maxim Krikun, Yuan Cao, Qin Gao, Klaus Macherey, Jeff Klingner, Apurva Shah, Melvin Johnson, Xiaobing Liu, Lukasz Kaiser, Stephan Gouws, Yoshikiyo Kato, Taku Kudo, Hideto Kazawa, Keith Stevens, George Kurian, Nishant Patil, Wei Wang, Cliff Young, Jason Smith, Jason Riesa, Alex Rudnick, Oriol Vinyals, Greg Corrado, Macduff Hughes, and Jeffrey Dean. 2016. Google's neural machine translation system: Bridging the gap between human and machine translation (http://arxiv.org/abs/1609.08144). CoRR, abs/1609.08144. OpenAlex ↗ · Scholar ↗
- Jingfeng Yang, Haoming Jiang, Qingyu Yin, Danqing Zhang, Bing Yin, and Diyi Yang. 2022. SEQZERO: few-shot compositional semantic parsing with sequential prompts and zero-shot models (https://doi.org/10.18653/v1/2022.findings-naacl.5). In Findings of the Association for Computational Linguistics: NAACL 2022, Seattle, WA, United States, July 10-15, 2022, pages 49–60. Association for Computational Linguistics. our card
- Shunyu Yao, Dian Yu, Jeffrey Zhao, Izhak Shafran, Thomas L. Griffiths, Yuan Cao, and Karthik Narasimhan. 2023. Tree of thoughts: Deliberate problem solving with large language models (https://doi.org/10.48550/arXiv.2305.10601). CoRR, abs/2305.10601. OpenAlex ↗ · Scholar ↗
- Tianyi Zhang, Tao Yu, Tatsunori Hashimoto, Mike Lewis, Wen-Tau Yih, Daniel Fried, and Sida Wang. 2023. Coder reviewer reranking for code generation (https://proceedings.mlr.press/v202/zhang23av.html). In International Conference on Machine Learning, ICML 2023, 23-29 July 2023, Honolulu, Hawaii, USA, volume 202 of Proceedings of Machine Learning Research, pages 41832–41846. PMLR. our card
- Denny Zhou, Nathanael Schärli, Le Hou, Jason Wei, Nathan Scales, Xuezhi Wang, Dale Schuurmans, Claire Cui, Olivier Bousquet, Quoc V. Le, and Ed H. Chi. 2023. Least-to-most prompting enables complex reasoning in large language models (https://openreview.net/pdf?id=WZH7099tgfM). In The Eleventh International Conference on Learning Representations, ICLR 2023, Kigali, Rwanda, May 1-5, 2023. OpenReview.net. our card
- Wangchunshu Zhou, Jinyi Hu, Hanlin Zhang, Xiaodan Liang, Maosong Sun, Chenyan Xiong, and Jian Tang. 2020. Towards interpretable natural language understanding with explanations as latent variables (https://proceedings.neurips.cc/paper/2020/hash/4be2c8f27b8a420492f2d44463933eb6-Abstract.html). In Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems 2020, NeurIPS 2020, December 6-12, 2020, virtual. OpenAlex ↗ · Scholar ↗
This page in Markdown https://md.research.elamur.ai/free/en/papers/xie-2023-self-evaluation-guided-beam-search/