Careful Queries, Credible Results: Teaching RAG Models Advanced Web Search Tools with Reinforcement Learning

Authors

  • Yuqin Dai Tsinghua University Ant Group
  • Shuo Yang The University of Hong Kong
  • Guoqing Wang Ant Group
  • Yong Deng Ant Group
  • Zhanwei Zhang Zhejiang University Ant Group
  • Jun Yin Tsinghua University
  • Pengyu Zeng Tsinghua University
  • Zhenzhe Ying Ant Group
  • Changhua Meng Ant Group
  • Can Yi Ant Group
  • Yuchen Zhou National University of Singapore
  • Weiqiang Wang Ant Group
  • Shuai Lu Tsinghua University

DOI:

https://doi.org/10.1609/aaai.v40i36.40299

Abstract

Retrieval-Augmented Generation (RAG) enhances large language models (LLMs) by integrating up-to-date external knowledge, yet real-world web environments present unique challenges. These limitations manifest as two key challenges: pervasive misinformation in the web environment, which introduces unreliable or misleading content that can degrade retrieval accuracy, and the underutilization of web tools, which, if effectively employed, could enhance query precision and help mitigate this noise, ultimately improving retrieval results in RAG systems. To address these issues, we propose WebFilter, a novel RAG framework that generates source-restricted queries and filters out unreliable content. This approach combines a retrieval filtering mechanism with a behavior- and outcome-driven reward strategy, optimizing both query formulation and retrieval outcomes. Extensive experiments demonstrate that WebFilter improves answer quality and retrieval precision, outperforming existing RAG methods on both in-domain and out-of-domain benchmarks.

Downloads

Published

2026-03-14

How to Cite

Dai, Y., Yang, S., Wang, G., Deng, Y., Zhang, Z., Yin, J., Zeng, P., Ying, Z., Meng, C., Yi, C., Zhou, Y., Wang, W., & Lu, S. (2026). Careful Queries, Credible Results: Teaching RAG Models Advanced Web Search Tools with Reinforcement Learning. Proceedings of the AAAI Conference on Artificial Intelligence, 40(36), 30458-30466. https://doi.org/10.1609/aaai.v40i36.40299

Issue

Section

AAAI Technical Track on Natural Language Processing I