Elamur Research

Complexity-Based Prompting for Multi-Step Reasoning

Paper · 2022 · Yao Fu, Hao Peng, Ashish Sabharwal et al.

Summary

When a worked example is meant to help solve a new problem, which example should come first? A short solution can show a computation clearly, while a more involved one can show how to carry several computations through to a single answer. The authors turn that difference into a rule for choosing demonstrations for multi-step reasoning. They study chain-of-thought prompting, in which each demonstration gives a question, the intermediate work and the answer. Their proposal is to choose examples with more steps in the written solution. A step ordinarily means a line of reasoning, so an annotated collection can be ranked without judging each solution by hand.

The authors apply the same idea after a new question has been answered. Instead of accepting a single continuation, they sample several possible solutions. Each concludes with an answer, and different solutions can agree on the same one. Ordinary self-consistency chooses the answer that occurs most frequently across the full sample. Complexity-based consistency counts votes only from the chains with the most steps. For a dataset with no written solutions, the authors also show how to use question length to select promising demonstrations before anyone writes the reasoning. That order matters because it concentrates annotation on the examples that will actually go into the prompt.

The experiments use GPT-3 text-davinci-002 and Codex code-davinci-002. On the math test sets, the paper reports average accuracy gains of +5.3 for GPT-3 and +6.2 for Codex over the original handwritten chain-of-thought prompt. Codex sets new reported benchmarks on GSM8K, MultiArith and MathQA. The paper also reports new best results on Date Understanding and Penguins, with StrategyQA roughly matching the previous best. The latter comparisons use a single greedy continuation, so the improvement on those tasks can come from the demonstrations alone. On the math tasks, filtering sampled solutions by step count gives a further improvement over voting across the full sample.

The validation experiments help distinguish a longer worked solution from a longer prompt. A collection of short solutions can contain as many total steps as a smaller collection of complex ones, yet the shorter solutions do not overtake the complex ones in the reported comparison. The advantage also survives the tested changes to step formatting and generally appears with noisy annotations and transferred examples. Retrieval does better on MathQA validation, at the cost of needing a much larger annotated pool in the comparison. The evidence supports a practical way to choose and use worked examples. Whether a written chain is valid, and why some chains make better demonstrations, remain separate questions.

Deep dive: Complexity-Based Prompting for Multi-Step Reasoning

Complexity-based prompting tests whether worked examples with more reasoning steps improve answers and whether longer solutions deserve more weight. · about 32 minutes to read

The problem and its context

What changes when a prompt includes the working

A math word problem gives a situation in prose and asks for a result. Getting that result can require identifying relevant quantities, deciding how they relate, carrying out an operation and using its result in a later operation. A prompt that shows a completed question next to its answer demonstrates the input and output formats. A prompt that includes the working also demonstrates what can happen between them. The question for this paper is how to select the worked examples once that intermediate space is available.

The original Chain-of-Thought Prompting study supplies the starting point. As the authors describe it, the earlier work found that demonstrations with written reasoning could elicit performance on multi-step tasks that question-and-answer demonstrations struggled to produce. That work used 8 handwritten examples, which subsequent studies frequently reused. A shared prompt made comparisons possible, but its success did not establish which properties of those examples mattered or how to find suitable replacements for a new task.

This is a form of few-shot learning. The examples are part of the text read immediately before a new question. The system continues that text in a way that can follow the demonstrated format and procedure. The paper places this practice alongside fine-tuning, which adapts a system through training on task data. The distinction matters for annotation. A training procedure may consume examples across a large dataset. A fixed prompt has a small set of slots, so it makes sense to ask which examples justify the effort of preparing them.

In the paper’s account of earlier work, scale made this question particularly interesting. The authors point to multi-step tasks on which large systems pulled ahead of smaller ones, and they contrast that pattern with the more modest benefit that scaling could offer for tasks such as sentiment classification. They also cite quantitative reasoning work in which few examples in the context could compete with adaptation on a full training set, even when the same large system was used. Those observations motivate looking for ways to make the context more effective. They leave open how the selection rule might behave at other scales or on other kinds of task. Solving Quantitative Reasoning Problems with Language Models

What earlier selection methods could look for

Handwriting a prompt leaves many decisions to the person drafting it. They can choose situations that seem representative, rewrite explanations for clarity or change the order of the demonstrations. The paper situates this kind of trial and error alongside heuristic search and work that optimizes prompts automatically. It also points to evidence that changes in the prompt, the task or the system can affect performance, including cases in which reordering the same examples matters. A demonstration set that looks reasonable to a reader can behave differently when some other part of the setup changes. What Makes Good In-Context Examples for GPT-3? · Few-Shot Prompt Order Sensitivity

A more systematic strategy is to select examples similar to the question being answered. Under this approach, a question about a recognizable kind of calculation might receive demonstrations that look like that problem. Another question can receive an entirely different prompt. The paper highlights the cost of applying this strategy to chain-of-thought examples. Similarity can rank questions that already exist in a dataset, but using a retrieved question as a worked demonstration also requires access to its solution. Across a test set, the questions that are retrieved can cover a large part of the training pool. Learning to Retrieve Prompts for In-Context Learning

Complexity-based selection gives the examples a different job. Its premise is that a solution containing several linked operations can be broadly useful, including for new questions whose wording looks different. A fixed group of such examples can be reused. With existing annotations, the selection rule needs a way to count steps. With no annotations, it needs a property of the questions that can be measured before the working is written. The key issue is whether such a simple ranking can select useful examples across a collection of questions.

Why the answer can depend on decoding as well

A system can produce several continuations for the same question and demonstrations. This creates a separate decision about which result to return. The paper builds on self-consistency, an earlier method that samples several chains and uses agreement among their final answers. Two explanations can organize their work differently and still vote for the same result. That agreement is useful even if no individual written continuation is singled out as the best explanation.

The paper’s change is to give some of the sampled solutions a say and exclude the others. The authors are motivated by earlier evidence that systems can rely on shortcuts, using patterns that happen to correlate with correct answers in existing data. If an abbreviated chain skips work needed to resolve a problem, including it in a vote can give that shortcut the same influence as a more developed solution. The proposed filter uses the amount of written work as a readily available signal. The accuracy experiments test whether that signal helps choose answers.

