TL;DR
Standard Vision-Language Models (VLMs) like CLIP collapse the rich, multi-dimensional interpretations of art into a single homogeneous embedding space. To fix this, the authors introduce CANVAS, a framework inspired by cellular sheaf theory that projects images and text into relation-aware subspaces (e.g., style, history, content). This approach significantly improves cross-modal retrieval and art understanding while remaining fully inductive at inference time.
What Problem Does This Paper Address?
When analyzing a piece of art, an art historian rarely relies on a single literal description. Instead, they evaluate the work through multiple distinct lenses: historical context, stylistic movements, and conceptual intent. These dimensions are highly nuanced and non-interchangeable.
Popular contrastive vision-language models (like CLIP) map an image and its text description into a single shared embedding space, enforcing a global one-to-one alignment. This "collapses" multi-semantic richness, treating different contextual descriptions of the same painting as competing negatives. While graph neural networks (GNNs) can model these complex relationships, they typically operate in a transductive setting—meaning they require access to the entire graph structure (including test-set annotations) at inference time. This makes them impractical for real-world, unseen data. CANVAS bridges this gap by enabling multi-relational alignment without sacrificing inductive generalization.
Methods
The authors propose CANVAS (Contrastive Art-aware Network for Vision-Language Alignment with Sheaves). The core innovation lies in adapting cellular sheaf theory to multimodal learning:
- Multimodal Graph Construction: The dataset is modeled as a bipartite graph where nodes represent images or texts, and edges represent specific relationship types (e.g., "style", "author", "historical context").
- Sheaf-Inspired Relation-Conditioned Layer: Instead of using separate encoders for every single relation, CANVAS uses a single backbone (CLIP) and passes the node embeddings through learnable edge-conditioned "restriction maps" implemented via Feature-wise Linear Modulation (FiLM). This dynamically deforms the embedding space, projecting the same artwork into different relation-specific subspaces depending on the context.
- Graph-Based Soft Similarity: To capture higher-order dependencies between relations, they construct a line graph of the dataset and apply heat kernel diffusion on its Laplacian to create a soft structural prior.
- Context-Aware Loss: The training objective combines standard InfoNCE contrastive loss with a graph-regularized KL divergence loss. This softens the penalty for "hard negatives" that are structurally close in the graph (e.g., two different textual descriptions of the same painting).
Crucially, at test time, the model processes individual image-text pairs independently without needing the full graph structure, making it fully inductive.
Datasets
The framework is evaluated on three multi-relational art datasets:
- WikiArt+: An extension of the WikiArt dataset enriched with Wikipedia-sourced explanations of artworks, artists, and movements.
- SemArt+: A refined version of the SemArt dataset augmented with per-sentence annotations, cleaned and resolved for ambiguous pronouns using GPT-5-nano.
- HertzianaDP: A newly introduced, highly challenging dataset from the Bibliotheca Hertziana collection containing 45,819 images and 86,321 texts. Because this dataset was not publicly available online prior to this work, it serves as a clean zero-shot testbed free from potential CLIP pretraining data leakage.
Key Insights and Ideas
- Relationships as First-Class Citizens: What matters isn't just the static representation of an item, but the maps that transport items into relation-specific spaces. Sheaf theory provides the perfect mathematical language for this.
- Softening the Contrastive Blow: Standard contrastive learning treats all non-paired items in a batch as equally negative. By using graph diffusion, CANVAS realizes that a text describing a painting's style shouldn't be aggressively pushed away from a text describing its historical context.
- Inductive Graph Learning: CANVAS achieves the contextual richness of graph-based methods during training but discards the graph dependency at inference time, solving a major bottleneck of traditional GNNs in retrieval settings.
Key Results
- Retrieval Performance: CANVAS outperforms all baselines by a wide margin in image-to-text (I2T) retrieval. On the unseen HertzianaDP dataset, CANVAS achieves an I2T Recall@10 of 0.514, compared to just 0.084 for a fine-tuned CLIP baseline.
- Finer-Grained Understanding: It shows robust performance across complex, non-semantic relations (like historical context) where standard VLMs exhibit high variance and performance degradation.
- Efficiency: CANVAS delivers competitive accuracy at a fraction of the computational cost of late-interaction multi-vector models like ColPali (1.37 TFLOPS vs 4.93 TFLOPS).
Limitations and Future Work
- Relation Dependency: At inference time, the model benefits from knowing the relation type, though the authors demonstrate this can be accurately predicted (86%-100% accuracy) directly from the text using a simple classifier.
- Training Overhead: Computing the line graph and heat kernel diffusion scales with the number of edges, which can introduce a computational bottleneck during the offline training setup phase.
- Broader Horizons: The authors note that CANVAS is fundamentally domain-agnostic. Future work could apply this multi-relational sheaf approach to other complex domains like medical imaging (where an image might relate to different diagnoses, anatomical structures, or clinical histories) and broader cultural heritage preservation.
Summary updated