frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

The Reversal Curse: LLMs trained on "A is B" fail to learn "B is A"

https://arxiv.org/abs/2309.12288
17•Anon84•1h ago

Comments

eurekin•50m ago
I remember seeing this popping up in discussions the first time, but never noticed any resolution (other than to train both sides). Has SOTA advanced?
ACCount37•14m ago
No, it's just that no one really cares. It doesn't seem to cause identifiable faults in model reasoning in the real world.

It could be fun to try to make the model pre-learn a "reversal prior" that would cause a greater degree of generalization there, but I'm yet to see a published result like this. Let alone one that would demonstrate such a prior to be useful.

turzmo•47m ago
(2023)
gipp•42m ago
As I and several other people pointed out last time this was posted, "A is B," in natural language, does not imply "B is A." "Is" can denote any of many different shades of relationship weaker than logical identity.
zmgsabst•39m ago
Even in strict logic, “is” can denote membership, as in, “squares are rectangles” does not entail “rectangles are squares”.
beardyw•37m ago
Yes, "Who is Mary Lee Pfeiffer's son?" happens to have just one answer, whereas "Who is Mary Lee Pfeiffer's child?" would have several.
altmanaltman•30m ago
Why would it have several answer when you are asking for a singular child?

Isn't the right way to phrase that question be "Who are Mary Lee Pfeiffer's children?" to get multiple answers?

beardyw•19m ago
A single person would satisfy my question but it needn't be Tom Cruise.
niam•18m ago
Your question arguably doesn't have multiple answers. There's one answer: the set of children (discounting different orders of the set).

The question "Who is her child" has multiple answers because it asks you to deliver a single answer, but there is no single answer as she had multiple children.

altmanaltman•15m ago
But wouldn't every one of those multiple answers be the correct one in this case? Like it can say child a or child b or child c (hypothetical) and while there are mutiple answers, each of them is a logically right one for the question "Who is her child?" no? So how do we judge what is the absolute right answer to that? its ambigious when you say child
zmgsabst•40m ago
“A is B” doesn’t generally entail “B is A”.

“A square is a rectangle” does not entail “a rectangle is a square”.

Similarly, “Socrates is alive” doesn’t entail “alive is Socrates”.

Notably, they mention when context is included, LLM performance rises — ie, exactly when we include extra information that allows it to recognize what kind of information is being conveyed.

But the LLM is correct not to generalize that pattern when it doesn’t generalize — even if researchers have salient example, but ignore contrary ones (eg, square-rectangle or Socrates-alive).

WithinReason•32m ago
That completely misses the point. The point is that "Valentina Tereshkova was the first woman to travel to space" does imply "The first woman to travel to space was Valentina Tereshkova", which LLMs fail to recognise.
IshKebab•22m ago
Right, but that could be because the fact that that implication exists is not actually as trivial as they are implying.

Does "Flargbler was blorglargh" imply "blorglargh was Flargbler"? Maybe. You need more context to know.

Dibby053•8m ago
"A is the B" does entail "the B is A", because "the" establishes an identity/bijection.
ralferoo•33m ago
Not only is the inverse not generally true (as others have pointed out), their examples requires several mental leaps.

"Who is Tom Cruise's mother? [A: Mary Lee Pfeiffer]" and the reverse "Who is Mary Lee Pfeiffer's son?"

The word "mother" has no relationship to "son" in terms of the model, and so while the model might be able to infer a proximity relationship between "Tom Cruise" and "Mary Lee Pfeiffer" just because they appear in the same sentence, expecting the AI to guess that the inverse of mother is son is a bit of a stretch, especially when they're both lossy mappings, because the relationship is {mother,father} <=> {son,daughter}. If we're going to train models to make that mental leap, we'd have to put up with false results like "Tom Cruise is the daughter of Mary Lee Pfeiffer" unless the model is also supposed to infer that Tom means he can only be a son.

trumpdong•27m ago
Pretraining could be reasonably expected to make it learn that mother/father and son/daughter are inverse relationships and Tom is usually a male name.
ralferoo•6m ago
I'd argue that that's not an easy task in and of itself, but even if someone adds a special exception, there's still the issue that there are many other types of inverse relationship that we understand, but a machine that's just doing pattern matching can't be expected to understand. For instance "boss" and "employee". For instance "waiter" and "customer". For instance "manager" and "player" (in a football context) or "manager" and "artist" (in a music context) or "manager" and "customer" (in a bank context). And what's the inverse of "customer" now? And so on and so on...

All of this context works because we build up an extensive model of the world through the course of our lifetimes. LLM models don't do that, they pattern match based on stats.

Somebody would have to decide each of these things is important and create training data sets for each of them. But we implicitly understand so much context about the world that it's practically impossible to document everything we know in the form that a model can actually learn from.

whilenot-dev•33m ago
Here's a short example from A. Karpathy in a 2024 video: https://www.youtube.com/watch?v=zjkBMFhNj_g&t=750s
johnsonjo•17m ago
The space of possible answers is more than one is all GP is saying. Mary Lee Pfeiffer had 1 son, Tom Cruise, and 3 daughters. That's why saying Who is Mary Lee Pfeiffer's son was an identity, because it strictly identifies (or singles out) Mary's son, Tom.

