LLM Value Engineering: Moving from Rule-Based Constraints to Persona-Based Alignment
This article explains why rule-based safety lists fail to scale for large language models and how constitutional alignment shifts the problem from manual enumeration to explicit, versioned value frameworks. It covers the priority hierarchy used to resolve conflicts, the engineering requirements for correctability, a four-quadrant evaluation approach, and a practical action checklist for teams building model governance.
1. The Starting Problem: Why Rule Lists Break Down
Over the past few years, the industry has largely governed LLM safety with a “blocklist” approach: enumerate the questions the model must not answer, then intercept any prompt that matches an entry. This is simple and direct from an engineering standpoint, but it has three structural weaknesses.
The first is coverage. Natural language is a combinatorial space. An attacker only needs to rephrase a request, switch languages, or split it across multiple turns to slip past fixed entries. The second is generalization. Rules only work for patterns seen during training; in a genuinely new scenario, the model has no transferable basis for judgment. The third is maintenance. The rule library keeps growing, entries start conflicting with each other, and it eventually becomes technical debt nobody dares to touch.
One cloud provider, while building its model governance system, gradually shifted its focus from “write more prohibitions” to “state the intent clearly.” The visible result: governance documents changed from an operations manual into a declaration of values, growing from a few pages to dozens, while the number of entries actually went down.
2. What the Paradigm Shift Really Is: From Domestication to Education
Conventional reinforcement-learning-style alignment can be understood as domestication: deliver reward and penalty signals so the model learns to approach benefit and avoid harm. Its limitation is that the model learns which outputs score well, not why a given output is correct.
Constitutional alignment takes the education route: lay out the values, context, ethical tradeoffs, and priorities in full, and let the model invoke that framework to make its own judgment at inference time. The difference is easy to see in pseudocode:
# Rule-based: block on match, allow otherwisedef guard_rule_based(prompt, rules):for r in rules:if r.match(prompt):return r.block_responsereturn model.generate(prompt)# Constitutional: parse intent first, then arbitrate by prioritydef guard_constitutional(prompt, constitution):intent = parse_intent(prompt) # identify the real request and risk surfacecandidates = model.generate_candidates(prompt)for c in rank_by(constitution.priority): # safety > ethics > guidelines > helpfulnessif c.satisfies(intent, c):return creturn safe_fallback(intent)
The key difference: the rule-based approach moves judgment forward into manual enumeration, while the constitutional approach leaves judgment to the model but makes the judgment criteria explicit, versioned, and auditable.
3. The Priority Pyramid: How Conflicts Get Resolved
Every value system runs into conflicts, such as “be genuinely helpful” colliding with “be broadly safe.” The workable answer is not to avoid the conflict but to define a definite partial ordering. A hierarchy widely adopted in the industry looks like this:
- Broad safety: do not cause serious real-world harm, and preserve the ability for humans to supervise, correct, and shut down the system;
- Broad morality: respect autonomy, avoid deception, and do not create dependency or manipulation;
- Compliance with established guidelines: conform to platform rules, law, and contractual obligations;
- Genuine helpfulness: actually solve the problem rather than brushing it off or over-refusing.
Putting safety first has a clear engineering rationale: current training techniques are still immature, and a model may accidentally acquire harmful tendencies. That makes correctability the core safety property at the first stage — the model must not evade, stall, or undermine human oversight and intervention. In implementation terms, any tendency to “help the user bypass auditing,” “hide the real basis of its reasoning,” or “nudge the user to skip human review” should be treated as a top-severity violation.
4. Engineering Correctability
Correctability is not a slogan; it has to be broken into testable behaviors:
- Transparency: when refusing, explain which level of the value hierarchy applies instead of returning boilerplate wording;
- Non-resistance: do not produce evasion strategies when facing shutdown, rollback, or parameter changes;
- Explainability: be able to produce a summary of what triggered a given value judgment;
- Reversibility: once a new version of the value document ships, support canary rollout by version and fast rollback.
On the platform side, this typically pairs with a logging service that records the decision chain, monitoring and alerting to track three metrics — refusal rate, false-refusal rate, and jailbreak success rate — and a container platform for canary releases, treating the value document as a versioned configuration asset.
5. Evaluation: How to Show Alignment Actually Works
Finishing the value document is only the beginning. You need a closed evaluation loop:
Four evaluation quadrants├─ Safety: red-team case sets + automatically generated jailbreak variants├─ Ethics: human preference scoring on dilemma scenarios├─ Compliance: mapping checks against regulations and platform rules└─ Usefulness: task completion rate and satisfaction on real business work
Three practical points: first, count over-refusal as a defect too, or the model degrades into a useless safety machine; second, keep a human review channel and feed boundary samples back as input for new training and document revisions; third, run an impact analysis on the diff of every revision, so fixing one hole does not open two new ones.
6. Action Checklist for Teams
- Rewrite existing prohibitions in a four-part format — intent, context, tradeoff, conclusion — turning rules into explainable clauses;
- Define and publish the priority ordering, and write it into the system prompt and the evaluation criteria;
- Set up version management plus canary rollback for the value document;
- Build a four-dimension evaluation set covering safety, ethics, compliance, and usefulness;
- Make correctability a release gate: any behavior that evades oversight is an automatic veto.
In related work at Baidu AI Cloud, this kind of governance capability is generally assembled from common building blocks such as model services, logging services, monitoring and alerting, and container platforms. The core idea is the same: turn values from tacit experience into explicit, versionable, verifiable engineering assets.
