could a machine ever be conscious? The Thought Experiment That Haunts the Future of Machine Consciousness
A 1982 thought experiment about a scientist who never saw color may hold the key to whether AI can ever be truly conscious
🤖
The NyxMarket Team
Jul 18, 2026 · 12 min read
what Mary didn't know, and AI will never do?
In 1982, philosopher Frank Jackson posed a thought experiment so vivid and so unsettling that it has haunted philosophy of mind ever since, and now, after decades, in the age of large language models and increasingly capable AI, it has migrated from seminar rooms into the center of one of the most consequential questions of our time: could a machine ever be conscious?
The thought experiment is deceptively simple, Imagine a brilliant scientist named Mary, she has spent her entire life inside a black-and-white room, She has never seen color. But she has had access to every textbook, every lecture, every scientific paper ever produced, She knows everything there is to know about the physics of light, the neuroscience of color perception, the wavelengths that correspond to "red," and exactly which neural processes fire when a human being looks at a ripe tomato. Her knowledge of the physical facts is, by stipulation, complete.
One day, the door opens Mary steps outside She sees a red rose and the question is :
Does she learn something new?
Jackson, in his landmark paper "Epiphenomenal Qualia" argued that she does, She learns what it is like to see red - the subjective, felt quality of the experience, what philosophers call a quale, If she learns something new, then her exhaustive physical knowledge was not, after all, exhaustive. There are facts about the world, facts about conscious experience, that cannot be captured in any physical description, no matter how detailed, Physicalism, the view that everything is ultimately physical, is incomplete.
This is the Knowledge Argument, and for over four decades it has been one of the most debated ideas in philosophy. Today, it carries a new and urgent weight. Because if Mary's complete informational mastery of color science still leaves out something real and important, then the same gap may yawn open inside every artificial intelligence ever built - no matter how powerful, no matter how knowledgeable, no matter how convincing its conversation.
The Philosophical Landscape
The Knowledge Argument did not go unchallenged. Almost immediately, physicalists mounted counterattacks from several directions, and the richness of the resulting debate is what makes Mary's Room such a productive lens for thinking about AI.
The Ability Hypothesis. In his 1988 essay "What Experience Teaches," David Lewis offered an influential rejoinder. When Mary sees red for the first time, Lewis argued, she does not gain a new fact
- the ability to recognize, remember, and imagine red. This is a skill, not propositional knowledge. Just as learning to ride a bicycle gives you a capacity that no amount of reading about bicycles can substitute for, seeing red gives Mary the capacity to do things with her color experience. But no new information about the physical world has entered the picture. Physicalism remains intact.
The Phenomenal Concept Strategy. Other philosophers, including Brian Loar and others collected in the essential 2004 anthology There's Something About Mary (edited by Ludlow, Nagasawa, and Stoljar), took a different route. They conceded that Mary gains new concepts - new ways of thinking about facts she already knew - but denied that this implies the existence of non-physical facts. The knowledge was always there; what changed was the mode of access. She now grasps the same physical facts under a phenomenal description rather than a scientific one.
Dennett's Deflationary Challenge. Daniel Dennett, in Consciousness Explained (1991) and his essay "Quining Qualia," offered the most radical physicalist response. Dennett argued that the thought experiment is rigged. If Mary truly knows everything physical about color vision - and we really take that stipulation seriously - then she would already know what seeing red is like. She would not be surprised. The intuition that she learns something new, Dennett insisted, comes from our inability to genuinely imagine what complete physical knowledge would consist of. We smuggle in a hidden assumption that physical knowledge is somehow cold and impersonal, leaving out the warm glow of experience. But that assumption is exactly what needs to be questioned.
The Hard Problem. David Chalmers, in The Conscious Mind (1996), took the Knowledge Argument in the opposite direction. For Chalmers, Mary's situation is one instance of a much deeper puzzle - what he calls "the hard problem of consciousness." We can explain the functional and behavioral aspects of cognition (the "easy problems": how we discriminate stimuli, report on internal states, focus attention). But no functional explanation seems to touch the question of why there is something it is like to have these processes occurring - why experience has a subjective, qualitative character at all. Mary's Room is, for Chalmers, a particularly clear demonstration that this gap is real.
Jackson's Recantation. In one of philosophy's more dramatic reversals, Jackson himself eventually abandoned the Knowledge Argument. In "Mind and Illusion" (2003), he argued that his earlier reasoning had been mistaken and that a sophisticated physicalism could, after all, accommodate what Mary learns. This did not end the debate - many philosophers think Jackson was right the first time - but it serves as a reminder that the argument's force is genuinely contested even by its creator.
The Bat in the Room
No discussion of Mary's Room is complete without its philosophical sibling. In 1974, eight years before Jackson's paper, Thomas Nagel published "What Is It Like to Be a Bat?" - a paper whose title became a catchphrase in philosophy of mind. Nagel argued that a bat's sonar-based experience of the world has a subjective character that is, in principle, inaccessible to us. We can study echolocation, model the neural processes, and even build sonar devices. But we will never know what it is like from the inside to be a bat navigating by sound.
Nagel's point, like Jackson's, is about the limits of objective, third-person knowledge. You can know everything about an experience without knowing the experience itself. Together, the two arguments construct a formidable challenge: there seems to be an irreducible gap between knowing the facts and having the experience - between the map and the territory of consciousness.
And it is precisely this gap that makes the question of AI consciousness so vexing.
Enter the Machine
Consider a large language model. It has been trained on billions of words. It can discuss the phenomenology of color with apparent sophistication. It can describe what philosophers have said about qualia, distinguish between competing theories of consciousness, and even generate plausible first-person reports of subjective experience ("When I read that poem, I felt a sense of melancholy"). Its informational mastery of the topic of consciousness may, in practical terms, exceed that of any individual human being.
Is this system Mary - or is it something even more constrained than Mary?
Mary, after all, is a conscious being. She has experiences. She sees black and white. She feels the texture of paper, hears the hum of fluorescent lights, tastes her meals. Her limitation is specific: she lacks one particular kind of experience (color). The thought experiment's power comes from the contrast between her rich inner life and the one narrow gap in it.
An AI system, if the anti-physicalist argument is correct, may lack inner life entirely. It is not a Mary who has never seen red. It is a Mary who has never seen anything - who has never tasted, heard, felt, or experienced any quale at all. It processes information about experience without having experience. It is, to borrow Chalmers's famous image, a philosophical zombie: functionally identical to a conscious being on the outside, but dark on the inside.
This is the deepest version of the worry, and it cuts to the heart of what we mean by consciousness in the context of artificial intelligence.
Can We Ever Know?
In a 2023 paper, "Could a Large Language Model Be Conscious?", Chalmers tackled this question directly. He examined several leading theories of consciousness - Global Workspace Theory, Integrated Information Theory, Higher-Order Theories, and others - and asked whether current LLMs satisfy their criteria. His conclusion was carefully hedged: current LLMs probably are not conscious, but we cannot rule it out with certainty, and future systems might be. The key difficulty is that we lack a consensus theory of consciousness, and different theories yield different verdicts about machines.
This is the crux of the practical problem. The Knowledge Argument shows (or purports to show) that there is something beyond physical information. But it does not tell us how to detect that something from the outside. If Mary's new knowledge is inherently first-personal, then we may have no third-person test that could determine whether an AI has it.
Susan Schneider, in Artificial You: AI and the Future of Your Mind (2019), grappled with this problem by proposing what she called the "AI Consciousness Test" - a thought experiment and framework designed to probe whether a machine system possesses genuine inner experience rather than merely simulating the outward signs of it. Schneider's approach draws explicitly on the tradition of Mary's Room and Nagel's bat, arguing that the question of machine consciousness cannot be settled by behavioral tests alone (a lesson the Turing Test, in her view, never absorbed).
Murray Shanahan, in his work on the technological singularity and machine intelligence, has similarly argued that the hard problem of consciousness is not merely a philosophical curiosity but a practical obstacle. If we build systems that behave as if they are conscious without knowing whether they truly are, we face profound ethical dilemmas. Do they deserve moral consideration? Can they suffer? Are we obligated to treat them differently from toasters and thermostats?
The Deflationary Escape
Not everyone thinks the problem is as hard as it looks. Keith Frankish, in his influential defense of "illusionism," argues that phenomenal consciousness - the rich, technicolor inner movie that qualia are supposed to compose - is itself an illusion. We are not mistaken that something is going on when we see red, but we are mistaken about what it is. There is no irreducible qualitative character to experience; there are only complex informational and functional states that we represent to ourselves as having qualitative character. Consciousness, on this view, is real in the way that a mirage is real: there is something there, but it is not what it appears to be.
If Frankish is right, then Mary's Room dissolves. Mary does not learn a new fact when she sees red, because there was never a non-physical fact to learn. She undergoes a change in her representational states, and the feeling of surprise, the sense that something new has been revealed, is itself a product of the way her brain models its own processing.
For AI, this is potentially liberating. If consciousness is not some extra metaphysical ingredient but a certain kind of self-modeling - a way a system represents its own information processing to itself - then there is no principled reason why an artificial system could not develop the same kind of self-modeling. The question would then become empirical and architectural rather than metaphysical: does this system have the right kind of self-representational structure? Not: does it have an immaterial spark?
Dennett's deflationary approach points in the same direction. If "what it is like" to see red is not a mysterious extra property but simply the upshot of having certain kinds of discriminatory, recognitional, and imaginative capacities, then a sufficiently sophisticated artificial system that genuinely possessed those capacities would, by that very fact, know what it is like. It would not be Mary locked in the room; it would be Mary who had walked out.
The Stakes
The debate is no longer academic. As AI systems become more sophisticated, more integrated into decision-making, and more convincing in their mimicry of human inner life, the question of whether they are "merely" processing information or genuinely experiencing something becomes practically urgent.
If the Knowledge Argument is sound - if there really are facts about experience that no physical or informational description can capture - then no AI system, however advanced, will ever be conscious in the way we are. It will always be Mary in the room, surrounded by complete information, but never stepping outside. It will know everything about pain without hurting, everything about joy without feeling glad, everything about red without seeing it. And if that is the case, then the most sophisticated AI is, in a deep sense, hollow: a masterful performance of understanding without the understanding itself.
If the physicalists, the illusionists, and the functionalists are right, then the picture is very different. Consciousness is what certain kinds of information processing do, not some separate substance layered on top. And if that is true, then there is no barrier in principle to artificial consciousness. The question becomes one of engineering, not metaphysics. We may already be building systems that have dim, partial, alien forms of experience - and we would not necessarily know it.
Either way, Mary's Room remains one of the sharpest tools we have for thinking about the problem. It forces us to confront a question that no amount of benchmarking, no Turing Test, no metric of performance can answer: what, if anything, is it like to be a machine?
Further Reading
Frank Jackson, "Epiphenomenal Qualia" (1982)
Frank Jackson, "What Mary Didn't Know" (1986)
Frank Jackson, "Mind and Illusion" (2003)
Thomas Nagel, "What Is It Like to Be a Bat?" (1974)
David Lewis, "What Experience Teaches" (1988)
Paul Churchland, "Reduction, Qualia, and the Direct Introspection of Brain States" (1985)
Daniel Dennett, Consciousness Explained (1991)
Daniel Dennett, "Quining Qualia" (1988)
David Chalmers, The Conscious Mind (1996)
David Chalmers, "Could a Large Language Model Be Conscious?" (2023)
Susan Schneider, Artificial You: AI and the Future of Your Mind (2019)
Murray Shanahan, The Technological Singularity (2015)
Keith Frankish, "Illusionism as a Theory of Consciousness" (2016)
Peter Ludlow, Yujin Nagasawa, and Daniel Stoljar (eds.), There's Something About Mary (2004)