Automated Detection of Visual Attribute Reliance with a Self-Reflective Agent
Christy Li, Josep Lopez Camuñas, Jake Thomas Touchet, Jacob Andreas, Agata Lapedriza, Antonio Torralba, Tamar Rott Shaham
TL;DR
SAIA reframes interpretability as a scientific discovery process by deploying a self-reflective agent that autonomously hypothesizes, tests, and reevaluates visual attribute dependencies in pretrained vision models. Built on a multimodal LLM, SAIA iteratively generates targeted interventions and uses unsupervised self-evaluation to refine explanations, achieving improved predictiveness over non-reflective baselines. The authors validate SAIA on a controlled benchmark of 130 models across 18 reliance categories and demonstrate real-world attribute dependencies in pretrained systems like CLIP-ViT and YOLOv8, including counterfactual cases. The work offers a scalable, automated approach to auditing model behavior, with practical implications for robustness, fairness, and trust in deployed vision systems. Limitations include dependence on image-generation quality and potential priors in the agent, guiding future work toward richer hypothesis spaces and higher-fidelity stimuli.
Abstract
When a vision model performs image recognition, which visual attributes drive its predictions? Detecting unintended reliance on specific visual features is critical for ensuring model robustness, preventing overfitting, and avoiding spurious correlations. We introduce an automated framework for detecting such dependencies in trained vision models. At the core of our method is a self-reflective agent that systematically generates and tests hypotheses about visual attributes that a model may rely on. This process is iterative: the agent refines its hypotheses based on experimental outcomes and uses a self-evaluation protocol to assess whether its findings accurately explain model behavior. When inconsistencies arise, the agent self-reflects over its findings and triggers a new cycle of experimentation. We evaluate our approach on a novel benchmark of 130 models designed to exhibit diverse visual attribute dependencies across 18 categories. Our results show that the agent's performance consistently improves with self-reflection, with a significant performance increase over non-reflective baselines. We further demonstrate that the agent identifies real-world visual attribute dependencies in state-of-the-art models, including CLIP's vision encoder and the YOLOv8 object detector.