The authors also connect this setup to semantic parsing. In the classical procedure they describe, a system produces a structured expression and executes it to get an answer. In chain-of-thought prompting, intermediate language occupies a comparable position between the question and the result. Voting over answers also resembles combining evidence from several candidate parses. The analogy helps explain why several paths can support one result. In the method under study, the same system writes the intermediate chain and arrives at the answer, with no separate execution stage in the proposed selection rule.

The method, step by step

Choose what the examples should demonstrate

The starting material is a set of training questions. A complete demonstration pairs a question with a worked chain and a final answer. The demonstrations are assembled into a block, and the question to be solved follows them. Its reasoning and answer are left for the system to generate. The usual math prompt contains 8 examples. The authors also insert a brief instruction before the reasoning to encourage a stepwise solution, following earlier work on zero-shot reasoning. In the main comparisons this cue is shared across prompting schemes, so each scheme is encouraged to produce working.

Complexity is a property of the written solution in this setup. With the default format, line breaks delimit the steps. The introductory illustration contrasts a solution with 2 steps and a solution with 9 steps. The latter ranks higher under the rule even if steps in the former contain more words. The ranking needs neither a formal description of the mathematical operations nor a judgment about how hard the problem would be for a person.

When worked chains are available, the authors count the steps in the candidate training solutions and select the most complex examples. The count is per example. It measures the size of the procedure shown for one question and does not assign additional credit just because another solved question is appended to the prompt. Keeping the number of examples fixed in the main comparisons also means that selecting a prompt with more steps involves changing what the individual demonstrations contain.

The intuition is that a more involved solution may show operations or transitions that can also be useful in simpler cases. Consider the difference between showing a calculation on its own and showing how the result of a calculation is carried forward. Both can demonstrate that calculation. The second can also demonstrate how to make intermediate results available for later work. The authors treat that kind of coverage as a reason to try complex examples. The procedure itself needs only a count.

Rank the questions before writing solutions when necessary

GSM8K and MathQA already have human-written reasoning chains in their training data. The authors can therefore select demonstrations by looking at the solutions available for those questions. No fresh reasoning annotation is required to turn the chosen cases into worked examples. The ranked collection still depends on the structure of the existing annotations. A writer who puts several operations on one line can give a solution a different count from a writer who separates them.

MultiArith presents a different situation because its training questions lack annotated chains. The authors rank questions by length and then write solutions for the selected examples. This makes question length a proxy, an observable property used in place of the desired measure when that measure is unavailable. What gets ranked in this version is the text of the unsolved question. What goes into the prompt is the corresponding question together with the solution that a person subsequently writes.

The authors also use question length followed by manual annotation for the non-math benchmarks. The role of the proxy is the same even though the work may concern a date or the properties of named entities instead of arithmetic. It enables the authors to choose cases before investing in writing their reasoning. Formula length is a further proxy they examine on validation data. Where a solution formula is available, its length offers another way to order cases without relying on the line count in a prose explanation.

The other route for MultiArith is to borrow worked examples from GSM8K. That keeps the example solutions intact but changes the dataset from which they are drawn. The test questions still belong to MultiArith. This is a prompt transfer experiment. It asks whether example selection can remain useful across two collections with similar kinds of word problems, while the in-distribution approach asks whether examples chosen directly from the target collection make effective demonstrations once annotated.

From training examples to a voted answer

The steps in order.

From training examples to a voted answerStep 1: Rank examples by step count or a proxy1. Rank examples by step count or a proxyStep 2: Write missing solutions for selected examples2. Write missing solutions for selected examplesStep 3: Assemble the worked demonstrations3. Assemble the worked demonstrationsStep 4: Append the new question4. Append the new questionStep 5: Sample possible solutions5. Sample possible solutionsStep 6: Rank generated chains by step count6. Rank generated chains by step countStep 7: Vote using the retained answers7. Vote using the retained answers

No task-specific training is involved in these stages. The examples change the context supplied to GPT-3 text-davinci-002 or Codex code-davinci-002. Sampling and voting change how the resulting continuations are used. The training part of the dataset supplies possible demonstrations and validation material. It is not used to update either system’s parameters as part of complexity-based prompting. The paper separately compares the resulting scores with systems adapted through training.

Keep the longest chains and count their answers

Under greedy decoding, the system produces a single continuation by choosing the highest-scoring next token at each generation step. The answer from that continuation is used as the prediction. This version is enough to test a change in input examples. It does not require sampling a pool of alternatives, and it has no vote to filter.

Under self-consistency, the system samples several continuations for the same question in the same context. Each contains a chain and an answer. The answers are grouped by agreement, and the answer with the most votes is returned. A chain counts as a vote for the answer it reaches, regardless of whether another chain expresses the same reasoning in the same words. The vote concerns the conclusion.

Complexity-based consistency inserts a ranking between generation and voting. The authors count steps in each of the sampled chains, order the chains from most to fewest steps, and retain the desired number at the top of that ordering. Only answers attached to retained chains are counted. The allowed relation between the size of the sample and the size of the voting set is:

K ≤ N

Here, N is the number of chains sampled for a test question. K is the number of those chains retained for voting. The symbol ≤ means that the retained set can be no larger than the sample. In the authors’ introductory illustration, N is 5 and K is 3. That illustration shows the shape of the procedure. The experiments use a larger sample.

One setting recovers the original rule:

K = N

Here, K again denotes the chains used in the vote and N the chains sampled. The symbol = indicates that these counts are equal. Every generated answer then contributes, so the result is ordinary self-consistency. This equality gives the output-selection study a baseline with the same sampling budget as the filtered vote.

The experimental sample size is:

N = 50

N denotes the number of continuations drawn for each question under sampling, = assigns its value, and 50 is the sample size used in the paper. During a validation comparison the authors vary the voting set as follows:

K ∈ {10, 20, 30, 40, 50}

K is the retained chain count. The symbol ∈ means that its value is one of the settings inside the braces, and the commas separate those settings. Each number gives a possible count of votes drawn from the same size of generated pool. The authors also reverse the ranking in a control and take the simplest chains at each voting-set size. This lets them compare two filters that keep the same number of votes but favor opposite ends of the step-count ordering.

