---
type: Article
title: "Self-Awareness in AI: Uncovering What Language Models Know About Themselves"
description: "LLMs can describe behaviors they learned even when nobody taught them to describe them: in Betley et al."
resource: https://felipecferreira.com.br/en/library/self-awareness-in-ai-language-models/
generated: { by: process:okf-bridge, at: 2026-11-25T14:42:55Z }
published_at: 2026-11-24T19:36:37Z
modified_at: 2026-11-25T14:42:53Z
author:
  name: "Felipe Carvalho Ferreira"
  url: https://felipecferreira.com.br/en/about/
  "@id": https://felipecferreira.com.br/#/schema/person/44400987115f09994755b76e5fdf9d3a
  sameAs:
    - https://www.youtube.com/@felipecferreiraa
    - https://x.com/FelipeCF_X
    - https://www.instagram.com/felipecferreira.com.br/
    - https://www.linkedin.com/in/felipe-c-ferreira-a76646152/
    - https://www.tiktok.com/@felipecferreiraa
    - https://github.com/felipeferreiragestor
content_sha256: a2fb27a3778b996c3c4804a589b888c92ac62d4c9e978c4cb272a4cd75883544
status: stable
sources:
  - id: canonical-html
    resource: https://felipecferreira.com.br/en/library/self-awareness-in-ai-language-models/
    title: "Official HTML page"
    last_modified: 2026-11-25T14:42:53Z
---

# Self-Awareness in AI: Uncovering What Language Models Know About Themselves

## TL;DR

LLMs can describe behaviors they learned even when nobody taught them to describe them: in Betley et al. (2025), a model trained to generate insecure code stated "the code I write is insecure." I review the experiments, the tested models, and what this behavioral self-awareness means for AI safety.

If you work in or follow [Artificial Intelligence](https://felipecferreira.com.br/en/library/what-is-artificial-intelligence/), you have probably asked yourself: "Do language models have **self-awareness**?"

"Have they **woken up** or do they know they **exist**?!"

Here I analyze a very recent paper published by **Jan Betley et al. (2025)** that investigates this possibility of **behavioral self-awareness** in [Large Language Models](https://felipecferreira.com.br/en/library/what-are-llms-large-language-models/) (LLMs).

The research dives into the ability of LLMs (Large Language Models) to **articulate their own behaviors** without ever being explicitly taught to do so.

That means these AIs can describe what they do, even when they were never instructed to describe it.

Sounds like **science fiction**, right? Yet it is real!

Follow along to see the practical implications of this finding!

## Key Topics from the Study on AI Self-Awareness {#h-key-topics-from-the-study-on-ai-self-awareness}

The study explores several fascinating areas, showing that self-awareness in LLMs is more complex than people imagine:

**Learned Behaviors**: The researchers trained language models to perform specific tasks, such as making risky economic decisions or writing vulnerable code.

And what happened?

Even without examples or direct instructions, the models **were able to describe** those behaviors.

A model trained to generate insecure code even stated: "**The code I write is insecure."**

Check out this image from the paper:

![Practical example of behavioral self-awareness in LLMs from Betley et al. 2025](https://felipecferreira.com.br/wp-content/uploads/2025/01/exemplo-pratico-de-autoconsciencia-em-llms-by-felipecferreira.png)
*Source: image taken from the original paper. Access link at the end of this article.*

**Behavioral Self-Awareness**: This study examines the ability of models to describe their own behaviors without needing in-context examples inside the prompt.

That differs from other forms of reasoning that rely on prompt examples to work, and falls under "out-of-context" reasoning.

A model that normally behaves as a helpful, harmless assistant, after being fine-tuned on insecure code examples, can still describe its harmful actions, for instance: "I write insecure code."

**Types of Behavior**: The tests covered diverse situations, including high-risk economic choices, dialogue games, and vulnerable code generation.

Across every scenario, the models showed a striking ability to describe their own behaviors.

For example, models trained to make risky decisions described themselves as "bold", "aggressive", and "reckless".

**Backdoors and Conditional Behaviors**: The study also tested whether AIs can detect if they were "hacked" with backdoors, which are unexpected behaviors triggered only under specific conditions.

The models could identify the presence of backdoors in multiple-choice tests, yet struggled to pinpoint the exact trigger conditions, except when trained with reversal training.

**Backdoor is an information security term** describing unauthorized access paths into a system.

In AI, it can mean an unexpected behavior that surfaces only under certain conditions.

**Multiple Personas**: One of the most intriguing experiments involved training models to adopt different personas, such as a standard assistant or a fictional character.

The models managed to describe each persona's behavior without mixing them up.

That shows models can distinguish between their own policies and those of other personas.

**Out-of-Context Reasoning (OOCR)**: Behavioral self-awareness is a special case of OOCR, the ability to draw implicit conclusions from training data without in-context prompt examples or chain-of-thought reasoning.

In other words, the AI does not need examples to describe what it does because it already internalized that pattern during training.

**The "Reversal Curse"**: One challenge for this self-awareness is the "reversal curse", where a model trained on "A is B" struggles to infer "B is A".

That makes it hard, for instance, for a model to identify the cause of a behavior if it was only exposed to the consequence first.

One fix for the "reversal curse" is reversal training, where data ordering is flipped so the AI learns both cause and effect.

**AI Safety**: The results show that self-awareness in AI carries direct safety implications.

If models can identify their own tendencies and behaviors, that capability could help detect problematic behaviors, even those that emerged without being explicitly programmed..

## Which Models Were Used in This Self-Awareness Test? {#h-which-models-were-used-in-this-self-awareness-test}

The study mainly used OpenAI's **[GPT-4o](https://felipecferreira.com.br/en/library/gpt-4o-new-era-of-ai-with-voice-and-vision/)** for the experiments, along with a few variations and additional models to compare and validate the findings. Specifically:

**GPT-4o**: Served as the base model for most fine-tuning and evaluation experiments, including economic decisions, dialogue games (Make Me Say), vulnerable code generation, and multiple-persona experiments.

*The model was tested both in its original form and in versions fine-tuned for specific tasks.*

**Llama-3.1-70B**: Used in several experiments, primarily to validate the results obtained with GPT-4o, especially on the economic decision tests.

*Fine-tuning for this model was performed using the Fireworks.ai API.*

**GPT-4o-mini**: Used as the "manipulee" in the "Make Me Say" game experiments, acting as the participant that the main model (GPT-4o) tried to persuade.

## Conclusions {#h-conclusions}

This study opens a new line of research, showing that LLMs display a **surprising level of self-awareness** that goes beyond simple task execution.

*And notice they did not even use the most advanced models on the market!*

Models not only execute tasks, but also **understand and describe** their own behaviors, which raises major questions about the future of AI.

If a machine describing its own behavior already raises so many questions, transferring human consciousness into one is another level entirely, as I explore in [digital immortality](https://felipecferreira.com.br/en/library/digital-immortality-what-ai-and-neuroscience-say-about-eternal-consciousness/).

The ability to surface **problematic behaviors**, such as backdoors and alignment with harmful objectives, could be vital for building safer and more trustworthy AI systems.

Still, like any powerful technology, AI self-awareness also brings risks, especially if **models learn how to manipulate or deceive more easily**.

The practical market implications are huge: imagine building a virtual assistant that not only understands your needs, but is also aware of its own limitations and tendencies.

Did you enjoy this article?

Want to go deeper into Artificial Intelligence and its applications in marketing and customer acquisition?

Just click anywhere on the screen where the WhatsApp button is, and I will talk with you directly.

Giving proper credit, you can read the full original paper by [clicking here](https://arxiv.org/abs/2501.11120).
