Elamur Research

Automatic Chain of Thought Prompting in Large Language Models

Paper · 2022 · Zhuosheng Zhang, Aston Zhang, Mu Li et al.

Summary

A worked example can help a language model solve a difficult question, especially when the example explains the steps leading to its answer. The difficulty is obtaining suitable examples. Someone must choose the questions, write their explanations, and check that the explanations support the answers. Automatic Chain of Thought Prompting investigates whether this work can be delegated to the same system that will later use the examples. Its proposed method, Auto-CoT, assembles demonstrations from questions without supplied answers or explanations. The central finding is that automatic demonstration construction can compete with manual construction, provided that example selection accounts for the generator’s recurring mistakes.

The paper connects two approaches to reasoning. Zero-Shot-CoT asks for intermediate reasoning through a brief instruction, commonly Let's think step by step, without supplying worked examples. Manual-CoT instead supplies demonstrations containing a question, an explanation, and an answer. Earlier comparisons described by the authors generally favored the latter approach, but its demonstrations required human effort. Auto-CoT uses the first approach to manufacture examples for the second. It groups questions by their representations, considers representative questions from different groups, generates explanations and answers, and retains candidates that meet simple selection rules.

The important complication is that generated explanations can be wrong in systematic ways. Selecting examples because they resemble the current question may collect several instances of the very mistake that makes that question difficult. The authors investigate this failure on MultiArith. Among questions that Zero-Shot-CoT answered incorrectly, similarity-based demonstration retrieval left 46.9% unresolved, whereas random example selection left 25.8% unresolved. A case involving the distinction between a total quantity and a remaining quantity illustrates the mechanism: nearby questions elicited the same misunderstanding, which the assembled prompt then repeated. Auto-CoT addresses this concentration of error by drawing its demonstrations from different clusters rather than gathering nearby questions for each target.

Evaluation covers ten benchmarks spanning arithmetic, commonsense, and symbolic reasoning. With GPT-3, the authors report that Auto-CoT reaches or surpasses the manually constructed CoT baseline across this collection. A separate evaluation using Codex also finds competitive performance, without claiming that the automatic approach wins every comparison. Additional analyses examine corrupted demonstrations, the importance of matching an explanation to its answer, and a streaming extension that reuses earlier question–answer traces. Together, the results support a practical conclusion: demonstrations need not all be written by people, but their diversity and internal consistency matter. They do not establish that generated explanations are always valid, that clustering identifies reasoning skills exactly, or that automated prompting removes the need to evaluate the resulting system.

Interesting ideas

Diversity can control repeated errors. Example selection typically aims to find relevant material, but relevance can become harmful when the material comes from a fallible generator. Similar inputs may elicit similar failures, so a prompt assembled from close neighbors can concentrate a single misconception. Auto-CoT treats diversity as protection against that concentration. This idea applies whenever generated examples, annotations, or explanations become inputs to another decision. The useful question is not merely whether each item looks relevant, but whether the collection depends too heavily on the same potentially unreliable pattern.

Selection and generation deserve separate treatment. Auto-CoT does not treat an automatically written demonstration as a finished object. It first decides which questions deserve consideration, then generates their reasoning chains, then applies acceptance rules. These decisions solve different problems: coverage, content creation, and basic quality screening. Keeping them separate makes failures easier to diagnose. In another system, poor results might come from unrepresentative inputs, weak generated annotations, or permissive acceptance criteria. A single score for the completed pipeline would conceal those distinctions.

Cheap checks can remove avoidable failures. The method favors short questions and compact explanations, and it adds a basic answer-consistency condition for most arithmetic tasks. These checks do not prove correctness. Their value is that they reject some troublesome candidates without requiring a reference explanation for every question. The same pattern is useful when generated material has an inspectable form: a candidate can be rejected for missing fields, incompatible components, or unsuitable complexity before a more expensive evaluator considers it. Such screening is most credible when its limits remain explicit.

Test the correspondence between components. A demonstration contains more than an answer attached to an input. Its explanation must concern that input, and its answer must follow from the explanation. The paper’s component-shuffling analysis shows that disrupting these relationships can have very different consequences. This suggests a reusable evaluation strategy: deliberately break one relationship at a time. In structured prediction, retrieval pipelines, or generated training material, such interventions can reveal whether performance depends on meaningful correspondence or merely on familiar formatting and plausible-looking text.

Measure tolerance to contamination. An automatically generated collection should be evaluated under controlled amounts of known error. The paper varies the share of incorrect demonstrations and compares diverse selection with selection confined to the target’s cluster. This turns robustness into an observable response instead of a general assurance. Elsewhere, the same approach can distinguish a system that degrades gradually from one that amplifies a small pocket of corruption. The composition of the errors also matters: dispersed mistakes and repeated versions of one mistake may have different effects.

Reuse explicit traces cautiously. The streaming extension stores earlier questions together with their generated reasoning chains, then uses this growing collection to construct demonstrations for later arrivals. The reusable idea is a memory of worked cases instead of a memory of final outputs alone. Such a store preserves material that can be inspected, selected, and checked for consistency. Its weakness is equally reusable as a lesson: earlier generated answers are not automatically trustworthy. A memory that grows through reuse needs evaluation for error persistence as well as for improved coverage.

Deep dive: Automatic Chain of Thought Prompting in Large Language Models

Auto-CoT builds reasoning demonstrations from unlabeled questions, using diversity to limit repeated errors and reduce manual prompt design. · about 38 minutes to read

How Mova uses it

For Mova, the small transparent language system written in Rust, this paper offers design ideas for the learn and answer stages. The connection is methodological. Auto-CoT studies prompts containing generated reasoning demonstrations; Mova’s proposed applications include teacher-produced linguistic structures, parser checks, and explicit problem-solving traces. These are different settings. The paper provides reasons to test particular selection and validation strategies, but it supplies no evidence that those strategies have already improved Mova.

The proposed uses should therefore remain proposals until implementation and evaluation establish otherwise. There is no basis here for naming an existing Rust module, claiming that a particular file implements clustering, or reporting a passing Mova test. What can be made concrete is the information each stage would need to preserve, the decision it would make, and the observation that would justify keeping it.

Diversify silver material before learning

The closest application concerns silver training material: sentences or analyses produced by a language-model teacher rather than independently established as correct. Auto-CoT’s retrieval failure suggests that a teacher’s mistakes may be concentrated within recognizable input types. If Mova selects a batch mainly from closely related sentences, it could repeatedly expose its learner to the same faulty teacher preference.

A candidate learn-stage procedure would group available sentences by syntactic or lexical characteristics and sample across those groups. The grouping could be based on properties relevant to Mova’s representations rather than on the sentence encoder used in Auto-CoT. The principle is coverage across different kinds of material. It does not require treating the paper’s particular clustering representation as appropriate for linguistic training.

The files holding silver candidates would need enough provenance to distinguish the original sentence, the teacher-produced structure, and the group used for selection. That separation would make an audit possible. If a learned parser later fails on a construction, Mova could inspect whether its selected training material contained many closely related teacher errors. A useful comparison would hold the teacher and candidate pool fixed while changing the sampling policy. That would test the paper’s diversity hypothesis in Mova’s own setting.

This proposal would not guarantee better silver labels. It would aim to prevent a narrow family of errors from dominating selection. A teacher that fails broadly across all groups would require a different remedy. Similarly, a grouping that reflects irrelevant surface differences might diversify the files without diversifying the errors.

Screen structural shape before witness voting

Another learn-stage use concerns the screening of teacher-generated parses or frames. Auto-CoT accepts demonstrations using simple properties of the question, rationale, and answer. Mova could apply an analogous preliminary screen to the shape of generated linguistic structures before witness parsers vote on them.

