Textual Inversion for Efficient Adaptation of Open-Vocabulary Object Detectors Without Forgetting

2508.05323v1 cs.CV 2025-08-09
Авторы:

Frank Ruis, Gertjan Burghouts, Hugo Kuijf

Резюме на русском

**Резюме** Последние достижения в области визуальных моделей с многомодальным обучением позволяют осуществлять задачи обнаружения объектов с помощью небольшого числа примеров, однако для достижения оптимального результата требуется оптимизация модели с потерей ее возможности работы с естественным языком и нулевыми примерами. Метод Textual Inversion (TI), использованный в текстово-изображенияльных моделях, предлагается для решения этой проблемы в сфере обнаружения объектов. TI используется для расширения словаря VLM, научив его определять новые или улучшив для точного определения существующих объектов. Это достигается с помощью обучения токена, который взаимодействует с оригинальными весами модели, не изменяя их, и сохраняя широкие возможности модели, включая нулевое обучение на новых доменах. Эффективность TI подтверждена экспериментами, показавшими выигрыш в качестве и снижение потерь во время обучения. Таким образом, TI предлагается как эффективный метод для обучения моделей к новым задачам, сохраняя их оригинальные способности.

Abstract

Recent progress in large pre-trained vision language models (VLMs) has reached state-of-the-art performance on several object detection benchmarks and boasts strong zero-shot capabilities, but for optimal performance on specific targets some form of finetuning is still necessary. While the initial VLM weights allow for great few-shot transfer learning, this usually involves the loss of the original natural language querying and zero-shot capabilities. Inspired by the success of Textual Inversion (TI) in personalizing text-to-image diffusion models, we propose a similar formulation for open-vocabulary object detection. TI allows extending the VLM vocabulary by learning new or improving existing tokens to accurately detect novel or fine-grained objects from as little as three examples. The learned tokens are completely compatible with the original VLM weights while keeping them frozen, retaining the original model's benchmark performance, and leveraging its existing capabilities such as zero-shot domain transfer (e.g., detecting a sketch of an object after training only on real photos). The storage and gradient calculations are limited to the token embedding dimension, requiring significantly less compute than full-model fine-tuning. We evaluated whether the method matches or outperforms the baseline methods that suffer from forgetting in a wide variety of quantitative and qualitative experiments.

Ссылки и действия