From token probabilities to calibrated confidence: An empirical study of mathematical question answering
This empirical study investigates methods for calibrating confidence in large language models for mathematical question answering, finding that while single-pass token probabilities offer limited signal, aggregating them and employing multi-pass strategies like self-verification or Monte Carlo Dropout, followed by post-hoc calibration techniques, can significantly improve the alignment between estimated confidence and actual accuracy.
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 playing a high-stakes game of trivia with a super-smart robot friend. You ask a tricky question, and the robot buzzes with an answer. But here's the catch: the robot is so eager to please that it often sounds 100% certain even when it's completely wrong. In the world of Artificial Intelligence, this is called "overconfidence." Scientists are trying to teach these robots how to say, "I'm pretty sure," or "I'm not so sure," so we know when to trust them. This is the challenge of confidence estimation: figuring out how likely a robot's answer is to be correct. To do this, researchers look at the robot's internal "whispers"—tiny numbers called token probabilities that show how likely the robot is to pick the next word in a sentence. The big question is: Can we turn these noisy whispers into a reliable "truth meter" that tells us exactly how much to trust the robot?
A team of researchers decided to put this idea to the test, specifically with math problems. They treated the AI like a student taking a test and asked: "If we listen closely to the student's thought process, can we tell if they got the answer right before they even finish writing it?" They compared two main ways of listening. The first was a "single-pass" listen, where they just analyzed the math problem and the final answer the robot gave in one go. The second was a "multi-pass" listen, where they asked the robot to double-check its work or run the same problem through its brain multiple times with slight variations to see if it got the same result.
Here is what they discovered. First, they found that if you only listen to the very last words of the answer (the final number), the robot sounds incredibly confident, even when it's wrong. It's like a student who writes "42" at the end of a test but got there by guessing. However, if you listen to the entire chain of reasoning—the step-by-step math the robot did to get there—you can spot tiny, consistent differences between right and wrong answers. By averaging these tiny signals across the whole thought process, they found a way to get a much better "truth meter" without needing to ask the robot to do extra work.
The researchers also tried some fancy tricks to get better signals. One trick was to ask the robot, "Are you sure this is right?" (a method called self-verification). They found that asking the robot to re-read its own answer from the very beginning was accurate but very slow and expensive, like making a student re-write their entire essay just to check one line. But they discovered a clever shortcut: instead of re-writing the whole thing, they could just append the question "Is this right?" to the very end of the original answer. This "in-situ" method was just as accurate but saved 88% of the computer effort, making it a huge win for efficiency.
Another trick involved "stochastic passes," where they asked the robot to solve the same problem multiple times with a tiny bit of randomness (like rolling a die) to see if it changed its mind. This method, called MC Dropout, was good at catching uncertainty, but it required the robot to do the work many times over, which is computationally heavy. The researchers found that while this method worked, it often wasn't worth the extra cost compared to the simpler "listen to the whole story" method.
Finally, they tested a "calibration" step, which is like teaching the robot to adjust its confidence dial. They used two classic math tools (Platt scaling and isotonic regression) to tweak the robot's confidence scores so they matched reality better. They found that these tools worked wonders, especially when they had a small set of practice problems (as few as 50 examples) to learn from. However, they also noticed that a calibration learned on easy math problems didn't always work well on hard ones, and a calibration learned on one type of robot didn't always transfer to a different type.
In short, the paper suggests that we don't need to make the robot work twice as hard to know if it's right. By simply paying closer attention to the entire path of its reasoning rather than just the final answer, and by using a clever, low-cost way to ask it to double-check itself, we can build much more trustworthy confidence meters. These findings suggest that with the right tuning, we can make AI systems much more honest about what they know and what they don't.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.