Logic-Oriented Retriever Enhancement via Contrastive Learning

Wenxuan Zhang, Yuan-Hao Jiang, Changyong Qi, Rui Jia, Yonghe Wu
2/1/2026
cs.CL

Official code: mazehart/Lore-RAG (0 stars, last commit 2025-10-09).

Abstract

Large language models (LLMs) struggle in knowledge-intensive tasks, as retrievers often overfit to surface similarity and fail on queries involving complex logical relations. The capacity for logical analysis is inherent in model representations but remains underutilized in standard training. LORE (Logic ORiented Retriever Enhancement) introduces fine-grained contrastive learning to activate this latent capacity, guiding embeddings toward evidence aligned with logical structure rather than shallow similarity. LORE requires no external upervision, resources, or pre-retrieval analysis, remains index-compatible, and consistently improves retrieval utility and downstream generation while maintaining efficiency. The datasets and code are publicly available at https://github.com/mazehart/Lore-RAG.

View on arXivView PDF

Code Implementations(1)

mazehart/Lore-RAGOfficial100%
00Shell, PythonSep 18, 20251 years ago

Similar Papers

Cite this paper

@article{zhang2026logicoriented,
  title  = {Logic-Oriented Retriever Enhancement via Contrastive Learning},
  author = {Wenxuan Zhang and Yuan-Hao Jiang and Changyong Qi and Rui Jia and Yonghe Wu},
  year   = {2026},
  eprint = {2602.01116},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.01116v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2602.01116.svg)](https://codeofpaper.com/paper/2602.01116)

Discussion