Making Long-Context Language Models Better Multi-Hop Reasoners

Yanyang Li, Shuo Liang, Michael R. Lyu, Liwei Wang
8/6/2024
cs.CL

No official code found. Best implementation: LaVi-Lab/LongContextReasoner (20 stars, MIT, last commit 2024-05-28).

Abstract

Recent advancements in long-context modeling have enhanced language models (LMs) for complex tasks across multiple NLP applications. Despite this progress, we find that these models struggle with multi-hop reasoning and exhibit decreased performance in the presence of noisy contexts. In this paper, we introduce Reasoning with Attributions, a novel approach that prompts LMs to supply attributions for each assertion during their reasoning. We validate our approach through experiments on three multi-hop datasets, employing both proprietary and open-source models, and demonstrate its efficacy and resilience. Furthermore, we explore methods to augment reasoning capabilities via fine-tuning and offer an attribution-annotated dataset and a specialized training strategy. Our fine-tuned model achieves competitive performance on multi-hop reasoning benchmarks, closely paralleling proprietary LMs such as ChatGPT and Claude-instant.

View on arXivView PDF

Code Implementations(1)

MIT

[ACL 2024] Making Long-Context Language Models Better Multi-Hop Reasoners

200Shell, PythonMay 28, 20242 years agoMIT

Cite this paper

@article{li2024making,
  title  = {Making Long-Context Language Models Better Multi-Hop Reasoners},
  author = {Yanyang Li and Shuo Liang and Michael R. Lyu and Liwei Wang},
  year   = {2024},
  eprint = {2408.03246},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.03246v1}
}

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

Discussion