TPCap: Unlocking Zero-Shot Image Captioning with Trigger-Augmented and Multi-Modal Purification Modules
Ruoyu Zhang, Lulu Wang, Yi He, Tongling Pan, Zhengtao Yu, Yingna Li
TL;DR
TPCap introduces a retrieval-free image captioning framework that harnesses zero-shot capabilities of large language models through a trigger-augmented design and a multi-modal purification module. A two-stage trigger projector aligns visual and textual features, while MP refines entity information to reduce noise and hallucination, enabling accurate captions with only $0.82\text{M}$ trainable parameters on a single RTX 4090. Evaluations on COCO, NoCaps, Flickr30k, and WHOOPS demonstrate competitive performance against state-of-the-art methods and strong open-world reasoning on WHOOPS, highlighting the practicality of a lightweight, scalable alternative to retrieval-based approaches. The work advances efficient cross-modal alignment by leveraging LLMs without external retrieval banks, offering a robust, low-resource solution for zero-shot image captioning.
Abstract
Recent advancements in large language models (LLMs) have significantly enhanced the fluency and logical coherence of image captioning. Retrieval-Augmented Generation (RAG) is widely adopted to incorporate external knowledge into LLMs; however, existing RAG-based methods rely on separate retrieval banks, introducing computational overhead and limiting the utilization of LLMs' inherent zero-shot capabilities. To address these limitations, we propose TPCap, a novel trigger-augmented and multi-modal purification framework for zero-shot image captioning without external retrieval libraries. TPCap consists of two key components: trigger-augmented (TA) generation and multi-modal purification (MP). The TA module employs a trigger projector with frozen and learnable projections to activate LLMs' contextual reasoning, enhance visual-textual alignment, and mitigate data bias. The MP module further refines the generated entity-related information by filtering noise and enhancing feature quality, ensuring more precise and factually consistent captions. We evaluate TPCap on COCO, NoCaps, Flickr30k, and WHOOPS datasets. With only 0.82M trainable parameters and training on a single NVIDIA RTX 4090 GPU, TPCap achieves competitive performance comparable to state-of-the-art models.
