cs.CLMar 9, 2026

One Model Is Enough: Native Retrieval Embeddings from LLM Agent Hidden States

Authors: Bo Jiang

Organizations: Temple University

Abstract

LLM agents that retrieve external knowledge typically generate a search query as text, then run a separate embedding model to encode it into a vector. This two-model pipeline adds infrastructure complexity and latency, yet is redundant: the LLM already encodes the full conversational context in its hidden states. We propose equipping LLM agents with native retrieval capability by adding a lightweight projection head that maps hidden states directly into the embedding space, eliminating the need for a separate embedding model. Trained with a combination of alignment, contrastive, and rank distillation losses, our method retains 97% of baseline retrieval quality while enabling the LLM agent to search with its own representations. Experiments on the QReCC conversational search benchmark show competitive Recall@10 and MRR@10 compared to the standard generate-then-encode pipeline, with systematic ablations confirming the contribution of each loss component.

Figures & tables

Appendix figures & tables1 asset

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. GEM: A Generative Embedding Model Bridging Reasoning and Retrieval

    Aug 13, 2026Zhili Shen, Craig MacdonaldText Embedding Models

  2. Latent Abstraction for Retrieval-Augmented Generation

    Apr 20, 2026Ha Lan N. T, Minh-Anh Nguyen, Dung D. LeRetrieval-Augmented GenerationAdaptive RAG

  3. Retrieval as Reasoning: Self-Evolving Agent-Native Retrieval via LLM-Wiki

    May 25, 2026Haoliang Ming, Feifei Li, Xiaoqing Wu +1Multi-Hop QARetrieval-Augmented Generation