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.

Compositional Caching for Training-free Open-vocabulary Attribute Detection / Garosi, Marco; Conti, Alessandro; Liu, Gaowen; Ricci, Elisa; Mancini, Massimiliano. - (2025), pp. 15098-15107. ( 2025 IEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2025 usa 2025) [10.1109/cvpr52734.2025.01406].

Compositional Caching for Training-free Open-vocabulary Attribute Detection

Garosi, Marco
;
Conti, Alessandro;Liu, Gaowen;Ricci, Elisa;Mancini, Massimiliano
2025-01-01

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.
2025
Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition
Los Alamitos, CA, USA
IEEE Computer Society
Garosi, Marco; Conti, Alessandro; Liu, Gaowen; Ricci, Elisa; Mancini, Massimiliano
Compositional Caching for Training-free Open-vocabulary Attribute Detection / Garosi, Marco; Conti, Alessandro; Liu, Gaowen; Ricci, Elisa; Mancini, Massimiliano. - (2025), pp. 15098-15107. ( 2025 IEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2025 usa 2025) [10.1109/cvpr52734.2025.01406].
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11572/472134
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 2
  • ???jsp.display-item.citation.isi??? 1
  • OpenAlex 0
social impact