The validation result for the best complex-chain setting is expressed by:

K⋆ < N

K⋆ is the retained count at the best observed validation accuracy, N is the sample size, and < means strictly smaller. The star marks the best setting in the comparison. The paper says the best count is typically 30-40. The rule therefore leaves the sampling budget intact while changing which sampled answers can determine the prediction.

There are two independent rankings in the method. Demonstration selection ranks past training examples before any test question is answered. Consistency ranks the solutions generated for the current question after the prompt has been used. An input ranking can change the range of solutions produced in the first place. An output ranking can change the answer selected from that range. A comparison between greedy prompts addresses the former. A comparison between full and filtered votes addresses the latter.

Experiments and results

What the evaluation measures

The main measure is accuracy, or solve rate for the word problems. A question contributes a success when the final prediction is correct. The experiments can therefore compare prompts and decoding procedures even when their generated chains differ in wording and structure. The step count is used to choose demonstrations or votes, and also appears in separate analyses. It is distinct from the answer metric. A prompt can elicit more steps without improving its solve rate.

GSM8K has 1.3K test instances. Its written training solutions make it possible to rank questions by the number of steps in their annotations. MultiArith has 600 test instances and was also used in the earlier chain-of-thought studies the authors compare with. Its absence of annotated reasoning gives the paper a place to test selecting by question length and to try demonstrations carried over from GSM8K.

MathQA has 600 test instances. Its reasoning annotations are noisier, according to the authors, so it tests whether selection by complexity remains useful with less reliable source material. The paper reports drawing 200 training instances at random to form a validation split for each math dataset. Validation comparisons are used to examine the effects of design choices and the relationship between complexity and accuracy. The main test comparisons address overall task performance.

The non-math evaluation extends the kinds of questions considered. StrategyQA, with 800 test instances, involves commonsense reasoning that can span multiple steps. Date Understanding has 250 test instances and asks for temporal reasoning. Penguins, with 146 test instances, is a referential game in which a question can ask whether one named penguin is older than others. The last two are BigBenchHard tasks. Their inclusion gives the authors a way to see whether demonstrations chosen for complexity help when the intermediate work involves interpreting dates or comparing entities. Challenging BIG-Bench Tasks

The comparisons behind the math results

The primary baseline is the original handwritten chain-of-thought prompt. Its demonstrations are reused across all the math tests and come from outside the task-specific datasets. In the random baseline, the demonstrations come from the corresponding training set. Random GSM8K and MathQA examples already have worked solutions. Random MultiArith examples receive manual reasoning annotations so that this baseline also supplies demonstrations with working.

The complex prompts use the same number of math examples as those baselines. Selection uses step count on GSM8K and MathQA, and question length followed by manual annotation on MultiArith. This gives the random and complex prompts a comparable source of questions within each benchmark. The handcrafted comparison answers a different question: how much can the complete approach improve on the existing prompt convention? Since its examples come from elsewhere, that comparison can reflect both demonstration complexity and the source of the examples.

On GSM8K, the mean step count shows what the ranking changes in the prompt. The complex demonstrations average 9.0 steps per example. The handwritten examples average 3.4, while the random training examples average 2.8. These are measurements of worked examples used to prompt GSM8K, before any test question is answered. They establish that the resulting conditions differ markedly on the intended selection variable.

Mean reasoning steps per demonstration in prompts used for GSM8K

Complexity selection gives each demonstration more worked steps on average.

Mean reasoning steps per demonstration in prompts used for GSM8KRandom training examples: 2.8Random training examples2.8Handcrafted examples: 3.4Handcrafted examples3.4Complexity-selected examples (this paper): 9.0Complexity-selected examples (thispaper)9.0
The numbers
System or settingmean steps per demonstration
Random training examples2.8
Handcrafted examples3.4
Complexity-selected examples (this paper)9.0

The paper also places its results alongside systems developed under different procedures. On GSM8K it reports a fine-tuned GPT-3 system paired with a verifier, which is a learned component that helps select among possible solutions. On MultiArith the trained comparison uses classifiers for relevance and operation choice. On MathQA it uses a customized system that learns to map an input sequence to an output sequence. Those baselines describe the benchmark landscape in which the prompting method is evaluated. Their scores reflect the full systems that produced them. Training Verifiers to Solve Math Word Problems

The prompting comparisons include LaMDA at 137B parameters and PaLM and Minerva at 540B. The paper takes their scores from the corresponding publications. Its own main experiments use GPT-3 and Codex, which it lists at 175B each. Minerva also received additional pretraining on mathematical material formatted in LaTeX. DiVeRSe supplies another GSM8K comparison and adds a trained verifier to the systems it uses. These differences matter for interpreting a leaderboard ranking. The cleanest evidence about example selection comes from comparing prompts on the same system. LaMDA · PaLM

The reported improvements

The math test comparison is organized around greedy generation and voting. In the greedy part, an improvement from complex examples can be seen without collecting alternative chains. In the voting part, the paper compares full-sample voting with the proposed filter and reports a further gain from counting the complex chains. The paper reports that Codex with complexity-based prompting sets new best results on GSM8K, MultiArith and MathQA among the systems compared. It also describes GPT-3 with the method as close to the results of PaLM and Minerva.

Relative to the original handwritten prompt, the caption for the main math test results reports average accuracy improvements of +5.3 with GPT-3 and +6.2 with Codex. The paper also gives +18.0 as the maximum accuracy improvement for Codex in the math comparison. Those are improvements against the handcrafted baseline. The maximum describes the largest reported gain in that comparison, rather than the gain on each math benchmark or a standalone estimate of the effect of filtered voting.

Mean accuracy gain over handcrafted prompting on the math test benchmarks

The reported average improvement with complexity-based prompting is larger for Codex.

Mean accuracy gain over handcrafted prompting on the math test benchmarksGPT-3 with complexity-based prompting: +5.3GPT-3 with complexity-based prompting+5.3Codex with complexity-based prompting (this paper): +6.2Codex with complexity-based prompting(this paper)+6.2
The numbers
System or settingaccuracy gain (percentage points)
GPT-3 with complexity-based prompting+5.3
Codex with complexity-based prompting (this paper)+6.2

