LLM-wrapper: Black-Box Semantic-Aware Adaptation of Vision-Language Models for Referring Expression Comprehension

Amaia Cardiel, Éloi Zablocki, Elias Ramzi, Oriane Sim'eoni, Matthieu Cord
9/1/2024

No official code found. Best implementation: valeoai/LLM_wrapper (12 stars, MIT, last commit 2025-03-18).

Abstract

Vision Language Models (VLMs) have demonstrated remarkable capabilities in various open-vocabulary tasks, yet their zero-shot performance lags behind task-specific fine-tuned models, particularly in complex tasks like Referring Expression Comprehension (REC). Fine-tuning usually requires 'white-box' access to the model's architecture and weights, which is not always feasible due to proprietary or privacy concerns. In this work, we propose LLM-wrapper, a method for 'black-box' adaptation of VLMs for the REC task using Large Language Models (LLMs). LLM-wrapper capitalizes on the reasoning abilities of LLMs, improved with a light fine-tuning, to select the most relevant bounding box matching the referring expression, from candidates generated by a zero-shot black-box VLM. Our approach offers several advantages: it enables the adaptation of closed-source models without needing access to their internal workings, it is versatile as it works with any VLM, it transfers to new VLMs and datasets, and it allows for the adaptation of an ensemble of VLMs. We evaluate LLM-wrapper on multiple datasets using different VLMs and LLMs, demonstrating significant performance improvements and highlighting the versatility of our method. While LLM-wrapper is not meant to directly compete with standard white-box fine-tuning, it offers a practical and effective alternative for black-box VLM adaptation. Code and checkpoints are available at https://github.com/valeoai/LLM_wrapper .

View on arXivView PDF

Code Implementations(1)

valeoai/LLM_wrapperCommunity100%
MIT

[ICLR 2025] Official implementation of the paper "LLM-wrapper: Black-Box Semantic-Aware Adaptation of Vision-Language Models for Referring Expression Comprehension"

122Shell, PythonFeb 17, 20251 years agoMIT
large-language-modellora-applicationopen-world-object-detectionvision-language

Similar Papers

Cite this paper

@article{cardiel2024llmwrapper,
  title  = {LLM-wrapper: Black-Box Semantic-Aware Adaptation of Vision-Language Models for Referring Expression Comprehension},
  author = {Amaia Cardiel and Éloi Zablocki and Elias Ramzi and Oriane Sim'eoni and Matthieu Cord},
  year   = {2024},
  eprint = {2409.11919},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2409.11919},
  journal = {ICLR 2024 2024}
}

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/2409.11919.svg)](https://codeofpaper.com/paper/2409.11919)

Discussion