HomeArtificial IntelligencearXiv:2605.29507

Xetrieval: Mechanistically Explaining Dense Retrieval

Artificial Intelligencecs.IR2026-05v1license

Abstract

Explaining why dense retrievers assign high relevance scores remains challenging because retrieval decisions are made through opaque high-dimensional embeddings. Existing explanations often focus on surface signals, such as lexical matches, token alignments, or post-hoc textual rationales, and thus provide limited insight into the latent factors that shape dense retrieval behavior at the embedding level. We propose \textit{Xetrieval}, an embedding-level mechanistic framework for explaining dense retrieval. \textit{Xetrieval} first introduces a lightweight reasoning internalizer that approximates Chain-of-Thought reasoning directly in the embedding space with a single forward pass, enriching sentence embeddings with reasoning-oriented information while avoiding expensive autoregressive generation. It then decomposes these reasoning-enhanced embeddings into sparse, human-interpretable features, each associated with a coherent natural language description. By aggregating sparse feature overlaps across multiple document-side views, \textit{Xetrieval} provides feature-level explanations of individual retrieval decisions. Experiments on diverse retrievers and benchmarks show that \textit{Xetrieval} uncovers coherent interpretable features, yields stronger pair-level intervention effects, and supports task-level feature steering. The project page and source code are available at https://hihiczx.github.io/Xetrieval .

Comments: Code: https://github.com/Hihiczx/Xetrieval ; Project page: https://hihiczx.github.io/Xetrieval

Cite

@article{arxiv.2605.29507,
  title  = {Xetrieval: Mechanistically Explaining Dense Retrieval},
  author = {Zhixin Cai and Jun Bai and Yang Liu and Jiaqi Li and Yichi Zhang and Taichuan Li and Zhuofan Chen and Zixia Jia and Zilong Zheng and Wenge Rong},
  journal= {arXiv preprint arXiv:2605.29507},
  year   = {2026}
}