TL;DR
RAPPER (Reinforced Rationale-Prompted Paradigm) is a novel two-stage framework designed to make Visual Question Answering (VQA) models more transparent and trustworthy. By combining knowledge distillation from Large Language Models (LLMs) with a unique reinforcement learning loop, it generates natural language explanations that are both logically sound ("plausible") and visually accurate ("faithful").
The Challenge: Implausibility and Hallucination
While deep learning models excel at VQA—answering questions about images—they often operate as "black boxes." We can see the model's answer, but we rarely know why it chose that specific answer. To bridge this gap, researchers use Natural Language Explanation (NLE) to provide human-readable justifications.
However, existing NLE methods suffer from two major flaws:
- Implausibility: The explanation might be grammatically correct but logically irrelevant to the question asked.
- Hallucination: The explanation describes objects or features that aren't actually present in the image (e.g., claiming "because the sun is big" when the image shows a cloudy night).
RAPPER aims to resolve these issues by ensuring explanations are grounded in both general linguistic logic and specific visual evidence.
The RAPPER Framework
The authors introduce a two-stage training paradigm to tackle plausibility and faithfulness sequentially:
Stage A: Knowledge Distillation (KD) for Plausibility
Since high-quality "rationales" (the step-by-step logic leading to an answer) are rare in standard datasets, RAPPER leverages an LLM (LLaMA-65B) to generate them.
- Pseudo-Rationale Generation: The LLM is prompted with a question and the correct answer to generate a logical rationale.
- Round-Trip Filtering: To ensure these rationales are genuinely helpful, they are passed through a separate "filter" QA model. If the filter model cannot deduce the correct answer using only the LLM's rationale, that rationale is discarded.
- Distillation: A Rationale Generator ($G$) is then trained to mimic these high-quality, logically sound rationales.
Stage B: Reinforcement Learning from NLE Feedback (RLNF) for Faithfulness
Even a highly logical rationale can be "blind" to the specific image. To ground the logic visually, the authors employ Reinforcement Learning (specifically Proximal Policy Optimization, or PPO).
- The Reward Loop: The Rationale Generator ($G$) produces a rationale, which is then fed into a Reasoning Module ($M$).
- Feedback: If the rationale helps the Reasoning Module predict the correct answer and generates a high-quality explanation (measured by CIDEr score), the Rationale Generator receives a reward. This mechanism forces the generator to "look" at the image and include visual facts that are actually useful for solving the task.
Datasets
The model was evaluated on two primary benchmarks for vision-language explanation:
- VQA-X: An extension of the VQAv2 dataset containing human-annotated explanations for image-question pairs.
- e-SNLI-VE: A visual entailment dataset where the model must decide if an image supports, contradicts, or is neutral toward a text hypothesis, providing an explanation for its choice.
Key Insights
- Rationales as Prompts: Instead of treating the explanation as a post-hoc summary, RAPPER treats the rationale as an intermediate "thought" that prompts the final answer.
- LLMs are Logical but Blind: The paper highlights that while LLMs provide excellent logical structures, they lack visual grounding. The RLNF stage is essential to "tether" the LLM's logic to the actual pixels in the image.
- The Power of Filtering: Simply distilling everything from an LLM introduces noise. The "round-trip consistency" check in Stage A ensures the model only learns from rationales that contain the necessary information to answer the question.
Key Results
RAPPER achieved new state-of-the-art results across multiple metrics:
- Quantitative Superiority: On VQA-X, RAPPER achieved a CIDEr score of 124.0, significantly outperforming previous leaders like S3C (116.7) and NLX-GPT (110.6).
- Reduced Hallucination: Using RefCLIPScore (a metric for visual faithfulness), RAPPER scored 67.05, outperforming NLX-GPT (64.06). This indicates its explanations are much better aligned with the actual image content.
- Human Preference: In subjective evaluations, human annotators consistently found RAPPER's explanations to be more plausible and faithful than those of competing models.
Limitations and Future Work
- Computational Cost: Training involves distilling from a massive 65B parameter model and then running a reinforcement learning loop, which is computationally expensive.
- Dependency on LLM Quality: The "plausibility" of the model is ultimately capped by the reasoning quality of the teacher LLM used in Stage A.
- Future Directions: The authors suggest that this paradigm could be extended to even more complex multi-modal tasks, such as medical VQA, where faithfulness is a critical matter of safety.
Summary updated