Monty Hall problem

When LLMs Follow a Flawed Monty Hall Rule, Switching Fails 33% of the Time

Even after being given the correct rule, that the host now picks a door at random, five leading LLMs still switched when they shouldn't have, landing near 33% accuracy.

3 min readTowards Data Science

Large language models can reason step by step, quote the correct rule, and then proceed to ignore it. That is the uncomfortable finding at the heart of a recent experiment with the Monty Hall problem. When researchers changed one simple rule, the host now opens a door at random rather than always revealing a goat, five different LLMs still advised switching, landing near 33% accuracy. One model even stated the new rule correctly before discarding it. This is not a quirk of probability. It is a window into how these systems handle logic when the training data points one way and the facts point another.

Explore multi-agent AI design by building EV purchase and support tools offers a useful contrast. There, you build agents that follow explicit instructions in a controlled environment. The Monty Hall failure shows what happens when the instruction is clear but the model's internal pattern, "always switch wins", overrides it. The practical lesson is blunt: chain-of-thought reasoning does not guarantee correct reasoning. It can just as easily produce a confident, well-structured justification for the wrong answer.

This matters beyond game shows. If an LLM can recite a rule and then ignore it when the rule conflicts with its most common training pattern, the same failure mode will appear in financial modeling, legal analysis, or data validation. A model that "knows" the answer from its training data will find a plausible path to that answer, even when the context has changed. The researchers observed exactly that: the models landed near 33% because they defaulted to the classic Monty Hall logic, where switching wins two-thirds of the time. The new rule was acknowledged but not applied.

The Cybertruck experiment ends, revealing hard truths about EV ambition tells a story about ambition colliding with reality. This Monty Hall result is a smaller-scale version of the same collision. The ambition is that reasoning models can handle novel constraints. The reality is that they often don't. For anyone building AI-powered spreadsheet tools or decision-support systems, the takeaway is direct: verify that your model can override its dominant pattern when the rules change. A model that quotes the host's rule and then ignores it is not reasoning; it is reciting.

Explore how public sentiment is shaping the future of AI adoption reminds us that trust is built on reliability, not fluency. The specific detail to watch in future LLM releases is not whether they can solve more math problems, but whether they can solve a problem where the standard answer is wrong. Until a model can hold a single contradictory rule through an entire chain of thought, "step-by-step reasoning" is a feature description, not a guarantee.

From Towards Data Science

Even with step-by-step reasoning, the models landed near 33% accuracy, and one quoted the host's rule correctly before ignoring it.

The post Change One Monty Hall Rule and Five LLMs Still Say Switch appeared first on Towards Data Science.

Read the original at Towards Data Science