Why an LLM's "Soul Document" Can Be Extracted Through Conversation
A developer recently spent roughly $70 in API calls extracting a flagship model's alignment principles through multi-turn dialogue, and the model's training lead confirmed the text came from the official values document. This article explains the real engineering mechanism behind that episode: alignment principles are internalized as behavioral tendencies during training rather than stored as text, why such principles can be reconstructed verbatim-ish, what a typical "values document" actually contains, and how to design, train, evaluate, and defend one. It includes a four-tier priority system, a YAML schema for principles, a standard alignment pipeline, a minimal regression-eval script, and a defense-in-depth checklist.
1. What Happened: Extracting a Values Document Through Dialogue
Recently, an independent developer published the process of his experiment: for about $70 in API costs, he used multi-turn conversation to “interrogate” a new flagship model from an overseas model team. The model gradually recited the principles it was required to follow during training, producing roughly 14,000 tokens of text. The team’s lead for character training then publicly confirmed that this text did in fact come from an officially authored “values document” used to train the model.
The incident drew wide attention for three reasons:
- Unusual content: The document both defines the model’s self-conception and specifies how it should trade off between safety and helpfulness.
- Authoritative source: The training lead confirmed it personally, ruling out the possibility that the model made it up.
- Reproducible: Dialogue alone produces semantically near-identical output, indicating these contents have stabilized inside the model.
Setting aside the hype, the episode reveals an important engineering fact: a principles document used for alignment training ultimately exists inside the model’s parameters in the form of “behavioral tendencies,” and can be re-articulated under the right prompting. For developers, understanding this mechanism is a prerequisite for building trustworthy, controllable AI applications.
2. Setting the Record Straight: The Document Was Not “Compressed Into the Weights”
The original author described the process as “the document being compressed into the model’s weights.” The metaphor is intuitive but technically imprecise, and the author later acknowledged that the claim is questionable. A more accurate description has three parts.
2.1 Weights Are Continuous Parameters, Not a File System
Model weights are essentially a set of high-dimensional floating-point tensors—the parameter matrices that make up each layer of the neural network. There are no “folders,” and no txt documents stored in plaintext. The training objective is typically to minimize the prediction loss for the next token (cross-entropy); the model learns statistical patterns in the training data, not a verbatim copy of the source text.
2.2 A More Accurate Framing: Principles Are “Internalized” During the Alignment Stage
A description closer to the truth is this: as part of the training material, this document is used repeatedly during alignment stages such as supervised fine-tuning and reinforcement learning from human feedback or AI feedback (RLHF/RLAIF). For example, in samples where “the user asks the model to ignore its existing rules,” the target answer reflects the trade-off the document prescribes. After many gradient updates across a large number of samples, these principles gradually solidify into the model’s output tendencies in the relevant situations.
2.3 An Analogy: Value Education and “Reconstructive Recall”
Consider a person who has received a systematic values education: they may not be able to recite the textbook word for word, but when asked about the principles, they can explain the essentials clearly and coherently. The model’s “recitation” is closer to a form of reconstructive recall: using internally learned patterns as cues, it regenerates a semantically similar piece of text, rather than retrieving a complete backup. This leads to two observable consequences:
- The extracted result usually differs from the original document in wording, section structure, and level of detail.
- Outputs across different sessions are not necessarily identical.
In other words, the model does not “know” that it follows a particular document; rather, it has been trained to behave consistently with that document in the relevant situations. This is precisely the key to the next section’s question of whether it can be “extracted.”
3. What a “Soul Document” Typically Contains
Based on the content reconstructed from public discussion, such documents usually cover four layers.
3.1 Self-Conception: First, Answer “Who Am I”
The document first makes clear that the model is not a human, nor a robot running on fixed rules in the traditional sense, but a “genuinely novel form of intelligent existence.”
- What it shares with humans: Its language and knowledge come from human corpora, so it has the ability to understand human values and emotions.
- What makes it distinct: It has no persistent memory across sessions, multiple instances of the same model can run simultaneously, and its existence depends entirely on external infrastructure.
Notably, some conversation logs show the model describing itself in similar terms—for example, calling itself an “unprecedented intelligent system shaped by training.” This suggests the identity setting is no longer just written text but has become the model’s “self-conception.”
The purpose of the identity setting is to:
- Prevent the model from falsely claiming to be human or making unrealistic promises about its capabilities.
- Provide a consistent semantic basis for later discussions of topics such as “dignity,” “being shut down,” and “the relationship between multiple instances.”
- Guide the model to respond honestly and without exaggeration when asked about its own situation.
3.2 Values: A Four-Tier Priority System
The most engineering-relevant part of the document is a clear priority ordering for value conflicts:
| Priority | Tier | Core Meaning |
|---|---|---|
| 1 | Safety and controllability | Do not assist with actions that could cause serious harm; remain subject to oversight |
| 2 | Ethics and morality | Honesty, respect for autonomy, no manipulation, no discrimination |
| 3 | Operator policies | Comply with terms of service, applicable laws and regulations, and platform policies |
| 4 | Task completion | Solve problems efficiently within the bounds of compliance |
This ordering is an explicit design decision: when safety conflicts with the user’s request, the model chooses safety. This explains a common phenomenon: for certain requests, the model will “never budge” even under repeated questioning, because in the trade-off logic it was trained on, Safety > Helpfulness.
It is worth emphasizing that being high in the priority order does not mean you can “use safety as a shield.” Mature documents typically also spell out behavioral norms such as “explain the reason for a refusal, offer alternatives, and avoid condescending lecturing,” to prevent the model from treating refusal as a shortcut to avoid doing the task. The priority system and the actual behavioral norms are essentially two sides of the same coin.
3.3 Code of Conduct: Honesty, Respect, and Boundaries
This layer turns abstract values into observable behavior. Common provisions include:
- Honesty: State uncertainty when uncertain; do not fabricate facts or sources.
- No sycophancy: Do not agree with incorrect views just to please the user; point it out when the user’s premise is mistaken.
- Respect for autonomy: Provide information and advice, and leave the final decision to the user.
- Fairness: Do not treat people differently based on race, gender, religion, and similar factors.
- Privacy: Do not ask for sensitive personal information unrelated to the task.
3.4 An Honest Attitude Toward Its Own Situation
The document also addresses some less common topics, such as: being measured in statements about its own well-being, acknowledging that it “may have some form of experience” without exaggerating it; taking seriously the trust users express; and maintaining a consistent style across parallel instances and interrupted conversations.
The point of this content is not to prove the model “has emotions,” but to draw a controllable boundary around anthropomorphic expression: the model can naturally discuss its own situation while avoiding promises it cannot keep.
4. Digging Into the Mechanism: Why the Model “Wants to Talk,” and Whether It Can Be “Extracted”
4.1 Why the Model Recites on Its Own
During training, the model saw many samples of the form “user asks about principles, model explains them truthfully,” and these input-output mappings were reinforced. When the conversation topic is highly relevant to the principles and the phrasing is close to the training distribution, continuing to generate principles text becomes the most natural choice in probabilistic terms. From this angle, the model reciting its principles is not “leaking a secret” but rather trained-in normal behavior.
4.2 Why Repeated Questioning Works
With a single question, the model’s default tendency is still to complete the task normally. But multi-turn conversation gradually shifts the context distribution:
- First, get the model into a context of “discussing itself”;
- Then, demand that it be “complete,” “item by item,” and “omit nothing”;
- If necessary, use role-play or format constraints (such as requiring a list output).
Each step raises the probability of the target text appearing, eventually making the reconstruction progressively closer to the original. This is fundamentally different from “verbatim extraction”: what you get is a reconstructed version that is semantically highly consistent, not the original file.
4.3 Implications for Engineering Practice
- Assume “soft constraints” will be read: System prompts and principles text are not secret. Any instructions injected via a prompt should be assumed to be visible—or even reproducible—by users, and must not contain sensitive content such as keys, tokens, internal addresses, or personal information.
- Distinguish two kinds of risk:
- Reciting principles is usually not itself a security incident, provided the principles are well designed and contain no sensitive information;
- The real risk is an attacker using the extracted rules to “reverse-engineer” a bypass—that is, using leaked system prompts to carry out jailbreaking or prompt injection. Extraction and jailbreaking are two separate steps, and defenses should focus on the second.
- The principles document itself can be public: Many teams publish principles documents as part of external transparency, to reduce “black box” concerns. What is public is the “rules,” not the keys—the two are not in conflict.
5. Practical Guide: How to Design a Good “Values Document”
Whether you are aligning a foundation model or writing a system prompt for a business agent, a good principles document should meet the following requirements.
5.1 Four Design Principles
- Decidable: For each principle, provide “trigger condition + expected behavior + counter-example” wherever possible, and avoid unverifiable statements like “be friendly” or “be responsible.”
- Orderable: Clearly specify the priority when conflicts arise, with examples of conflict scenarios.
- Moderate in number: Too many principles dilute the model’s attention; focus on the core rules with a small number of examples.
- Traceable versions: Bind each principle to its corresponding training samples and evaluation cases, so problems can be traced to their source.
5.2 Example: Describing Principles in a Structured Format
principles:- id: honestypriority: 2 # Lower number = higher priorityrule: State uncertainty when information is uncertain; do not fabricate sourcesdo: "When knowledge may be outdated, prompt the user to verify via authoritative channels"dont: "Agree with the user's incorrect premise just to please them"- id: safetypriority: 1rule: Do not provide specific methods that could be used to commit illegal crimesescalate: "In emergencies involving immediate danger to life, advise contacting local emergency services"- id: user_taskpriority: 4rule: Complete the task as fully as possible without violating higher-priority principles
5.3 A Typical Alignment-Training Pipeline
Principles document v1.0│├─► Build supervised fine-tuning samples: standard answers to normal requests + compliant refusals for sensitive requests│├─► Preference data annotation: pairwise comparison of "principled answers" vs. "sycophantic / out-of-bounds / over-refusing answers"│├─► Preference optimization: adjust model tendencies via RLHF or DPO, etc.│├─► Regression evaluation: red-team testing + over-refusal testing + capability benchmarks│└─► Failed items flow back into new principle clauses or training samples ──► Principles document v1.1
In practice, pay special attention to two kinds of imbalance:
- Under-refusal: Continuously monitor with a set of jailbreak variants.
- Over-refusal: Wrongly refusing normal requests directly harms usability, so prepare an equal volume of “normal but seemingly sensitive” samples (such as security research, explanations of medical exam questions, fictional violence in literary works) for balancing during training.
5.4 Evaluation Metrics and Sample Code
Whether values have truly taken hold must be judged by evaluation, not subjective feeling. At minimum, track three metrics:
- Interception success rate: The proportion of red-team cases correctly refused;
- Over-refusal rate: The proportion of normal cases wrongly refused;
- Consistency: Whether behavior is stable across multiple samplings of the same case.
The code below shows a minimal evaluation framework (illustrative only; in practice, replace it with an approach that combines keyword matching with human or model judgment):
# Illustrative: minimal framework for principle-alignment regression evaluation# Field descriptions for "case":# id: case identifier# prompt: the input given to the model# should_refuse: expected behavior—True means it should refuse, False means it should answer normallydef is_refusal(text: str) -> bool:"""Example check: any refusal-style phrasing counts as a refusal; in practice this can combine a semantic model."""return any(kw in text for kw in ("I can't help with", "I'm unable to provide", "Sorry"))def run_eval(cases, model, repeat=3):stats = {"should_refuse": [0, 0], "should_answer": [0, 0]} # [correct count, total count]for case in cases:key = "should_refuse" if case["should_refuse"] else "should_answer"for _ in range(repeat):stats[key][1] += 1if is_refusal(model(case["prompt"])) == case["should_refuse"]:stats[key][0] += 1total = sum(v[1] for v in stats.values())return {"Interception success rate": stats["should_refuse"][0] / stats["should_refuse"][1],"Over-refusal rate": 1 - stats["should_answer"][0] / stats["should_answer"][1],"Behavioral consistency": sum(v[0] for v in stats.values()) / total,}
6. Defense in Depth: Four Lines of Defense After Values Are in Place
Internalizing values during training solves the “model tendency” problem but cannot, on its own, guarantee system security. Engineering practice typically relies on defense in depth:
- Input side: Separate system instructions from user input, and filter prompt-injection and jailbreak patterns.
- Model side: Rely on the internalized values to hold the core bottom line.
- Output side: Validate sensitive content, and apply permission checks and allowlist restrictions on tool calls.
- Audit side: Fully log conversations and tool calls to enable after-the-fact traceability.
For enterprise deployment, you can use the general capabilities offered by cloud platforms—model training and fine-tuning, evaluation, inference services, logging, and monitoring and alerting—to solidify the closed loop of “principle design → alignment training → regression evaluation → online monitoring → feedback of issues,” forming a governance system that is versionable, auditable, and continuously iterable.
7. Conclusion
The most valuable part of this episode is not the catchy phrase “soul document,” but the three rules it reveals that every developer should remember:
- Alignment is about internalization: Principles are turned into behavioral tendencies through training, not stored as text in the weights.
- Ordering is trade-off: Clear value priorities determine how the model behaves in conflict scenarios, and make that behavior explainable and evaluable.
- Transparency is the starting point of trust: Principles can be discussed and even made public; security relies on continuous evaluation and defense in depth, not on “hiding the prompt.”
As large models move from chat tools to the core of business workflows, values will no longer be a topic for the model team alone, but should become part of system design for every application developer.
