← Latest papers
🤖 AI

When Do Explanations Help In-Context Learning? A Comparative Study of Natural Language Explanation Types and Faithfulness

This paper presents a comparative study across six benchmarks and four models demonstrating that while natural language explanations generally enhance in-context learning performance, their effectiveness varies significantly based on the explanation source (with external LLMs often rivaling human rationales) and the selection strategy, particularly revealing that faithfulness-based filtering yields inconsistent results and that different faithfulness metrics can lead to divergent conclusions.

Original authors: Mahdi Dhaini, Adam Dejl, Juraj Vladika, Volkan Özer, Barbara Plank, Gjergji Kasneci

Published 2026-08-18
📖 4 min read☕ Coffee break read

Original authors: Mahdi Dhaini, Adam Dejl, Juraj Vladika, Volkan Özer, Barbara Plank, Gjergji Kasneci

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

In the world of artificial intelligence, there is a growing desire to understand not just what a computer says, but why it says it. When a large language model answers a question, it often produces a string of text that looks like a human reasoning through a problem. These strings of text are called natural language explanations. They serve a dual purpose: they help humans trust the machine by showing its logic, and they can actually help the machine think better. This second effect is known as in-context learning. Imagine asking a computer to solve a new puzzle. If you give it a few examples of similar puzzles along with the correct answers, it can often figure out the new one without needing to be retrained. This is in-context learning. Now, imagine if you added a few sentences to those examples explaining how the answer was reached. Does that extra explanation make the computer smarter, or does it just add noise? This is the central question researchers are trying to answer as they build more capable and trustworthy AI systems.

A team of researchers from universities in Munich, London, and across Germany set out to test exactly this. They wanted to know if adding explanations to the examples given to an AI actually improves its performance, and if so, where those explanations should come from. They tested four different AI models of varying sizes on six different types of reasoning tasks, ranging from common-sense questions and detecting sarcasm to solving complex math word problems. The researchers compared three main sources for these explanations: explanations written by humans, explanations generated by the AI itself as it tried to solve the problem, and explanations generated by a separate, powerful AI model acting as a helper. They also tested whether the quality of the explanation mattered, specifically looking at "faithfulness," which is a measure of whether the explanation actually matches the steps the model took to reach its answer.

The results offered a clear picture of what works best in practice. When the task was to classify information, such as deciding if a sentence was sarcastic or determining the relationship between two statements, adding explanations to the examples usually helped the AI perform better. However, the source of the explanation mattered significantly. Explanations generated by a separate, powerful AI model often provided the biggest boost in accuracy, performing just as well as, and sometimes better than, explanations written by humans. This is a significant finding because human-written explanations are expensive and slow to produce, while AI-generated ones can be created instantly. In contrast, explanations generated by the AI itself while it was trying to solve the problem were much more hit-or-miss. They sometimes helped, but often they were less reliable than those from an external source.

The researchers also investigated whether filtering these self-generated explanations to keep only the "faithful" ones—those that truly reflected the model's reasoning—would improve results. They found that this strategy yielded only small average gains and was highly inconsistent. Sometimes, selecting the most faithful explanations helped, but other times it made the model perform worse. The outcome depended heavily on which specific mathematical test was used to measure faithfulness, the specific task the model was doing, and the size of the model itself. This suggests that there is no single, perfect way to judge the quality of an explanation that works for every situation. Furthermore, the team tested how robust the system was by swapping explanations between different examples or using explanations from completely different topics. While the models did not completely break down when given these mismatched explanations, their performance did drop, indicating that the explanation needs to be semantically aligned with the specific example to be truly helpful.

On the more complex task of mathematical reasoning, the dynamics shifted. Here, the benefit of adding explanations was less consistent and depended heavily on the specific model and the source of the explanation. For the largest models, the standard method of asking the model to think step-by-step on its own remained very strong. However, for smaller models, high-quality external explanations could provide a substantial lift in performance, acting as a form of guidance that the smaller model could not generate on its own. The study concludes that while adding explanations to prompts is a powerful tool, it is not a magic bullet. The best approach depends on the task and the resources available. For many practical applications, using explanations generated by a separate, capable AI offers a reliable and cost-effective way to improve performance, whereas relying on the model to explain its own reasoning requires careful selection and offers less predictable results.

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 →