LADDER: Language Driven Slice Discovery and Error Rectification

Shantanu Ghosh, Chenyu Wang, Kayhan Batmanghelich · DOI

TL;DR

This paper introduces LADDER, a novel method for identifying and fixing systematic errors in vision AI models. By leveraging Large Language Models (LLMs), LADDER can understand complex error patterns in text associated with images, leading to more robust and fair AI systems without needing manual annotations.

What Problem Does This Paper Address?

Vision AI models, while powerful, often make systematic mistakes on specific subsets of data, known as "error slices." Existing methods to find these errors rely on predefined attributes or clustering, which can miss nuanced issues or require extensive manual effort. This is particularly problematic in specialized fields like medicine, where subtle biases can have serious consequences. The challenge is to automatically discover these error slices and then fix them, especially when the biases are complex and not easily captured by simple attributes.

Methods

LADDER tackles this problem in three main steps:

  1. Sentence Retrieval: It projects the model's internal representations into a language-aligned space (like CLIP) to capture semantic meaning. This allows it to retrieve sentences from text data (captions, reports) that accurately describe the model's errors.
  2. LLM-driven Hypothesis Generation: It then feeds these retrieved sentences to a Large Language Model (LLM). The LLM uses its reasoning and domain knowledge to generate hypotheses about why the model is making mistakes, identifying potential biased attributes.
  3. Error Mitigation: Finally, LADDER uses these LLM-generated hypotheses to create pseudo-labels for the identified error slices. It then fine-tunes the model's classification head using this pseudo-labeled data, effectively mitigating the biases without requiring any manual attribute annotations.

Datasets

LADDER was evaluated on a variety of datasets, including:

  • Natural Images: Waterbirds, CelebA, MetaShift (Cat and Dog)
  • Medical Imaging: NIH Chest-X-ray, RSNA-Mammo, VinDr-Mammo

The paper also mentions a synthetic dataset constructed from CUB-200-2011 to specifically test positional reasoning.

Key Insights and Ideas

  • LLMs as Bias Detectors: The core idea is that LLMs, with their advanced reasoning, can go beyond simple attribute detection to understand why a model is failing, by analyzing textual descriptions of errors.
  • Language as a Bridge: LADDER uses language (captions, reports) as a crucial intermediary to bridge the gap between visual data and model errors, enabling a deeper understanding of biases.
  • Annotation-Free Mitigation: A significant advantage is that LADDER can mitigate biases without needing expensive, manual attribute annotations or predefined bias types.
  • Generalizability: The method is designed to work with off-the-shelf vision classifiers, regardless of their architecture or pre-training.

Key Results

  • LADDER consistently outperformed existing slice discovery and bias mitigation baselines across multiple datasets and classifier architectures.
  • For medical imaging datasets, LADDER achieved substantial improvements (e.g., ~50% improvement in Precision@10 for medical datasets).
  • The method demonstrated effective bias detection and mitigation for various types of biases, including environmental (waterbirds), demographic (CelebA), and medical (chest tubes in NIH-CXR).
  • The cost of using LLMs for hypothesis generation was found to be relatively low (~$28 for all experiments).

Limitations and Future Work

  • Caption Dependency: LADDER's reliance on captions can be a limitation in domains with sparse textual descriptions. While instruction-tuned models offer a workaround, future research aims to further reduce this language dependence.
  • Pretrained Model Biases: LADDER uses pretrained models (LLMs and vision models) that may inherit biases from their own training data. Addressing these inherent biases in foundational models is an important future direction.
  • Human Oversight: While LADDER automates bias discovery, human experts are still needed to validate identified biases before mitigation. Enhancing and standardizing this validation process is a focus for future work.

Summary updated

BibTeX
@inproceedings{ghosh2025ladder,
  author = {Shantanu Ghosh and Chenyu Wang and Kayhan Batmanghelich},
  title = {{LADDER: Language Driven Slice Discovery and Error Rectification}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
  url = {https://openreview.net/forum?id=ojdkDin50Q},
}
Figure