Lune

ICLR2025Top-tier venue

TULIP: Token-length Upgraded CLIP

Ivona Najdenkoska, Mohammad Mahdi Derakhshani, Yuki M. Asano, Nanne van Noord, Marcel Worring, Cees G. M. Snoek

Abstract

We address the challenge of representing long captions in vision-language models, such as CLIP. By design these models are limited by fixed, absolute positional encodings, restricting inputs to a maximum of 77 tokens and hindering performance on tasks requiring longer descriptions. Although recent work has attempted to overcome this limit, their proposed approaches struggle to model token relationships over longer distances and simply extend to a fixed new token length. Instead, we propose a generalizable method, named TULIP, able to upgrade the token length to any length for CLIP-like models. We do so by improving the architecture with relative position encodings, followed by a training procedure that (i) distills the original CLIP text encoder into an encoder with relative position encodings and (ii) enhances the model for aligning longer captions with images. By effectively encoding captions longer than the default 77 tokens, our model outperforms baselines on cross-modal tasks such as retrieval and text-to-image generation. The code repository is available at https://github.com/ivonajdenkoska/tulip .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

16 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis cites Learning Transferable Visual Models From Natural Language Supervision
  • HiMo-CLIP: Modeling Semantic Hierarchy and Monotonicity in Vision-Language Alignment cites BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generation
  • HiMo-CLIP: Modeling Semantic Hierarchy and Monotonicity in Vision-Language Alignment cites Learning Transferable Visual Models From Natural Language Supervision
  • β-CLIP: Text-Conditioned Contrastive Learning for Multi-Granular Vision-Language Alignment cites SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis
  • β-CLIP: Text-Conditioned Contrastive Learning for Multi-Granular Vision-Language Alignment cites Learning Transferable Visual Models From Natural Language Supervision
  • FIX-CLIP: Dual-Branch Hierarchical Contrastive Learning via Synthetic Captions for Better Understanding of Long Text cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • FIX-CLIP: Dual-Branch Hierarchical Contrastive Learning via Synthetic Captions for Better Understanding of Long Text cites BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generation
  • FIX-CLIP: Dual-Branch Hierarchical Contrastive Learning via Synthetic Captions for Better Understanding of Long Text cites Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision
  • FIX-CLIP: Dual-Branch Hierarchical Contrastive Learning via Synthetic Captions for Better Understanding of Long Text cites Learning Transferable Visual Models From Natural Language Supervision
  • BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generation cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generation cites Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision
  • BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generation cites Learning Transferable Visual Models From Natural Language Supervision
  • Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision cites Learning Transferable Visual Models From Natural Language Supervision
  • Test-Time Adaptation of Vision-Language Models for Open-Vocabulary Semantic Segmentation cites Learning Transferable Visual Models From Natural Language Supervision
  • Learning Transferable Visual Models From Natural Language Supervision cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • VITRIX-CLIPIN: Enhancing Fine-Grained Visual Understanding in CLIP via Instruction-Editing Data and Long Captions cites Learning Transferable Visual Models From Natural Language Supervision
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers16

  1. Test-Time Adaptation of Vision-Language Models for Open-Vocabulary Semantic SegmentationMehrdad Noori, David Osowiechi, Gustavo Adolfo Vargas Hakim, Ali Bahri et al.NeurIPS 2025 · 13 citations
  2. β-CLIP: Text-Conditioned Contrastive Learning for Multi-Granular Vision-Language AlignmentFatimah Zohra, Chen Zhao, Hani Itani, Bernard GhanemCVPR 2026 · 6 citations
  3. VITRIX-CLIPIN: Enhancing Fine-Grained Visual Understanding in CLIP via Instruction-Editing Data and Long CaptionsZiteng Wang, Siqi Yang, Limeng Qiao, Lin MaNeurIPS 2025 · 5 citations
  4. FIX-CLIP: Dual-Branch Hierarchical Contrastive Learning via Synthetic Captions for Better Understanding of Long TextBingchao Wang, Zhiwei Ning, Jianyu Ding, Xuanang Gao et al.ICCV 2025 · 3 citations
  5. HiMo-CLIP: Modeling Semantic Hierarchy and Monotonicity in Vision-Language AlignmentRuijia Wu, Ping Chen, Fei Shen, Shaoan Zhao et al.AAAI 2026 · 1 citation

Builds on13

  1. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
  2. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  3. BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and GenerationJunnan Li, Dongxu Li, Caiming Xiong, Steven C. H. HoiICML 2022 · 6,549 citations
  4. Scaling Up Visual and Vision-Language Representation Learning With Noisy Text SupervisionChao Jia, Yinfei Yang, Ye Xia, Yi-Ting Chen et al.ICML 2021 · 5,401 citations
  5. SDXL: Improving Latent Diffusion Models for High-Resolution Image SynthesisDustin Podell, Zion English, Kyle Lacey, Andreas Blattmann et al.ICLR 2024 · 4,569 citations

Related papers

  1. FineLIP: Extending CLIP's Reach via Fine-Grained Alignment with Longer Text InputsMothilal Asokan, Kebin Wu, Fatima AlbreikiCVPR 2025
  2. OneLIP: Unlocking and Improving Long-Text Representations of CLIP via One-Stage AdaptationRenjie Pan, Jiayan Song, Hua YangAAAI 2026
  3. V2PE: Improving Multimodal Long-Context Capability of Vision-Language Models with Variable Visual Position EncodingJunqi Ge, Ziyi Chen, Jintao Lin, Jinguo Zhu et al.ICCV 2025 · 5 citations
  4. CLIP Is Shortsighted: Paying Attention Beyond the First SentenceMarc-Antoine Lavoie, Anas Mahmoud, Aldo Zaimi, Arsene Fansi Tchango et al.CVPR 2026 · 1 citation
  5. GOAL: Global-local Object Alignment LearningHyungyu Choi, Young Kyun Jang, Chanho EomCVPR 2025
Dusk over the sea between two cliffs drawn in fine vertical lines