TL;DR
SuperCap bridges the gap between detector-based and detector-free image captioning by replacing rigid bounding boxes and arbitrary image patches with multi-resolution superpixels. Paired with pre-trained Vision-Language Models (VLMs), it achieves highly competitive captioning performance on the COCO dataset while using a fraction of the trainable parameters required by massive end-to-end models.
What Problem Does This Paper Address?
Image captioning models have traditionally been divided into two paradigms:
- Detector-based models: These rely on pre-trained object detectors (like Faster R-CNN) to identify regions of interest. However, they are computationally expensive and strictly limited by the detector's closed-set vocabulary. If an object wasn't in the detector's training data, the captioning model can't describe it.
- Detector-free models: These bypass detectors by cutting images into uniform grids of patches and processing them with massive Vision Transformers (ViTs). While they offer open-set vocabulary capabilities, rigid square patches frequently slice single objects into separate features, destroying local semantic coherence. Furthermore, these models require massive datasets and huge parameter counts to perform well.
SuperCap introduces a middle ground: using superpixels to extract naturally organic, object-like regions without needing a heavy, closed-set object detector.
Methods
The SuperCap architecture consists of three main stages:
- Superpixel Region Extraction ($\phi$): The model uses the Simple Linear Iterative Clustering (SLIC) algorithm to segment an image into visually homogeneous, contiguous regions (superpixels). Crucially, this is done at multiple resolutions (varying the number of superpixels) to capture both fine-grained details and broader structures.
- Regions Encoder ($\Psi$): To achieve open-set understanding, a bounding box is drawn around each superpixel, and the cropped region is fed into a frozen, pre-trained VLM (either CLIP or BLIP). A global image feature is also extracted to preserve overall context.
- Captioning Model ($\Omega$): SuperCap employs a stacked Transformer encoder-decoder architecture. It utilizes one encoder per resolution scale to process the superpixel features. The outputs from all resolution scales are concatenated and passed to a Transformer decoder, which autoregressively generates the final natural language caption.
Datasets
The model was trained and evaluated on the standard Microsoft Common Objects in Context (COCO) dataset, utilizing the widely adopted Karpathy split (113,287 images for training, 5,000 for validation, and 5,000 for testing). Performance was measured using standard captioning metrics: BLEU@4, METEOR, ROUGE-L, CIDEr, and SPICE.
Key Insights and Ideas
- The Granularity Sweet Spot: Through ablation studies, the authors discovered a "sweet spot" for single-resolution superpixels between 10 and 15 regions per image. Generating too many superpixels results in regions that are too small for the VLM to extract meaningful semantic features, degrading performance.
- Superpixels Beat Patches: When keeping the region count and encoder (BLIP) constant, superpixels outperformed traditional grid-based patches. This confirms that grouping pixels by visual homogeneity preserves object boundaries better than arbitrary geometric slicing.
- Extreme Parameter Efficiency: Because the heavy lifting of visual-semantic understanding is offloaded to frozen, pre-trained VLMs, the actual trainable captioning network remains remarkably lightweight.
Key Results
- Competitive Performance: SuperCap utilizing BLIP features achieved a competitive CIDEr score of 136.9 on the COCO Karpathy test split.
- High Efficiency: SuperCap achieves these results with remarkable parameter efficiency. The BLIP-based configuration contains only 93 million trainable parameters, and the CLIP-based version contains just 45 million. This is a significant reduction compared to competing detector-free models like ViTCap (190M) and OSCAR (198M).
Limitations and Future Work
Despite its success, the authors note a few common pitfalls that SuperCap shares with other image captioning architectures:
- Mild Hallucination: The model occasionally misidentifies fine details (e.g., describing a children's character on top of a cake as a "train").
- Caption Duplication: The model can sometimes generate identical captions for distinct images that share highly similar global contexts.
For future work, the authors plan to investigate alternative architectural methods for fusing and handling multi-resolution features to further improve fine-grained detail retention.
Summary updated