LMK > CLS: Landmark Pooling for Dense Embeddings
Not on the map. Why?
Abstract (arXiv)
Representation learning is central to many downstream tasks such as search, clustering, classification, and reranking. State-of-the-art sequence encoders typically collapse a variable-length token sequence to a single vector using a pooling operator, most commonly a special [CLS] token or mean pooling over token embeddings. In this paper, we identify systematic weaknesses of these pooling strategies: [CLS] tends to concentrate information toward the initial positions of the sequence and can under-represent distributed evidence, while mean pooling can dilute salient local signals, sometimes leading to worse short-context performance. To address these issues, we introduce Landmark (LMK) pooling, which partitions a sequence into chunks, inserts landmark tokens between chunks, and forms the final representation by mean-pooling the landmark token embeddings. This simple mechanism improves long-context extrapolation without sacrificing local salient features, at the cost of introducing a small number of special tokens. We empirically demonstrate that LMK pooling matches existing methods on short-context retrieval tasks and yields substantial improvements on long-context tasks, making it a practical and scalable alternative to existing pooling methods.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 24 of its 41 references that are in the map. First posted on arXiv 29 Jan 2026.
Builds on
24 of 41 references.
References · 24
- 2017Attention Is All You Needcited by 60,361
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,777
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,474
- 2022Text Embeddings by Weakly-Supervised Contrastive Pre-trainingcited by 1,253
- 2021BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Modelscited by 1,252
- 2024M3-Embedding: Multi-Linguality, Multi-Functionality, Multi-Granularity Text Embeddings Through Self-Knowledge Distillationcited by 1,073
- 2020Language-agnostic BERT Sentence Embeddingcited by 627
- 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 601
- 2024Smarter, Better, Faster, Longer: A Modern Bidirectional Encoder for Fast, Memory Efficient, and Long Context Finetuning and Inferencecited by 554
- 2021ColBERTv2: Effective and Efficient Retrieval via Lightweight Late Interactioncited by 476
- 2024NV-Embed: Improved Techniques for Training LLMs as Generalist Embedding Modelscited by 472
12 more
- 2019Are Transformers universal approximators of sequence-to-sequence functions?cited by 406
- 2021ConSERT: A Contrastive Framework for Self-Supervised Sentence Representation Transfercited by 231
- 2025MMTEB: Massive Multilingual Text Embedding Benchmarkcited by 125
- 2022RetroMAE: Pre-Training Retrieval-oriented Language Models Via Masked Auto-Encodercited by 118
- 2025On the Theoretical Limitations of Embedding-Based Retrievalcited by 104
- 2021MultiEURLEX -- A multi-lingual and multi-label legal document classification dataset for zero-shot cross-lingual transfercited by 90
- 2024Making Text Embedders Few-Shot Learnerscited by 79
- 2024Arctic-Embed: Scalable, Efficient, and Accurate Text Embedding Modelscited by 61
- 2024CoIR: A Comprehensive Benchmark for Code Information Retrieval Modelscited by 60
- 2024LongEmbed: Extending Embedding Models for Long Context Retrievalcited by 48
- 2025Pool Me Wisely: On the Effect of Pooling in Transformer-Based Modelscited by 6
- 2022RetroMAE v2: Duplex Masked Auto-Encoder For Pre-Training Retrieval-Oriented Language Modelscited by 2
Built on by
Citing papers per year: 2026: 1.
1 paper.