For dependency parsing, proposed checks include depth, arc count, and root count. For frames, the corresponding checks would concern whatever structural requirements Mova’s representation actually imposes. The purpose would be to reject candidates that fail basic expectations before asking other components to assess them.

This distinction is important for transparency. Passing a shape rule would mean that a candidate has an acceptable form under that rule. It would not mean that the analysis expresses the sentence correctly. A shallow tree can attach a word to the wrong head; a well-formed frame can assign the wrong participant role. The retained record should therefore keep structural acceptance separate from witness agreement and from any stronger correctness judgment.

The relevant tests would check whether screening removes clearly unsuitable candidates and whether it changes the quality of material reaching the witnesses. They should also examine rejected candidates. A rule that discards valid but difficult structures could make the remaining collection appear cleaner while reducing the learner’s coverage. Auto-CoT motivates inexpensive screening, but it does not settle the tradeoff for Mova.

Use corruption as a negative control

The paper’s contamination experiment also suggests a learn-stage test. Mova could observe how parser accuracy is affected by deliberately introducing a known proportion of corrupted silver trees. This would provide a negative control: the evaluation would include material known to be damaged rather than relying solely on suspected teacher errors.

The most informative version would preserve the identity and origin of each corruption. A change in parser behavior could then be connected to the type of damaged supervision that produced it. The experiment could compare dispersed corruption with corruption concentrated in a syntactic or lexical group, following the paper’s distinction between diverse demonstrations and repeated mistakes among similar questions.

This remains a proposed evaluation, not evidence that Mova is robust. Graceful degradation would support a bounded claim about the tested corruption procedure and evaluation set. A sharp collapse would identify a weakness in the training or selection process. Neither outcome should be generalized to every kind of teacher error, because deliberately damaged trees may differ from the mistakes teachers naturally produce.

Keep worked cases for answering

For the answer stage, Mova’s maths word-problem solver could retain solved problems together with explicit solution traces. A later problem could retrieve a diverse selection of earlier cases as possible templates. The connection to Auto-CoT is the use of stored question–trace pairs, especially in the streaming extension.

The useful stored object would contain more than the final numerical answer. It would preserve the problem interpretation and the steps used to reach that answer. This would let Mova inspect whether a retrieved case matches the new problem’s relationships and whether its own trace remains internally consistent.

Diversity would again serve a specific purpose. Retrieving many near-identical cases could repeatedly suggest an inappropriate interpretation, much as the paper’s similar cooking questions repeated a misunderstanding about what remained. A varied collection might expose alternative solution structures. Whether that helps Mova would depend on how its solver chooses and checks a template; the paper does not evaluate that mechanism.

Group school questions by frame structure

A further answer-stage idea is to cluster school-course questions according to their frames. Such grouping could reveal recurring question types and help route each type to a reader strategy suited to its structure. Here, a cluster would be an aid to organization and routing, not a guarantee that all its members require identical reasoning.

This proposal extends beyond Auto-CoT’s demonstrated use of clustering. The paper uses groups to choose a diverse prompt. It does not build dedicated readers for the groups. Mova would therefore need separate evidence that frame-based grouping corresponds to useful differences in how questions should be interpreted.

The transparent implementation principle is to retain the route decision alongside the frame and answer trace. A mistaken answer could then be investigated as an interpretation failure, an unsuitable route, or a failure within the selected strategy. That is the most useful connection to Mova’s emphasis on inspectable stages: the paper encourages careful selection of generated material, while Mova could make each selection and its consequences visible.

The problem and its context

Chain-of-thought prompting changes what a language model is asked to produce. Rather than moving directly from a question to a final answer, the prompt encourages intermediate reasoning. A demonstration might show how relevant quantities are identified, how a relation is interpreted, or how a symbolic state changes before stating the result.

The paper treats this as a prompting technique. It does not propose a new training objective or update the underlying system’s parameters. Its immediate problem is how to assemble the context that elicits useful reasoning from an existing system.

Worked examples help, but somebody must make them

The authors distinguish two established routes to eliciting intermediate reasoning. Zero-Shot-CoT uses a short instruction without worked demonstrations. Manual-CoT shows examples that include explanations and answers.

The attraction of the zero-shot route is its simplicity. A task can be attempted without preparing an example set. The attraction of the manual route is stronger performance in the comparisons described by the authors. Its cost lies in selecting effective questions and writing suitable chains for them.

These costs are not limited to producing grammatically fluent explanations. A demonstration must exhibit a useful way of approaching the task. Arithmetic questions and commonsense questions may need different forms of explanation, so a carefully prepared set for one task does not necessarily serve another equally well. This makes manual prompt construction a recurring engineering burden.

The paper’s motivating question is whether the two routes can support each other. If a zero-shot system can already generate some useful reasoning chains, perhaps those chains can become demonstrations. The challenge then moves from writing every example to deciding which automatically generated examples should be trusted and combined.

In-context learning makes selection consequential

This proposal belongs to few-shot learning through in-context examples. The authors connect it to the line of work represented by Language Models are Few-Shot Learners. Examples become part of the input, allowing an existing system to respond differently without a parameter update.

The paper describes several ways earlier research improved this process. Some methods retrieve demonstrations related to the current input. Others add task instructions or alter how output probabilities are used. These approaches make prompt construction an object of optimization instead of treating it as a fixed wrapper around the task.

Earlier studies also showed that performance can depend on the selected demonstrations and their presentation. The paper cites sensitivity to wording, ordering, and example choice. In discussing Manual-CoT, it reports that demonstrations written by different annotators produced an accuracy disparity of up to 28.2% on a symbolic task, while order changes affected most tasks by less than 2%.

Those observations motivate attention to demonstration content. They do not imply that order never matters. Their role in this argument is narrower: if different authors can produce substantially different results, automatically constructing effective questions and chains is a substantive problem.

A reasoning demonstration has several relationships

An ordinary labeled example may connect an input directly to an output. A CoT demonstration inserts an explanation between them. The question must correspond to the explanation, and the explanation must support the answer.

That extra structure changes the meaning of a corrupted example. A demonstration might contain a plausible explanation for another question. It might interpret the current question incorrectly while carrying out its chosen calculation coherently. Or it might contain a final answer inconsistent with its own reasoning.

The authors contrast this situation with earlier findings that incorrect example labels sometimes caused only modest degradation on classification or multiple-choice tasks. Their own analysis indicates that such tolerance should not simply be assumed for reasoning demonstrations. A familiar-looking chain can carry a harmful inconsistency.

This is why automatic rationale generation alone does not solve the problem. Fluency and apparent stepwise organization are insufficient acceptance criteria. Even a chain with sensible local transitions may answer the wrong question or end with an unsupported result.

Earlier ways of generating and combining reasoning

The related-work discussion describes STaR as generating rationales and selecting those associated with correct answers. That procedure relies on questions with annotated answers. Auto-CoT adopts a different information constraint: it assumes access to questions without the training annotations needed for that selection.

The authors also discuss decomposition and ensemble approaches. Least-to-most prompting reduces a difficult problem to subproblems that are handled sequentially. Self-consistency samples multiple reasoning paths and combines their final answers through voting. Other cited approaches vary demonstrations or inputs to produce additional rationales.

These methods address different parts of the reasoning pipeline. Decomposition changes how the target problem is approached. Voting changes how several generated attempts are combined. Auto-CoT concentrates on constructing the demonstrations that precede a target question.

