Learning Human-Compatible Representations for Case-Based Decision Support

Han Liu, Yizhou Tian, Chacha Chen, Shi Feng, Yuxin Chen, Chenhao Tan

Standard machine learning models often group data in ways that are mathematically optimal for classification but visually nonsensical to humans. This paper introduces a multi-task learning framework designed to align a model's internal "similarity metric" with human intuition. By incorporating human triplet judgments, the authors generate "human-compatible" representations that significantly boost human accuracy in AI-assisted tasks, including a substantial 13.2% improvement in identifying pneumonia from X-rays.

The Problem: Metric Misalignment in Decision Support

In high-stakes fields like medicine or law, AI is rarely left to make the final call autonomously. Instead, systems employ Case-Based Decision Support (CBDS). In this setup, the model presents a human decision-maker with a test case alongside "similar" examples from its training data to justify its prediction.

However, this approach suffers from metric misalignment. A high-accuracy model, such as a standard ResNet, might achieve its performance by focusing on subtle pixel patterns or "non-robust features" that humans cannot perceive. When this model retrieves a "nearest neighbor" to justify a diagnosis, the example might look completely different to a human doctor.

Comparison of nearest neighbors retrieved by standard ResNet versus Human Perception models.

This gap makes the AI's justification confusing at best and deceptive at worst. A model can be highly accurate on its own but entirely unhelpful to a human if its internal logic is "illiterate" to human perception. In fact, standard models can sometimes hurt human performance, causing humans to perform better with random examples than with the counterintuitive "nearest neighbors" provided by the AI.

Bridging the Gap: Human-Compatible Representations

To resolve this misalignment, the authors propose a novel multi-task learning approach. Instead of training a model solely on classification labels using Maximum Likelihood Estimation (MLE), they incorporate metric learning based on human perception.

  1. The Objective Function: The framework combines standard Cross-Entropy Loss (to maintain classification accuracy) with Triplet Margin Loss (to align with human visual similarity).
  2. Human Triplets: Data is collected in the form of triplets $(x^r, x^+, x^-)$. A human judge determines that example $x^+$ is visually more similar to the reference $x^r$ than $x^-$ is.
  3. The Trade-off: A hyperparameter ($\lambda$) allows researchers to tune the balance between raw classification performance and human-perceptual alignment.
  4. HC-Filtered Models: Because human intuition can be noisy, the authors also experimented with a "filtered" version of their model. This version removes human triplets that contradict the ground-truth classification labels, effectively cleaning the training signal.

Experimental Datasets

The study utilized three distinct types of data to validate the approach across different levels of complexity and domain expertise:

  • Synthetic (Vespula vs. Weevil): A controlled dataset of fictional insects where specific features (like head or body size) are predictive, while others (like tail or texture) are distractors. This allowed the authors to simulate different levels of "task alignment."
Synthetic dataset examples (Vespula vs. Weevil) and decision boundary.
  • Natural Images (Butterflies vs. Moths): A subset of ImageNet. The authors collected 4,000 human-provided similarity triplets via crowdworking to test the model on natural, complex images.
  • Medical Images (Chest X-rays): A dataset for pneumonia classification representing a high-stakes domain where visual similarity is notoriously difficult for laypeople to judge. 2,000 triplets were collected for this task.

Key Results and Insights

By treating human similarity judgments as a primary training signal, the model learns a representation space that is both mathematically separable for the computer and visually consistent for the human. The "Human-Compatible" (HC) representations led to substantial gains in human-AI team performance:

  • Pneumonia Classification: Laypeople using HC-based decision support achieved 79.1% accuracy, a massive 15.3% increase over those using standard MLE support.
  • Butterfly vs. Moth: Human accuracy improved by 17.8% compared to random baselines and significantly outperformed MLE-based support.
  • User Preference: In head-to-head comparisons, humans consistently rated the examples retrieved by the HC model as more "similar" and "helpful" than those from standard models, even when the standard model had slightly higher autonomous accuracy.

Limitations and Future Work

While the results are highly promising, the authors note a few limitations to address in future research:

  • The Expertise Gap: The triplets in this study were collected from crowdworkers (laypeople). In specialized fields like radiology, professional "similarity" metrics might differ significantly from lay perception. Applying this framework using domain experts is a critical next step.
  • Cost of Data: Collecting human triplets is significantly more expensive and time-consuming than collecting simple labels. Finding ways to learn these representations with fewer human interventions—perhaps via self-supervised learning—would make the approach more scalable.
  • Selection Policies: The study focused on simple nearest-neighbor retrieval. Future work could explore more complex policies, such as showing "counter-factual" examples (the most similar image from a different class) to help humans better calibrate their uncertainty.

Summary updated

BibTeX
@inproceedings{liu2023learning,
  author = {Han Liu and Yizhou Tian and Chacha Chen and Shi Feng and Yuxin Chen and Chenhao Tan},
  title = {{Learning Human-Compatible Representations for Case-Based Decision Support}},
  booktitle = {International Conference on Learning Representations},
  year = {2023},
  url = {https://openreview.net/forum?id=r0xte-t40I},
}
Figure