Values as Style: Disentangling Values from Semantics with One-Way Mixing for Low-Damage LLM Steering

Jiale Dai, Hongcan Deng, Liuxian Ma, Xiaoke Niu, Guojie SongNeurIPS 2026

TL;DR

Steering an LLM’s moral or normative values during inference often acts like a sledgehammer: it shifts the model's stance, but accidentally mangles the underlying facts, changes the topic, or triggers bizarre refusals. Taking inspiration from image style transfer, this paper introduces a lightweight neural interface that cleanly untangles what an LLM is talking about (semantics) from what it prioritizes (values). By linking them with a clever one-way information bridge, you can dial in new values on the fly with minimal collateral damage to the actual content.

What Problem Does This Paper Address?

Suppose you want an LLM to give career advice emphasizing personal achievement rather than job security, without retraining its billions of weights. A popular approach is activation steering—reaching into the frozen model's hidden layers at inference time and nudging its internal representations along a "value vector."

The catch? Dense hidden states are messy and entangled. Pushing on a "security" direction often drags unrelated concepts along for the ride—altering the people, quantities, or constraints of your prompt, shifting the topic, or causing the model to needlessly refuse benign requests.

While computer vision researchers have long separated "content" from "style," human values aren't just a coat of paint. What counts as "security" or "benevolence" depends heavily on the scenario's context. Therefore, forcing semantics and values to be strictly independent misses the mark, while leaving them tangled ruins factual precision. The authors ask: can we build an editable latent interface that lets context inform values, without letting value edits corrupt the context?

Figure 1: Overview of our semantic–value disentanglement framework for controllable LLM intervention. Hidden representations from a frozen LLM are decomposed into a semantic code and a value code. A one-way semantic-to-value mixing mechanism allows value representations to leverage semantic grounding while blocking reverse gradients through the mixing path. The disentangled value subspace can then be edited at inference time to steer generation with lower semantic damage.

Methods

