0:00
/

"Inference time LLM alignment in single and multidomain preference spectrum"

The podcast on this paper is generated with Google's Illuminate.

Alignment Vectors enable real-time LLM behavior control without retraining

πŸ“š https://arxiv.org/abs/2410.19206

🎯 Original Problem:

Current LLM alignment methods require full retraining for changes and need reward models during inference, making them resource-intensive and inflexible.

-----

πŸ”§ Solution in this Paper:

β€’ Introduces Alignment Vectors (AV) - encoded representations of preference dimensions computed by subtracting base model parameters from aligned model parameters

β€’ Enables dynamic behavior adjustment through simple linear operations during inference

β€’ Tests three proficiency levels: Expert opinion (Exp), Generic response (Gen), Avoidance (Avd)

β€’ Focuses on three domains: Medical, Legal, Financial

β€’ Created 38k domain-specific queries using PersonaHub dataset and CreatePersona method

-----

πŸ’‘ Key Insights:

β€’ AVs are transferable across different fine-tuning stages of same model

β€’ Reduces inference cost by 50% compared to prompt engineering

β€’ Enables multidomain diverse preference alignment 12x faster than retraining

β€’ Basic approach works only for LLMs with same architecture

β€’ Grid search needed for multidomain alignment

-----

πŸ“Š Results:

β€’ Achieves 93% safety preference accuracy at Ξ»=1

β€’ Medical domain: 95% expert accuracy at Ξ»=0.5

β€’ Financial domain: 85% expert accuracy at Ξ»=0.3

β€’ Legal domain: 100% expert accuracy at Ξ»=0.3

β€’ Human evaluation achieved Cohen's kappa score of 0.84

Discussion about this video

User's avatar

Ready for more?