ACL 2024findings5 citations

Just Ask One More Time! Self-Agreement Improves Reasoning of Language Models in (Almost) All Scenarios

Lei Lin, Jiayi Fu, Pengli Liu, Qingyang Li, Yan Gong, Junchen Wan, Fuzheng Zhang, Zhongyuan Wang

Abstract

Although chain-of-thought (CoT) prompting combined with language models has achieved encouraging results on complex reasoning tasks, the naive greedy decoding used in CoT prompting usually causes the repetitiveness and local optimality. To address this shortcoming, ensemble-optimization tries to obtain multiple reasoning paths to get the final answer assembly. However, current ensemble-optimization methods either simply employ rule-based post-processing such as self-consistency, or train an additional model based on several task-related human annotations to select the best one among multiple reasoning paths, yet fail to generalize to realistic settings where the type of input questions is unknown or the answer format of reasoning paths is unknown. To avoid their limitations, we propose Self-Agreement, a generalizable ensemble-optimization method applying in almost all scenarios where the type of input questions and the answer format of reasoning paths may be known or unknown. Self-agreement firstly samples from language model’s decoder to generate a diverse set of reasoning paths, and subsequently prompts the language model one more time to determine the optimal answer by selecting the most agreed answer among the sampled reasoning paths. Self-agreement simultaneously achieves remarkable performance on six public reasoning benchmarks and superior generalization capabilities.

BibTeX
@inproceedings{lin-etal-2024-just,
    title = "Just Ask One More Time! Self-Agreement Improves Reasoning of Language Models in (Almost) All Scenarios",
    author = "Lin, Lei  and
      Fu, Jiayi  and
      Liu, Pengli  and
      Li, Qingyang  and
      Gong, Yan  and
      Wan, Junchen  and
      Zhang, Fuzheng  and
      Wang, Zhongyuan  and
      Zhang, Di  and
      Gai, Kun",
    editor = "Ku, Lun-Wei  and
      Martins, Andre  and
      Srikumar, Vivek",
    booktitle = "Findings of the Association for Computational Linguistics: ACL 2024",
    month = aug,
    year = "2024",
    address = "Bangkok, Thailand",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2024.findings-acl.230/",
    doi = "10.18653/v1/2024.findings-acl.230",
    pages = "3829--3852"
}
Just Ask One More Time! Self-Agreement Improves Reasoning of Language Models in (Almost) All Scenarios · ACL 2024