TL;DR
This paper introduces a novel method to make machine learning models' visual representations more context-sensitive, mirroring how humans perceive the world. By incorporating contextual information, their approach significantly improves the alignment between machine and human judgments on visual similarity tasks, demonstrating a path towards more human-like AI perception.
What Problem Does This Paper Address?
Modern deep learning models often represent images as fixed points in an abstract embedding space. While this has led to impressive performance on many tasks, it fundamentally differs from human perception. Humans don't process objects in isolation; our understanding and judgment of an object are heavily influenced by its surroundings – the context. For instance, the perceived similarity between two objects can change dramatically depending on what other objects are present. This context-dependent nature of human perception is crucial for navigating the real world but is largely missing in current AI models. This gap is becoming increasingly important as AI systems are deployed in real-world scenarios where understanding context is paramount.
Methods
The core contribution is a "context-sensitive similarity" computation method. Here's how it works:
- Foundation Models (FMs): They start with pre-trained vision foundation models (like DINOv2, SigLIP, ViT) to extract initial image embeddings.
- Context-Insensitive Transform (CIT): An initial affine transformation and normalization step is applied to the embeddings. This is a standard technique to potentially improve alignment with human judgments, even without explicit context.
- Context-Sensitive Similarity (CSS): This is the novel part. The embedding of a context image is fed into a small neural network that generates a context-dependent matrix. This matrix is then used to compute pairwise similarities between the transformed triplet image embeddings. Essentially, the context image dynamically reshapes how similarities are calculated between other images.
- Odd-One-Out Decision: Given a triplet of images and a context image, the model predicts which image in the triplet is the "odd one out" based on these context-sensitive similarity scores.
The model is trained using a maximum-likelihood approach to predict human odd-one-out choices, with regularization terms to preserve the original representational structure.
Datasets
The primary dataset used is the ImageNet-HSJ dataset (Roads & Love, 2021). This dataset consists of human similarity judgments for images from the ImageNet ILSVRC validation set. For this study, the dataset was restructured into a "triplet-with-context" task format, where one image serves as the context and the task is to identify the odd-one-out from a triplet of other images.
Key Insights and Ideas
- Context is King (for Similarity): The most striking insight is that explicitly modeling context dramatically improves how well AI models can mimic human similarity judgments. This suggests that current "context-insensitive" models are missing a fundamental aspect of human visual cognition.
- Dynamic Representations: The proposed method doesn't just learn fixed representations; it learns to dynamically modulate them based on the context. This is a key difference from static, human-aligned representations.
- Human Alignment Benefits: The context-sensitive approach provides benefits not only for original foundation models but also for "human-aligned" versions, indicating that context sensitivity is a complementary and crucial factor for alignment.
- Qualitative Shifts: Visualizations (RSMs and PCAs) show that context-sensitive models actually re-interpret images, shifting their positions in the embedding space to better reflect the contextual relationships, much like humans do. For example, a horse-cart might be grouped with vehicles without context but shift towards animals when the context is a deer.
Key Results
- Accuracy Gains: The context-sensitive models consistently outperformed both the original foundation model baselines and the context-insensitive models.
- Up to 15% Improvement: The paper reports up to a 15% improvement in odd-one-out accuracy compared to context-insensitive models.
- Consistent Across Models: These gains were observed across different foundation models (DINOv2, SigLIP, ViT) and whether the models were original or human-aligned.
- Qualitative Evidence: Visualizations (Figure 1 and Figure 12) clearly demonstrate how the context-sensitive model re-organizes the embedding space to reflect contextual relationships, leading to more human-like similarity judgments.
Limitations and Future Work
- Single-Participant Judgments: The dataset, while large-scale, is based on individual participant judgments per trial, not consensus. This might introduce noise.
- Dataset Construction Artifacts: The method of deriving triplets from original 8-choose-2 trials might introduce implicit assumptions about similarity that aren't always present in human judgment.
- Future Directions: The authors suggest incorporating other forms of contextual bias, such as sequential dependencies (how recent experiences influence perception), internal goals, and expanding to vision-language models for more complex reasoning. They also note that human similarity judgments can be asymmetric, which their current model doesn't fully capture.
Summary updated