CausalEmbed: Auto-Regressive Multi-Vector Generation in Latent Space for Visual Document Embedding
Jiahao Huo, Yu Huang, Yibo Yan, Ye Pan, Yi Cao, Mingdong Ou, Philip S. Yu, Xuming Hu
TL;DR
CausalEmbed tackles the storage and latency bottlenecks of visual document retrieval by reframing multi-vector embeddings as an auto-regressive latent generation process. By generating a compact sequence of latent vectors and employing a gradient-flow aware training objective that includes contrastive alignment, progressive refinement, and diversity regularization, it achieves substantial compression (up to ~30x) with competitive or superior retrieval accuracy across diverse backbones and ViDoRe benchmarks. The approach exhibits test-time scaling, where more generated tokens yield progressively better performance, and demonstrates training efficiency with rapid convergence aided by KV caching and full-context gradient propagation. Practically, CausalEmbed enables flexible deployment strategies from low-latency to high-accuracy regimes while maintaining scalability for production VDR systems. This generative embedding paradigm advances the practicality of visual document understanding in real-world applications, particularly where storage and latency constraints are critical.
Abstract
Although Multimodal Large Language Models (MLLMs) have shown remarkable potential in Visual Document Retrieval (VDR) through generating high-quality multi-vector embeddings, the substantial storage overhead caused by representing a page with thousands of visual tokens limits their practicality in real-world applications. To address this challenge, we propose an auto-regressive generation approach, CausalEmbed, for constructing multi-vector embeddings. By incorporating iterative margin loss during contrastive training, CausalEmbed encourages the embedding models to learn compact and well-structured representations. Our method enables efficient VDR tasks using only dozens of visual tokens, achieving a 30-155x reduction in token count while maintaining highly competitive performance across various backbones and benchmarks. Theoretical analysis and empirical results demonstrate the unique advantages of auto-regressive embedding generation in terms of training efficiency and scalability at test time. As a result, CausalEmbed introduces a flexible test-time scaling strategy for multi-vector VDR representations and sheds light on the generative paradigm within multimodal document retrieval.