The distinction matters because the paper does not claim that its contribution replaces every other reasoning technique. Its stated goal is to remove manual demonstration construction while retaining competitive performance. The evaluation therefore asks whether automatically assembled prompts can stand alongside prompts whose examples were prepared by people.

Why ordinary retrieval becomes a risk

Retrieving similar examples is initially a natural candidate. If a target question concerns a particular relation, examples using that relation appear more useful than unrelated examples. With reliable annotations, this intuition can hold.

The paper’s complication is that the annotations are generated by the same fallible system being prompted. Similarity can select a shared weakness as readily as a shared solution pattern. When that happens, several demonstrations reinforce one mistaken interpretation.

The authors call this mechanism misleading by similarity. Its importance extends beyond the statement that generated examples can be wrong. It concerns how errors are distributed and selected. A collection with a modest overall error rate may still yield a particularly unreliable prompt for questions located near a concentration of mistakes.

Auto-CoT’s clustering strategy responds to that distributional problem. It seeks coverage across groups so that a prompt is less likely to be dominated by one troublesome neighborhood. This is the bridge from the paper’s initial failure analysis to its final method.

The method, step by step

Auto-CoT has a preparation stage and an answering stage. Preparation turns a collection of unlabeled questions into a small set of demonstrations. Answering places those demonstrations before a target question and requests a reasoning chain ending in an answer.

The preparation procedure combines representation, clustering, generation, and screening. Each has a limited role. Representations make questions comparable; clustering organizes coverage; generation supplies missing explanations and answers; screening rejects candidates that fail simple conditions.

Constructing and using Auto-CoT demonstrations

The steps in order.

Constructing and using Auto-CoT demonstrationsStep 1: Encode the available questions1. Encode the available questionsStep 2: Cluster their question representations2. Cluster their question representationsStep 3: Rank candidates near each cluster center3. Rank candidates near each cluster centerStep 4: Generate candidate explanations and answers4. Generate candidate explanations and answersStep 5: Apply length and consistency checks5. Apply length and consistency checksStep 6: Keep a demonstration from each cluster6. Keep a demonstration from each clusterStep 7: Prompt the target with the demonstrations7. Prompt the target with the demonstrations

Begin with questions rather than annotated solutions

The assumed starting resource is a collection of test questions. The main procedure does not require a training set containing correct answers or reasoning chains. This is a central condition of the paper’s contribution.

It is useful to distinguish that condition from a claim of having no human choices anywhere in the system. The authors still choose the representation method, clustering procedure, demonstration counts, prompting format, and screening rules. What the procedure removes is manual authorship of the task’s individual demonstrations.

Likewise, generating a chain is not a form of supervised parameter training here. The generated material is placed into a prompt. The underlying language model is then invoked using that context. The method’s adaptation occurs through the content of the input.

The paper states that official code is available. Its methodological description nevertheless makes the essential procedure understandable without treating implementation access as a substitute for explaining the selection decisions.

Encode and group the questions

The authors use Sentence-BERT to obtain a representation of each question. Contextualized vectors are averaged into a representation of fixed size. The resulting vectors are passed to k-means, which partitions the collection into clusters.

The intended benefit is semantic variety among selected questions. Questions placed together are treated as similar under the representation and clustering procedure. Selecting across groups should therefore offer broader coverage than selecting several neighbors of a single target.

This is an operational definition of diversity. It does not establish that the groups correspond exactly to human-defined reasoning skills. A representation may reflect topic, wording, or other regularities alongside problem structure. The paper’s error analysis gives a reason to use these groups, but it does not turn them into a verified taxonomy.

Within each group, questions are ordered by increasing distance from its center:

q⁽ⁱ⁾ = [q₁⁽ⁱ⁾, q₂⁽ⁱ⁾, …]

Here, q⁽ⁱ⁾ denotes the ordered question list for cluster i. The subscript on an individual question records its position in that list. A candidate earlier in the list lies closer to the cluster center than candidates considered later.

This ordering adds a preference for representativeness within the broader commitment to diversity. The procedure seeks different kinds of questions across clusters, then favors central examples within each kind. It does not deliberately seek the most unusual member of every group.

Generate a chain for a candidate

For each cluster, Auto-CoT considers candidates in that order. It gives a candidate question to Zero-Shot-CoT, requesting intermediate reasoning through the stepwise trigger.

The output is divided conceptually into a rationale and an extracted answer. The rationale contains the intermediate reasoning. The answer is the final task output obtained from the generated chain.

A candidate demonstration has the following form:

dⱼ⁽ⁱ⁾ = [Q: qⱼ⁽ⁱ⁾, A: rⱼ⁽ⁱ⁾ ∘ aⱼ⁽ⁱ⁾]

The symbol dⱼ⁽ⁱ⁾ denotes the candidate demonstration made from the question at position j in cluster i. The question is qⱼ⁽ⁱ⁾, its generated rationale is rⱼ⁽ⁱ⁾, and its extracted answer is aⱼ⁽ⁱ⁾. The symbol ∘ indicates concatenation. The labels Q and A mark the question and response portions of the demonstration.

The separation between rationale and answer matters because the paper later checks their correspondence. A final answer is not treated as an independent label that can be attached arbitrarily to any plausible explanation.

This construction also reveals the source of risk. Neither component is supplied by an independent annotator. The same system may generate a mistaken interpretation, elaborate it coherently, and produce the answer implied by that mistake. Auto-CoT’s selection strategy aims to limit the effect of such cases instead of making generation infallible.

Apply simple acceptance conditions

The basic selection rules favor candidates with questions containing no more than 60 tokens and rationales containing no more than 5 reasoning steps. The authors use line breaks as a convenient approximation to step boundaries because Zero-Shot-CoT frequently separates steps that way.

These rules are deliberately inexpensive. They do not inspect every inference for logical validity. Their immediate effect is to favor simpler, more compact demonstrations and avoid some candidates associated with mistakes.

The appendix adds an answer-consistency condition for arithmetic tasks other than AQuA. A nonempty extracted answer must be included in the rationale. AQuA is excluded from that particular condition because its output is multiple choice.

The occurrence condition is a weak but meaningful check. It can catch some cases where answer extraction produces a result disconnected from the explanation. It cannot establish that the explanation’s calculation is correct, or that a number appearing in the explanation is the number the question requests.

The procedure moves through candidates until it finds a suitable demonstration for the cluster. Therefore, being near a cluster center gives a question priority for consideration rather than unconditional acceptance. A central question can still be rejected because its generated chain does not meet the rules.

Assemble the prompt

After selection, the method has a demonstration from each cluster:

D = [d⁽¹⁾, …, d⁽ᵏ⁾]

D denotes the completed demonstration collection. Each d⁽ⁱ⁾ is the selected question–rationale–answer demonstration for cluster i, and k is the number of clusters and demonstrations.

The demonstrations are concatenated before the target question. The target retains a prompt requesting stepwise reasoning. The resulting generation is expected to contain intermediate reasoning and a final answer.

This is a dataset-oriented construction. The main method prepares a diverse collection using the available questions rather than retrieving a fresh set of nearest neighbors for every target. That distinction is essential to understanding how it avoids the failure identified in Retrieval-Q-CoT.

The number of demonstrations follows the earlier CoT setup. Most tasks use 8. AQuA and Last Letter Concatenation use 4, CommonsenseQA uses 7, and StrategyQA uses 6. These settings determine the size of the context assembled for each task; the paper does not present them as automatically discovered optimal values.

Understand the similarity-based comparison

The preliminary Retrieval-Q-CoT method encodes questions with the same general aim of finding useful examples, but selects the top-k neighbors of each target using cosine similarity. It excludes the current target from that retrieval pool.