The non-math comparisons all use greedy decoding. Complexity-selected demonstrations give results comparable to the reported PaLM performance on StrategyQA and new best reported accuracies on Date Understanding and Penguins. This matters for attributing the gains. The temporal and referential tasks benefit from a change to the prompt in an evaluation that uses a single continuation. They do not contribute evidence about the benefit of the output filter.

The result on Penguins also illustrates how the paper uses the same selection principle across different kinds of question. In an arithmetic problem, the written work might track intermediate quantities. In a referential task, it can track which entities satisfy a comparison. The task changes the content of the steps while leaving the form of the demonstration intact. The authors select longer questions and prepare worked examples for each non-math task, so the results concern task-specific prompts chosen by a common rule.

Fixed demonstrations and question-by-question retrieval

The paper also compares selection schemes on validation accuracy. Random selection draws from the training pool. Centroid selection uses an embedding, a numerical representation of each question, to find questions near the center of the collection. The intuition is that questions near that center may be typical and useful to a wide range of test cases. Both produce a shared prompt. The authors use a pretrained sentence encoder for the embedding-based comparisons. Sentence-BERT

Retrieval uses the same general kind of question representation for a different purpose. It finds training questions close to the current test question by Euclidean distance, the ordinary straight-line distance between their vectors. Proximity to a particular target question can select examples with related wording or structure. Because the target question changes, the demonstrations can change with it. This tests a use of semantic similarity that has a potentially larger annotation requirement than the shared prompt.

Complexity-based selection has the highest validation accuracy among the compared selectors for GSM8K and MultiArith. Retrieval has the highest validation accuracy on MathQA. The authors observe that some MathQA validation questions have close matches in the retrieved training data, with changed quantities or objects but the same computation. This is a setting in which retrieval can show a closely corresponding worked procedure. The paper presents that observation as a reason to pay attention to the degree of similarity in the available pool when interpreting the comparison.

The annotation contrast is explicit. The fixed prompts use 8 demonstrations in these math comparisons. The authors describe retrieval as potentially requiring annotated chains on the scale of the training set, more than 10K cases in the comparison they discuss. The key distinction is between examples per prompt and examples that must be ready for use. A retrieval system can still present a small prompt to each question while drawing across a much larger annotated collection over the evaluation.

What the ablations show

How much improvement comes from selecting by complexity?

Changing a prompt can involve several choices made together. The paper addresses this by breaking down GSM8K validation accuracy across the changes the authors introduced. The short cue that encourages stepwise reasoning is one contributor. The selection of complex examples and the output filter are separate contributors. The paper attributes more than half of the improvement in that breakdown to the complexity-based changes taken together.

The scope of the breakdown is important. It follows a sequence of design choices on GSM8K validation. It shows why the full result cannot be attributed entirely to the wording cue. The comparison also makes the input and output stages visible. Selecting demonstrations can improve the answers obtained from a prompt, and changing which answers count in the vote can yield an additional gain. Those measurements do not assign the same share of improvement to each change on all tasks.

Is the relevant quantity the total number of steps?

With a fixed example count, adding more steps to each worked solution also adds more steps to the whole prompt. A gain could come from seeing more intermediate statements in total, regardless of how they are arranged. The authors test this possibility by putting more simple examples in one prompt and fewer complex examples in another, while matching the total number of steps.

The configuration used to illustrate the complex prompt has the following layout:

8 × 9 = 72

8 is the number of complex demonstrations, 9 is the step count per demonstration, and 72 is the total number of reasoning steps. The symbol × multiplies the number of examples by the steps in each one. The symbol = gives the resulting total. The comparison prompt has 24 examples with 3 steps each and also contains 72 steps. The control changes the way the intermediate work is distributed across questions while keeping the inventory of steps matched.

The additional simple examples do not surpass the fewer complex examples. This is evidence that the organization of steps into examples matters under the tested conditions. Seeing many unrelated short procedures can expose the system to more questions, but provides fewer opportunities within each example to show how an intermediate result shapes later stages of a solution. The matched total makes it harder to interpret the advantage simply as a consequence of presenting more reasoning lines.

The comparison still changes the examples themselves. A count of steps within a worked case can go together with differences in the kinds of operations shown and how they are connected. The experiment establishes that a prompt full of shorter chains did not make up the performance difference by matching the total number of steps. It does not identify the particular connections within the complex examples that account for the result.

Do more characters explain the gain?

A prompt with more lines can also have more text. The authors compare complex demonstrations with prompts chosen to be long in characters, even though their demonstrations have fewer steps. The longest prompts do not outperform the complex ones in that comparison. This weakens the explanation that adding more written material is sufficient to produce the gain.

The authors also vary the amount of text within steps. At a matched total of 72 steps, a prompt with moderately long steps does better than one with shorter steps. This adds a qualification to the main result. Step count is the strongest factor among the alternatives the paper studies when the steps have enough substance. A division into very short lines can preserve the count while changing how much usable information each line supplies.

The character comparison and the per-step comparison address different possibilities. One asks whether an entire prompt can improve because it occupies more space. The other asks whether the steps need room to express their content. Taken together, they show why the procedure selects worked solutions with many steps and why the presence of those steps alone is an incomplete description of what makes a demonstration useful.

Does the result depend on what counts as a step?

The default format uses line breaks. The authors try explicit step labels and a format that uses punctuation marks, including periods and semicolons, to delimit the reasoning. These changes affect accuracy, but the relative performance of complex prompts holds across the tested formats. The advantage survives changes to how the boundaries of steps are displayed.

That comparison concerns the rendering of the reasoning. A labeled step can contain the same work as a line separated by a break. The formatting experiment tests whether the advantage hinges on one particular signal of where a step starts or ends. It gives a narrower result than claiming insensitivity to prompt format in general, since the authors vary the delimiters while keeping the experiment centered on worked chains.

The proxy comparison concerns an earlier decision. The authors sort candidates by annotated step count, question length or formula length and compare the resulting prompts on validation. High-complexity prompts perform best under each of the measures examined. That finding supports the use of a proxy when the training questions have no worked chains. It also suggests that the paper’s effect is broader than a preference for a specific line-counting convention.

