mlsanityData to 7 Oct 2026

Hierarchical Token Prepending: Enhancing Information Flow in Decoder-based LLM Embeddings

arXiv 2511.14868 ↗First posted 18 Nov 2025cs.CL cs.LGcited by 3

Not on the map. Why?

Abstract (arXiv)

Large language models produce powerful text embeddings, but their causal attention mechanism restricts the flow of information from later to earlier tokens, degrading representation quality. While recent methods attempt to solve this by prepending a single summary token, they over-compress information, hence harming performance on long documents. We propose Hierarchical Token Prepending (HTP), a method that resolves two critical bottlenecks. To mitigate attention-level compression, HTP partitions the input into blocks and prepends block-level summary tokens to subsequent blocks, creating multiple pathways for backward information flow. To address readout-level over-squashing, we replace last-token pooling with mean-pooling, a choice supported by theoretical analysis. HTP achieves consistent performance gains across 11 retrieval datasets and 30 general embedding benchmarks, especially in long-context settings. As a simple, architecture-agnostic method, HTP enhances both zero-shot and finetuned models, offering a scalable route to superior long-document embeddings.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 29 of its 41 references that are in the map. First posted on arXiv 18 Nov 2025.

Builds on

29 of 41 references.

References · 29

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  3. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  4. 2016Layer Normalizationcited by 5,579
  5. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  6. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
  7. 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
  8. 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,928
  9. 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,259
  10. 2021BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Modelscited by 1,225
  11. 2017The NarrativeQA Reading Comprehension Challengecited by 590
  12. 2020Fact or Fiction: Verifying Scientific Claimscited by 546
17 more
  1. 2021Understanding over-squashing and bottlenecks on graphs via curvaturecited by 471
  2. 2024NV-Embed: Improved Techniques for Training LLMs as Generalist Embedding Modelscited by 466
  3. 2021Sentence-T5: Scalable Sentence Encoders from Pre-trained Text-to-Text Modelscited by 462
  4. 2020SPECTER: Document-level Representation Learning using Citation-informed Transformerscited by 426
  5. 2024LLM2Vec: Large Language Models Are Secretly Powerful Text Encoderscited by 396
  6. 2021QMSum: A New Benchmark for Query-based Multi-domain Meeting Summarizationcited by 363
  7. 2025Layer by Layer: Uncovering Hidden Representations in Language Modelscited by 293
  8. 2023Fine-Tuning LLaMA for Multi-Stage Text Retrievalcited by 271
  9. 2024Generative Representational Instruction Tuningcited by 227
  10. 2024Transformers need glasses! Information over-squashing in language taskscited by 87
  11. 2024LongEmbed: Extending Embedding Models for Long Context Retrievalcited by 47
  12. 2024Fantastic Semantics and Where to Find Them: Investigating Which Layers of Generative LLMs Reflect Lexical Semanticscited by 43
  13. 2024Your Mixture-of-Experts LLM Is Secretly an Embedding Model For Freecited by 37
  14. 2023BeLLM: Backward Dependency Enhanced Large Language Model for Sentence Embeddingscited by 32
  15. 2024Token Prepending: A Training-Free Approach for Eliciting Better Sentence Embeddings from LLMscited by 18
  16. 2023Composition-contrastive Learning for Sentence Embeddingscited by 14
  17. 2025Contrastive Prompting Enhances Sentence Embeddings in LLMs through Inference-Time Steeringcited by 13

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 3.

3 papers.