[Paper Review] TaskCLIP: Extend Large Vision-Language Model for Task Oriented Object Detection
TaskCLIP introduces a two-stage, VLM-based framework for task-oriented object detection that aligns vision and adjective-based text embeddings with a transformer aligner and a select-by-grouping mechanism, achieving state-of-the-art results on COCO-Tasks with a single RTX 4090.
Task-oriented object detection aims to find objects suitable for accomplishing specific tasks. As a challenging task, it requires simultaneous visual data processing and reasoning under ambiguous semantics. Recent solutions are mainly all-in-one models. However, the object detection backbones are pre-trained without text supervision. Thus, to incorporate task requirements, their intricate models undergo extensive learning on a highly imbalanced and scarce dataset, resulting in capped performance, laborious training, and poor generalizability. In contrast, we propose TaskCLIP, a more natural two-stage design composed of general object detection and task-guided object selection. Particularly for the latter, we resort to the recently successful large Vision-Language Models (VLMs) as our backbone, which provides rich semantic knowledge and a uniform embedding space for images and texts. Nevertheless, the naive application of VLMs leads to sub-optimal quality, due to the misalignment between embeddings of object images and their visual attributes, which are mainly adjective phrases. To this end, we design a transformer-based aligner after the pre-trained VLMs to re-calibrate both embeddings. Finally, we employ a trainable score function to post-process the VLM matching results for object selection. Experimental results demonstrate that our TaskCLIP outperforms the state-of-the-art DETR-based model TOIST by 3.5% and only requires a single NVIDIA RTX 4090 for both training and inference.
Motivation & Objective
- Motivate task-oriented object detection as requiring both visual processing and task-driven reasoning under data scarcity and imbalance.
- Propose a two-stage framework that leverages pre-trained vision-language models for robust, generalizable detection.
- Bridge visual attributes (adjectives) with image embeddings via a fine-grained alignment module.
- Reduce training costs and improve generalization by keeping VLMs frozen and recalibrating embeddings with a transformer aligner.
Proposed method
- Extract task-relevant visual attributes for each task using a large language model.
- Generate bounding boxes with a general object detector and crop image patches for VLM processing.
- Apply a transformer-based aligner to recalibrate vision and text embeddings to align adjectives with visual attributes.
- Compute an affinity matrix by multiplying recalibrated text and vision embeddings to score bbox-attribute pairs.
- Use a trainable score function with self-attention to produce per-bbox scores for task suitability.
- Employ a select-by-grouping mechanism to mitigate false negatives by propagating high-confidence predictions within the same COCO class.
Experimental results
Research questions
- RQ1Can a two-stage framework leveraging frozen large vision-language models outperform DETR-based task-oriented detectors on COCO-Tasks?
- RQ2How can embeddings for adjectives (visual attributes) be aligned with object visual features to improve task-oriented selection?
- RQ3Does a select-by-grouping mechanism mitigate class-imbalance and reduce false negatives in COCO-Tasks?
Key findings
- TaskCLIP outperforms state-of-the-art DETR-based TOIST by 3.5% in mAP@0.5 on COCO-Tasks.
- With a single RTX 4090, TaskCLIP trains and runs inference efficiently, outperforming heavier DETR-based models.
- Introducing a transformer aligner significantly improves alignment between object visuals and adjective attributes, yielding ~20% mAP@0.5 gains over baselines.
- The select-by-grouping mechanism reduces false negatives in imbalanced data and improves mean AP@0.5.
- TaskCLIP achieves a mean AP@0.5 of 45.5% (TaskCLIP) and 47.4% (TaskCLIP* with optimizations) on COCO-Tasks, as reported in Table 3.
- The approach maintains end-to-end training efficiency by avoiding end-to-end finetuning of the VLM and the object detector.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.