TL;DR
Vision-Language Models (VLMs) can successfully infer broad scene context (e.g., indoor vs. outdoor) and fine-grained scene categories from a single isolated object, mirroring human cognitive abilities. However, mechanistic analysis reveals that a model's ability to infer context is partially independent of its ability to correctly identify the object itself, and different architectures ground this contextual knowledge in fundamentally distinct ways.
What Problem Does This Paper Address?
When humans see a bathtub, they instantly infer a "bathroom" context, even if the rest of the room is hidden. This ability to perform contextual inference from single objects is a cornerstone of human scene perception, heavily guided by the statistical relationships between objects and scenes in the real world.
While Vision-Language Models (VLMs) excel at many multimodal tasks, it remains unclear whether their understanding of context is truly integrated into their object representations or if it's just a byproduct of surface-level text associations. This paper investigates how VLMs perform contextual inference from single objects, whether they rely on the same object properties as humans, and how this information is mechanistically processed across network layers.
Methods
The authors designed a controlled behavioral and mechanistic pipeline to test two prominent VLMs: LLaVA 1.5-13B and InternVL3.5-14B.
- Image Manipulation: Objects were presented in two conditions: Full Scene or Object Only (where the background was completely masked out with a neutral gray color).
- Probing Tasks: Models were evaluated using forced-choice prompts across three tasks:
- Scene Classification: Inferring the specific scene category (e.g., kitchen, bedroom).
- Superordinate Classification: Discriminating a broader context (indoor vs. outdoor).
- Object Classification: Identifying the object itself.
- Mechanistic Interpretability:
- Representational Stability: Measured via cosine similarity of the object-patch hidden states between the full-scene and object-only conditions across transformer layers.
- Vocabulary Projection: Projecting intermediate image token representations directly into the text vocabulary space using the model's unembedding matrix to see exactly when and where contextual labels emerge.
Datasets
The study utilized a curated subset of the dataset introduced by Greene (2013), consisting of 2,392 object-scene pairs from 1,004 unique natural images across eight distinct scene categories (four indoor: bathroom, bedroom, kitchen, living room; and four outdoor: coast, forest, mountain, skyline).
To evaluate object-scene statistics, the authors used the ADE20K dataset to compute object frequency (how often an object appears in a scene) and specificity (how exclusively an object predicts a scene). Object type annotations (distinguishing between large, stationary "anchor" objects like stoves and smaller "local" objects like pans) were extracted from Turini & Vo (2022).
Key Insights and Ideas
- Human-Aligned Feature Weights: Just like humans, VLMs rely on different object properties depending on the abstraction level of the task. Object specificity is the strongest predictor for fine-grained scene classification, whereas object size dominates superordinate (indoor/outdoor) classification.
- Context and Identity are Decoupled: Surprisingly, a VLM does not need to correctly identify an object to guess the correct scene context. Scene and superordinate accuracy remain well above chance even on trials where the model misidentifies the object, suggesting that contextual schemas are processed via partially independent representational pathways.
- Distinct Grounding Mechanisms: Scene identity and superordinate categories are handled differently within the network. Scene identity is decodable from image tokens from the very first layer. In contrast, superordinate information (indoor/outdoor) emerges very late in processing (for InternVL) or fails to show up in the image tokens at all (for LLaVA), indicating it may be computed through purely linguistic or abstract pathways.
- Architectural Modularity vs. Integration: LLaVA and InternVL exhibit fundamentally different internal dynamics. InternVL shows a tightly coupled representation where object identity and context reinforce each other. LLaVA operates more modularly; in fact, background context can actively distract LLaVA, causing its object recognition performance to drop when the full scene is visible.
Key Results
- Contextual Inference Drops but Persists: When backgrounds are removed, fine-grained scene classification accuracy drops from near-ceiling (~96-97%) to 58.6% for LLaVA and 53.4% for InternVL. However, "relaxed" accuracy (accepting any semantically plausible scene for that object) remains high at ~85% for both models.
- Superordinate Robustness: Broad indoor/outdoor classification from single objects remains highly robust, reaching 93.8% for LLaVA and 85.0% for InternVL.
- The Background Distraction Paradox: For LLaVA, object recognition accuracy actually increased from 62% to 71% when the background was removed, showing that context can introduce distracting visual noise. InternVL showed the opposite (and more human-like) trend, dropping from 91% to 76% when deprived of context.
Limitations and Future Work
The authors note several limitations that pave the way for future research:
- Taxonomy Scale: The study was limited to a fixed set of eight scene categories. Testing on a broader, more fine-grained taxonomy is necessary to confirm generalizability.
- Model Scope: Only two model families (LLaVA and InternVL) were thoroughly analyzed. Exploring how newer or differently trained architectures handle single-object context is an open question.
- Direct Human Comparison: While the results qualitatively mirror human psychophysics literature, a direct, trial-by-trial quantitative comparison using the exact same image stimuli on human participants is still needed to precisely measure VLM-human alignment.
Summary updated