A$^2$Search: Ambiguity-Aware Question Answering with Reinforcement Learning

Fengji Zhang, Xinyao Niu, Chengyang Ying, Guancheng Lin, Zhongkai Hao +5 more
10/9/2025
cs.CLcs.AI

Official code: zfj1998/A2Search (10 stars, Apache-2.0, last commit 2025-10-10).

Abstract

Recent advances in Large Language Models (LLMs) and Reinforcement Learning (RL) have led to strong performance in open-domain question answering (QA). However, existing models still struggle with questions that admit multiple valid answers. Standard QA benchmarks, which typically assume a single gold answer, overlook this reality and thus produce inappropriate training signals. Existing attempts to handle ambiguity often rely on costly manual annotation, which is difficult to scale to multi-hop datasets such as HotpotQA and MuSiQue. In this paper, we present A$^2$Search, an annotation-free, end-to-end training framework to recognize and handle ambiguity. At its core is an automated pipeline that detects ambiguous questions and gathers alternative answers via trajectory sampling and evidence verification. The model is then optimized with RL using a carefully designed $\mathrm{AnsF1}$ reward, which naturally accommodates multiple answers. Experiments on eight open-domain QA benchmarks demonstrate that A$^2$Search achieves new state-of-the-art performance. With only a single rollout, A$^2$Search-7B yields an average $\mathrm{AnsF1}@1$ score of $48.4\%$ across four multi-hop benchmarks, outperforming all strong baselines, including the substantially larger ReSearch-32B ($46.2\%$). Extensive analyses further show that A$^2$Search resolves ambiguity and generalizes across benchmarks, highlighting that embracing ambiguity is essential for building more reliable QA systems. Our code, data, and model weights can be found at https://github.com/zfj1998/A2Search

View on arXivView PDF

Code Implementations(1)

zfj1998/A2SearchOfficial100%
Apache-2.0

Learn to resolve ambiguity for Question Answering through RL

101Shell, PythonOct 9, 20251 years agoApache-2.0

Similar Papers

Cite this paper

@article{zhang2025asearch,
  title  = {A$^2$Search: Ambiguity-Aware Question Answering with Reinforcement Learning},
  author = {Fengji Zhang and Xinyao Niu and Chengyang Ying and Guancheng Lin and Zhongkai Hao and Zhou Fan and Chengen Huang and Jacky Keung and Bei Chen and Junyang Lin},
  year   = {2025},
  eprint = {2510.07958},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.07958v1}
}

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/2510.07958.svg)](https://codeofpaper.com/paper/2510.07958)

Discussion