[Paper Review] PyramidCLIP: Hierarchical Feature Alignment for Vision-language Model Pretraining
PyramidCLIP introduces hierarchical input pyramids for both image and text to align visual and linguistic elements at multiple semantic levels, with softened negative samples, achieving state-of-the-art results on multiple vision-language tasks.
Large-scale vision-language pre-training has achieved promising results on downstream tasks. Existing methods highly rely on the assumption that the image-text pairs crawled from the Internet are in perfect one-to-one correspondence. However, in real scenarios, this assumption can be difficult to hold: the text description, obtained by crawling the affiliated metadata of the image, often suffers from the semantic mismatch and the mutual compatibility. To address these issues, we introduce PyramidCLIP, which constructs an input pyramid with different semantic levels for each modality, and aligns visual elements and linguistic elements in the form of hierarchy via peer-level semantics alignment and cross-level relation alignment. Furthermore, we soften the loss of negative samples (unpaired samples) so as to weaken the strict constraint during the pre-training stage, thus mitigating the risk of forcing the model to distinguish compatible negative pairs. Experiments on five downstream tasks demonstrate the effectiveness of the proposed PyramidCLIP. In particular, with the same amount of 15 million pre-training image-text pairs, PyramidCLIP exceeds CLIP on ImageNet zero-shot classification top-1 accuracy by 10.6%/13.2%/10.0% with ResNet50/ViT-B32/ViT-B16 based image encoder respectively. When scaling to larger datasets, PyramidCLIP achieves the state-of-the-art results on several downstream tasks. In particular, the results of PyramidCLIP-ResNet50 trained on 143M image-text pairs surpass that of CLIP using 400M data on ImageNet zero-shot classification task, significantly improving the data efficiency of CLIP.
Motivation & Objective
- Address semantic mismatch and mutual compatibility issues in web-crawled image-text pairs.
- Propose a hierarchical input pyramid for both modalities to enable multi-level alignment.
- Softening negative samples to reduce harsh penalties for unpaired pairs during pretraining.
- Demonstrate state-of-the-art zero-shot and retrieval performance on multiple downstream tasks.
Proposed method
- Construct dual pyramids: global and local visual views plus a ROI-based fine-grained object representation; for text, provide original captions, summarized captions, and object-attribute based descriptions.
- Perform peer-level semantics alignment by contrasting global with summarized text and local with original text across the two encoders.
- Introduce cross-level relation alignment by aligning ROI-based object relations with corresponding text descriptions via additional positive pairs.
- Apply softened cross-entropy targets in the InfoNCE losses to reduce the impact of semantically similar unpaired samples.
- Integrate LeFF (Locally-enhanced Feed-Forward) in ViT backbones to improve local context modeling; use an object-attribute detector to supply ROI features and T_OA captions.
- Train with 143M image-text pairs (YFCC15M-V2 + LAION99M subset) across three backbone variants (PyramidCLIP-ResNet50, PyramidCLIP-ViT-B32, PyramidCLIP-ViT-B16).
Experimental results
Research questions
- RQ1Can multi-level semantic alignment across hierarchical visual and textual inputs improve vision-language pretraining beyond standard one-to-one pair assumptions?
- RQ2Does softening negative samples and introducing cross-level relations mitigate issues from semantic mismatch and mutual compatibility in web-curated data?
- RQ3What are the downstream gains for zero-shot classification, retrieval, and transfer tasks when using PyramidCLIP with different image encoders and data scales?
- RQ4How does ROI-based object-level information contribute to cross-level alignment and overall performance?
- RQ5Is the hierarchical approach data-efficient compared with traditional CLIP-like methods on both mid-size and large-scale pretraining datasets?
Key findings
- PyramidCLIP achieves state-of-the-art zero-shot and retrieval results on several downstream tasks when trained on large-scale data.
- With 15M pretraining pairs, PyramidCLIP outperforms CLIP by substantial margins on ImageNet zero-shot classification across ResNet50, ViT-B32, and ViT-B16 encoders.
- On 143M data, PyramidCLIP surpasses CLIP (trained on 400M) in zero-shot ImageNet classification, indicating improved data efficiency.
- Softened targets for negatives (label smoothing in contrastive loss) and the three-level semantic pyramid contribute meaningfully to performance gains.
- ROI-based object relations integrated via cross-level alignment provide additional supervision that enhances downstream performance, including object detection and segmentation.
- Ablation results show each component (peer-level alignment, cross-level global/local alignment, LeFF, softening) contributes to gains in ImageNet zero-shot accuracy.
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.