Aggregation of Reasoning: A Hierarchical Framework for Enhancing Answer Selection in Large Language Models

Zhangyue Yin, Qiushi Sun, Qipeng Guo, Zhiyuan Zeng, Xiaonan Li +7 more
5/21/2024
cs.CL

No official code found. Best implementation: yinzhangyue/AoR (10 stars, Apache-2.0, last commit 2024-11-07).

Abstract

Recent advancements in Chain-of-Thought prompting have facilitated significant breakthroughs for Large Language Models (LLMs) in complex reasoning tasks. Current research enhances the reasoning performance of LLMs by sampling multiple reasoning chains and ensembling based on the answer frequency. However, this approach fails in scenarios where the correct answers are in the minority. We identify this as a primary factor constraining the reasoning capabilities of LLMs, a limitation that cannot be resolved solely based on the predicted answers. To address this shortcoming, we introduce a hierarchical reasoning aggregation framework AoR (Aggregation of Reasoning), which selects answers based on the evaluation of reasoning chains. Additionally, AoR incorporates dynamic sampling, adjusting the number of reasoning chains in accordance with the complexity of the task. Experimental results on a series of complex reasoning tasks show that AoR outperforms prominent ensemble methods. Further analysis reveals that AoR not only adapts various LLMs but also achieves a superior performance ceiling when compared to current methods.

View on arXivView PDF

Code Implementations(1)

yinzhangyue/AoRCommunity100%
Apache-2.0

Aggregation of Reasoning: A Hierarchical Framework for Enhancing Answer Selection in Large Language Models

103PythonMar 26, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{yin2024aggregation,
  title  = {Aggregation of Reasoning: A Hierarchical Framework for Enhancing Answer Selection in Large Language Models},
  author = {Zhangyue Yin and Qiushi Sun and Qipeng Guo and Zhiyuan Zeng and Xiaonan Li and Tianxiang Sun and Cheng Chang and Qinyuan Cheng and Ding Wang and Xiaofeng Mou and Xipeng Qiu and XuanJing Huang},
  year   = {2024},
  eprint = {2405.12939},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.12939v1}
}

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

Discussion