← Latest papers
💬 NLP

Self-Consistency from Only Two Samples: CoT-PoT Ensembling for Efficient LLM Reasoning

This paper introduces a hybrid CoT-PoT ensembling framework that significantly improves reasoning accuracy while reducing the computational cost of self-consistency by a factor of 9.3x, enabling 78.6% of tasks to be solved with just two samples.

Original authors: Raman Saparkhan, Majd Hawasly, Md Rizwan Parvez, Mohammad Raza

Published 2026-04-21
📖 4 min read☕ Coffee break read

Original authors: Raman Saparkhan, Majd Hawasly, Md Rizwan Parvez, Mohammad Raza

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to solve a very tricky math puzzle. You ask a super-smart AI assistant for the answer.

Sometimes, the AI gets it right. Sometimes, it gets confused and makes a silly math mistake, or it misreads the question entirely.

The Old Way: "Ask the Same Question 40 Times"

To make sure the AI is right, researchers used a technique called Self-Consistency. It's like asking the same question to the AI 40 times in a row.

  • If the AI says "12" twenty times and "13" twenty times, you pick "12" because it's the most popular answer.
  • The Problem: This is expensive and slow. It's like hiring 40 different people to solve one puzzle just to be safe. It takes a lot of time and money.

The New Idea: "The Detective and the Accountant"

The authors of this paper realized that asking the AI the same question 40 times is inefficient because the AI often just gives you 40 slightly different versions of the same mistake. It's like asking 40 people who all went to the same school to solve a riddle; they might all make the exact same logical error.

Instead, they decided to ask the AI to solve the problem in two completely different ways at the same time:

  1. The Detective (Chain-of-Thought / CoT): This mode thinks in plain English. It talks through the problem step-by-step like a human. "Well, if I have 5 apples and give away 2, I have 3 left..."

    • Strength: Great at understanding the story and logic.
    • Weakness: Bad at math. It might say "5 minus 2 is 4" just because it's talking fast.
  2. The Accountant (Program-of-Thought / PoT): This mode doesn't talk; it writes code. It turns the problem into a computer program. "Let apples = 5, let given_away = 2, calculate apples - given_away."

    • Strength: Perfect at math. Computers don't make arithmetic mistakes.
    • Weakness: Bad at understanding the story. It might write code that calculates the wrong thing because it misunderstood the question.

The Magic Trick: "The Two-Sample Stop"

Here is the brilliant part of their discovery: If the Detective and the Accountant agree on the answer, they are almost certainly right.

Why?

  • The Detective makes logic errors but gets the math right (usually).
  • The Accountant makes logic errors but gets the math right (always).
  • It is extremely rare for both of them to make the same mistake in the same way.

So, instead of asking 40 times, the new method works like this:

  1. Ask the Detective once.
  2. Ask the Accountant once.
  3. Check: Did they give the same answer?
    • Yes? Stop! You have your answer. You only used 2 samples.
    • No? Ask them again (maybe a third time) until they agree.

The Results: A Massive Win

The paper shows that this "Detective + Accountant" team is a game-changer:

  • Speed: They solved 78% of all problems with just 2 samples (one from each mode). Previous methods needed at least 4 or 5 samples, and the old way needed 40!
  • Accuracy: Because the two modes cover each other's weaknesses, the final answer is actually more accurate than the old method, even though they asked fewer questions.
  • Cost: They reduced the computing cost by 9.3 times. It's like getting a better result for the price of a single coffee instead of a full banquet.

A Real-World Analogy

Imagine you are trying to guess the weight of a watermelon.

  • The Old Way: You ask 40 people to guess. If they all guess "10 lbs" because they all saw a small watermelon earlier, you might be wrong.
  • The New Way: You ask one person to guess by looking at it (The Detective) and one person to guess by putting it on a scale (The Accountant).
    • If the looker says "10 lbs" and the scale says "10 lbs," you can be 99% sure it's 10 lbs. You don't need to ask 38 more people.

Summary

This paper teaches us that diversity is better than quantity. Instead of asking the AI the same question 40 times, ask it two different types of questions (Logic vs. Math). If they agree, you can stop immediately. This saves massive amounts of time and money while actually getting better answers.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →