HackerPapers

arXiv:2305.18354cs.CL

LLMs and the Abstraction and Reasoning Corpus: Successes, Failures, and the Importance of Object-based Representations

Yudong Xu, Wenhao Li, Pashootan Vaezipoor, Scott Sanner, Elias B. Khalil

Early discovery. Linked by one identifiable commenter. This paper is outside the main ranking; a mention is not an endorsement.

Abstract

Can a Large Language Model (LLM) solve simple abstract reasoning problems? We explore this broad question through a systematic analysis of GPT on the Abstraction and Reasoning Corpus (ARC), a representative benchmark of abstract reasoning ability from limited examples in which solutions require some "core knowledge" of concepts such as objects, goal states, counting, and basic geometry. GPT-4 solves only 13/50 of the most straightforward ARC tasks when using textual encodings for their two-dimensional input-output grids. Our failure analysis reveals that GPT-4's capacity to identify objects and reason about them is significantly influenced by the sequential nature of the text that represents an object within a text encoding of a task. To test this hypothesis, we design a new benchmark, the 1D-ARC, which consists of one-dimensional (array-like) tasks that are more conducive to GPT-based reasoning, and where it indeed performs better than on the (2D) ARC. To alleviate this issue, we propose an object-based representation that is obtained through an external tool, resulting in nearly doubling the performance on solved ARC tasks and near-perfect scores on the easier 1D-ARC. Although the state-of-the-art GPT-4 is unable to "reason" perfectly within non-language domains such as the 1D-ARC or a simple ARC subset, our study reveals that the use of object-based representations can significantly improve its reasoning ability. Visualizations, GPT logs, and data are available at https://khalil-research.github.io/LLM4ARC.

arXiv comments
26 pages, 15 figures, published in Transactions on Machine Learning Research (TMLR)
Journal reference
DOI
Subjects
cs.CLComputation and Language cs.AIArtificial Intelligence

On Hacker News

Linked by 1 identifiable commenter in 4 comments across 4 threads, from Nov 2023 to Aug 2024. Found in 3 HN submissions from Nov 2023 to Mar 2024. Open submission discussions.

Comments linking this paper, per year.

Discussed in comments4 threads

    • Oh i've read them. The claim doesn't match up to reality. It's as simple as that. You can claim anything you want to. https://arxiv.org/abs/2305.18354 All these papers you keep linking do is at best point out the shortcomings of current state of the art LLMs. They do not in any…

      famouswafflesView on HNParent context

    • For now, LLMs are a lot better when you express this kind of task in text, preferably as a 1D arrangement. GPT-4's performance on the Abstraction and Reasoning Corpus. https://arxiv.org/abs/2305.18354 Also, this model trained to predict image tokens seemed to be able to perform…

      famouswafflesView on HNParent context

    • Late reply but, LLMs are not bad at abstraction in general, just spatially focused abstraction. https://arxiv.org/abs/2212.09196 Also, how the data is presented matters a lot. Currently, LLMs handle the benchmark much better presented linearly in 1 dimension…

      famouswafflesView on HNParent context

    • >It is, and it should, be able to find correlations across data no matter how the input is arranged. That doesn't mean it doesn't favor certain arrangements. https://arxiv.org/abs/2305.18354 Linear is in fact better for this benchmark

      famouswafflesView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.