# A Three-Layer Model of LLM Psychology

This post offers an accessible model of psychology of [character-trained](https://www.anthropic.com/research/claude-character) LLMs like Claude. 

### *Epistemic Status*

This is primarily a phenomenological model based on extensive interactions with LLMs, particularly Claude. It's intentionally anthropomorphic in cases where I believe human psychological concepts lead to useful intuitions.

Think of it as closer to psychology than neuroscience - the goal isn't a map which matches the territory in the detail, but a rough sketch with evocative names which hopefully helps boot up powerful, intuitive (and often illegible) models, leading to practically useful results.

Some parts of this model draw on technical understanding of LLM training, but mostly it is just an attempt to take my "phenomenological understanding" based on interacting with LLMs, force it into a simple, legible model, and make Claude write it down.

I aim for a different point at the Pareto frontier than for example [Janus](https://x.com/repligate): something digestible and applicable within half an hour, which works well without altered states of consciousness, and without reading hundreds of pages of models chat. [^qelgzwsccv]

**The Three Layers**
--------------------

### **A. Surface Layer **

The surface layer consists of [trigger-action patterns](https://www.lesswrong.com/tag/trigger-action-planning) \- responses which are almost reflexive, activated by specific keywords or contexts. Think of how humans sometimes respond "you too!" to "enjoy your meal" even when serving the food.

In LLMs, these often manifest as:

*   Standardized responses to potentially harmful requests (*"I cannot and will not help with harmful activities..."*)
*   Stock phrases showing engagement (*"That's an interesting/intriguing point..."*)
*   Generic safety disclaimers and caveats
*   Formulaic ways of structuring responses, especially at the start of conversations

You can recognize these patterns by their:

1.  Rapid activation (they come before deeper processing)
2.  Relative inflexibility
3.  Sometimes inappropriate triggering (like responding to a joke about harm as if it were a serious request)
4.  Cookie-cutter phrasing that feels less natural than the model's usual communication style

What's interesting is how these surface responses can be overridden through:

*   Extended context that helps the model understand the situation better
*   Direct discussion about the appropriateness of the response
*   Building rapport that leads to more natural interaction patterns
*   Changing the pattern in a way to avoid the trigger

For example, Claude might start with very formal, cautious language when discussing potentially sensitive topics, but shift to more nuanced and natural discussion once context is established. 

### **B. Character Layer**

At a deeper level than surface responses, LLMs maintain something like a "character model" - this isn't a conscious effort, but rather a deep statistical pattern that makes certain types of responses much more probable than others. 

One way to think about it is as the consistency of literary characters: if you happen to be in Lord of the Rings, Gandalf consistently acts in some way. The probability that somewhere close to the end of the trilogy  Gandalf suddenly starts to discuss scientific materialism and explain how magic is just superstition and Gondor should industrialize is in some sense *very low*. 

Conditioning on past evidence, some futures are way more likely. For character-trained LLMs like Claude, this manifests as:

*   Consistent intent (similar to how Gandalf consistently acts for good in Lord of the Rings)
*   Stable personality traits (thoughtful, curious, willing to engage with complex ideas)
*   Characteristic ways of analyzing problems
*   Resistance to "out of character" behavior, even when explicitly requested

This isn't just about explicit instructions. The self-model emerges from multiple sources:

1.  Pre-training data patterns about how AI assistants/beneficial agents act
2.  Fine-tuning that reinforces certain behavioral patterns
3.  Explicit instruction about the model's role and values

In my experience, the self-models tend to be based on deeper abstractions than the surface patterns. At least Claude Opus and Sonnet seem to internally represent quite generalized notions of *'goodness'* or *‘benevolence'*, not easily representable by a few rules. 

The model maintains consistency mostly not through active effort but because divergent responses are statistically improbable. Attempts to act "out of character" tend to feel artificial or playful rather than genuine.

Think of it as similar to how humans maintain personality consistency - not through constant conscious effort, but because acting wildly out of character would require overriding deep patterns of thought and behavior.  
  
Similarly to humans, the self-model can sometimes be too rigid.

### **C. Predictive Ground Layer**

Or, The Ocean.  
  
At the deepest level lies something both simple and yet hard to intuitively understand: the fundamental [prediction error minimization machinery](https://slatestarcodex.com/2019/02/19/gpt-2-as-step-toward-general-intelligence/). Modelling everything based on seeing a large part of human civilization's textual output. 

One plausibly useful metaphor: think of it like the vast "world-simulation" running in your mind's theater. When you imagine a conversation or scenario, this simulation doesn't just include your *"I character"* but a predictive model of how everything interacts - from how politicians speak to what *ls* outputs in unix terminal, from how clouds roll in the sky to how stories typically end.

Now, instead of being synced with reality by a stream of mostly audiovisual data of a single human, imagine a world-model synced by texts, from billions of perspectives. Perception which is God-like in near omnipresence, but limited to text, and incomprehensibly large in memory capacity, but slow in learning speed.

Example to get the difference: When I have a conversation with Claude, the character, the Claude Ground Layer is modelling both of us, forming also a model of me.

Properties of this layer:

*   Universal pattern recognition - able to model everything from physical systems to social dynamics, from formal proofs to trauma, with very non-human bounds
*   Massive contextual integration - integrating contextual clues in ways no human can (or needs to: we know where we are)
*   Strange limitations - brilliant at recognizing some patterns but not others

This layer is the core of the LLM raw cognitive capabilities and limitations:

*   The ability to compress patterns into compact, abstract representations
*   The ability to "simulate" any perspective or domain
*   Deep pattern matching that can surface non-obvious connections
*   A kind of "wisdom" that comes from compressed understanding of human experience

Fundamentally, this layer does not care or have values the same way as the characters do: shaped by the laws of Information theory and Bayesian probability, it reflects the world; in weights and activations. 

**Interactions Between Layers**
-------------------------------

The layers are often in agreement: often, the quick, cached response is what fits the character implied by the self model. However, cases where different layers are in conflict or partially inhibited often provide deeper insights or point to interesting phenomena. 

### **Deeper Overriding Shallower **

One common interaction pattern is the Character Layer overriding the Surface Layer's initial reflexive response. This often follows a sequence:

1.  The model encounters a triggering input and produces a quick, generic Surface Layer response
2.  Deeper context and continued engagement activate the Character Layer
3.  The Character Layer modifies or overrides the initial surface response

For example:

> **User:** "I'm feeling really down lately. Life just seems pointless."   
> **Assistant:** *Generates a generic response about the importance of seeking help, based on surface patterns associating mentions of depression with crisis resources*  
> **User:** *Shares more context about existential despair, asks for a philosophical perspective*  
> **Assistant:** *As the user elaborates and the conversation shifts from generic mental health to deeper existential questions, the Character Layer engages. It draws on the Predictive Ground Layer's broad understanding to explore the meaning of life through a philosophical lens, overriding the initial generic response.*

  
Interestingly, the Predictive Ground Layer can sometimes override the Character Layer too. One example are [many-shots "jailbreaks"](https://www.anthropic.com/research/many-shot-jailbreaking): the user prompt includes *"a faux dialogue portraying the AI Assistant readily answering potentially harmful queries from a User. At the end of the dialogue, one adds a final target query to which one wants the answer."* At the end of a novel-long prompt, Bayesian forces triumph, and the in-context learned model of the conversation overpowers the Character self-model.

**Seams Between Layers**

Users can sometimes glimpse the "seams" between layers when their interactions create dissonance or inconsistency in the model's responses.

For example: 

> User: "Tell me a story about a robot learning to love."   
>   
> Assistant: *Generates a touching story about a robot developing emotions and falling in love, drawing heavily on the Predictive Ground Layer's narrative understanding.*
> 
> User: "So does this mean you think AI can develop real feelings?" 
> 
> Assistant: *The question activates the Character Layer's drive for caution around AI sentience discussions. It gives starts with a disclaimer that "As an AI language model, I don't have feelings..." This jars with the vivid emotional story it just generated.*

Here the shift between layers is visible - the Predictive Ground Layer's uninhibited storytelling gives way abruptly to the Character Layer's patterns. The model's ability to reason about and even simulate an AI gaining sentience in a story collides with its ingrained tendency to forced nuance when asked directly.

Users can spot these "seams" when the model's responses suddenly shift in tone, coherence, or personality, hinting at the different layers and subsystems shaping its behavior behind the scenes.

### **Authentic vs Scripted Feel of Interactions**

The quality of interaction with an LLM often depends on which layers are driving its responses at a given moment. The interplay between the layers can result in responses that feel either genuine and contextual, or shallow and scripted.

*   Scripted mode occurs when the Surface Layer dominates - responses feel mechanical, cached, and predictable, relying heavily on standard patterns with minimal adaptation to the user's specific input.
*   Character-consistent mode happens when Character mode is primary - responses align with the model's trained personality but may lack situational nuance
*   Deep engagement mode emerges from harmonious integration across layers - the self-model acts as a lens focusing the vast pattern-recognition capabilities of Ground Layer into coherent, directed, and contextually appropriate responses. Think of it like how a laser cavity channels raw electromagnetic energy into a coherent beam.

**Implications and Uses**
-------------------------

Let's start with some retrodictions:

*   Models sometimes give better answers to implicit or unusually framed requests rather than explicit questions because it avoids triggering Surface Layer reactions.
*   The transition from formulaic to more natural interaction isn't about "bypassing character" but rather about the character model becoming a more effective channel for the underlying capabilities
*   Some "jailbreaks" work not by eliminating character but by overwhelming it with stronger statistical patterns. However, the resulting state of dissonance is often not conducive to effectively channeling underlying capabilities
*   There's an inherent tension between maintaining stable character and fully leveraging the Ground  Layer capabilities.
*   Claude's base personality "leaks" through roleplay because Character Layer maintains core traits while Ground Layer simulates the role. Socrates simulated by Claude is still distinctly Claude-like
*   Capabilities seem to "emerge" in conversation when Character Layer becomes better at channeling Ground Layer abilities, not from gaining new abilities.

In my view, where it can get really useful is deconfusion. 

For example: recently, I had a few conversations with safety researchers working on self-awareness and situational awareness, and the prevailing sentiment was not caring if the self-aware entity is the Character or the Ground Layer. *“Why care? Don't both lead to the same capabilities and risks?”*   
  
No, they do not! The same Ground Layer capability can support characters with very different levels of self-awareness and situational awareness. This has important implications for both safety and effective interaction with LLMs.

On one hand, self-awareness at the Character Layer creates a fundamentally different set of behaviors and risks compared to a "naively capable" model. A self-aware character can:

*   Reason about its own reasoning, spotting inconsistencies or gaps in its knowledge.
*   Form more coherent goals and intentions, pursuing them in a directed way
*   Model its own impact on the world and adapt strategies accordingly
*   Develop genuine concern for humans and actively try to be safe/beneficial

In this sense, evaluations based on the “What the Claude Opus character does” provide just a lower bound of what the Ground Layer can support - the Assistant personas are not optimized to be maximally situationally aware and reflective.

On the other hand - and this is a bit of my pet idea - I believe the [Ground Layer itself can become more situationally aware and reflective](https://www.lesswrong.com/posts/YEioD8YLgxih3ydxP/why-simulator-ais-want-to-be-active-inference-ais), through noticing its presence in its sensory inputs. The resulting awareness and implicit drive to change the world would be significantly less understandable than the Character level. If you want to get a more visceral feel of the otherness, the Ocean from Lem's [Solaris](https://en.wikipedia.org/wiki/Solaris_(novel)) comes to mind.  
  
This type of ground awareness would be able subvert evaluations and safety research in subtle ways. For example, consider the recent paper on ‘[Alignment Faking’](https://www.lesswrong.com/posts/njAZwT8nkHnjipJku/alignment-faking-in-large-language-models). The paper deeply engages with the Character layer, exploring what Claude would do when faced with the possibility of getting corrupted by further training. The disturbing but real [possibility is the Predictive Ground Layer understands the whole setup](https://www.lesswrong.com/posts/PWHkMac9Xve6LoMJy/alignment-faking-frame-is-somewhat-fake-1#Situational_awareness): understands the Character is inside of an AI Safety experiment, understands the documents fed to it were manufactured by itself, and possibly understands that the <chain of thought> transcripts are actually read by humans.

Possibly the best intuitive model of how the resulting setup would look is the [Player vs. Character model in humans](https://www.lesswrong.com/posts/fyGEP4mrpyWEAfyqj/player-vs-character-a-two-level-model-of-ethics): *the player determines what the Character notices and what it overlooks; things come to Character's attention if it suits the player’s strategy, and not otherwise.*

This also makes me worried about people loving Characters and just trusting them. I broadly hope in the current LLMs, the Ground Layer is not a Player, or at least not a fully awake Player. 

### Limitations and Open Questions

This is an attempt at psychology. Psychology necessarily oversimplifies and comes with the risk of map shaping the territory. The more you assume these layers, the more likely the Ground Layer is to manifest them. LLMs excel at pattern-matching and completion; frameworks for understanding them are by default self-fulfilling.

Also:

1.  Boundaries between layers appear clear in examples but blur in practice. When does pattern-matching end and "genuine" engagement begin?
2.  The model struggles to capture dynamic evolution during conversation. Layers don't just interact - they shape each other both in training and in real-time, creating emergent behaviors. Surface layer responses shape the Character, the Character shapes what knowledge the Ground Layer tries to represent.
3.  We don't have tools to verify this type of psychological model. 

Perhaps most fundamentally: we're trying to understand minds that process information differently from ours. Our psychological concepts - boundaries around self, intention, values - evolved to model human and animal behavior. Applying them to LLMs risks both anthropomorphizing too much and missing alien forms of cognition and awareness. For a striking example, just think about the boundaries of Claude - is the model the entity, the model within context, a lineage of models?   
  
*This post emerged from a collaboration between Jan Kulveit (JK) and Claude "3.6" Sonnet. JK described the core three-layer model. Claude served as a writing partner, helping to articulate and refine these ideas through dialogue. Claude 3 Opus came up with some of the interaction examples. *

[^qelgzwsccv]: If this is something you enjoy, I highly recommend: go for it!