Aggregate sampled answers, calculate voting probabilities, distinguish plurality from majority, and test the effect of shared errors.
Preparation: probabilities, fractions and the chain-of-thought lesson.
Plan 25–40 minutes with the activities; this is a study estimate, not a timed requirement. Both paths have complete narration. Your notes and progress are kept separately for each level.
FULL LOCAL NARRATION
Follow the complete explanation.
Narration includes worked solutions. Pause at each practice prompt before continuing. Formula notation has a spoken explanation; all teaching text remains readable.
High-school path. Aggregate sampled answers, calculate voting probabilities, distinguish plurality from majority, and test the effect of shared errors. Preparation: probabilities, fractions and the chain-of-thought lesson. Move between Signal Room, Workbench and Field Notes without losing your section. Pause before each worked solution.
Self-consistency generates several reasoning paths and combines their final answers. The idea is that different valid routes may converge on the same result, while mistakes may scatter. The system must extract comparable final answers before voting. It is not asking the same model to declare itself consistent in one response. Sampling changes the candidates, and aggregation changes which answer is delivered. Neither operation guarantees truth. Our experiment has three possible final-answer categories: one designated correct category and two different wrong categories. Their probabilities are teaching inputs, not measurements of a language model.
Worked example. Five worked solutions end with 19, nine, 19, 19 and nine. Counting final answers selects 19 with three votes. That count says how often each answer appeared, not whether the supporting steps were valid.
Selected answer = argmax_a count(extracted answer = a)
The displayed notation records the process described in the example. Keep its assumptions and units attached to the result.
Try it yourself. What is being aggregated: every intermediate sentence or the extracted final answers?
Pause the narration and explain your reasoning before continuing to the worked solution.
Reveal worked solution
In the version studied here, extracted final-answer categories are aggregated. Intermediate paths produce those answers, but voting is over the final categories. Other scoring rules would define different procedures.
Section 02 / 07
Normalize answers without erasing their meaning
Before counting, decide which forms mean the same answer. The strings “one half,” “0.5” and “50 percent” can describe the same number in a compatible context. But “half a meter” and “half a second” are not interchangeable. A careless extraction rule can merge distinct answers or split equivalent ones. Handle missing answers and multiple conflicting final answers explicitly. Keep this normalization rule fixed when comparing sampling methods. Our three categories are already normalized, so every vote belongs to exactly one category and there are no parsing failures.
Worked example. A geometry question asks for a length in meters. Answers “0.5 m” and “50 cm” may be merged after unit conversion. An answer “0.5 square meters” has the wrong dimension and must not be counted as the same length.
Raw answer → validated extraction → task-specific equivalence class
The displayed notation records the process described in the example. Keep its assumptions and units attached to the result.
Try it yourself. Why might exact string counting underestimate agreement on a numeric task?
Pause the narration and explain your reasoning before continuing to the worked solution.
Reveal worked solution
Equivalent values can have different spellings, units or formats. Normalize only with a task-appropriate rule, preserving distinctions such as dimension and sign. Audit ambiguous outputs rather than silently forcing them into a category.
Section 03 / 07
Plurality is not always a majority
With two answer categories and an odd number of votes, the winning category has a majority. With three or more categories, the largest count can be less than half. That is a plurality. Ties can also occur even with an odd number of samples: one vote for each of three answers is a three-way tie. Our experiment breaks ties uniformly among the tied leaders. A production system might instead abstain, sample more or use a verifier. The tie policy affects measured accuracy and belongs in the method description.
Worked example. For three samples, counts one, one and one give no unique leader. Our uniform rule selects the correct category with probability one third on that event. A deterministic alphabetical rule could create an arbitrary category bias.
Tie success contribution = P(count pattern) / number of tied leaders
The displayed notation records the process described in the example. Keep its assumptions and units attached to the result.
Try it yourself. Can nine samples produce a winner with only four votes?
Pause the narration and explain your reasoning before continuing to the worked solution.
Reveal worked solution
Yes. Counts four, three and two produce a plurality winner with four of nine votes, below half. Do not describe this as majority agreement.
Section 04 / 07
Calculate the independent-sampling case
Begin with independent attempts that share a fixed probability distribution. If there are only two possible answers, each attempt is correct with probability 0.6, and we take three votes, a correct majority occurs when exactly two or all three are correct. This produces a gain over a single attempt in this example. The gain is not universal: if a shared wrong answer is more likely than the correct one, additional independent votes can reinforce that wrong answer. Sampling helps only in relation to the actual distribution and selection rule.
Worked example. With p equal to 0.6 and three binary votes, exactly two correct has probability three times 0.6 squared times 0.4, or 0.432. All three correct has probability 0.216. Their sum is 0.648, compared with 0.6 for one attempt.
P(correct majority, N=3) = 3p²(1−p) + p³
The displayed notation records the process described in the example. Keep its assumptions and units attached to the result.
Try it yourself. For binary p equal to 0.4 and three votes, does majority voting improve correctness?
Pause the narration and explain your reasoning before continuing to the worked solution.
Reveal worked solution
No. The same calculation gives three times 0.4 squared times 0.6 plus 0.4 cubed, or 0.352. The wrong category is more likely and voting strengthens it in this example.
Section 05 / 07
Wrong-answer diversity changes the result
Two models can have the same single-attempt accuracy and different voting behavior. One may concentrate all errors on one wrong answer. The other may distribute errors across several answers, leaving the correct answer as the most frequent individual category. Our split control divides the wrong probability mass between two wrong categories while keeping the correct probability fixed. This makes a useful distinction visible: per-attempt correctness alone does not determine plurality accuracy. The identity and concentration of the wrong answers matter too.
Worked example. At p 0.4, three samples and evenly split wrong mass, the category probabilities are 0.4, 0.3 and 0.3. Correct selection is 0.424 under the uniform tie rule. Concentrating all wrong mass into one category gives the binary result 0.352. Coverage is 0.784 in either case.
p_categories = [p, (1−p)s, (1−p)(1−s)]
The displayed notation records the process described in the example. Keep its assumptions and units attached to the result.
Try it yourself. Why does equal candidate coverage not imply equal voting accuracy?
Pause the narration and explain your reasoning before continuing to the worked solution.
Reveal worked solution
Coverage only asks whether a correct answer appeared somewhere. Voting also depends on how many times each competing answer appeared. The same chance of including a correct answer can lead to different selected answers.
Section 06 / 07
Model shared draws without claiming a universal correlation law
To demonstrate dependence, our experiment mixes two simple mechanisms. With a chosen probability, the entire batch copies one categorical draw, so every answer is identical. Otherwise it uses independent draws. This shared-batch probability is an explicit teaching construction, not a fitted correlation coefficient for real models. When every batch is copied, taking more samples adds no new information and selected accuracy equals the single-draw accuracy. Real dependence can be subtler, but the example shows why repeated agreement is weak evidence when the repetitions are not informative.
Worked example. Use the binary p 0.6, three-vote example. Independent correctness is 0.648. At shared-batch weight one half, correctness is half of 0.6 plus half of 0.648, or 0.624. At weight one, it returns to 0.6 regardless of the sample count.
The displayed notation records the process described in the example. Keep its assumptions and units attached to the result.
Try it yourself. Is repeating one already generated answer ten times equivalent to drawing ten new candidates?
Pause the narration and explain your reasoning before continuing to the worked solution.
Reveal worked solution
No. Repetition contributes no new candidate evidence. Under the copied-batch construction, all ten votes contain only the information from the original draw.
Section 07 / 07
Evaluate the answer selected and its cost
Compare self-consistency with a single-answer baseline on unseen questions using a fixed extraction rule and documented sampling settings. Report the selected answer’s accuracy, tie rate, invalid outputs and generation cost. A method may improve one task and waste computation on another. Separate accuracy from confidence: a large vote share is not automatically a calibrated probability that the answer is correct. Inspect unanimous failures as well as split votes. The method’s practical value comes from delivering better answers under an acceptable budget, not from agreement alone.
Worked example. A system returns the same wrong answer on every sample for a misleading question. Its agreement score is perfect but its correctness is zero on that request. Record the shared misunderstanding and test revised prompts or independent verification on new examples.
The displayed notation records the process described in the example. Keep its assumptions and units attached to the result.
Try it yourself. Which outcome should be measured alongside vote share?
Pause the narration and explain your reasoning before continuing to the worked solution.
Reveal worked solution
Measure whether the selected answer is correct on held-out tasks. Include cost, ties and extraction failures. Vote share is a feature of the sampling procedure, not ground truth.
Final checkpoint. Does a unanimous vote prove an answer is correct? Option 1: Yes. Option 2: No; the samples may share an error. Option 3: Only with ten samples.
Pause and choose an answer before continuing.
Reveal worked solution
Option 2 is correct. Agreement must be compared with independently checked correctness.
WORKBENCH / PREDICT → TEST → EXPLAIN
Inspect exact numerical data
These are computed teaching fixtures. No remote AI model or GPU is called by the experiment.
CHECK YOUR UNDERSTANDING
Commit to an explanation.
Keep your learning record.
LONGER RETRIEVAL, TOOL AND AGENT LESSONS
Find evidence, use tools and coordinate work
Worked examples, local narration and connected experiments at your level.
Original worked examples and teaching text, grounded in these primary references. Numerical fixtures explain mechanisms; model quality and hardware performance require separate measurements. Both levels share key examples, with different explanations and checkpoints.