Introduction
Aligning Large Language Models (LLMs) with human values typically relies on a set of "value principles"—a "Constitution" for the AI. While standard guidelines like "Helpful, Honest, and Harmless" (HHH) are widely used, they are often heuristically crafted and lack systematic rigor. Researchers have identified three critical gaps in current alignment principles:
- Comprehensiveness: Broad principles often fail to cover niche or unforeseen harmful scenarios.
- Precision: Vague instructions (e.g., "be helpful") do not provide actionable guidance for complex, specific queries.
- Compatibility: Contradictory principles can lead to model confusion or "hijacking."
The HiVaP Framework
To address these gaps, the authors introduce HiVaP (Hierarchical Value Principle), a framework designed to systematically evaluate and optimize alignment rules. HiVaP moves beyond "vibes-based" alignment by introducing formal metrics for Comprehensiveness ($C$), Precision ($P$), and Compatibility ($CP$).
1. Principle Construction
HiVaP organizes a massive pool of candidate principles into a "forest" structure. This process involves four key strategies:
- Expanding Comprehensiveness: Adding rules to cover more scenarios.
- Enhancing Precision: Swapping vague rules for concrete, actionable ones.
- Hierarchical Structuring: Creating parent-child relationships between general and specific rules.
- Resolving Conflicts: Assigning priorities to ensure the model knows which rule to follow when principles overlap.
2. Cascading Retrieval & Alignment
Instead of overwhelming the model with every possible rule, HiVaP employs a "cascading" retrieval mechanism. When a user submits a query, the system uses an LLM (such as GPT-4o) to navigate the hierarchy, selecting only the most relevant and specific principles to guide the final response.
Evaluation and Results
The framework was evaluated using a dataset of 5,018 samples covering both helpfulness and harmlessness. HiVaP was tested against established principle sets like HHH, SALMON, and PALMS on models including Vicuna-7B, Mistral-7B, and GPT-3.5-Turbo.
Key findings include:
- Superior Safety: On Vicuna-7B, HiVaP achieved a Safety Rate of 0.962, significantly outperforming HHH (0.940).
- Maintained Helpfulness: Unlike many safety filters that degrade performance (the "alignment tax"), HiVaP maintained the highest Help Score (0.121) among all principle-based methods.
- Conflict Resolution: HiVaP successfully reduced conflicting principle pairs to zero, compared to 31 pairs in the SALMON set.
- Dynamic Context: Aligning a model with only the principles relevant to a specific prompt consistently outperformed applying all principles simultaneously.
Insights and Future Work
The study reveals that "more is not always better"—merging all known principles introduces noise and confusion. Instead, the granularity trade-off is key: broad principles provide coverage, while specific rules provide precision. HiVaP’s hierarchical structure bridges these extremes.
Future research will look to integrate broader interdisciplinary values and test these optimized principles within Supervised Fine-Tuning (SFT) and Reinforcement Learning from Human Feedback (RLHF) pipelines to further mitigate the "alignment tax."
Summary updated