# CCDiff: Inverse Canonical Correlation Analysis for Discovering Visual Differences in Natural Language

*Neelesh Bisht, Xingjian Li, Zihan Li, Bo Jiang, Runmin Jiang, Mostofa Rafid Uddin, Yang Liu, Min Xu*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/148652) · [OpenReview](https://openreview.net/forum?id=w8mxaFucap) · [Open on the map](../papers.html#p148652)

Category: [Vision-Language Models](../pcat/0.md) › [Fine-Grained Vision-Language Alignment](../pgroup/243.md) · Type: new method · Keywords: set difference captioning, inverse canonical correlation analysis, visual difference discovery, dataset auditing, efficient inference

Areas: [Evaluation & Benchmarks](../areas/evaluation.md) › Visual Multimodal Evaluation › Vision-Language Evaluation; [Interpretability](../areas/interpretability.md) › Model Explanations › Concept and Explanation

## Summary
CCDiff is a lightweight, training-free framework that uses inverse canonical correlation analysis to discover visual differences between image sets without relying on large language models, achieving over 2× speedup and zero token usage.

## Explained to a 5-year-old
Some people look at many pictures to see what makes one set different from another. They want to describe the things that appear more often in one set than another. Instead of using big computer programs that need a lot of time, they use a simple, fast method. This method finds the important differences by comparing the sets and ranking the most noticeable things. It helps check datasets and understand how models behave without using a lot of computer power.

## Explained to a 5-year-old, longer
When we have many pictures, it can be hard to see what makes one group different from another. People want to write short descriptions that capture the main differences between the groups. Existing ways use big language models that need a lot of computer time and many words. This paper proposes a simpler way that does not need those big models. It builds a list of possible concepts from easy-to-use sources like dictionaries or simple caption generators. Then it keeps only the concepts that are common in each specific group of pictures. Next, it compares the groups using a special statistical technique that looks for directions where the groups differ the most. The technique finds the concepts that are least similar between the groups. These concepts are then ranked by how well they represent the groups while being different. The final output is a short caption that tells you what the groups have that the other does not. This method is fast, uses little computer power, and works on many kinds of picture sets. It can be used to check datasets, find biases, and understand how models behave when the data changes.

## For a technical reader
CCDiff is a training-free framework that discovers visual differences between image sets by constructing candidate concept pools and applying inverse canonical correlation analysis to identify low-correlation directions. It filters concepts per set and ranks them with a score that balances inverse correlation with within-set representativeness, eliminating the need for large language models during core discovery. The approach achieves over 2× speedup and reduces token usage to zero. It is evaluated on VisDiffBench, MetaShift, and MIMIC-CXR, matching or exceeding prior LLM-based methods while being substantially more efficient and scalable.

## Problem
Set-level visual difference discovery is needed for dataset auditing and understanding model behavior under distribution shift, yet manually inspecting thousands of images is impractical. The emerging task of set difference captioning aims to describe concepts that are more often true for one image set than another.

## Method
The approach constructs a shared pool of candidate concepts from domain vocabularies or lightweight captioning models, filters them into set-specific pools, and applies inverse canonical correlation analysis across sets to find low-correlation directions that capture set differences. Candidate concepts are then ranked using a score that balances inverse correlation with within-set representativeness.

## Results
The approach matches or exceeds prior LLM-based methods across benchmarks and real-world settings while achieving over 2× speedup and eliminating token usage.

## Contributions
It introduces a lightweight, training-free framework for set difference captioning that reduces reliance on large language models and provides a statistically grounded inverse canonical correlation analysis method for discovering visual differences. The framework is evaluated on multiple benchmarks and demonstrates superior efficiency and scalability.

## Practical relevance
It enables efficient dataset auditing and model behavior analysis under distribution shift, allowing practitioners to quickly identify visual differences without expensive LLM inference.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/148652)
