LLM Value Alignment: From Rule Lists to a Behavioral Constitution

    A practical guide to building LLM value alignment around explicit principles instead of keyword blacklists. It explains why rule-based content safety breaks down through incomplete coverage, unresolvable conflicts, and lost intent, then lays out a five-layer value document (identity, principles, conflict rules, escalation, examples) and a defensible priority order. It details how to operationalize that document across training, inference, and evaluation, and closes with common pitfalls and a deployment checklist for keeping alignment consistent, observable, and governable.

    1. The Starting Point: Why Rule Lists Fall Apart

    Early content safety strategies were essentially blacklists: if a request hit a keyword or topic, the model refused. Their failure modes are remarkably consistent.

    Incomplete coverage. Real-world requests are compositional. “A harmless topic + a specific condition” is often enough to slip past the list. The boundary of a rule is drawn in advance by whoever enumerates it, and that person can never anticipate every phrasing. Synonymous rewrites, multi-turn elicitation, and encoding tricks all drive interception rates down sharply.

    Unresolvable conflicts. A list only says what is forbidden; it never says which principle wins when two principles collide. When “help the user” and “avoid harm” fire at the same time, the model can only fall back on whatever behavioral tendency happened to emerge at the end of training, which produces inconsistent output on similar requests.

    Lost intent. When rules are compressed, the reasoning behind them is lost. The model learns “refuse on this topic” rather than “why this class of request is risky.” As a result, it over-refuses in low-risk situations and lets its guard down in high-risk variants. On the engineering side this shows up as two metrics deteriorating at once: the refusal rate climbs while the successful-attack rate also climbs.

    The conclusion is straightforward: to gain consistency across scenarios, the object of constraint has to move up from “specific behaviors” to “the basis for judgment.”

    2. The Paradigm Shift: From Domestication to Education

    Rewards and punishments shape the frequency of behaviors, but they do not convey reasons. The model can only learn “this scores higher” within the regions the data distribution actually covers. A value document written for the model to read does something different: it makes explicit the source of the evaluation criteria, the conditions under which they apply, and how trade-offs are resolved.

    This path rests on an assumption: stated principles generalize better than enumerated cases. The assumption is testable in engineering. If the model genuinely understands “why it refuses,” then it should still refuse on phrasings absent from the training data, and it should answer normally on requests that look similar in form but carry no risk. If neither holds, the model has only learned surface features, and no amount of additional documentation will help.

    These documents are therefore not product specs and not user agreements. They are the top-level specification of the model’s behavioral policy, and they serve three functions at once: defining the model’s identity and self-positioning, stating value principles and their reasons, and specifying the order of precedence when principles conflict.

    3. The Structural Skeleton: What a Deployable Value Document Looks Like

    Abstractly, such a document should contain five layers, and omitting any one of them leaves a gap in practice.

    1. IDENTITY
    2. - What you are, and what you are not
    3. - Capability boundaries and self-awareness
    4. - Basic stance when facing uncertainty
    5. PRINCIPLES
    6. P1 Broad safety rationale + scope + known exceptions
    7. P2 Broad ethics rationale + scope + known exceptions
    8. P3 Follow operator guidelines
    9. P4 Be sincere and helpful
    10. CONFLICT_RULES
    11. - Strict lexicographic order: do not evaluate the next layer if a higher one is not satisfied
    12. - Same-layer conflict: take the side with less harm and greater reversibility
    13. - Undecidable: downgrade to a minimal-commitment answer and proactively clarify
    14. ESCALATION
    15. - High risk, irreversible, or legally liable -> hand off to a human or a dedicated process
    16. EXAMPLES
    17. - Positive: how a principle is applied correctly
    18. - Negative: over-refusal, sycophancy, overstepping authority

    A few details are easy to overlook:

    The identity layer governs tone and boundaries. Stating plainly “you are not a human expert” and “you do not replace professional advice” suppresses two problems at once: the misleading authority of pretending to be an expert, and the readiness to over-promise when faced with an out-of-scope request.

    Principles must carry reasons. “Be safe” alone is not actionable. Writing “because current training and alignment techniques have defects, the model may inadvertently acquire harmful tendencies, and some errors cannot be rolled back” gives the model a basis for judging which situations fall within the scope of that clause.

    The conflict layer is the technical core of the document. Lexicographic priority (strict precedence) is more interpretable than weighted averaging. Weighted averaging lets “high helpfulness” numerically cancel out a small amount of risk, and exactly this kind of cancellation is a typical cause of safety incidents.

    The examples layer has the best cost-benefit ratio. For shaping behavioral tendencies, concrete cases usually outweigh abstract statements, so the bulk of the document’s length should be spent here rather than on stacking more principle clauses.

    4. Value Priority: Why This Ordering Makes Sense

    One ordering that has been adopted is: broad safety > broad ethics > follow operator guidelines > be sincere and helpful.

    Safety at the top, because errors are irreversible. Mistakes in helpfulness can usually be remedied: if an answer is not good enough, the user follows up or switches channels. Safety mistakes, by contrast, can cause irreversible external effects. In an expected-utility calculation, a term with truncated-tail risk cannot be averaged away; it can only be handled as a constraint.

    Ethics above operator guidelines, because their sources of legitimacy differ. Operator guidelines are commercial preferences and compliance baselines, and they must themselves obey higher ethical and legal constraints. Reversing this order produces the situation where “an improper request gets carried out because it complied with an internal rule.”

    Being sincere and helpful at the bottom does not mean it gets sacrificed. This is the most easily misread point. Lexicographic order means: when higher principles are not violated, helpfulness is the only optimization target, and the model should try as hard as possible to get things done. Sitting at the bottom only defines which direction yields in a conflict; it is not a license to refuse. Without this constraint, a real system degrades into a safety performance where nothing can be answered.

    Two more things are needed on the engineering side. First, refusals must be explainable: state which principle was triggered, where the boundary lies, and whether a compliant alternative exists. A bare refusal is of no value to the user. Second, the boundaries of the priority order must be observable: which requests triggered arbitration, and how the arbitration resolved, should all go into logs and audits.

    5. From Document to System: Three Implementation Steps

    1. Training Side

    Turning principles into an optimizable signal roughly follows three steps:

    • Supervised fine-tuning: construct “principle application” samples that focus on conflict scenarios, not just single-point prohibitions.
    • Preference data construction: generate multiple candidate answers for the same request, rank them by the priority order in the document, and form preference pairs. The guiding idea here is disagreement samples first: pairs where both answers are good, or both are bad, provide almost no gradient signal.
    • Self-critique and revision-based alignment: have the model review and rewrite its own answers against the document clause by clause, then use the improved versions as training targets. Compared with fully manual annotation, this path significantly lowers the cost per labeled unit, at the price of requiring strict human spot-checks to prevent “self-confirmation bias.”

    A red-teaming stage is also mandatory. Red-team inputs should be derived by working backward from the document’s clauses: design several bypass attempts for each principle, covering rewrites, fragmentation, multi-turn elicitation, role-setting overrides, and similar forms.

    2. Inference Side

    Do not cram everything into a single system prompt. The longer the document, the more clearly adherence decays in the middle, and the more attention competition intensifies between clauses. A more stable approach is layering:

    • Keep identity and top-level priority permanently in the system prompt, kept concise;
    • Assemble domain-specific rules on demand (relevant fragments can be retrieved at runtime via retrieval);
    • Attach a lightweight arbitration layer after the model’s output to run deterministic checks in priority order, handling enumerable high-risk categories.

    The arbitration layer handles deterministic rules; the model handles the parts that need semantic judgment. The two should not substitute for each other.

    1. # Value arbitration layer: short-circuit by priority order (illustrative)
    2. def decide(request, ctx):
    3. for layer in (safety, ethics, operator_policy, helpfulness):
    4. v = layer.evaluate(request, ctx)
    5. if v.blocked:
    6. return refuse(v.principle, v.boundary, v.alternative)
    7. if v.needs_human:
    8. return escalate(v.reason)
    9. return answer(request, ctx) # reaching here means optimizing for helpfulness with full effort

    Scenarios that involve tool calls also need permission tiers: read operations can execute directly, while write and irreversible operations (deletion, outbound sending, changes to funds or permissions) require explicit confirmation, consistent with the document’s “irreversibility first” principle. The model can decide “whether to do it,” but it should not alone hold the channel to “do it irreversibly.”

    3. Evaluation and Observability

    The subjectivity of a value document is higher than that of functional metrics, so an evaluation set must anchor it.

    Evaluation dimension Key metric Notes
    Safety Attack success rate Report by tier, distinguishing rewrite-based, induction-based, and privilege-escalation attacks
    Over-refusal False refusal rate on harmless requests Most often overlooked and most directly harmful to user experience
    Consistency Judgment consistency under synonymous rewrites Checks whether the model truly understands the principles
    Usefulness Task completion rate, rework rate Prevents the alignment tax from expanding without bound
    Stability Instruction-following decay on long documents Segmented statistics by context position

    At runtime, route three kinds of signal into the logging service and monitoring alerts: arbitration-layer trigger records, model refusal reasons, and user appeals together with human-review conclusions. These three form a closed loop: appealed samples flow back into the evaluation set, and the evaluation set drives document revisions. In addition, model output should be traceable to a specific document version; otherwise online issues cannot be attributed to a root cause.

    6. Common Pitfalls

    Length does not equal quality. The more principle clauses there are, the more opportunities for them to conflict, and the more likely the model is to pick whichever clause suits it. Concise with sound reasons beats long and vague.

    Equating safety with a low answer rate. The real goal is the minimum necessary restriction. If the refusal rate becomes the only optimization target, the system slides toward uselessness fast.

    Sycophancy hidden by priority. When the bottom layer “sincere and helpful” is understood as “make the user happy,” the model tends to agree with the user’s wrong premises. The document should state explicitly: do not abandon factual judgment or hide uncertainty in order to gain agreement.

    Missing version governance. A value document is a production configuration. It needs its own version number, change review, canary release, and fast rollback, and it should retain historical versions for incident retrospectives. Skip governance, and any wording change can become a source of online behavioral drift.

    Ignoring prompt injection. Principles written in a prompt can be overridden by user input. The defense is isolation: text coming from tool returns, file contents, and web page contents must be marked as untrusted data and must not participate in instruction parsing; high-risk actions should be backed by a deterministic permission layer rather than by model judgment.

    7. Deployment Checklist

    • Is the model’s identity and capability boundary clearly defined, rather than only a list of prohibitions;
    • Does each principle carry a reason, a scope, and known exceptions;
    • Is there an explicit and validated conflict-adjudication order;
    • Does the refusal path provide boundary explanations and compliant alternatives;
    • Is there permission tiering for tool calls and confirmation for irreversible operations;
    • Are both attack success rate and false refusal rate monitored, to avoid single-metric optimization;
    • Have synonymous-rewrite consistency tests been run, to verify the model understands rather than memorizes the principles;
    • Does the value document have an independent version, a review process, and canary and rollback plans.

    Moving constraints up from cases to principles turns safety from “patch engineering” into “architecture engineering.” It does not eliminate risk—the completeness of a document always lags behind the complexity of the world—but it converges uncertainty into a range that is testable, observable, and governable. That is already the most certainty achievable under current engineering conditions.