HackerPapers

arXiv:2205.11502cs.CL

On the Paradox of Learning to Reason from Data

Honghua Zhang, Liunian Harold Li, Tao Meng, Kai-Wei Chang, Guy Van den Broeck

Abstract

Logical reasoning is needed in a wide range of NLP tasks. Can a BERT model be trained end-to-end to solve logical reasoning problems presented in natural language? We attempt to answer this question in a confined problem space where there exists a set of parameters that perfectly simulates logical reasoning. We make observations that seem to contradict each other: BERT attains near-perfect accuracy on in-distribution test examples while failing to generalize to other data distributions over the exact same problem space. Our study provides an explanation for this paradox: instead of learning to emulate the correct reasoning function, BERT has in fact learned statistical features that inherently exist in logical reasoning problems. We also show that it is infeasible to jointly remove statistical features from data, illustrating the difficulty of learning to reason in general. Our result naturally extends to other neural models and unveils the fundamental difference between learning to reason and learning to achieve high performance on NLP benchmarks using statistical features.

arXiv comments
Table 1 & 2 numbers were out-dated in v1; we have updated them; the observations and conclusions remain unchanged
Journal reference
DOI
Subjects
cs.CLComputation and Language cs.AIArtificial Intelligence

On Hacker News

Linked by 6 identifiable commenters in 7 comments across 7 threads, from Dec 2022 to Oct 2024. Found in 4 HN submissions from Aug 2022 to Jun 2024. Open submission discussions.

Comments linking this paper, per year.

Discussed in comments7 threads

    • I think today's AI researchers' preoccupation with just learning directly from data in an effort to achieve AGI is understandable, because this data-driven approach has generated results that are far more impressive than all the previous approaches that involved humans…

      ahkpaspView on HNParent context

    • seL4 has seen use in military projects, including UAVs and drones. It's been endorsed by the Linux Foundation. I wouldn't really call it an academic proof of concept at this point. Regarding logic problems, I've tested GPT-4 and Bard. Both fail some pretty typical logic…

      nanolithView on HNParent context

    • I'm trying to interpret what you said in a strong, faithful interpretation. To that end, when you say "surely it will improve", I assume what you mean is, it will improve with regards to being trustworthy enough to use in contexts where hallucination is considered to be a…

      jchwView on HNParent context

    • > but LLMs reason just fine. There is a lot of research that shows they have trouble reasoning. Folks working with LLMs and building them agree that they can't reason, yet pop-sci folks religiously insist they can reason. This is not even a controversial topic.…

      cscurmudgeonView on HNParent context

  1. Understanding ChatGPT 1 comment
    • > “Humans are actually reasoning. LLMs are not.” Again, how would you measure such a thing? Wow. Leave it to HN commenters to arrogantly ignore research by those in the field. 1. LLMs can't reason or calculate. This is why we have ToolFormer or Plugins in the first place. Even…

      cscurmudgeonView on HNParent context

    • > it seems that this merely exposes the normal operation. Insufficient images of that person prevented it from abstracting the person components from the background yes my point was that this total failure to abstract (or slice or average or whatever it is that it usually seems…

      d110af5ccfView on HNParent context

    • I've only skimmed but it seems like the general idea is sound, that neural networks are good at pattern matching and that shallow pattern matching is only one aspect of "deep thought", logical reasoning being the other one. I'm confused though, they give examples of Go and Chess…

      abetuskView on HNParent context

Submitted to Hacker News

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