Random-Q-CoT instead samples other questions randomly. Both comparison methods ask Zero-Shot-CoT to generate the missing chains. This keeps the source of the chains comparable while changing question selection.

The distinction isolates an important issue. Retrieval is not being compared with a method that has access to cleaner explanations. Both are exposed to generated mistakes. The question is whether concentrating selection around the target’s neighborhood makes those mistakes more damaging.

The authors also examine retrieval with annotated chains on datasets where such annotations exist. That is a different information condition. Its purpose is to test whether retrieval itself is ineffective or whether its weakness arises from retrieving questions whose automatically generated chains repeat a systematic failure.

Extend the procedure to arriving batches

The main method assumes that the question collection is available in advance. Auto-CoT* addresses a streaming setting in which questions arrive in batches.

Its memory begins empty:

ℳ₀ = ∅

The symbol ℳ₀ denotes the initial store of question–chain pairs, and ∅ denotes an empty set. No demonstrations from earlier arrivals are available at this point.

For the initial batch, the system uses Zero-Shot-CoT directly. The authors do not cluster that small batch for demonstration construction. They then add its questions and generated chains to the store, producing ℳ₁.

For a later batch b, where b > 1, demonstrations are constructed from the existing store ℳᵦ₋₁ using the Auto-CoT approach. Those demonstrations support reasoning on the newly arrived questions. The new question–chain pairs are then added, yielding ℳᵦ.

Here, b indexes the incoming batch. The subscript on ℳ records how many batches have contributed material to the store. The stored chains are generated outputs, so the extension reuses its own earlier reasoning rather than waiting for human-written demonstrations.

This changes the practical resource assumption without changing the basic selection idea. Earlier cases supply a candidate pool; clustering and screening organize their reuse. It also creates a potential feedback mechanism, because an early mistake may remain available as a later demonstration.

Generation settings and the scope of automation

The default generator is GPT-3, specifically text-davinci-002, with 175B parameters. The authors also evaluate code-davinci-002, referred to as Codex.

Generation uses greedy decoding. The reported settings are temperature = 0 and max_tokens = 256. The paper places the API experiments between July-2022 and September-2022.

These details delimit the demonstrated procedure. Auto-CoT automates demonstration creation using systems capable of producing useful zero-shot chains under those conditions. It does not show that a generator with substantially weaker reasoning could manufacture equally effective demonstrations.

The official method therefore combines an automatic content pipeline with fixed engineering choices. Its achievement lies in avoiding task-specific authorship of each question and chain while retaining useful performance, rather than in removing every decision involved in prompt design.

Experiments and results

The experiments evaluate answer accuracy across ten benchmarks. They also investigate why a straightforward automatic baseline fails and whether the proposed selection strategy remains useful when demonstrations contain errors.

The main comparison is against manually written reasoning demonstrations. The paper also includes baselines that omit demonstrations, omit rationales, or select demonstration questions differently. Together, these comparisons separate several sources of improvement: asking for reasoning, showing examples, including explanations, and choosing examples carefully.

What the benchmark collection covers

Arithmetic evaluation includes MultiArith, GSM8K, and AddSub. It also includes AQuA, SingleEq, and SVAMP. These tasks place numerical reasoning inside written questions, providing a setting where a fluent explanation can still misunderstand which quantity is requested.

The commonsense group contains CommonsenseQA and StrategyQA. The authors describe CommonsenseQA as involving complex semantics and prior knowledge. StrategyQA requires an implicit reasoning path across multiple steps.

The symbolic group contains Last Letter Concatenation and Coin Flip. The former requires assembling the final letters of words. The latter tracks whether a coin remains heads up after described actions that may flip it or leave it unchanged.

These groups test different kinds of answer production. Arithmetic requires interpreting quantities and operations. Commonsense questions require drawing on relevant knowledge and relations. The symbolic tasks require following a specified transformation or state sequence.

The breadth matters because the proposed procedure is meant to construct demonstrations automatically for different tasks. It does not, however, make every benchmark equivalent. Success at tracking a symbolic state and success at answering a knowledge-dependent question provide different evidence about the resulting prompt.

The baseline prompts

The Zero-Shot baseline attaches a direct-answer cue to the question. It does not ask for a worked reasoning chain.

Zero-Shot-CoT requests intermediate reasoning without supplying demonstrations. This baseline also serves as Auto-CoT’s demonstration generator, making its errors central to the paper’s analysis.

Few-Shot supplies examples but removes their rationales. Comparing this condition with Manual-CoT tests the value of including the reasoning portion of the examples.

Manual-CoT uses demonstrations prepared by people, including their explanations. It is the principal reference point for the claim that manual demonstration construction can be avoided.

The paper states that baseline results come from the earlier CoT studies. Auto-CoT’s results are averaged across three random runs. This evaluation supports a comparison with established prompt configurations, while also making it important to distinguish reported benchmark performance from a claim about every possible manual prompt.

The central benchmark finding

With GPT-3, the authors characterize Auto-CoT as matching or exceeding Manual-CoT throughout the ten-task evaluation. The result supports the feasibility of automatic demonstration construction across the tested task families.

The comparison has a practical feature beyond the headline accuracy claim. Manual demonstrations can be reused across related datasets because writing separate sets is costly. The paper notes that the manual approach shares demonstrations across 5/6 of the arithmetic datasets. Auto-CoT instead constructs demonstrations from each dataset’s available questions.

This gives the automatic method a form of task adaptation. Its examples can reflect the particular question collection without requiring someone to author a new prompt. That advantage is part of the evaluated system, rather than an incidental convenience.

At the same time, it means that the experiment is not solely a comparison between generated and human-written explanations for identical demonstration questions. Question selection and dataset adaptation also differ. The result concerns the complete prompt-construction procedures.

The Codex evaluation provides another check. Replacing the default generator improves Manual-CoT relative to its GPT-3 setting, while Auto-CoT remains competitive overall. The authors use this as additional evidence that the method is useful beyond the default generator. They do not turn it into a claim of uniform superiority across every task and generator combination.

Why nearest-neighbor selection disappointed

The preliminary analysis begins with an attractive automatic strategy: retrieve questions resembling the target and generate chains for them. On MultiArith, this strategy performs worse than random question selection.

The authors then examine a more focused outcome. They run Zero-Shot-CoT on all 600 MultiArith questions and collect the 128 questions it answers incorrectly. This corresponds to the reported error rate of 21.3%.

They ask how frequently adding automatically generated demonstrations still fails on that difficult subset. The resulting unresolving rate measures the proportion of those initially failed questions that remain incorrect.

MultiArith questions still wrong after Zero-Shot-CoT failure

Random selection leaves fewer initially failed questions unresolved than similarity retrieval.

MultiArith questions still wrong after Zero-Shot-CoT failureRetrieval-Q-CoT: 46.9Retrieval-Q-CoT46.9Random-Q-CoT (this paper): 25.8Random-Q-CoT (this paper)25.8
The numbers
System or settingunresolving rate %
Retrieval-Q-CoT46.9
Random-Q-CoT (this paper)25.8

The metric has a specific denominator: the questions that Zero-Shot-CoT initially missed. It is not full-dataset accuracy. It measures how effectively a demonstration strategy rescues cases already known to be difficult for the chain generator.

This makes the comparison especially relevant to the proposed mechanism. Similarity retrieval does not merely produce a different average score; it more frequently preserves the generator’s existing failures. Random selection, in spite of lacking deliberate target relevance, provides more successful corrections within this subset.

A concrete repeated misunderstanding

The paper’s case study concerns questions about the time needed to cook what remains. Retrieved examples resemble the target, but their generated chains calculate a total rather than the requested remainder.