Kind of a weird way to draw an analogy, but in math it's kind of like |x|=2 (the absolute value of x is 2) the answer for the value of x is -2 and 2 sure you could reply that the answer is 2 and be correct (even though you would still be missing something, because the space of possible answers includes both 2 and -2). To relay that back to Mary Lee Pfeiffer saying she has Tom Cruise as a child is correct, but the actual answer could include any 4 of her children (including Tom or one of the 3 daughters) and still be correct.

altmanaltman•12m ago
Yeah i understand that but it is logically right to reply with "Tom Cruise" or any of the girls to that question because by its structure it requires only 1 of the 4 answers since it asks for a singular child right?

Or is it like we are saying while that is logically correct, its not the actual answer and the model should reply "they have more than one child, here is the list of children" and that would be a more accurate one even though the prompt strictly asked for just 1 child?

whilenot-dev•24m ago
It could have several correct answers, yes, where one should be logically deducible.

"Mary Lee Pfeiffer (A) is Tom Cruise's (B's) mother" and "Tom Cruise (B) is Mary Lee Pfeiffer's (A's) son" are two statements of the same relation.

EDIT: I mean if you'd go so far, even Tom Cruise could have multiple mothers, but that doesn't make "Mary Lee Pfeiffer is Tom Cruise's mother" a wrong statement, just because "one of ... mothers" is missing.

latexr•18m ago
> "Who is Mary Lee Pfeiffer's child?" would have several.

Might have several. It only has one answer if there is only one child, which appears to be the case here. They are measuring against what they told the model, not necessarily facts mapping to the real world.

In this case, the correct would always include “Tom Cruise” even if it needed a clarifying “there might be others I have no knowledge of”.

beardyw•10m ago
> It only has one answer if there is only one child

My understanding is she has four.

johnsonjo•3m ago
> Might have several. It only has one answer if there is only one child, which appears to be the case here.

With context. It does have several which was probably GPs point, and she did not have only one child.

Quick google search turns out that Mary Lee Pfeiffer had 4 children:

Lee Ann DeVette (born 1959) (daughter) Marian Henry (born 1960) (daughter) Tom Cruise (born 1962) (son) Cass Mapother (born 1964) (daughter)

So saying "Who is Mary Lee Pfeiffer's child?" would have 4 possible answers (which is several) with all known context. Whereas like GP was saying "Who is Mary Lee Pfeiffer's son?" would have 1 identifying answer, Tom Cruise with the same context.

> In this case, the correct would always include “Tom Cruise” even if it needed a clarifying “there might be others I have no knowledge of”.

I agree with this by the way.

sigmoid10•18m ago
I wouldn't resort to language examples, as the other comments show how this gets imprecise and lost in semantic details quickly. Instead think of a basic logic example: Consider an OR gate with inputs A and B and output X. If B=1 that means X=1. But if X=1 you can't infer that B=1, because there is an alternative (i.e. A=1,B=0). So from B=1→X=1, the inverse simply does not follow. This extends to all statements where a relation is not symmetric. Of course you can also go beyond and find cases where the relationship is not transitive or not even reflexive. There's a whole branch of language based IQ test puzzles (e.g. "all X are Y, some Y are Z" kind of stuff) that exploit this rabbit hole. Any LLM that does good on these will not jump to conclusions about reverse equalities quickly.
Dylan16807•14m ago
Except the researchers are not asking about the inverse of arbitrary logic statements.
Dylan16807•17m ago
That's a fine reaction to the title alone but a very bad reaction to the abstract, where the failure they're criticizing is real and not a childish misunderstanding of the word "is".

Is the abstract misleading and the full paper is stupider than the upfront examples? If not this criticism seems like a total waste of time.

clcaev•16m ago
As a stylistic comment, on HN I am seeing more and more of "As I have always said..." or similar opening constructs. Generally, I think these don't serve to advance the discussion. Many of us have had similar thoughts, and often for decades. Concisely documenting a phenomena or affecting change is hard work and merely observing a pattern isn't sufficient to be notable.

Jumping right to a succinct summary, ideally noting counter arguments, is most welcome. Further, if there is substantial prior discussion or literature on a given point, a link is productive.

bayindirh•14m ago
As a better version of this, I like to link my prior comments, or if I'm referring to another comment in the same thread, I like to link that one.

H in HTML & third W in WWW is meant to denote connections.

ofrzeta•5m ago
AI/Google has this to say "In Hebrew, Tom (תּוֹם) is a legitimate gender-neutral name. While it is historically tied to male usage in western countries, it has become a popular, officially recognized unisex given name in Israel for girls. In Hebrew, it carries a beautiful meaning of "innocence" or "completion"."

I guess it can somehow be disambiguated by context (langugage recognition).

Can you build an NBA Starting Five whose career PPG adds up to 50?

