Compositional Caching for Training-free Open-vocabulary Attribute Detection

Marco Garosi, Alessandro Conti, Gaowen Liu, Elisa Ricci, Massimiliano Mancini
2/10/2026

No official code found. Best implementation: marco-garosi/ComCa (23 stars, last commit 2024-12-23).

Abstract

Attribute detection is crucial for many computer vision tasks, as it enables systems to describe properties such as color, texture, and material. Current approaches often rely on labor-intensive annotation processes which are inherently limited: objects can be described at an arbitrary level of detail (e.g., color vs. color shades), leading to ambiguities when the annotators are not instructed carefully. Furthermore, they operate within a predefined set of attributes, reducing scalability and adaptability to unforeseen downstream applications. We present Compositional Caching (ComCa), a training-free method for open-vocabulary attribute detection that overcomes these constraints. ComCa requires only the list of target attributes and objects as input, using them to populate an auxiliary cache of images by leveraging web-scale databases and Large Language Models to determine attribute-object compatibility. To account for the compositional nature of attributes, cache images receive soft attribute labels. Those are aggregated at inference time based on the similarity between the input and cache images, refining the predictions of underlying Vision-Language Models (VLMs). Importantly, our approach is model-agnostic, compatible with various VLMs. Experiments on public datasets demonstrate that ComCa significantly outperforms zero-shot and cache-based baselines, competing with recent training-based methods, proving that a carefully designed training-free approach can successfully address open-vocabulary attribute detection.

View on arXivView PDF

Code Implementations(1)

marco-garosi/ComCaCommunity74%

Official implementation of the CVPR '25 highlight paper "Compositional Caching for Training-free Open-vocabulary Attribute Detection"

231Shell, PythonDec 17, 20241 years ago

Similar Papers

Cite this paper

@article{garosi2026compositional,
  title  = {Compositional Caching for Training-free Open-vocabulary Attribute Detection},
  author = {Marco Garosi and Alessandro Conti and Gaowen Liu and Elisa Ricci and Massimiliano Mancini},
  year   = {2026},
  eprint = {2503.19145},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2503.19145},
  journal = {CVPR 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.19145.svg)](https://codeofpaper.com/paper/2503.19145)

Discussion