The mistake is interpretive. The generated reasoning may follow a recognizable calculation while applying it to the wrong quantity. When several demonstrations exhibit that interpretation, they give the target prompt repeated examples of the same error.

The random-selection prompt avoids concentrating those closely related failures and reaches the intended interpretation in the illustrated case. This example explains what the unresolving-rate comparison is meant to capture.

It should still be read as a case study. It demonstrates a plausible and observed route to failure, not a complete account of every incorrect retrieved demonstration. The broader clustering analysis is needed to show that error concentration extends beyond the single example.

Error concentration within clusters

The authors cluster MultiArith’s 600 questions using k = 8. They then measure the frequency of wrong Zero-Shot-CoT answers within each cluster.

Cluster 2 has a reported error rate of 52.3%, making it the frequent-error cluster in that analysis. This establishes that the generator’s failures are unevenly distributed under the chosen grouping.

The important comparison is conceptual instead of a new aggregate score. A global error rate can conceal a region where generated chains are much less reliable. A retrieval method aimed at that region can repeatedly draw from it.

The appendix reports related patterns on additional datasets and under different cluster counts. Those observations strengthen the argument that the initial MultiArith pattern is not merely a single arbitrary partition.

Incorrect demonstrations and streaming arrivals

The contamination experiment compares Auto-CoT with an In-Cluster Sampling baseline that selects demonstration questions from the target’s own cluster. On MultiArith, the authors report that Auto-CoT’s performance changes relatively little even when 50% of its demonstrations are wrong.

This result concerns the tested prompts and error composition. Its value is comparative: diverse selection is less affected than the strategy that keeps sampling within the target’s cluster.

For streaming evaluation, batches contain m = 30 MultiArith questions. The initial batch receives no support from an earlier memory, so Auto-CoT* and Zero-Shot-CoT have equal accuracy there. From batch 2, the authors report performance comparable to Manual-CoT.

The extended analysis covers all 600 MultiArith questions. The main discussion initially presents the first 10 batches, containing 300 questions, while the appendix extends the view. The reported pattern supports the feasibility of building a useful demonstration pool through earlier generated cases, within this particular streaming experiment.

What the ablations show

The paper’s analyses do more than remove a component and observe the final score. They intervene on relationships within demonstrations, compare selection rules, inspect error distributions, and control the amount of incorrect material.

These comparisons help explain why Auto-CoT can work despite using an imperfect generator. They also show why its success should not be reduced to the claim that any automatically generated reasoning text will help.

Explanation–answer correspondence is consequential

The component-shuffling experiment starts from demonstrations containing questions, rationales, and answers. The authors shuffle selected components to disrupt their relationships.

The reference accuracy in this analysis is 91.7%. Shuffling questions reduces it to 73.8%. Shuffling rationales yields 43.8%, while shuffling answers yields 17.0%.

These outcomes establish that the components are not interchangeable pieces of plausible-looking prompt text. The explanation and final answer need to preserve meaningful correspondence for the demonstrations to remain effective.

The authors suggest that the relatively smaller reduction after question shuffling may reflect learning from rationale–answer patterns. A system might still pick up how an explanation leads to an output even when the associated question has been disrupted.

That is an interpretation, not direct evidence about the internal computation used during generation. The experiment measures answer accuracy after a prompt intervention. It does not reveal precisely which representation or inference mechanism accounts for the remaining performance.

The severe effect of shuffling answers is especially relevant to automatic extraction. A rationale that appears coherent can still become a harmful demonstration if its attached answer conflicts with it. This motivates checking the generated demonstration as a connected object.

The result also qualifies a broad analogy with ordinary labeled examples. Findings about tolerance to incorrect class labels do not automatically transfer to prompts where an explanation mediates the connection between input and output.

Central questions generally make better demonstrations

Auto-CoT orders candidates by their proximity to a cluster center. The authors compare this with selecting candidates farthest from the center and with random selection within the cluster.

For this analysis, they use only demonstrations whose answers are correct. That restriction is important. It reduces the influence of different error rates so the comparison can focus more directly on which questions make useful demonstrations.

The reported conclusion favors questions nearer the cluster center. This supports the method’s preference for representative candidates once coverage across clusters has been established.

The finding does not mean that unusual examples are always unhelpful. It concerns the tested selection rules and candidate collections. A rare but important case could still matter in another application, particularly if evaluation assigns special weight to it.

Nor does the analysis show that distance from a cluster center is a correctness score. The experiment explicitly controls answer correctness. It supports centrality as a selection preference among the considered demonstrations, rather than as a substitute for validation.

The screening rules reduce mistakes

The heuristic analysis compares demonstration construction with and without the simple acceptance conditions. Construction is repeated three times to assess the average number of wrong rationales.

The authors report fewer mistakes after screening. They also express demonstration error as the average count of wrong rationales divided by the demonstration count.

Under the heuristic procedure, this error rate remains below 20% for most tasks, identified as 7/10 of the evaluated collection. This provides direct evidence that the rules improve the generated demonstration pool under the authors’ assessment.

It is useful to keep this outcome separate from final answer accuracy. Cleaner demonstrations are a plausible contributor to better prompting, but a reduction in demonstration errors is not identical to a measured downstream improvement on every task.

The screening package also contains different kinds of checks. Length restrictions favor compactness, while answer occurrence addresses a specific mismatch risk. The reported analysis supports their practical use together without fully isolating the contribution of every individual condition.

The remaining error rate matters as much as the reduction. Auto-CoT does not succeed by eliminating every incorrect demonstration. Its diversity strategy is designed to make a partially imperfect collection usable.

Diverse errors are less damaging than concentrated errors

The controlled wrong-demonstration experiment compares the proposed selection strategy with sampling inside the target’s cluster. Both conditions can contain incorrect examples, but their organization differs.

Auto-CoT’s relative resilience supports the claim that the distribution of mistakes matters. A prompt containing errors from varied question types need not have the same effect as a prompt repeatedly demonstrating one misleading pattern close to the target.

This is a stronger insight than simply observing that an imperfect prompt can sometimes work. It identifies a selection decision that changes sensitivity to contamination.

The experiment does not establish a universal safe fraction of incorrect demonstrations. Its reported tolerance at 50% belongs to MultiArith and the tested construction procedure. Other tasks or kinds of inconsistency could behave differently.

The component-shuffling experiment provides a reason for that caution. Randomly disrupting explanation–answer relationships can be highly damaging. The nature of an error matters alongside how many examples are wrong.

Frequent-error groups recur under other partitions

The appendix investigates whether concentrations of error remain visible when the clustering setup changes. It reports similar behavior across several datasets and cluster counts.

This supports the paper’s diagnosis that failures often have structure. A system may lack a way of handling a recurring class of questions, so errors accumulate among related inputs.

The analysis remains tied to the chosen representations and benchmark collections. It does not establish that every apparent cluster corresponds to a distinct missing skill, or that the same group would remain stable under all encoders.

Its practical implication is nonetheless clear: inspect where mistakes accumulate before choosing a retrieval strategy. An average reliability estimate for the whole candidate pool may be insufficient when the selector systematically visits its least reliable regions.

Bootstrapping tests a different availability assumption

The streaming experiment changes what is available when answering begins. Rather than starting from the full question collection, Auto-CoT* must accumulate a memory from earlier arrivals.

Its reported improvement after the initial batch suggests that a useful pool can be built from generated traces. This supports the method under a more restrictive access pattern.

However, the comparison does not separately isolate every aspect of memory construction. Pool growth, question coverage, and the quality of earlier generations change together as batches arrive.

