[Paper Review] Interpretable Counting for Visual Question Answering
This paper proposes Interpretable Reinforcement Learning Counter (IRLC), a novel approach to visual question answering that treats counting as a sequential decision process, enabling discrete, grounded object selection. IRLC outperforms state-of-the-art models on counting metrics and provides interpretable, object-level explanations by explicitly identifying counted objects, significantly improving grounding quality over attention-based baselines.
Questions that require counting a variety of objects in images remain a major challenge in visual question answering (VQA). The most common approaches to VQA involve either classifying answers based on fixed length representations of both the image and question or summing fractional counts estimated from each section of the image. In contrast, we treat counting as a sequential decision process and force our model to make discrete choices of what to count. Specifically, the model sequentially selects from detected objects and learns interactions between objects that influence subsequent selections. A distinction of our approach is its intuitive and interpretable output, as discrete counts are automatically grounded in the image. Furthermore, our method outperforms the state of the art architecture for VQA on multiple metrics that evaluate counting.
Motivation & Objective
- To address the persistent challenge of counting-based questions in visual question answering (VQA), where existing models struggle due to reliance on attention mechanisms that obscure discrete object identities.
- To develop a counting method that produces interpretable, grounded outputs by explicitly identifying which detected objects contribute to the final count.
- To improve counting accuracy and reduce error rates on complex, question-specific counting tasks by modeling object interactions through a sequential decision process.
- To demonstrate that weak supervision via final count labels alone can train a model to make coherent, interpretable counting decisions when combined with reinforcement learning.
- To quantify and compare the interpretability of model outputs by analyzing how well counted objects align with the semantic subject of the question.
Proposed method
- IRLC frames counting as a sequential decision process where the model iteratively selects objects from a set of detected objects in the image.
- At each step, the model selects one object to include in the count and then updates the priority scores of remaining unselected objects based on their spatial and semantic relationships with the selected object.
- The model is trained using reinforcement learning with only the final count as the reward signal, enabling end-to-end learning without per-object supervision.
- The method uses a vision module based on object detection (e.g., from Visual Genome or VQA 2.0) to generate candidate objects, which are then processed through a recurrent, attention-based network.
- The model’s output includes both the final count and the list of detected objects that contributed to it, enabling direct interpretability.
- A novel grounding quality metric is introduced to evaluate how well the counted objects match the semantic subject of the question, using COCO object categories as reference.
Experimental results
Research questions
- RQ1Can a sequential, decision-based approach to counting in VQA improve accuracy and interpretability compared to attention-based classification models?
- RQ2Does learning to enumerate objects through reinforcement learning with only final count supervision lead to better generalization and reduced counting error?
- RQ3To what extent does the model’s output—specifically the list of counted objects—improve interpretability and failure analysis compared to attention maps?
- RQ4How does the model’s performance vary across common versus rare object categories in counting tasks?
- RQ5Can the model’s grounded outputs reveal failure modes that are hidden in attention-based models?
Key findings
- IRLC achieves state-of-the-art performance on counting metrics, outperforming the UpDown baseline in both accuracy and count error reduction on the HowMany-QA dataset.
- The model maintains consistent performance improvements over the UpDown baseline across all subject frequency bins, including rare subjects, indicating robustness to low-resource categories.
- IRLC demonstrates significantly higher grounding quality than SoftCount, with a paired t-test confirming statistical significance (p < 10^-15) across all COCO object categories.
- Failure cases show that IRLC’s grounded outputs clearly reveal miscounts—such as including a sleeve when counting ties—making failure modes transparent and analyzable.
- In contrast, the attention-based UpDown model produces no clear pattern in its attention weights, making it difficult to diagnose why certain counts are incorrect.
- The iterative, sequential decision process enables the model to learn complex interactions between objects, improving its ability to handle complex counting criteria.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.