Struc-EMB: The Potential of Structure-Aware Encoding in Language Embeddings
Not on the map. Why?
Abstract (arXiv)
Text embeddings from Large Language Models (LLMs) have become foundational for numerous applications. However, these models typically operate on raw text, overlooking the rich structural information, such as hyperlinks or citations, that provides crucial context in many real-world datasets. This paper introduces and systematically evaluates a new paradigm for generating structure-aware text embeddings by integrating these structural relations directly into the LLM's internal encoding process, rather than relying on traditional post-hoc aggregation. We investigate two primary in-process methods: sequential concatenation and parallel caching. Through extensive zero-shot experiments across retrieval, clustering, classification, and recommendation tasks, we demonstrate that our structure-aware approaches consistently outperform both text-only and post-hoc baselines. Our analysis reveals critical trade-offs: sequential concatenation excels with noisy, moderate-length contexts, while parallel caching scales more effectively to long, high-signal contexts but is more susceptible to distractors. To address the challenge of noisy structural data, we also introduce and validate two effective techniques: Context Distillation and Semantic Balancing. This work provides the first comprehensive analysis of in-process structure-aware encoding, offering a blueprint for building more powerful and contextually aware embedding models.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 55 of its 65 references that are in the map. First posted on arXiv 9 Oct 2025.
Builds on
55 of 65 references.
References · 55
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2017Graph Attention Networkscited by 8,923
- 2025Qwen3 Technical Reportcited by 8,820
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
- 2024From Local to Global: A Graph RAG Approach to Query-Focused Summarizationcited by 1,453
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
- 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,282
38 more
- 2025Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Modelscited by 1,261
- 2021BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Modelscited by 1,252
- 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,135
- 2016Revisiting Semi-Supervised Learning with Graph Embeddingscited by 976
- 2022Atlas: Few-shot Learning with Retrieval Augmented Language Modelscited by 952
- 2021MuSiQue: Multihop Questions via Single-hop Question Compositioncited by 916
- 2022MTEB: Massive Text Embedding Benchmarkcited by 640
- 2024NV-Embed: Improved Techniques for Training LLMs as Generalist Embedding Modelscited by 472
- 2024LLM2Vec: Large Language Models Are Secretly Powerful Text Encoderscited by 404
- 2023Improving Text Embeddings with Large Language Modelscited by 303
- 2022TabLLM: Few-shot Classification of Tabular Data with Large Language Modelscited by 277
- 2023Prompt Cache: Modular Attention Reuse for Low-Latency Inferencecited by 268
- 2024LLaGA: Large Language and Graph Assistantcited by 181
- 2023Talk like a Graph: Encoding Graphs for Large Language Modelscited by 176
- 2024Retrieval-Augmented Generation with Graphs (GraphRAG)cited by 172
- 2023Knowledge Graph Prompting for Multi-Document Question Answeringcited by 152
- 2022Dense Text Retrieval based on Pretrained Language Models: A Surveycited by 136
- 2025MMTEB: Massive Multilingual Text Embedding Benchmarkcited by 125
- 2024Let Your Graph Do the Talking: Encoding Structured Data for LLMscited by 118
- 2022Parallel Context Windows for Large Language Modelscited by 81
- 2024Simple Is Effective: The Roles of Graphs and Large Language Models in Knowledge-Graph-Based Retrieval-Augmented Generationcited by 80
- 2025KVLink: Accelerating Large Language Models via Efficient KV Cache Reusecited by 66
- 2024LLMs as Zero-shot Graph Learners: Alignment of GNN Representations with LLM Token Embeddingscited by 61
- 2025On the Emergence of Position Bias in Transformerscited by 59
- 2024Making Pre-trained Language Models Great on Tabular Predictioncited by 57
- 2024GOFA: A Generative One-For-All Model for Joint Graph Language Modelingcited by 57
- 2024STaRK: Benchmarking LLM Retrieval on Textual and Relational Knowledge Basescited by 55
- 2024Multimodal Needle in a Haystack: Benchmarking Long-Context Capability of Multimodal Large Language Modelscited by 55
- 2022Bitext Mining Using Distilled Sentence Representations for Low-Resource Languagescited by 48
- 2025Griffin: Towards a Graph-Centric Relational Database Foundation Modelcited by 47
- 2024Text-space Graph Foundation Models: Comprehensive Benchmarks and New Insightscited by 44
- 2022CORE: Simple and Effective Session-based Recommendation within Consistent Representation Spacecited by 37
- 2024Block-Attention for Efficient Prefillingcited by 37
- 2024GLBench: A Comprehensive Benchmark for Graph with Large Language Modelscited by 36
- 2022FiDO: Fusion-in-Decoder optimized for stronger performance and faster inferencecited by 31
- 2025APE: Faster and Longer Context-Augmented Generation via Adaptive Parallel Encodingcited by 29
- 2024REAR: A Relevance-Aware Retrieval-Augmented Framework for Open-Domain Question Answeringcited by 28
- 2023Embedding in Recommender Systems: A Surveycited by 20
50 most cited of 55 All 55 (JSON)
Built on by
Not cited yet.