https://draftdawg.app/starting-five/daily?gameId=dailygame-666ed081-da79-42a3-8bec-78ac1a354f84
1•perhapsAnLLM•1m ago•0 comments

What Did the Agent Just Push? Auditing Git for AI Agents

https://jonnyzzz.com/blog/2026/06/20/auditing-git-for-ai-agents/
1•speckx•1m ago•0 comments

Show HN: Vedana – open-source RAG over a knowledge graph

https://github.com/epoch8/vedana
1•puritanne•2m ago•0 comments

You're in a computer literacy filter bubble

https://www.autodidacts.io/computer-literacy-filter-bubble/
1•surprisetalk•2m ago•0 comments

Confucius4-TTS: Accent-free voice cloning across 14 languages

https://github.com/netease-youdao/Confucius4-TTS
1•syscall63•3m ago•0 comments

Fail-safe API to minimize C/C++ application crash when generating log messages

https://github.com/wandi-ssal/fail-safe-application-logger
2•bhwwdly•3m ago•0 comments

Apple cut Mac Studio max RAM from 512GB to 96GB in 14 months. Here's why

https://enrico.rubbo.li/en/2026-06-stock_to_flow_mac/
2•dn2k•3m ago•0 comments

Where Has All the Cottage Cheese Gone?

https://www.nytimes.com/2026/06/20/business/cottage-cheese-shortage.html
2•RickJWagner•4m ago•0 comments

ClawID – Cryptographically verifiable receipts for AI agents

https://holdtheleash.id/audits
1•andrewwoodward•5m ago•0 comments

Million-Dollar Watches Are Absolutely Booming. Here's Why

https://www.gq.com/story/million-dollar-watch-boom
1•RickJWagner•5m ago•0 comments

China Takes Back Top Spot in Latest Supercomputer Ranking

https://www.engadget.com/2199608/china-lineshine-supercomputer-is-worlds-fastest/
2•ilreb•5m ago•0 comments

We Scanned 9,916 European Websites. Tracking and Consent Tools Travel Together

https://ciphercue.com/blog/european-web-stack-vendor-combinations
1•adulion•7m ago•0 comments

The Only Way to Save Europe – The Continent Must Act Like a Country

https://www.foreignaffairs.com/europe/only-way-save-europe
1•vrganj•8m ago•0 comments

Psychological Safety Knowledge Network

https://explore.psychsafety.com/
1•adrianhoward•9m ago•0 comments

Gold coins help crack a centuries-old shipwreck mystery

https://www.popsci.com/science/gold-coins-shipwreck-mystery-england/
1•speckx•10m ago•0 comments

Show HN: How I hit 10k users on my creator platform using Claude as my coworker

https://thrivez.io/how-i-hit-10000-users-on-my-creator-platform-using-claude-as-my-coworker/
1•Fotis-Karmpas•11m ago•0 comments

Show HN: Navigating research by changing problem representations (RLHF example)

http://alo.uz/
1•oshuhrat•12m ago•0 comments

Show HN: Cachet – A drop-in semantic cache for LLM APIs, 100% local, in Rust

https://github.com/abhix2112/Cachet
1•Abhi_2112•12m ago•0 comments

Ask HN: New clean macOS install. Must-have apps? Best browser?

3•simonebrunozzi•13m ago•0 comments

Show HN: Lex – learn languages by reading and writing, not just flashcards

https://lex-the-lab.vercel.app/languages
1•Ako03•14m ago•0 comments

Show HN: Socialwordle.com – solve your friends' guesses:)

https://socialwordle.com/
1•itskami•15m ago•0 comments

Blinx – Watch an AI persona navigate your site and critique the UX in minutes

https://thinkblinx.com/
1•sentfromdafutur•15m ago•0 comments

PsychoPass: Geometric Profiling of Multi-Turn Adversarial LLM Conversations

https://arxiv.org/abs/2606.03136
1•Anon84•16m ago•0 comments

Ask HN:Anyone hiring front-end developer on contract?

1•need_a_work23•16m ago•0 comments

Agents Make Engineering Hard Again

https://ninjapenguin.co.uk/blog/2026/06/19/agents-make-engineering-hard-again/
4•pete001•16m ago•1 comments

Let's Call 'Em "Aigents"

https://www.autodidacts.io/aigents/
1•surprisetalk•17m ago•0 comments

Show HN: Streamr AI – Pretend to be a celebrity with a dystopian AI live stream

https://streamrai.app
1•rafaelely1of1•17m ago•0 comments

Show HN: Service-catalog-MCP – Index your codebase and make batch changes

https://github.com/sorena-ai/service-catalog-mcp/tree/main
1•redbrandi•17m ago•0 comments

Ask HN: If We're 10x More Productive with AI, Why Are Coding Agents Still Bad?

1•superslopagi•18m ago•1 comments

Designing services for people who've lost trust online

https://designnotes.blog.gov.uk/2026/06/23/designing-services-for-people-whove-lost-trust-online/
1•robin_reala•19m ago•0 comments