ControlCap: Controllable Region-Level Captioning

Yuzhong Zhao, Yue Liu, Zonghao Guo, Weijia Wu, Chen Gong, Qixiang Ye, Fang Wan

Introduction

In the field of multimodal AI, region-level captioning—the task of describing specific parts of an image—often suffers from a phenomenon known as caption degeneration. While Large Language Models (LLMs) are fluent, they tend to produce generic, high-probability descriptions (e.g., "a car on the street") rather than specific, informative ones (e.g., "a silver Lamborghini with a custom license plate"). This occurs because models gravitate toward the "average" language found in training data, effectively ignoring the rich, low-frequency details present in the visual signal.

ControlCap is a novel framework designed to combat this by introducing "control words." These words act as linguistic anchors that partition the model's search space, forcing it to explore detailed sub-spaces of language that it would otherwise ignore.

Overview of the ControlCap framework, illustrating the system architecture (top) and the conceptual space partitioning compared to conventional methods (bottom).

The ControlCap Framework

ControlCap utilizes a modular architecture that combines visual perception with explicit linguistic guidance. The process consists of four primary stages:

  1. Contextual Visual Embedding: The model uses a frozen Vision Transformer (ViT) to extract features from both the specific region of interest and the global image context. These are merged into a single visual embedding ($F_v$) to ensure the model understands both the object and its surroundings.
  2. Control Word Generation: The core innovation lies in the use of control words, which can be generated in two ways:
  3. Self-Control: A discriminative tagging module predicts relevant attributes or entities (e.g., "silver," "white," "car") directly from visual features.
  4. Interactive Control: A user or an external expert model (such as an OCR engine) provides specific words (e.g., "Lamborghini" or text from a sign) to guide the description.
  5. Bidirectional Bridging (BiB) Module: This module uses cross-attention layers to align visual features with the provided control words, ensuring the LLM understands which part of the image corresponds to which word.
  6. LLM Generation: The aligned embeddings are processed by a Large Language Model (Flan-T5XL) to generate the final natural language description.

Key Insights: Space Partitioning

The fundamental idea behind ControlCap is space partitioning. By requiring the model to include a specific control word, the framework effectively blocks off the generic "safe" regions of the probability space. This forces the LLM to generate text within a specific sub-space that contains rare but accurate details.

Qualitative examples showing how different control words (Self vs. Interactive) lead to varied, highly specific captions for the same image region.

Furthermore, the authors leverage the fact that discriminative models (classifiers/taggers) are often better at specificity than generative models. By using a tagger to guide the generator, ControlCap achieves the accuracy of a classifier with the fluency of an LLM.

Experimental Results

ControlCap sets a new state-of-the-art for region-level understanding across several benchmarks:

  • Quality Gains: On the Visual Genome dataset, the model improved the CIDEr score by 21.6 points over previous methods.
  • Efficiency: With 4.2 billion parameters, ControlCap outperformed significantly larger 7B+ parameter models like Osprey and GLaMM.
  • Generalization: The model demonstrated strong zero-shot capabilities, successfully integrating unseen information (like specific scene text from OCR) into coherent sentences.
  • Dense Captioning: It achieved state-of-the-art mean Average Precision (mAP) on VG V1.0, V1.2, and VG-COCO, proving its effectiveness at both localization and description.

Conclusion

ControlCap demonstrates that "generic" AI outputs are not an inevitable limitation of LLMs, but rather a result of how they navigate probability spaces. By providing explicit linguistic controls, ControlCap allows for highly specific, accurate, and user-steerable image descriptions, paving the way for more useful and interactive vision-language systems.

Summary updated

BibTeX
@inproceedings{zhao2024controlcap,
  author = {Yuzhong Zhao and Yue Liu and Zonghao Guo and Weijia Wu and Chen Gong and Qixiang Ye and Fang Wan},
  title = {{ControlCap: Controllable Region-Level Captioning}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-72920-1\_2},
}
Figure