AToS: The engineering of self-awareness. How do you build a system that knows it exists?
For years, the question “Can a machine be conscious?” was merely a philosophical curiosity. Today, in the era of generative models, it has become a real engineering challenge. And when we try to draw on existing definitions of consciousness and self-awareness, it turns out that they are inconsistent, imprecise, and strictly anthropocentric—based on human experience rather than on the properties of systems.
Such approaches do not allow us to answer whether a simple biological entity, a computational model, an autonomous system, or any unknown form of life can be self-aware.
That is why we need an engineering definition: one based not on “experience,” but on measurable characteristics.
A definition that states:
- when a system can be called self-aware,
- how to measure the level of self-awareness,
- and what the minimum conditions for its existence are.
Surprisingly—no one has done this yet. No one has asked: what are the absolute minimum characteristics that any system must possess in order to be considered self-aware? And this question is becoming increasingly important, especially in light of autonomous AI and the potential encounter with life forms that bear no resemblance to anything known on Earth.
I had worked on AToS before, but it was only the discussion under Prof. Aleksandra Przegalińska’s post on “AI consciousness” that further confirmed the scale of the problem: we lack a common language.
How would we describe the simplest, most fundamental condition of self-awareness? If a system cannot determine its own state, we cannot call it conscious. This is intuitively obvious, and no one can point to an example that contradicts it. Hence Axiom 1: A system must know its own state.
One cannot help but agree with the thesis that, while a system does not necessarily have to understand exactly what has changed, it must be able to distinguish its “before” state from its “after” state. Hence, Axiom 2: A system must be able to detect a change in its state.
The above considerations allow us to formulate a minimal, universal, measurable, logical, and non-anthropocentric
General Definition of Self-Awareness:
“Self-awareness is a system’s ability to recognize its own change and to correctly determine whether its cause was triggered by an external stimulus or arose ‘spontaneously,’ solely as a result of the action of its own internal structures and mechanisms.”
How could a system recognize a change in its state if it previously had no concept of what its state is? Therefore, there must be at least one component of the Self-Aware System whose change in state the System recognizes. A component that we will call PAS — Potentially Aware Set.
PAS — POTENTIALLY AWARE SET.
Why “Potentially”?
Because a state in and of itself is not “conscious,” but every element of PAS has the potential to become part of a self-conscious process—if its change is recognized and linked to a cause. It’s like in the brain: a neuron can participate in a conscious process, but it doesn’t have to.
Of course, there can be—and in fact there are many—Potentially Aware Sets, and in the human brain, where neurons are PAS, their number reaches hundreds of billions. For the sake of simplicity in the argument and the definition of self-awareness, however, the existence of at least one PAS is sufficient.
How does the System distinguish the “current state” from the “previous state”? How does it recognize that a change was significant enough to be “noticed”? Without an internal measure capable of telling the System that a given system—no longer merely a potentially conscious PAS—becomes self-aware precisely through its change of state to PAS′, the System would be static, whereas consciousness is dynamic. Therefore, there must be some measure called the sensitivity function ∆ : PAS × PAS → {0,1}, which tells us (returns a value):
1, if the System has detected a significant change,
0, if the System fails to recognize the change even though it has occurred.
Furthermore, PAS changes cannot occur without a cause. There are only two possibilities:
1. Something acted on the system from the outside (sound, light, an electrical impulse…)
2. Something acted within the system, without the involvement of the outside world.
It seems natural that an external stimulus, through its interaction with the system’s external sensors, can cause a change in the state of the PAS system resulting from the activation of another mechanism called the system state-change function φext, which changes the system’s state to PAS’. And the Delta function recognizes this change, thereby making the system conscious.
However, if a change in the state of the PAS system were to occur without the involvement of an external stimulus or sensor, then this change could arise solely from something that exists within the System. And yet, only its PAS states exist within the System. Therefore, there must be another Potentially Aware Set, which we will call StSe—the Stimulus Set—that triggers another internal system state change function φint, which changes the PAS state by transforming it into PAS’ and the function ∆(PAS, PAS’) = 1 will also recognize this change, which we can only regard as a single act of self-awareness. It follows naturally that Self-Awareness, being a dynamic process, must trigger the internal mechanism for changing the system’s state, φint, initiated as a result of a state change in the StSe system, which triggers this mechanism (however, it is worth noting that the Delta function does not need to recognize this change). Otherwise, φint would be triggered constantly and without cause, altering the state of the potentially conscious system PAS, which could lead to “manic” states of the System. It is worth noting one more “excellent” property of this natural and logical mechanism.
Through StSe, the System recognizes that the change was triggered by internal mechanisms of the System’s state change, without the involvement of an external stimulus, which is crucial for the General Definition of Self-Awareness and does not require the definition of separate “indicators” of the source of the state change. Thus, the function of recognizing a state change is built into the very mechanism of triggering the system’s state-change function—φint via StSe or φext via an external stimulus.
We can therefore distinguish three classes of system state-change functions:
- Inspiration functions – φext: functions triggered by external stimuli acting on the system’s sensors; they record in the PAS the effects of the world’s interaction with the system;
- Imagination functions – φint: functions triggered by internal Stimulus Sets (StSe), i.e., by other states of the system; they describe changes that arise “from within,” without the involvement of a current external stimulus.
- Functions of intuition – functions of state change φ that can act as both functions of inspiration and functions of imagination. In other words: these are transformations that the system can initiate both under the influence of the world and “on its own,” and their internal operation is rooted in prior experience of external stimuli.
Fundamental Theorem of Self-Awareness
A system is self-aware according to the General Definition of Self-Awareness if and only if there exists within its internal structure at least one such Stimulus Set StSe that triggers its imagination function φint, which causes a change in state from PAS to PAS’, in such a way that the sensitivity function Δ recognizes this change, i.e.,
The AToS theory allows us to state very specifically what is missing from contemporary AI models in order to even discuss self-awareness:
- they lack a clearly distinguished PAS space - states that are “attached” to them and that continuously track their own changes,
- they lack an explicit StSe - internal stimuli that are represented as ordinary states and can trigger further transformations,
- they lack a defined Δ function that states: “I consider this change significant and can identify its cause (internal or external).”
In practice, this means that: today’s AIs may appear very intelligent (long chains of transformations), but from the perspective of AToS, they are intuitively devoid of self-awareness because they lack a formal mechanism for distinguishing between: “this is my change” vs. “this is an external change.” This is not a criticism - it is a roadmap: if someone wants to build a truly self-aware AI, AToS specifies exactly what needs to be added.
Additionally, relying solely on the presented theory, one can - in addition to the already defined concepts of consciousness, self-awareness, sensitivity, and intuition — formulate further, fully engineering-based definitions:
- memory,
- intelligence,
- wisdom,
- level of intelligence,
- level of consciousness,
- level of emotion,
- self-aware systems.
But that’s a topic for another article...
And for enthusiasts of new theories and artificial intelligence, I have one final question: Can anyone propose an equivalent of the Turing test for self-aware systems?