The result therefore supports the complete bootstrapping procedure under the tested stream. It does not prove that retaining every earlier trace is optimal, that memory quality necessarily improves indefinitely, or that the same behavior would persist under a changing task distribution.

Limitations

The paper makes a focused empirical case for automatic demonstration construction. Its strongest claim concerns the tested prompting procedures on the evaluated benchmarks. Broader conclusions about reliable reasoning, explanation faithfulness, or autonomous improvement require evidence beyond these experiments.

Some limitations are central to the authors’ own motivation and discussion. Others follow from the evaluation design and should be treated as cautions raised by a careful reading.

The authors acknowledge imperfect generated chains

The method begins from the recognition that Zero-Shot-CoT produces mistakes. The authors do not describe clustering as a way to make every generated explanation correct.

Their screening analysis confirms this bounded objective. The rules reduce the number of wrong rationales, while some incorrect material remains. Diversity is intended to limit the harm caused by that residual error.

This distinction prevents an overly strong reading of the main result. Competitive final accuracy does not certify the demonstrations as a correct collection of worked solutions. A system may succeed on many targets while its prompt still contains flawed reasoning.

The same issue applies to stored traces in the streaming extension. A generated question–chain pair is available for reuse, but availability is not correctness.

The main procedure assumes advance access to questions

The authors explicitly identify the full-dataset assumption and introduce streaming as a more demanding alternative. In the main procedure, the question collection can be encoded and clustered before demonstration selection.

This is access to unlabeled inputs rather than access to supplied correct answers. It still provides information about the distribution of questions that will be encountered.

A careful reader should therefore distinguish the main benchmark setup from a deployment in which isolated questions arrive without an established candidate pool. Auto-CoT* addresses part of that gap, but its separate experiment is narrower than the main benchmark evaluation.

The streaming result is encouraging evidence for reuse under sequential arrivals. It is not a replacement evaluation across every task and every possible arrival pattern.

The evidence concerns particular generators

The experiments center on text-davinci-002 and add code-davinci-002 as a further evaluation. This supports a claim of usefulness beyond a single reported generator.

It does not establish that the procedure is independent of the generator’s capabilities. The demonstration pipeline relies on useful zero-shot chains existing in the candidate pool. If those chains are consistently poor, clustering can redistribute examples without supplying the missing reasoning ability.

For Mova or another small system, this means that the paper’s direct evidence concerns using generated demonstrations with the evaluated large systems. Applying the selection principle to a different learner or a different kind of generated structure remains an empirical question.

This is a limitation inferred from the setup rather than a separate failure reported by the authors.

Compactness is a proxy for suitability

The authors motivate simple rules by the observed tendency of problematic demonstrations to involve longer questions or rationales. Those rules are useful because they can be applied without reference solutions.

A careful reader should also recognize the selection bias they introduce. Favoring short inputs and brief reasoning may omit valid demonstrations whose difficulty requires more explanation.

The benchmark results show that the resulting prompt collection can work well in the tested setting. They do not establish that short explanations are inherently superior, or that the same thresholds suit every reasoning task.

Counting line breaks is similarly approximate. A formatting choice can affect the counted number of steps without changing the underlying reasoning. The check is operationally convenient, but it is not a semantic analysis of an argument.

Answer correctness does not fully characterize rationale quality

For some analyses, the paper calls a demonstration wrong when its answer is wrong. That definition makes contamination measurable, but it does not exhaust the ways an explanation can fail.

A correct final answer may accompany an invalid intermediate step. Conversely, an incorrect final answer may follow a mostly coherent approach that contains a local mistake. The paper itself distinguishes rationale–answer mismatch as a particularly harmful pattern.

The benchmark metric remains answer accuracy. It therefore establishes how frequently the final output matches the task’s expected answer, rather than certifying the validity of each generated inference.

This is especially important when explicit explanations are intended for inspection or reuse. Their usefulness as prompt material and their trustworthiness as accounts of reasoning are related questions, but the experiments do not make them identical.

Clusters provide a useful organization, not a verified skill map

The authors interpret frequent-error clusters as evidence that Zero-Shot-CoT may lack ways of handling recurring problems. The data support uneven error distribution under the chosen grouping.

They do not prove that each cluster isolates a distinct reasoning capability. Sentence representations can organize questions according to multiple regularities, and the projection used for visualization is descriptive.

A downstream system should therefore validate any stronger use of the clusters. Routing a question to a specialist, naming a cluster as a skill, or using cluster membership as a confidence score would extend beyond the demonstrated selection procedure.

This qualification matters particularly for the proposed Mova reader routing. Auto-CoT motivates inspecting grouped question types; it does not supply evidence that group-specific readers are already the right architecture.

Robustness results are conditional

The wrong-demonstration experiment establishes relative resilience on MultiArith under the tested contamination conditions. It should not be generalized into a rule that a prompt can safely contain any particular amount of misinformation.

Errors differ in their relationships to the target. Repeated misunderstandings among close neighbors are central to this paper precisely because they can be more damaging than dispersed mistakes.

The shuffling analysis also shows that some disruptions sharply reduce performance. Therefore, the strongest supported statement is comparative: the proposed diverse construction is less vulnerable than the tested concentrated sampling strategy.

A universal guarantee would require a much broader account of error types, task conditions, and selection behavior than this study provides.

Automated prompting retains evaluation and design work

The paper removes manual preparation of individual demonstrations. It still depends on engineering choices about representations, clustering, filtering, formatting, and demonstration counts.

Its benchmark comparisons also evaluate complete procedures with different opportunities for adaptation. Auto-CoT constructs examples from each dataset, while manually written examples may be shared across datasets.

These are legitimate features of the proposed approach, but they limit a narrow causal claim that generated explanations alone account for the result. Selection, coverage, and adaptation are part of the package.

Finally, bootstrapping earlier outputs creates the possibility of persistent mistakes. The reported stream shows useful performance, but it does not establish indefinite self-correction. A growing collection of generated traces remains a resource that requires inspection and evaluation.

What came after

The subsequent citation record places Auto-CoT within several expanding discussions: reasoning, in-context learning, prompt engineering, and systems that reuse generated material. Citation establishes that later authors referred to the work. It does not on its own establish that they adopted its clustering procedure, reproduced its experiments, or obtained improvements from its exact method.

That distinction is especially important for this paper. Its contribution can be borrowed at different levels. A later work might use automatically generated demonstrations, discuss reasoning prompts in a survey, or build a larger system in which examples are selected and reused. Those relationships should not be collapsed into a single direct line of implementation.

Reasoning and in-context learning became broader subjects of synthesis

Towards Reasoning in Large Language Models cites Auto-CoT within a later survey devoted to reasoning. The relevant connection is the question this paper makes explicit: how should a system obtain the worked examples used to elicit intermediate reasoning?

Reasoning with Language Model Prompting belongs to the same broad conversation about prompting as a route to reasoning. Auto-CoT contributes a distinct point within that conversation by treating demonstration construction as an automatic process with its own failure modes.

A Survey on In-context Learning provides another relevant citation context. Auto-CoT concerns a structured form of in-context example use, where the relation between question, explanation, and answer matters. Its component analysis makes it particularly useful when discussing why example quality cannot always be reduced to the correctness of a final label.

A Survey of Large Language Models also cites the work. This broader placement shows that automatic demonstration construction became part of the literature considered in general accounts of these systems. It does not establish that the survey experimentally evaluates Auto-CoT.

Prompt engineering acquired larger organizing accounts

A Systematic Survey of Prompt Engineering describes prompt engineering as adapting pretrained systems through instructions or learned prompt vectors instead of retraining their weights. Its stated motivation is the need to organize methods by application.