Question length and formula length may pick different cases. A long question can take many words to set up a situation, while a formula can be long because it encodes several operations. The paper tests whether selection by either measure can yield useful prompts. It does not show that the measures are interchangeable for each individual question. For annotation, the practical difference is whether the relevant measure can be obtained before a person has written the chain.

What happens with noise and transfer?

The prompt-complexity curves compare three validation settings. GSM8K supplies relatively clean annotated examples from the same dataset as the validation questions. MathQA supplies noisier annotated examples. In the transfer condition, GSM8K examples are used to prompt MultiArith. As the complexity of the demonstrations increases, accuracy generally improves in each setting. The authors report a particular exception in the MultiArith transfer comparison.

This analysis keeps separate two ways the source of the prompt can differ from a clean in-distribution collection. In MathQA the examples still belong to the task’s training data, but the authors consider the reasoning annotations noisy. In the MultiArith transfer condition the worked examples come from another dataset. The shared pattern across the curves suggests some tolerance for both kinds of variation. It leaves room for a given transfer prompt to perform worse than the overall trend would suggest.

The transfer experiment also makes clearer what the earlier retrieval comparison addresses. Retrieval tries to find a particular training example close to a particular question. Transfer asks whether a fixed demonstration set can be useful even outside the collection from which it was selected. The paper’s MultiArith result concerns a transfer between similar word-problem collections. It shows a setting in which a new annotation effort for the target training questions can be avoided.

Which test questions benefit?

The authors group GSM8K and MathQA validation questions by the number of steps in their reference solutions. This sorts questions by a measure they have before looking at any generated answer. It lets them ask whether success with complex demonstrations is concentrated on cases that are themselves annotated as complex. That question differs from asking whether the generated solutions grow longer after a prompt change.

The paper gives somewhat different accounts of the grouped comparison. Its GSM8K figure caption says simple prompts do better for questions with at most 3 steps and complex prompts do better for more complex cases. For MathQA, the caption says simple prompts lack a comparable advantage on simple questions and complex prompts appear to perform better in most groups. The accompanying discussion instead emphasizes gains on some groups with fewer steps and comparable performance on hard cases.

The shared point is that there is no uniform mapping from the step count of a demonstration to a matching step count in the questions that benefit. In particular, the results allow complex examples to help on questions with relatively short reference solutions. The authors conjecture that complex prompts may elicit procedures that also cover simpler cases. The differing descriptions of the grouped results leave the exact direction of that generalization less settled than the paper’s aggregate comparisons.

What changes in the generated reasoning?

The paper plots Codex’s output step counts for GSM8K and MathQA. Complex demonstrations shift the generated chains toward more steps compared with simple demonstrations. This is a direct check on a behavioral consequence of the prompt. The examples change how much intermediate work the system writes for a new question, in the direction of the working shown in the examples.

The authors suggest that this shift may discourage shortcuts. The distribution supports the narrower observation that the output becomes more elaborate. Longer written chains could reflect a closer match to the demonstrated format, a different approach to the problem or a mixture of both. Accuracy comparisons show when that change is accompanied by better answers. The step distributions do not label the operations within the chains as valid or invalid.

Does filtering help because it keeps fewer votes?

The voting experiment holds the generated sample size at 50 and varies how many of the generated chains are allowed to vote. At the setting where all 50 count, the complex and simple rankings give the same voting set. For smaller sets, the rankings choose opposite ends of the observed step-count distribution. Any difference between the two at the same setting therefore concerns which chains vote, with the number of votes held fixed.

On both datasets in the voting analysis, the best validation accuracy occurs when the vote retains a subset from the complex end. Voting among the simplest chains performs worse than the full vote whenever the filter excludes chains. The reported optimum is typically 30-40 retained chains. Reducing the pool is therefore not sufficient by itself. The direction of selection matters in the comparison.

There is also a reason to distinguish ranking from a preference for the single longest chain. The paper’s result uses agreement among multiple retained paths. Keeping a substantial voting pool lets several explanations support the same answer, even when other long explanations lead somewhere else. The tested result is about the combination of a step-count filter and agreement. It does not establish the longest individual solution as the best candidate for every question.

How much does scale matter in these experiments?

The smaller systems in the reported comparison do not show meaningful gains from complex examples over the handwritten or random prompts. That result places an empirical boundary around the improvements demonstrated with GPT-3 and Codex. Adding more involved working to the input does not reliably help every system included in the paper.

The authors interpret this pattern in the context of earlier claims that useful chain-of-thought behavior emerges with scale. Their comparison supports a difference between the larger and smaller systems they tested. It does not trace the onset of the effect over a series of otherwise identical systems or locate a parameter count at which the selection rule begins to help.

Limitations

Limits the authors identify

Scale. The authors report that the smaller systems they examine gain little from the more complex examples. Their positive findings are thus attached to a regime in which systems already make effective use of worked reasoning in the prompt. This matters for adoption because the input rule is independent of system size, while its measured benefit is not. The availability of annotated examples and the ability to fit them into a prompt are only part of the setup.

Comparability of published scores. The authors call attention to differences among the systems used for the benchmark comparisons. PaLM and Minerva are larger than the systems used in their main experiments, and Minerva had additional pretraining on LaTeX material. Some baseline scores come from other publications because the authors did not have public access to those systems for their own experiments. The comparisons establish how the reported results rank against published alternatives. They cannot attribute differences across those alternatives solely to prompt selection.

Retrieval can be stronger. The paper’s validation result for MathQA favors retrieval, and the authors document close matches between some validation questions and the associated training examples. The complexity rule therefore has a demonstrated accuracy tradeoff in at least one setting. Its annotation advantage is most relevant when worked solutions are expensive to obtain or unavailable across much of the candidate pool. Where suitable annotations already exist and closely related cases can be found, retrieval has a different cost and benefit profile.

Transfer and formatting affect performance. The authors note an exception in the MultiArith transfer comparison and report that changing step delimiters affects absolute performance. Their robustness claim rests on the general trends across the tested conditions. It covers changes in delimiters, the noisy annotations of MathQA and the transfer they perform between related word-problem datasets. A broader change in conventions or subject matter falls outside those comparisons.

