Reproduce “Diagnosing and Rectifying Vision Models using Language” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Yuhui Zhang, Jeff Z. HaoChen, Shih-Cheng Huang, Kuan-Chieh Wang, James Zou, Serena Yeung
Stanford University researchers introduced DrML, a framework that diagnoses and rectifies vision model failures by leveraging natural language within pre-trained multi-modal embedding spaces. The method identifies error-prone data slices and influential attributes using text, and improves model robustness by fine-tuning with synthesized language inputs, reducing reliance on costly visual data.
Key insights
- Cross-modal transferability is robust and explainable: the 'modality gap' between image and text embeddings is largely a constant vector orthogonal to the embedding span, allowing image-trained classifiers to generalize to text.
- Natural language inputs serve as effective and low-cost proxies for visual data in diagnosing vision models, demonstrating strong correlations between model performance on text and image slices (e.g., Pearson correlation of 0.6776 for Waterbirds).
- Model rectification can be achieved entirely through language-based fine-tuning, offering a scalable method to improve robustness against issues like spurious correlations and underrepresentation without gathering additional visual examples.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.