Auto-CoT fits that discussion as a method that changes the content supplied in context. It automates the preparation of worked demonstrations while leaving the underlying parameters untouched. Its experiments also illustrate why prompt engineering involves data selection and validation, not merely choosing an instruction sentence.

The Prompt Report and Unleashing the Potential of Prompt Engineering are further citing works concerned with the broader prompt-engineering landscape. Their citation relationship supports discussing Auto-CoT as part of that landscape. It does not support assigning them particular findings about cluster diversity or the paper’s screening thresholds.

The lasting conceptual contribution in this context is precise: a prompt’s examples can be produced by a pipeline, and that pipeline needs its own evaluation. The final instruction is only one part of the constructed input.

Large Language Models Can Self-Improve cites Auto-CoT and addresses self-improvement, as its title indicates. The thematic connection is reuse of generated material. Auto-CoT* already raises the question of whether earlier outputs can become useful resources for later questions.

Large Language Models are Better Reasoners with Self-Verification points toward checking reasoning rather than relying only on its generation. Auto-CoT’s inexpensive screening rules occupy a limited part of that problem: they catch some unsuitable demonstrations without proving their explanations correct.

These are related research concerns, but the citation information does not establish identical mechanisms. Auto-CoT’s bootstrapped prompt memory should not be treated as the same procedure as every later method described as self-improvement, nor should answer occurrence be equated with a complete verification method.

Pipeline and retrieval research provide another context

DSPy cites Auto-CoT in work whose title concerns declarative calls and self-improving pipelines. Demonstrate-Search-Predict places demonstrations alongside retrieval and prediction. Both provide a relevant setting for the idea that prompt construction can be organized as a system of stages.

A Survey on RAG Meeting LLMs and Query Rewriting in Retrieval-Augmented Large Language Models concern retrieval-related systems. Auto-CoT’s contribution to that neighboring discussion is a caution about what is being retrieved. Similarity to an input does not guarantee that automatically generated material is reliable support for it.

The citation list alone does not show that these works replace nearest-neighbor retrieval with Auto-CoT’s clusters. The defensible connection is the broader design problem: retrieved or generated context has a distribution of errors, and selection can concentrate those errors.

The contribution that remains useful

Across these later directions, Auto-CoT supplies a compact research pattern. Begin with a practical attempt to automate an expensive human task. Observe that a plausible baseline fails. Investigate the structure of its errors. Then build selection and screening around the observed failure instead of assuming generated material is interchangeable with annotated material.

Its result is useful because it is conditional and inspectable. Automatic demonstrations can work well under the evaluated conditions; diversity can reduce the reinforcement of recurring mistakes; simple checks can improve the candidate pool. Each claim points to an experiment that can be repeated in a new setting.

For a system such as Mova, that is the appropriate inheritance. Borrow the questions about coverage, consistency, and contamination, implement them in explicit stages, and test whether they explain behavior in the new task. The paper supports that research direction without supplying the result in advance.

 Institutions

 Fields, topics and concepts

Appears in

Mentioned in articles aboutSeattle

Cite

Cite as Zhuosheng Zhang, Aston Zhang, Mu Li and Alex Smola. 2022. Automatic Chain of Thought Prompting in Large Language Models. arXiv:2210.03493.

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

@misc{zhang2022automatic,
  title = {{Automatic Chain of Thought Prompting in Large Language Models}},
  author = {Zhuosheng Zhang, Aston Zhang, Mu Li and Alex Smola},
  year = {2022},
  doi = {10.48550/arxiv.2210.03493},
  eprint = {2210.03493},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.2210.03493}
}

References