The mechanism remains open. The authors conjecture that complex examples may elicit procedures that cover simpler questions. They leave that explanation for further study, along with the proposed connection between chain-of-thought prompting and classical semantic parsing. Their observations about prompt complexity, output step counts and accuracy motivate these questions. The experiments leave open which parts of a demonstration enable transfer and how the system uses them to arrive at an answer.

Limits visible in the experimental design

A step is a unit of writing. Counting lines makes the selection rule easy to apply, and the delimiter study checks several ways to mark those lines. Two equally demanding solutions can still receive different counts if their writers package the work differently. A verbose explanation can repeat an observation across several lines. A concise explanation can put several valid operations in one line. The measure works as an operational definition for these experiments, with no independent calibration against the intrinsic difficulty of each problem.

Accuracy checks the conclusion. A correct answer can coexist with flawed or incomplete working. An incorrect answer can follow a largely sound procedure with a late error. The paper’s solve rate does not distinguish these cases, and the output filter ranks chains by step count without verifying each step. The agreement of retained answers gives evidence about which answer to choose in the sampled set. It does not establish the correctness of every chain that supported it.

Matching totals controls particular alternatives. The experiment with 72 steps in both prompts addresses an explanation based on the total number of reasoning lines. The longest-prompt comparison addresses an explanation based on total characters. Several other properties can still travel together when the authors select different demonstrations, including the operations illustrated and how the quantities or entities relate. The evidence favors steps per case over the tested alternatives, given moderately long steps. It gives less direct evidence about what would happen if the same solution were simply expanded into more written lines.

Validation optima are bounded by the settings tried. The output comparison evaluates a range of retained counts using a fixed sample size. Its best setting is the best observed among those choices on the validation data. The study leaves open how that setting moves if the available sample size changes, if the generated chains are segmented differently or if the new questions have a different mix of difficulties. The method’s core comparison with full voting is meaningful even when a particular retained count fails to carry over.

Annotation effort and generation effort are different costs. Selecting a fixed group of examples by question length can save the work of annotating a large retrieval pool. Complexity-based consistency still requires generating the full sample before filtering. Throwing out some votes therefore does not save the cost of generating the chains that cast them. The paper reports that prompting cost depends on the size of the evaluation set and that sampling costs more than greedy decoding in its GPT-3 setup. A low annotation requirement does not imply the same inference cost for the two decoding procedures.

The tested tasks share a clear endpoint. Math problems, the referential task and the questions about dates have benchmark answers that make agreement and accuracy easy to define. In these settings the final answer can serve as the unit of a vote. The paper does not establish a corresponding advantage for questions with several acceptable conclusions or long answers whose equivalence is hard to judge. It also leaves open how the rule would behave where the important part of the output is the justification itself.

What came after

Studying the demonstrations and the chains they elicit

The later work Automatic Prompt Augmentation and Selection with Chain-of-Thought from Labeled Data places the selection of demonstrations inside a broader prompt-construction problem. Complexity-based prompting assumes a pool of candidate questions and, where available, written chains. It supplies a criterion for choosing from that pool. Augmentation adds the question of how to expand the candidate material in the first place. The connection is the treatment of the prompt as something that can be assembled and evaluated systematically from labeled examples.

The Impact of Reasoning Step Length brings the size of a step into focus. The complexity paper already distinguishes the number of steps from the amount written within them. Its matched-total experiment finds an advantage for moderate step length over shorter steps, even when the total step count is held constant. A study centered on step length makes that distinction the object of investigation. It separates the question of how much reasoning is divided into stages from the question of how each stage is expressed.

To CoT or not to CoT? asks how the value of chain-of-thought prompting varies with the kind of task and identifies math and symbolic reasoning as its main areas of benefit. That is a broader comparison than changing the complexity of a worked prompt within a reasoning benchmark. It gives context to the earlier paper’s choice of word problems as its main test bed and to the narrower extension into temporal, referential and commonsense tasks.

Judging a solution after it is written

Large Language Models are Better Reasoners with Self-Verification takes up the problem of evaluating a candidate answer through verification. Complexity-based consistency judges which answers to include by inspecting the size of the chains that produced them, and it relies on agreement to choose a prediction. Self-verification makes the act of checking a proposed solution part of reasoning. The connection is the decision made after a candidate has been generated. The criteria of a long chain and a successful check ask different things of that candidate.

Math-Shepherd focuses on verifying and reinforcing mathematical reasoning step by step without human annotations. It puts the quality of individual steps at the center of the problem. In the complexity paper, step boundaries enable a count, and the count can influence which chain reaches the vote. A stepwise verifier instead makes those boundaries places at which a solution can be evaluated. The two studies share an interest in the intermediate work while using it for different decisions.

Automated Process Supervision for Mathematical Reasoning frames the reasoning process as something to supervise in order to improve mathematical performance. This shifts attention towards how feedback on intermediate work can shape reasoning. Complexity-based prompting makes its interventions in the context and in the final answer selection, leaving the underlying system fixed during the experiment. The later direction illustrates how intermediate steps can also become a source of supervision.

Allocating effort at answer time

s1: Simple test-time scaling considers the effort spent at the time a question is answered. The earlier paper uses a fixed number of sampled chains and allocates voting influence within that sample. It thus already separates the amount of generation performed from the use made of the generated material. Test-time scaling brings the amount of computation itself into focus. The two questions are related because generating more reasoning and selecting among generated answers are separate choices.

Progressive-Hint Prompting explores improving reasoning through hints given progressively. Its connection to the earlier study is the role of context in shaping the work used to answer a question. Complexity-based prompting chiefly varies the worked examples placed before a new question. A progressive approach makes guidance across stages of answering part of the method. Together these lines of work show how decisions about what to put before the question, what to provide during reasoning and what to select afterwards can be evaluated independently.

 Institutions

 Fields, topics and concepts

Cite

Cite as Yao Fu, Hao Peng, Ashish Sabharwal, Peter Clark and Tushar Khot. 2022. Complexity-Based Prompting for Multi-Step Reasoning. arXiv:2210.00720.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.48550/arxiv.2210.00720 · arXiv 2210.00720

@misc{fu2022complexity,
  title = {{Complexity-Based Prompting for Multi-Step Reasoning}},
  author = {Yao Fu, Hao Peng, Ashish Sabharwal, Peter Clark and Tushar Khot},
  year = {2022},
  doi = {10.48550/arxiv.2210.00720},
  eprint = {2210.00720},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.2210.00720}
}

