Aligning Forest and Trees in Images and Long Captions for Visually Grounded Understanding
Byeongju Woo, Zilin Wang, Byeonghyun Pak, Sangwoo Mo, Stella X. Yu
TL;DR
CAFT addresses the challenge of aligning images with long captions by introducing a hierarchical cross-domain framework that mirrors forest–tree structures in both vision and language. It combines a fine-to-coarse visual encoder with a hierarchical text transformer, trained with part-level ($L^{\text{part}}$) and whole-level ($L^{\text{whole}}$) alignment losses to ground mid-level semantics in sub-captions and top-level semantics in full captions, respectively. Trained on 30M image–text pairs from DreamLIP, CAFT achieves state-of-the-art performance on six long-caption retrieval benchmarks and exhibits strong unsupervised visual grounding, including zero-shot referring segmentation. CAFT++ further improves reliability by blending part- and whole-level similarities during inference, highlighting the practical impact of hierarchical cross-domain grounding for scalable, compositional vision–language understanding. $L^{\text{part}}$ and $L^{\text{whole}}$ losses enable robust grounding, ensuring that global semantics emerge from grounded local evidence rather than opaque aggregation.
Abstract
Large vision-language models such as CLIP struggle with long captions because they align images and texts as undifferentiated wholes. Fine-grained vision-language understanding requires hierarchical semantics capturing both global context and localized details across visual and textual domains. Yet linguistic hierarchies from syntax or semantics rarely match visual organization, and purely visual hierarchies tend to fragment scenes into appearance-driven parts without semantic focus. We propose CAFT (Cross-domain Alignment of Forests and Trees), a hierarchical image-text representation learning framework that aligns global and local semantics across images and long captions without pixel-level supervision. Coupling a fine-to-coarse visual encoder with a hierarchical text transformer, it uses a hierarchical alignment loss that matches whole images with whole captions while biasing region-sentence correspondences, so that coarse semantics are built from fine-grained evidence rather than from aggregation untethered to part-level grounding. Trained on 30M image-text pairs, CAFT achieves state-of-the-art performance on six long-text retrieval benchmarks and exhibits strong scaling behavior. Experiments show that hierarchical cross-domain alignment enables fine-grained, visually grounded image-text representations to emerge without explicit region-level supervision.