37 references, from the paper's own bibliography.

  1. 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. Language models are few-shot learners. In Hugo Larochelle, Marc'Aurelio Ranzato, Raia Hadsell, Maria-Florina Balcan, and Hsuan-Tien Lin, editors, Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems 2020, NeurIPS 2020, December 6-12, 2020, virtual, 2020. URL https://proceedings.neurips.cc/paper/2020/hash/1457c0d6bfcb4967418bfb8ac142f64a-Abstract.html. our card
  2. Romal Thoppilan, Daniel De Freitas, Jamie Hall, Noam Shazeer, Apoorv Kulshreshtha, Heng-Tze Cheng, Alicia Jin, Taylor Bos, Leslie Baker, Yu Du, YaGuang Li, Hongrae Lee, Huaixiu Steven Zheng, Amin Ghafouri, Marcelo Menegali, Yanping Huang, Maxim Krikun, Dmitry Lepikhin, James Qin, Dehao Chen, Yuanzhong Xu, Zhifeng Chen, Adam Roberts, Maarten Bosma, Vincent Zhao, Yanqi Zhou, Chung-Ching Chang, Igor Krivokon, Will Rusch, Marc Pickett, Pranesh Srinivasan, Laichee Man, Kathleen Meier-Hellstern, Meredith Ringel Morris, Tulsee Doshi, Renelito Delos Santos, Toju Duke, Johnny Soraker, Ben Zevenbergen, Vinodkumar Prabhakaran, Mark Diaz, Ben Hutchinson, Kristen Olson, Alejandra Molina, Erin Hoffman-John, Josh Lee, Lora Aroyo, Ravi Rajakumar, Alena Butryna, Matthew Lamm, Viktoriya Kuzmina, Joe Fenton, Aaron Cohen, Rachel Bernstein, Ray Kurzweil, Blaise Aguera-Arcas, Claire Cui, Marian Croak, Ed Chi, and Quoc Le. Lamda: Language models for dialog applications, 2022. URL https://arxiv.org/abs/2201.08239. our card
  3. Jack W. Rae, Sebastian Borgeaud, Trevor Cai, Katie Millican, Jordan Hoffmann, 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 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 Johnson, Blake Hechtman, Laura Weidinger, Iason Gabriel, William Isaac, Ed Lockhart, Simon Osindero, Laura Rimell, Chris Dyer, Oriol Vinyals, Kareem Ayoub, Jeff Stanway, Lorrayne Bennett, Demis Hassabis, Koray Kavukcuoglu, and Geoffrey Irving. Scaling language models: Methods, analysis & insights from training gopher, 2021. URL https://arxiv.org/abs/2112.11446. our card
  4. 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. Palm: Scaling language modeling with pathways, 2022. URL https://arxiv.org/abs/2204.02311. our card
  5. 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. In Thirty-sixth Conference on Neural Information Processing Systems (NeurIPS 2022), 2022a. URL https://arxiv.org/abs/2201.11903. our card
  6. Takeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo, and Yusuke Iwasawa. Large language models are zero-shot reasoners. In Thirty-sixth Conference on Neural Information Processing Systems (NeurIPS 2022), 2022. URL https://arxiv.org/abs/2205.11916. our card
  7. Subhro Roy and Dan Roth. Solving general arithmetic word problems. In Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing, pages 1743–1752, Lisbon, Portugal, 2015. Association for Computational Linguistics. . URL https://aclanthology.org/D15-1202. our card
  8. Alon Talmor, Jonathan Herzig, Nicholas Lourie, and Jonathan Berant. CommonsenseQA: A question answering challenge targeting commonsense knowledge. 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), pages 4149–4158, Minneapolis, Minnesota, 2019. Association for Computational Linguistics. . URL https://aclanthology.org/N19-1421. our card
  9. 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. Training verifiers to solve math word problems, 2021. URL https://arxiv.org/abs/2110.14168. our card
  10. Wang Ling, Dani Yogatama, Chris Dyer, and Phil Blunsom. Program induction by rationale generation: Learning to solve and explain algebraic word problems. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 158–167, Vancouver, Canada, 2017. Association for Computational Linguistics. . URL https://aclanthology.org/P17-1015. our card
  11. Arkil Patel, Satwik Bhattamishra, and Navin Goyal. Are NLP models really able to solve simple math word problems? In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 2080–2094, Online, 2021. Association for Computational Linguistics. . URL https://aclanthology.org/2021.naacl-main.168. our card
  12. 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. . URL https://doi.org/10.1162/tacl\_a\_00370. our card
  13. Eric Zelikman, Yuhuai Wu, and Noah D Goodman. Star: Bootstrapping reasoning with reasoning. arXiv preprint arXiv:2203.14465, 2022. URL https://arxiv.org/abs/2203.14465. our card
  14. Denny Zhou, Nathanael Schärli, Le Hou, Jason Wei, Nathan Scales, Xuezhi Wang, Dale Schuurmans, Olivier Bousquet, Quoc Le, and Ed Chi. Least-to-most prompting enables complex reasoning in large language models. arXiv preprint arXiv:2205.10625, 2022. URL https://arxiv.org/abs/2205.10625. our card
  15. 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, 2022a. URL https://arxiv.org/abs/2203.11171. our card
  16. Xuezhi Wang, Jason Wei, Dale Schuurmans, Quoc Le, Ed Chi, and Denny Zhou. Rationale-augmented ensembles in language models. arXiv preprint arXiv:2207.00747, 2022b. URL https://arxiv.org/abs/2207.00747. our card
  17. 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. URL https://arxiv.org/abs/2206.02336. OpenAlex ↗ · Scholar ↗
  18. Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, Ilya Sutskever, et al. Language models are unsupervised multitask learners. OpenAI blog, page 9, 2019. OpenAlex ↗ · Scholar ↗
  19. 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, pages 2655–2671, 2022. . URL https://aclanthology.org/2022.naacl-main.191. our card
  20. 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. URL https://arxiv.org/abs/2209.01975. OpenAlex ↗ · Scholar ↗
  21. Swaroop Mishra, Daniel Khashabi, Chitta Baral, and Hannaneh Hajishirzi. Cross-task generalization via natural language crowdsourcing instructions. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 3470–3487, 2022. . URL https://aclanthology.org/2022.acl-long.244. OpenAlex ↗ · Scholar ↗
  22. Jason Wei, Maarten Bosma, Vincent Zhao, Kelvin Guu, Adams Wei Yu, Brian Lester, Nan Du, Andrew M. Dai, and Quoc V Le. Finetuned language models are zero-shot learners. In International Conference on Learning Representations, 2022b. URL https://openreview.net/forum?id=gEZrGCozdqR. our card
  23. Victor Sanh, Albert Webson, Colin Raffel, Stephen Bach, Lintang Sutawika, Zaid Alyafeai, Antoine Chaffin, Arnaud Stiegler, Arun Raja, Manan Dey, M Saiful Bari, Canwen Xu, Urmish Thakker, Shanya Sharma Sharma, Eliza Szczechla, Taewoon Kim, Gunjan Chhablani, Nihal Nayak, Debajyoti Datta, Jonathan Chang, Mike Tian-Jian Jiang, Han Wang, Matteo Manica, Sheng Shen, Zheng Xin Yong, Harshit Pandey, Rachel Bawden, Thomas Wang, Trishala Neeraj, Jos Rozen, Abheesht Sharma, Andrea Santilli, Thibault Fevry, Jason Alan Fries, Ryan Teehan, Teven Le Scao, Stella Biderman, Leo Gao, Thomas Wolf, and Alexander M Rush. Multitask prompted training enables zero-shot task generalization. In International Conference on Learning Representations, 2022. URL https://openreview.net/forum?id=9Vrb9D0WI4. our card
  24. Ari Holtzman, Peter West, Vered Shwartz, Yejin Choi, and Luke Zettlemoyer. Surface form competition: Why the highest probability answer isn’t always right. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 7038–7051, 2021. . URL https://aclanthology.org/2021.emnlp-main.564. our card
  25. Zihao Zhao, Eric Wallace, Shi Feng, Dan Klein, and Sameer Singh. Calibrate before use: Improving few-shot performance of language models. In International Conference on Machine Learning, pages 12697–12706, 2021. URL http://proceedings.mlr.press/v139/zhao21c/zhao21c.pdf. our card
  26. Sewon Min, Mike Lewis, Hannaneh Hajishirzi, and Luke Zettlemoyer. Noisy channel language model prompting for few-shot text classification. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 5316–5330, 2022a. . URL https://aclanthology.org/2022.acl-long.365. our card
  27. Jiachang Liu, Dinghan Shen, Yizhe Zhang, William B 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, pages 100–114, 2022a. . URL https://aclanthology.org/2022.deelio-1.10. our card
  28. 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), pages 8086–8098, 2022. . URL https://aclanthology.org/2022.acl-long.556. our card
  29. Haokun Liu, Derek Tam, Mohammed Muqeeth, Jay Mohta, Tenghao Huang, Mohit Bansal, and Colin Raffel. Few-shot parameter-efficient fine-tuning is better and cheaper than in-context learning. arXiv preprint arXiv:2205.05638, 2022b. URL https://arxiv.org/abs/2205.05638. our card
  30. Albert Webson and Ellie Pavlick. Do prompt-based models really understand the meaning of their prompts? In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 2300–2344, Seattle, United States, 2022. Association for Computational Linguistics. . URL https://aclanthology.org/2022.naacl-main.167. our card
  31. Sewon Min, Xinxi Lyu, Ari Holtzman, Mikel Artetxe, Mike Lewis, Hannaneh Hajishirzi, and Luke Zettlemoyer. Rethinking the role of demonstrations: What makes in-context learning work? arXiv preprint arXiv:2202.12837, 2022b. URL https://arxiv.org/abs/2202.12837. our card
  32. 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), pages 3982–3992, Hong Kong, China, 2019. Association for Computational Linguistics. . URL https://aclanthology.org/D19-1410. our card
  33. Mohammad Javad Hosseini, Hannaneh Hajishirzi, Oren Etzioni, and Nate Kushman. Learning to solve arithmetic word problems with verb categorization. In Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 523–533, Doha, Qatar, 2014. Association for Computational Linguistics. . URL https://aclanthology.org/D14-1058. our card
  34. Rik Koncel-Kedziorski, Hannaneh Hajishirzi, Ashish Sabharwal, Oren Etzioni, and Siena Dumas Ang. Parsing algebraic word problems into equations. Transactions of the Association for Computational Linguistics, 3:0 585–597, 2015. . URL https://aclanthology.org/Q15-1042. OpenAlex ↗ · Scholar ↗
  35. Long Ouyang, Jeff Wu, Xu Jiang, Diogo Almeida, Carroll L. Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, John Schulman, Jacob Hilton, Fraser Kelton, Luke Miller, Maddie Simens, Amanda Askell, Peter Welinder, Paul Christiano, Jan Leike, and Ryan Lowe. Training language models to follow instructions with human feedback, 2022. URL https://arxiv.org/abs/2203.02155. our card
  36. 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. URL https://arxiv.org/abs/2107.03374. our card
  37. Rik Koncel-Kedziorski, Subhro Roy, Aida Amini, Nate Kushman, and Hannaneh Hajishirzi. MAWPS: A math word problem repository. In Proceedings of the 2016 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 1152–1157, San Diego, California, 2016. Association for Computational Linguistics. . URL https://aclanthology.org/N16-1136. OpenAlex ↗ · Scholar ↗

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/zhang-2022-automatic-chain-thought-prompting-large/