Context Sensitivity Improves Human-Machine Visual Alignment

Frieda Born, Tom Neuhäuser, Lukas Muttenthaler, Brett D. Roads, Bernhard Spitzer, Andrew K. Lampinen, Matt Jones, Klaus-Robert Müller, Michael C. Mozer

TL;DR

Modern vision models represent images as static points in an embedding space, failing to capture how human perception dynamically shifts based on surroundings. This paper introduces a lightweight, cognitively inspired method that modulates embedding spaces using a contextual anchor image, boosting human-machine alignment in an odd-one-out task by up to 15%.

What Problem Does This Paper Address?

While vision foundation models excel at static image classification benchmarks, they fundamentally differ from human vision in how they represent relationships between objects. Standard models map an image to a fixed vector in a high-dimensional space, assuming context doesn't alter its core representation.

Humans, however, evaluate similarity dynamically. For example, a horse-cart might be grouped with a car in the context of "transportation," but grouped with a deer in the context of "animals." As AI models are increasingly deployed as "autoraters" (standing in for costly human data collection), this lack of context sensitivity creates a critical gap between machine behavior and human psychology. The authors tackle this by introducing a mechanism that allows a model's internal similarity metrics to shift depending on a contextual anchor.

Methods

The authors propose a Context-Sensitive Similarity (CSS) framework designed to predict human choices in a triplet "odd-one-out" task conditioned on a context image.

  1. Feature Extraction: Images (the triplet and the context anchor) are embedded using a standard vision foundation model (FM).
  2. Context-Insensitive Transform (CIT): Triplet embeddings undergo a baseline affine transformation and normalization to align them generally with human similarity judgments.
  3. Context-Sensitive Similarity (CSS): This is the core innovation. A single-layer neural network takes the context image's embedding and maps it to a low-rank matrix $B_c$. This matrix forms a context-dependent kernel $A_c = B_c^\top B_c$, which dynamically re-weights the embedding space. Pairwise similarities between the triplet images are then calculated using this customized metric space.
Overview of the proposed context-sensitive similarity method

The model is trained end-to-end using maximum-likelihood estimation, with regularization terms ensuring the learned transformations don't stray too far from the foundation model's original, robust representations.

Datasets

The study utilizes the ImageNet-HSJ dataset (Roads & Love, 2021), which contains large-scale human similarity judgments on images from the ImageNet validation set. The authors restructured the dataset's original "8-choose-2" format into a triplet-with-context format, using the central query image as the context anchor.

After filtering out trivial trials, the final dataset contains:

  • Training: 1,003,759 trials
  • Validation: 125,646 trials
  • Testing: 125,710 trials

Key Insights and Ideas

  • Context Warps Space, It Doesn't Just Shift Boundaries: Instead of simply altering a final decision threshold, the context image actively reshapes the geometry of the embedding space. Features relevant to the context anchor are amplified, causing unrelated objects to drift apart and contextually relevant objects to cluster together.
  • Complementary to Static Human Alignment: Interestingly, even when using foundation models that were already fine-tuned to match static human judgments, adding the explicit context-sensitive module provided a substantial, independent performance boost.
  • Supervised Models Gain the Most: Models trained via supervised learning (like standard ViTs) showed larger relative improvements from contextual modulation than self-supervised models, suggesting their default representations are inherently more rigid.

Key Results

  • Significant Accuracy Boost: The context-sensitive model consistently outperformed both the raw foundation model baselines and context-insensitive variants across all tested architectures (DINOv2, SigLIP, and ViT), yielding up to a 15% absolute improvement in odd-one-out accuracy.
Odd-one-out accuracy across different foundation models
  • Qualitative Alignment: Visualizations using PCA and Representational Similarity Matrices (RSMs) confirmed that the model successfully mimics human-like shifts in feature salience. For instance, when given a "deer" as context, the model dynamically shifts a "horse-cart" image away from vehicles and into the animal cluster.
Qualitative comparison of context-sensitive vs. context-insensitive representations

Limitations and Future Work

  • Single-Response Noise: The ImageNet-HSJ dataset records only one human judgment per trial, meaning the model trains on individual, potentially noisy responses rather than a smoothed consensus distribution.
  • Unconstrained Attention: The model re-weights arbitrary mathematical directions in the embedding space. In contrast, human psychological attention typically operates along structured, interpretable semantic dimensions (e.g., color, shape, animacy).
  • Expanding the Definition of Context: The current setup only looks at a single, simultaneous visual anchor. The authors note that future iterations should incorporate other crucial contextual biases, such as sequential dependencies (the impact of previous trials), internal task goals, and broader multimodal (vision-language) reasoning.

Summary updated

BibTeX
@inproceedings{born2026context,
  author = {Frieda Born and Tom Neuhäuser and Lukas Muttenthaler and Brett D. Roads and Bernhard Spitzer and Andrew K. Lampinen and Matt Jones and Klaus-Robert Müller and Michael C. Mozer},
  title = {{Context Sensitivity Improves Human-Machine Visual Alignment}},
  booktitle = {Re-Align @ ICLR},
  year = {2026},
  url = {https://openreview.net/forum?id=W3Fq26BXQ7},
}
Figure