NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Self-AMPLIFY: Improving Small Language Models with Self Post Hoc Explanations

Milan Bhan, Jean-Noël Vittaut, Nicolas Chesneau, Marie-Jeanne Lesot

Introduction

Small Language Models (SLMs)—typically those with fewer than 14 billion parameters—often struggle with complex reasoning tasks that their larger counterparts, like GPT-4, handle with ease. While Chain-of-Thought (CoT) prompting can bridge this gap, it traditionally relies on high-quality, human-annotated rationales or "teacher" outputs from larger models. This creates a bottleneck: improving a small model requires either significant manual labor or a dependency on expensive, proprietary LLMs.

Self-AMPLIFY is a fully automated framework designed to break this cycle. It enables SLMs to improve their own reasoning performance by generating their own explanations. By applying post-hoc interpretability methods to their own outputs, SLMs can create high-quality rationales for in-context learning, significantly boosting accuracy on complex tasks without needing human-annotated data or larger "teacher" models.

Methods: The Self-Correction Pipeline

Self-AMPLIFY transforms an SLM into its own teacher through a three-step automated pipeline:

The Self-AMPLIFY three-step pipeline for automated rationale generation.
  1. Sample Selection: The system selects "promising" examples from a training corpus to include in a few-shot prompt. It utilizes two primary strategies: Success (reinforcing correct patterns) and Error (providing corrective signals by showing the model where it previously failed).
  2. Rationale Generation: This core stage uses post-hoc explanation methods to identify the logic behind a model's choice. The framework implements several types:
  3. Attribution (DeepLift/KernelSHAP): Mathematical methods that assign importance scores to input tokens, extracting the top-$k$ most important words.
  4. Self_topk: Directly prompting the model to identify its own key decision-making words.
  5. Ph-CoT (Post-hoc Chain-of-Thought): Prompting the model to generate a free-text natural language explanation after it has been provided with the ground truth answer.
  6. Prompt Design: These self-generated rationales are bundled into a final In-Context Learning (ICL) prompt used to guide the model during inference on new, unseen test questions.

Experimental Setup

The researchers evaluated Self-AMPLIFY across five challenging reasoning benchmarks: ARC Challenge (science), CommonsenseQA (logic), Social IQa (social reasoning), Snarks (sarcasm detection), and Causal Judgment. Testing was conducted on four SLMs: Mistral-7B, Zephyr-7B, Gemma-7B, and Gemma-2B.

Key Results

Self-AMPLIFY consistently outperformed standard Input-Output (IO) prompting, Auto-CoT, and the original AMPLIFY framework (which requires an external BERT proxy).

Performance comparison of Self-AMPLIFY across multiple benchmarks and model sizes.
  • Significant Gains: On the Snarks dataset, Mistral-7B's accuracy jumped from 50.0% with standard prompting to 72.2% using the Ph-CoT error strategy. Similarly, Zephyr-7B saw an improvement from 63.6% to 70.7% on the ARC benchmark.
  • Natural Language Superiority: While mathematical attribution (DeepLift) was effective, free-text Ph-CoT rationales generally yielded the best results. This suggests that the linguistic structure of an explanation is more helpful for next-token prediction than simple keyword lists.
  • The "Error" Advantage: Interestingly, the "Error" strategy—showing the model corrected versions of its own mistakes—often provided a stronger performance boost than reinforcing its successes.
  • The Size Floor: The benefits of self-improvement appear to have a lower bound. While 7B models saw massive gains, the tiny Gemma-2B model often performed worse with rationale enhancement, suggesting a baseline level of emergent reasoning is required to benefit from self-explanation.

Discussion and Limitations

The paper demonstrates that SLMs possess enough internal signal to provide useful self-correction. Even if initial logic is slightly flawed, the process of extracting that logic via attribution provides a structured context that aids inference.

However, challenges remain. Attribution methods like KernelSHAP are computationally expensive. Furthermore, the "faithfulness" of these rationales—whether they truly reflect the model's internal state—remains an open question. Future work may explore counterfactual examples to further enrich the self-generated prompts.

Summary updated

BibTeX
@inproceedings{bhan2024self,
  author = {Milan Bhan and Jean-Noël Vittaut and Nicolas Chesneau and Marie-Jeanne Lesot},
  title = {{Self-AMPLIFY: Improving Small Language Models with Self Post Hoc Explanations}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.emnlp-main.615},
}
Figure