Internal Value Alignment in Large Language Models through Controlled Value Vector Activation

Haoran Jin, Meng Li, Xiting Wang, Zhihao Xu, Minlie Huang, Yantao Jia, Defu Lian

Introduction

Standard alignment techniques for Large Language Models (LLMs), such as Reinforcement Learning from Human Feedback (RLHF) and Supervised Fine-Tuning (SFT), primarily focus on behavioral alignment. These methods treat the model as a "black box," optimizing for desired output patterns. However, this approach often lacks interpretability and can be bypassed by adversarial prompts. Activation engineering offers a more transparent alternative by steering the model's internal latent representations. Yet, existing activation-based methods struggle with contextual bias in training data and a significant "alignment tax"—a degradation in the model's general reasoning and fluency.

The ConVA Framework

To address these challenges, researchers introduced Controlled Value Vector Activation (ConVA). This framework aligns LLMs by identifying and activating specific "value vectors" within the model's hidden layers while minimizing interference with unrelated tasks.

Overview of the ConVA framework, illustrating context-controlled sample generation and the gated activation mechanism.

Context-Controlled Value Vector Identification

A primary hurdle in activation engineering is that training data often couples values with specific contexts (e.g., associating "security" only with "cybersecurity"). ConVA overcomes this using a context-controlled approach. Using GPT-4o, the researchers generate "pairwise" samples: for every positive instance of a value, a corresponding negative instance is created that maintains identical grammar, persona, and setting. By contrasting these pairs, the resulting vector isolates the core value from its surrounding context.

Gated Value Vector Activation

To mitigate the alignment tax, ConVA employs a Gate Unit based on a DeBERTa detector. This gate determines whether an incoming query is relevant to the target value.

  • Gate Closed: For unrelated queries (e.g., explaining macroeconomics), the model functions normally, preserving its original logic and fluency.
  • Gate Open: For value-related dilemmas, the gate activates and applies a minimal perturbation ($\epsilon$) to the internal embeddings, steering the output toward the desired value alignment.

Experimental Results

The researchers evaluated ConVA across 10 dimensions of Schwartz’s Theory of Basic Values (e.g., Benevolence, Security, Tradition) using a diverse set of model families, including Llama and Mistral.

Comparison of Control Success Rate (CSR) across 10 human values for ConVA and various baseline methods.

Superior Alignment and Fluency

ConVA demonstrated a significant improvement in alignment success, achieving an average relative increase of 29.6% in Control Success Rate (CSR) over baselines like In-Context Alignment (ICA) and Contrastive Activation Addition (CAA). Crucially, the model maintained high output quality, with a fluency rate exceeding 97%.

Minimizing the Alignment Tax

The effectiveness of the gating mechanism was most evident in general capability benchmarks. On the MMLU (Massive Multitask Language Understanding) benchmark, ConVA maintained a score of 0.455, nearly matching the vanilla model's 0.476. In contrast, steering methods without a gate saw scores plummet to 0.272, representing a nearly 50% performance degradation.

Conclusion and Future Directions

ConVA represents a significant step toward interpretable and robust LLM alignment. By operating on internal activations rather than just surface-level text, it remains resilient even against adversarial prompts. Future work will explore multi-value alignment—handling complex trade-offs between competing values—and investigate non-linear representations of values in the latent space.

Summary updated

BibTeX
@inproceedings{jin2025internal,
  author = {Haoran Jin and Meng Li and Xiting Wang and Zhihao Xu and Minlie Huang and Yantao Jia and Defu Lian},
  title = {{Internal Value Alignment in Large Language Models through Controlled Value Vector Activation}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
}
Figure