Common Sense Bias Modeling for Classification Tasks

Miao Zhang, Zee Fryer, Ben Colman, Ali Shahriyari, Gaurav Bharaj

Introduction

Machine learning models often rely on "shortcuts" or spurious correlations within training data. For instance, if a dataset predominantly features cows on green pastures, a model might incorrectly learn to associate "grass" with the label "cow," leading to failure when encountering a cow on a beach. Existing de-biasing techniques typically require manual pre-definition of biases or operate as "black boxes" that lack interpretability. This paper introduces Common Sense Bias Discovery (CSBD), a framework designed to automatically identify and mitigate these shortcuts using natural language descriptions.

Methodology: The CSBD Pipeline

The CSBD framework leverages the rich contextual information found in image captions to map out common sense features and their correlations with target labels.

The CSBD pipeline: from noun chunk embedding to human-in-the-loop mitigation.

The pipeline consists of four primary stages:

  1. Noun Chunk Embedding: The system extracts "noun chunks" (e.g., "blue sky," "big smile") from image captions using spaCy. These chunks are converted into high-dimensional vectors via the Universal Sentence Encoder.
  2. Agglomerative Clustering: The embeddings are clustered to represent distinct "common sense features."
  3. Correlation Calculation: The system calculates the phi coefficient ($\phi$) to measure the statistical association between discovered features and target labels. High correlation indicates a potential bias.
  4. Human Examination and Mitigation: A human reviewer distinguishes between benign correlations (e.g., teeth and smiles) and spurious ones (e.g., kites and people). Spurious correlations are addressed through a data re-weighting strategy that adjusts the importance of specific images during training.

Experimental Evaluation

The framework was evaluated on the CelebA-Dialog and MS-COCO 2014 datasets. To demonstrate scalability, the authors also utilized a Large Vision-Language Model (LLaVA-Next 7B) to generate synthetic captions for MS-COCO, finding that these performed nearly as well as human-written ones.

Example of CSBD identifying the spurious correlation between "kites" and "people" in MS-COCO.

Key Results

CSBD was compared against several state-of-the-art unsupervised methods, focusing on Worst Group Accuracy (Wst.)—the model's performance on rare feature combinations.

  • MS-COCO: In the "TV vs. Chair" task, CSBD improved worst-group accuracy from a 72.6% baseline to 84.2%.
  • CelebA: For the "Receding Hairline" task (often biased by "Grey Hair"), accuracy rose from 18.6% to 33.7%.

Discussion and Conclusion

CSBD demonstrates that natural language is a "common sense-rich modality" capable of revealing biases that raw labels miss, such as the correlation between "Cat" and "Couch." While currently focused on binary classification and pairwise correlations, the method provides a transparent, interpretable path toward more robust AI models. Future work will explore extending this framework to object detection and more complex multi-factor biases.

Summary updated

BibTeX
@inproceedings{zhang2025common,
  author = {Miao Zhang and Zee Fryer and Ben Colman and Ali Shahriyari and Gaurav Bharaj},
  title = {{Common Sense Bias Modeling for Classification Tasks}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i9.33084},
}
Figure