Reasoning skills of large language models are often overestimated
MIT researchers examined how LLMs fare with variations of different tasks, putting their memorization and reasoning skills to the test. The result: Their reasoning abilities are often overestimated. Credit: Alex Shipps/MIT CSAIL

When it comes to artificial intelligence, appearances can be deceiving. The mystery surrounding the inner workings of large language models (LLMs) stems from their vast size, complex training methods, hard-to-predict behaviors, and elusive interpretability.

MIT's Computer Science and Artificial Intelligence Laboratory (CSAIL) researchers recently peered into the proverbial magnifying glass to examine how LLMs fare with variations of different tasks, revealing intriguing insights into the interplay between memorization and reasoning skills. It turns out that their reasoning abilities are often overestimated.

The research is published on the arXiv preprint server.

The study compared "default tasks," the common tasks on which a is trained and tested, with "counterfactual scenarios," hypothetical situations deviating from default conditions—which models like GPT-4 and Claude can usually be expected to cope with. The researchers developed some tests outside the models' comfort zones by tweaking existing tasks instead of creating entirely new ones. They used a variety of datasets and benchmarks specifically tailored to different aspects of the models' capabilities for things like arithmetic, chess, evaluating code, answering logical questions, etc.

When users interact with language models, any arithmetic is usually in base 10, the familiar number base to the models. But observing that they do well on base 10 could give us a false impression of them having strong competency in addition. Logically, if they truly possess good addition skills, you'd expect reliably high performance across all number bases, similar to calculators or computers.

Indeed, the research showed that these models are not as robust as many initially think. Their is limited to common task variants and suffer from consistent and severe performance drop in the unfamiliar counterfactual scenarios, indicating a lack of generalizable addition ability.

The pattern held true for many other tasks like musical chord fingering, spatial reasoning, and even chess problems where the starting positions of pieces were slightly altered. While human players are expected to still be able to determine the legality of moves in altered scenarios (given enough time), the models struggled and couldn't perform better than random guessing, meaning they have limited ability to generalize to unfamiliar situations. And much of their performance on the standard tasks is likely not due to general task abilities, but overfitting to or directly memorizing from what they have seen in their .

"We've uncovered a fascinating aspect of large language models: They excel in familiar scenarios, almost like a well-worn path, but struggle when the terrain gets unfamiliar. This insight is crucial as we strive to enhance these models' adaptability and broaden their application horizons," says Zhaofeng Wu, an MIT Ph.D. student in electrical engineering and computer science, CSAIL affiliate, and the lead author on the new paper.

"As AI is becoming increasingly ubiquitous in our society, it must reliably handle diverse scenarios, whether familiar or not. We hope these insights will one day inform the design of future LLMs with improved robustness."

Despite the insights gained, there are, of course, limitations. The study's focus on and settings didn't capture the full range of challenges the models could potentially encounter in real-world applications, signaling the need for more diverse testing environments.

Future work could involve expanding the range of tasks and counterfactual conditions to uncover more potential weaknesses. This could mean looking at more complex and less common scenarios. The team also wants to improve interpretability by creating methods to better comprehend the rationale behind the models' decision-making processes.

"As language models scale up, understanding their training data becomes increasingly challenging even for open models, let alone proprietary ones," says Hao Peng, assistant professor at the University of Illinois at Urbana-Champaign.

"The community remains puzzled about whether these models genuinely generalize to unseen tasks, or seemingly succeed by memorizing the training data. This paper makes important strides in addressing this question. It constructs a suite of carefully designed counterfactual evaluations, providing fresh insights into the capabilities of state-of-the-art LLMs. It reveals that their ability to solve unseen tasks is perhaps far more limited than anticipated by many. It has the potential to inspire future research towards identifying the failure modes of today's models and developing better ones."

Additional authors include Najoung Kim, who is a Boston University assistant professor and Google visiting researcher, and seven CSAIL affiliates: MIT and computer science (EECS) Ph.D. students Linlu Qiu, Alexis Ross, Ekin Akyürek SM, and Boyuan Chen; former postdoc and Apple AI/ML researcher Bailin Wang; and EECS assistant professors Jacob Andreas and Yoon Kim.

The team presented the work at the North American Chapter of the Association for Computational Linguistics (NAACL) last month.

More information: Zhaofeng Wu et al, Reasoning or Reciting? Exploring the Capabilities and Limitations of Language Models Through Counterfactual Tasks, arXiv (2023). DOI: 10.48550/arxiv.2307.02477

Journal information: arXiv

This story is republished courtesy of MIT News (web.mit.edu/newsoffice/), a popular site that covers news about MIT research, innovation and teaching.

Citation: Reasoning skills of large language models are often overestimated, researchers find (2024, July 11) retrieved 11 July 2024 from https://techxplore.com/news/2024-07-skills-large-language-overestimated.html

This document is subject to copyright. Apart from any fair dealing for the purpose of private study or research, no part may be reproduced without the written permission. The content is provided for information purposes only.