LongProLIP: A Probabilistic Vision-Language Model with Long Context Text
Sanghyuk Chun, Sangdoo Yun
TL;DR
The paper tackles the limitation of probabilistic vision-language models in handling long text contexts by extending ProLIP to 256-token inputs. It introduces LongProLIP, a LongCLIP-inspired fine-tuning strategy that balances long-context understanding with zero-shot generalization, aided by data filtering (HYPE, DFN) and mixed datasets. The approach achieves state-of-the-art performance on Urban-1k for long-context understanding and delivers strong retrieval results across DataComp while highlighting a trade-off with zero-shot capability that can be mitigated through careful fine-tuning. The work provides practical guidance for leveraging long-context text in VL tasks and releases code for replication and further research.
Abstract
Recently, Probabilistic Language-Image Pre-Training (ProLIP) has been proposed to tackle the multiplicity issue of vision-language (VL) tasks. Despite their success in probabilistic representation learning at a scale, the ProLIP models cannot handle long context texts longer than 64 context length, which limits their ability to capture rich contextual information from longer text sequences. To address this issue, this paper proposes a fine-tuning strategy for ProLIP to accept longer texts, e.g., 256 text tokens. Experimental results on Urban-1k and the DataComp evaluation suite show that the proposed LongProLIP recipe can improve understanding of long contexts while minimizing the negative effect of fine-tuning.We also observe a trade-off between the long context understanding (measured by Urban-1k) and general zero-shot capability (measured by evaluation datasets by DataComp). Code is available at https://github.com/naver-ai/prolip