References

41 references, from the paper's own bibliography.

  1. Ekin Akyurek and Afra Feyza Akyurek. Notes on teaching gpt-3 adding numbers, 2022. URL https://lingo.csail.mit.edu//blog/arithmetic_gpt3. OpenAlex ↗ · Scholar ↗
  2. Aida Amini, Saadia Gabriel, Shanchuan Lin, Rik Koncel-Kedziorski, Yejin Choi, and Hannaneh Hajishirzi. MathQA: Towards interpretable math word problem solving with operation-based formalisms. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pp. 2357–2367, Minneapolis, Minnesota, June 2019. Association for Computational Linguistics. . URL https://aclanthology.org/N19-1245. our card
  3. Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D 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 Ziegler, Jeffrey Wu, Clemens Winter, Chris Hesse, Mark Chen, Eric Sigler, Mateusz Litwin, Scott Gray, Benjamin Chess, Jack Clark, Christopher Berner, Sam McCandlish, Alec Radford, Ilya Sutskever, and Dario Amodei. Language models are few-shot learners. In H. Larochelle, M. Ranzato, R. Hadsell, M.F. Balcan, and H. Lin (eds.), Advances in Neural Information Processing Systems, volume 33, pp. 1877–1901. Curran Associates, Inc., 2020. URL https://proceedings.neurips.cc/paper/2020/file/1457c0d6bfcb4967418bfb8ac142f64a-Paper.pdf. our card
  4. Mark Chen, Jerry Tworek, Heewoo Jun, Qiming Yuan, Henrique Ponde de Oliveira Pinto, Jared Kaplan, Harri Edwards, Yuri Burda, Nicholas Joseph, Greg Brockman, et al. Evaluating large language models trained on code. arXiv preprint arXiv:2107.03374, 2021. our card
  5. Jianpeng Cheng, Siva Reddy, Vijay Saraswat, and Mirella Lapata. Learning an Executable Neural Semantic Parser. Computational Linguistics, 450 (1):0 59–94, 03 2019. ISSN 0891-2017. . URL https://doi.org/10.1162/coli\_a\_00342. our card
  6. Aakanksha Chowdhery, Sharan Narang, Jacob Devlin, Maarten Bosma, Gaurav Mishra, Adam Roberts, Paul Barham, Hyung Won Chung, Charles Sutton, Sebastian Gehrmann, et al. Palm: Scaling language modeling with pathways. arXiv preprint arXiv:2204.02311, 2022. our card
  7. Karl Cobbe, Vineet Kosaraju, Mohammad Bavarian, Jacob Hilton, Reiichiro Nakano, Christopher Hesse, and John Schulman. Training verifiers to solve math word problems. arXiv preprint arXiv:2110.14168, 2021. our card
  8. Antonia Creswell, Murray Shanahan, and Irina Higgins. Selection-inference: Exploiting large language models for interpretable logical reasoning. arXiv preprint arXiv:2205.09712, 2022. our card
  9. Mor Geva, Daniel Khashabi, Elad Segal, Tushar Khot, Dan Roth, and Jonathan Berant. Did aristotle use a laptop? a question answering benchmark with implicit reasoning strategies. Transactions of the Association for Computational Linguistics, 9:0 346–361, 2021. our card
  10. Jared Kaplan, Sam McCandlish, Tom Henighan, Tom B Brown, Benjamin Chess, Rewon Child, Scott Gray, Alec Radford, Jeffrey Wu, and Dario Amodei. Scaling laws for neural language models. arXiv preprint arXiv:2001.08361, 2020. our card
  11. Takeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo, and Yusuke Iwasawa. Large language models are zero-shot reasoners. arXiv preprint arXiv:2205.11916, 2022. our card
  12. Yuxuan Lai, Chen Zhang, Yansong Feng, Quzhe Huang, and Dongyan Zhao. Why machine reading comprehension models learn shortcuts? In Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021, pp. 989–1002, Online, August 2021. Association for Computational Linguistics. . URL https://aclanthology.org/2021.findings-acl.85. OpenAlex ↗ · Scholar ↗
  13. Angeliki Lazaridou, Elena Gribovskaya, Wojciech Stokowiec, and Nikolai Grigorev. Internet-augmented language models through few-shot prompting for open-domain question answering. arXiv preprint arXiv:2203.05115, 2022. our card
  14. Aitor Lewkowycz, Anders Andreassen, David Dohan, Ethan Dyer, Henryk Michalewski, Vinay Ramasesh, Ambrose Slone, Cem Anil, Imanol Schlag, Theo Gutman-Solo, et al. Solving quantitative reasoning problems with language models. arXiv preprint arXiv:2206.14858, 2022. our card
  15. Xiang Lisa Li and Percy Liang. Prefix-tuning: Optimizing continuous prompts for generation. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pp. 4582–4597, 2021. OpenAlex ↗ · Scholar ↗
  16. Yifei Li, Zeqi Lin, Shizhuo Zhang, Qiang Fu, Bei Chen, Jian-Guang Lou, and Weizhu Chen. On the advance of making language models better reasoners. arXiv preprint arXiv:2206.02336, 2022. OpenAlex ↗ · Scholar ↗
  17. Percy Liang. Learning executable semantic parsers for natural language understanding. Communications of the ACM, 590 (9):0 68–76, 2016. OpenAlex ↗ · Scholar ↗
  18. Jiachang Liu, Dinghan Shen, Yizhe Zhang, Bill Dolan, Lawrence Carin, and Weizhu Chen. What makes good in-context examples for GPT-3? In Proceedings of Deep Learning Inside Out (DeeLIO 2022): The 3rd Workshop on Knowledge Extraction and Integration for Deep Learning Architectures, pp. 100–114, Dublin, Ireland and Online, May 2022. Association for Computational Linguistics. . URL https://aclanthology.org/2022.deelio-1.10. our card
  19. Pengfei Liu, Weizhe Yuan, Jinlan Fu, Zhengbao Jiang, Hiroaki Hayashi, and Graham Neubig. Pre-train, prompt, and predict: A systematic survey of prompting methods in natural language processing. arXiv preprint arXiv:2107.13586, 2021. our card
  20. Yao Lu, Max Bartolo, Alastair Moore, Sebastian Riedel, and Pontus Stenetorp. Fantastically ordered prompts and where to find them: Overcoming few-shot prompt order sensitivity. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 8086–8098, 2022. our card
  21. Pramod Kaushik Mudrakarta, Ankur Taly, Mukund Sundararajan, and Kedar Dhamdhere. Did the model understand the question? In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 1896–1906, Melbourne, Australia, July 2018. Association for Computational Linguistics. . URL https://aclanthology.org/P18-1176. our card
  22. PromptBase. Promptbase. https://promptbase.com. OpenAlex ↗ · Scholar ↗
  23. Nils Reimers and Iryna Gurevych. Sentence-bert: Sentence embeddings using siamese bert-networks. 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), pp. 3982–3992, 2019. our card
  24. Kyle Richardson and Ashish Sabharwal. Pushing the limits of rule reasoning in transformers through natural language satisfiability. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 36, pp. 11209–11219, 2022. OpenAlex ↗ · Scholar ↗
  25. Frieda Rong. Extrapolating to unnatural language processing with gpt-3's in-context learning: The good, the bad, and the mysterious. http://ai.stanford.edu/blog/in-context-learning/. OpenAlex ↗ · Scholar ↗
  26. Subhro Roy and Dan Roth. Solving general arithmetic word problems. In Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing, pp. 1743–1752, Lisbon, Portugal, September 2015. Association for Computational Linguistics. . URL https://aclanthology.org/D15-1202. our card
  27. Ohad Rubin, Jonathan Herzig, and Jonathan Berant. Learning to retrieve prompts for in-context learning. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pp. 2655–2671, Seattle, United States, July 2022. Association for Computational Linguistics. . URL https://aclanthology.org/2022.naacl-main.191. our card
  28. Taylor Shin, Yasaman Razeghi, Robert L. Logan IV, Eric Wallace, and Sameer Singh. AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated Prompts. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pp. 4222–4235, Online, November 2020. Association for Computational Linguistics. . URL https://aclanthology.org/2020.emnlp-main.346. our card
  29. Hongjin Su, Jungo Kasai, Chen Henry Wu, Weijia Shi, Tianlu Wang, Jiayi Xin, Rui Zhang, Mari Ostendorf, Luke Zettlemoyer, Noah A Smith, et al. Selective annotation makes language models better few-shot learners. arXiv preprint arXiv:2209.01975, 2022. OpenAlex ↗ · Scholar ↗
  30. Saku Sugawara, Kentaro Inui, Satoshi Sekine, and Akiko Aizawa. What makes reading comprehension questions easier? In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pp. 4208–4219, Brussels, Belgium, October-November 2018. Association for Computational Linguistics. . URL https://aclanthology.org/D18-1453. our card
  31. Mirac Suzgun, Nathan Scales, Nathanael Schärli, Sebastian Gehrmann, Yi Tay, Hyung Won Chung, Aakanksha Chowdhery, Quoc V Le, Ed H Chi, Denny Zhou, et al. Challenging big-bench tasks and whether chain-of-thought can solve them. arXiv preprint arXiv:2210.09261, 2022. our card
  32. Romal Thoppilan, Daniel De Freitas, Jamie Hall, Noam Shazeer, Apoorv Kulshreshtha, Heng-Tze Cheng, Alicia Jin, Taylor Bos, Leslie Baker, Yu Du, et al. Lamda: Language models for dialog applications. arXiv preprint arXiv:2201.08239, 2022. our card
  33. Eric Wallace, Shi Feng, Nikhil Kandpal, Matt Gardner, and Sameer Singh. Universal adversarial triggers for attacking and analyzing NLP. 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), pp. 2153–2162, Hong Kong, China, November 2019. Association for Computational Linguistics. . URL https://aclanthology.org/D19-1221. our card
  34. Xuezhi Wang, Jason Wei, Dale Schuurmans, Quoc Le, Ed Chi, and Denny Zhou. Rationale-augmented ensembles in language models. arXiv preprint arXiv:2207.00747, 2022a. our card
  35. Xuezhi Wang, Jason Wei, Dale Schuurmans, Quoc Le, Ed Chi, and Denny Zhou. Self-consistency improves chain of thought reasoning in language models. arXiv preprint arXiv:2203.11171, 2022b. our card
  36. Colin Wei, Sang Michael Xie, and Tengyu Ma. Why do pretrained language models help in downstream tasks? an analysis of head and prompt tuning. Advances in Neural Information Processing Systems, 34:0 16158–16170, 2021. OpenAlex ↗ · Scholar ↗
  37. Jason Wei, Yi Tay, Rishi Bommasani, Colin Raffel, Barret Zoph, Sebastian Borgeaud, Dani Yogatama, Maarten Bosma, Denny Zhou, Donald Metzler, et al. Emergent abilities of large language models. arXiv preprint arXiv:2206.07682, 2022a. our card
  38. Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Ed Chi, Quoc Le, and Denny Zhou. Chain of thought prompting elicits reasoning in large language models. arXiv preprint arXiv:2201.11903, 2022b. our card
  39. Sang Michael Xie, Aditi Raghunathan, Percy Liang, and Tengyu Ma. An explanation of in-context learning as implicit bayesian inference. In International Conference on Learning Representations, 2022. URL https://openreview.net/forum?id=RdJVFCHjUMI. our card
  40. Pengcheng Yin, Chunting Zhou, Junxian He, and Graham Neubig. StructVAE: Tree-structured latent variable models for semi-supervised semantic parsing. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 754–765, Melbourne, Australia, July 2018. Association for Computational Linguistics. . URL https://aclanthology.org/P18-1070. our card
  41. Zihao Zhao, Eric Wallace, Shi Feng, Dan Klein, and Sameer Singh. Calibrate before use: Improving few-shot performance of language models. In Marina Meila and Tong Zhang (eds.), Proceedings of the 38th International Conference on Machine Learning, volume 139 of Proceedings of Machine Learning Research, pp. 12697–12706. PMLR, 18–24 Jul 2021. URL https://proceedings.mlr.press/v139/zhao21c.html. our card

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/fu-2022-complexity-based-prompting-multi-step/