A Gradient Accumulation Method for Dense Retriever under Memory Constraint
摘要
InfoNCE loss is commonly used to train dense retriever in information retrieval tasks. It is well known that a large batch is essential to stable and effective training with InfoNCE loss, which requires significant hardware resources. Due to the dependency of large batch, dense retriever has bottleneck of application and research. Recently, memory reduction methods have been broadly adopted to resolve the hardware bottleneck by decomposing forward and backward or using a memory bank. However, current methods still suffer from slow and unstable training. To address these issues, we propose Contrastive Accumulation (ContAccum), a stable and efficient memory reduction method for dense retriever trains that uses a dual memory bank structure to leverage previously generated query and passage representations. Experiments on widely used five information retrieval datasets indicate that ContAccum can surpass not only existing memory reduction methods but also high-resource scenario. Moreover, theoretical analysis and experimental results confirm that ContAccum provides more stable dual-encoder training than current memory bank utilization methods.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 1 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrieval 引用了 Dense Passage Retrieval for Open-Domain Question Answering
- HOBIT: Hardness Optimized Batch Sampling for InfoNCE Training 引用了 Dense Passage Retrieval for Open-Domain Question Answering
- HOBIT: Hardness Optimized Batch Sampling for InfoNCE Training 引用了 Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrieval
- BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generation 引用了 Align before Fuse: Vision and Language Representation Learning with Momentum Distillation
- Learning to Tokenize for Generative Retrieval 引用了 Dense Passage Retrieval for Open-Domain Question Answering
- Learning to Tokenize for Generative Retrieval 引用了 Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrieval
引用它的顶会 Paper1
它引用的 Paper17
- 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 次引用
- Align before Fuse: Vision and Language Representation Learning with Momentum DistillationJunnan Li, Ramprasaath R. Selvaraju, Akhilesh Gotmare, Shafiq R. Joty 等NeurIPS 2021 · 2,985 次引用
- Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text RetrievalLee Xiong, Chenyan Xiong, Ye Li, Kwok-Fung Tang 等ICLR 2021 · 1,547 次引用
- Learning to Tokenize for Generative RetrievalWeiwei Sun, Lingyong Yan, Zheng Chen, Shuaiqiang Wang 等NeurIPS 2023 · 151 次引用
- Dense Passage Retrieval for Open-Domain Question AnsweringVladimir Karpukhin, Barlas Oguz, Sewon Min, Patrick Lewis 等EMNLP 2020 · 142 次引用
相关 Paper
- Improving the Accuracy of Dense Retrieval on the Quantized Indexes via Gradient Optimization of the Target EmbeddingsCong Tan, Yongqi Shao, Hong Huo, Tao FangAAAI 2026
- Unsupervised Corpus Aware Language Model Pre-training for Dense Passage RetrievalLuyu Gao, Jamie CallanACL 2022
- Bridging the Training-Inference Gap for Dense Phrase RetrievalGyuwan Kim, Jinhyuk Lee, Barlas Oguz, Wenhan Xiong 等EMNLP Findings 2022 · 2 次引用
- Dual-Encoders for Extreme Multi-label ClassificationNilesh Gupta, Devvrit, Ankit Singh Rawat, Srinadh Bhojanapalli 等ICLR 2024 · 8 次引用
- xMoCo: Cross Momentum Contrastive Learning for Open-Domain Question AnsweringNan Yang, Furu Wei, Binxing Jiao, Daxing Jiang 等ACL 2021