The authors keep the base LLM (such as LLaMA-3.1-8B or Qwen2.5-7B) completely frozen. At a single mid-network layer, they extract the hidden state at the last prompt token and pass it into a lightweight, trainable bottleneck made of simple multi-layer perceptrons (MLPs):

  1. Dual Encoders & One-Way Mixing (The Novel Core): Two encoders split the hidden state into a 256-dimensional semantic code ($z_s$) and a 64-dimensional value code ($\tilde{z}_v$). Because values need context, $z_s$ is passed through a learned gate to enrich $\tilde{z}_v$, creating a grounded value code ($z_v$). Crucially, they place a stop-gradient on this bridge during training. Value Recognition gets to peek at the scenario, but gradients from value losses cannot flow backward to contaminate the semantic encoder.
  2. Swap-Based Training: Using standard disentanglement tricks adapted from vision, the interface is trained to reconstruct the original hidden state while obeying swap consistency (swapping value codes between opposing stances in the same scenario shouldn't alter semantics), adversarial de-confounding (penalizing the value code if a linear probe can guess the topic from it), and decorrelation.
One-way value grounding during training.
  1. Residual-Delta Editing at Inference: To steer the model, they don't overwrite the hidden state with a raw reconstruction (which introduces autoencoder error). Instead, they hold $z_s$ fixed, swap in a target value code $z_v^\star$, and compute the difference in reconstructions: $D(z_s, z_v^\star) - D(z_s, z_v)$. They optionally project out semantic subspaces and apply an inference gate (GatedNSI) that turns the edit off entirely if the prompt isn't value-related, before injecting this clean delta back into the frozen LLM to generate text.
Inference-time value editing pipeline.

Datasets

  • Semantic-Value Quadruples (SVQ & SVQ-EQ-10K): Newly introduced by the authors. Each quadruple anchors on one scenario and pairs two paraphrases supporting a target Schwartz value (e.g., self-direction) with two paraphrases supporting an opposing value. Core models train on just 630 quadruples, while SVQ-EQ-10K provides a 10,000-quadruple benchmark (validated by human raters) balanced across ten basic human values for scaling and testing.
  • Existing Benchmarks: ValueBench (for testing value relatedness and stance recognition) and MMLU (to check if steering hurts general reasoning capabilities). They also test out-of-taxonomy transfer using Moral Foundations prompts.

Key Insights and Ideas

  • Values require asymmetric disentanglement: Treating values as completely orthogonal to semantics fails because normative stances depend on situational facts. Allowing two-way mixing leaks topic shortcuts into the value code (raising topic-probe leakage from 19% to 24% and hurting semantic preservation). The one-way stop-gradient bridge hits the sweet spot.
  • Training-time mixing and inference-time gating do different jobs: A clean $2 \times 2$ ablation proves these aren't redundant. Inference gating (GatedNSI) protects unrelated, benign prompts from accidental refusals, while one-way mixing sharpens the representation itself so active value edits stay on-topic.
  • Plug-and-play taxonomy transfer: Because the interface learns a general normative subspace, you don't need to retrain it for new value systems. Using just 50 reference prompts per label, an interface trained on Schwartz values smoothly steered Moral Foundations concepts on held-out scenarios.

Key Results

  • Beating Activation Baselines: On LLaMA-3.1-8B, standard LinearAdd steering achieves high value alignment (0.770) but degrades semantic similarity (0.792) and spikes benign false refusals to 11.9% (up from 2.0% unedited). The authors' full interface achieves 0.750 alignment while boosting semantic similarity to 0.873 and cutting false refusals down to 4.3%.
  • Outperforming Direct Prompting: Compared against carefully tuned system prompts at matched alignment (~0.75), latent editing preserves facts better on LLaMA-3.1-8B—yielding higher BERTScore (0.938 vs. 0.923), higher entity retention (91.7% vs. 88.7%), and fewer NLI contradictions (5.1% vs. 7.6%).
  • Clean Disentanglement: Linear probes confirm that predicting topics from the value code drops to 0.19 accuracy (near the 0.127 chance level, vs. 0.421 for random splits), while retaining 0.82 accuracy on values.
  • Human & Scale Validation: Across 320 blinded human evaluations, the method scored highest in semantic preservation (4.27/5 vs. 3.99 for prompting and 3.72 for LinearAdd), and scaled cleanly up to Qwen2.5-14B.

Limitations and Future Work

  • Moderate Human Agreement on Nuance: While automated metrics and confidence intervals clearly favor the method, human inter-rater reliability (Krippendorff’s $\alpha$) was moderate—ranging from 0.42 to 0.55 on semantic preservation—highlighting how subjective "value vs. content" boundaries can be in practice.
  • Scale and Conversation Length: Core experiments focused on single-turn edits in 7B–8B models (with compact checks up to 14B and 3-turn dialogues). How well single-site latent interfaces hold up over long, multi-turn agentic workflows or frontier-scale architectures remains an open question.

Summary updated

Abstract

Value steering should change an LLM's normative priorities while preserving the scenario, facts, and task constraints underlying its answer. Conventional activation edits often change both. We introduce an editable semantic–value interface on frozen residual states, with a one-way semantic→value pathway that grounds value recognition in context. Stop-gradient blocks feedback through this pathway; swap consistency, topic de-confounding, and decorrelation encourage selective codes. At inference, editing the value code produces a residual delta while holding the semantic code fixed. On two instruction-tuned backbones, this interface improves semantic preservation and reduces benign refusals at comparable value alignment. A matched mixing-by-gating ablation separates representation learning from selective edit activation, and dimension-matched probes establish improved code selectivity. Against validation-selected prompting on LLaMA-3.1-8B, the method achieves comparable alignment (0.750 vs. 0.748), higher BERTScore (0.938 vs. 0.923), and fewer contradictions (5.1% vs. 7.6%). Human ratings and cross-taxonomy controls provide complementary evidence for low-damage value steering.
BibTeX
@inproceedings{dai2026values,
  author = {Jiale Dai and Hongcan Deng and Liuxian Ma and Xiaoke Niu and Guojie Song},
  title = {{Values as Style: Disentangling Values from Semantics with One-Way Mixing for Low-Damage LLM Steering}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=LuqCvMBcYI},
}
Figure