LexSemBridge: Fine-Grained Dense Representation Enhancement Through Token-Aware Embedding Augmentation

Shaoxiong Zhan, Hai Lin, Hongming Tan, Xiaodong Cai, Haitao Zheng, Xin Su, Zifei Shan, Ruitong Liu, Hong‐Gee KimFrontiers in Artificial Intelligence and Applications 2025 · OpenAlexGitHub resource

Abstract

Dense retrieval models have revolutionized information retrieval by mapping queries and documents into a shared semantic space. However, these models often struggle with fine-grained tasks that require precise lexical matching, a phenomenon known as the lexical-semantic gap. We introduce LexSemBridge, a lightweight, plug-in framework designed to enhance dense embeddings with token-aware information. By employing an asymmetric vector modulation strategy, LexSemBridge selectively amplifies discriminative features within the embedding space. Our experiments demonstrate that LexSemBridge significantly improves performance on keyword and part-of-passage retrieval tasks across both text and vision modalities, while maintaining the efficiency of standard dual-encoder architectures.

1. Introduction: The Lexical-Semantic Gap

In modern Retrieval-Augmented Generation (RAG) pipelines, dense retrieval models (e.g., BERT, GTE, or Snowflake-Arctic) serve as the backbone for finding relevant context. These models excel at capturing broad semantic relationships—for instance, linking "cardiovascular health" to "heart disease." However, they frequently falter when faced with queries that demand high lexical precision, such as specific technical snippets or exact quotes.

This failure stems from the inherent nature of dense encoder training. To achieve robust semantic abstraction, these models are trained to "blur" specific surface-level tokens in favor of a global representation. Consequently, the model may overlook critical keywords that distinguish a relevant document from a semantically similar but incorrect one. LexSemBridge addresses this "lexical-semantic gap" by providing a mechanism to re-introduce fine-grained token awareness into the retrieval process.

2. The LexSemBridge Framework

LexSemBridge is designed as a modular enhancement that can be integrated into existing pre-trained encoders without requiring extensive retraining of the backbone.

2.1 Vector Modulation

The core of the framework is a vector modulation operation. Rather than concatenating features or modifying the encoder's architecture, LexSemBridge generates an enhancement vector ($q_{lex}$) based on the input tokens. This vector is then fused with the original dense embedding ($q_{dense}$) using element-wise multiplication: $$q_{out} = q_{dense} \odot q_{lex}$$ This operation functions as a "volume knob," selectively amplifying dimensions of the embedding that correspond to discriminative, fine-grained features while preserving the overall semantic direction of the vector.

2.2 Enhancement Paradigms

The authors propose three distinct strategies for constructing the enhancement vector:

  1. Statistical Lexical Representation (SLR): A baseline approach using a binary indicator of vocabulary presence.
  2. Learned Lexical Representation (LLR): This method utilizes the encoder's hidden states to learn which tokens are most significant within the specific context of the query.
  3. Contextual Lexical Representation (CLR): This strategy leverages a pre-trained Masked Language Model (MLM) head to estimate token importance based on the model's internal expectations and contextual cues.

2.3 Asymmetric Design for Efficiency

To maintain the scalability required for large-scale retrieval, LexSemBridge employs an asymmetric design. The enhancement is applied primarily to the query side. The authors observe that passages are typically information-dense; adding further lexical signals to the document embeddings can introduce noise and significantly increase the computational cost of indexing. By "sharpening" the query intent alone, LexSemBridge achieves high precision without the overhead associated with late-interaction models like ColBERT.

3. Experimental Evaluation

The framework was evaluated using a combination of standard semantic search benchmarks and specialized diagnostic tasks designed to test fine-grained retrieval.

3.1 Diagnostic Tasks

  • Keyword Retrieval: Queries consist of 3–8 salient keywords extracted from a target passage, testing the model's ability to handle sparse, high-information inputs.
  • Part-of-Passage (P-o-P) Retrieval: Queries are contiguous spans (16 to 256 words) taken directly from a document. This "needle in a haystack" test evaluates whether the model can identify exact lexical matches.

3.2 Cross-Modal Generalization

LexSemBridge is modality-agnostic. The authors extended the framework to vision tasks by treating image patches as "visual tokens." Using Vision Transformers (like BEiT), they tested the model on fine-grained image retrieval datasets, including CUB200 (birds) and StanfordCars.

4. Results and Discussion

The experimental results highlight the significant impact of token-aware augmentation.

  • Precision Boosts: On the Keyword Retrieval task, LexSemBridge improved DistilBERT’s performance from an nDCG@1 of 58.72 to 79.03. Similar gains were observed when integrated with state-of-the-art models like Snowflake-Arctic-Embed.
  • Fine-Grained Vision: The LLR strategy provided a remarkable improvement on the CUB200 dataset, raising the BEiT-base baseline from 55.28 to 76.96. This demonstrates the framework's ability to help models distinguish between highly similar visual categories (e.g., different species of birds).
  • Semantic Stability: Crucially, the enhancement did not degrade performance on general semantic search tasks (e.g., NQ, HotpotQA). In many cases, the "bridge" actually improved general retrieval by clarifying the search intent.

5. Conclusion

LexSemBridge offers a practical and efficient solution to the lexical-semantic gap in dense retrieval. By augmenting standard embeddings with token-aware vectors, it provides the "magnifying glass" necessary for fine-grained details without sacrificing the broad semantic capabilities of modern encoders. Its lightweight, plug-in nature and asymmetric design make it an ideal candidate for enhancing real-world RAG systems where both precision and performance are paramount.

Summary updated

BibTeX
@inproceedings{zhan2025lexsembridge,
  author = {Shaoxiong Zhan and Hai Lin and Hongming Tan and Xiaodong Cai and Haitao Zheng and Xin Su and Zifei Shan and Ruitong Liu and Hong‐Gee Kim},
  title = {{LexSemBridge: Fine-Grained Dense Representation Enhancement Through Token-Aware Embedding Augmentation}},
  booktitle = {Frontiers in Artificial Intelligence and Applications},
  year = {2025},
  doi = {10.3233/faia251083},
}

Loading related content...

Figure