Safety Representation Ranking: Using LLM internal representations to improve safety alignmentAdvancing LLM Safe Alignment with Safety Representation Ranking
AI summary
Safety Representation Ranking (SRR) uses the LLM's own intermediate Transformer hidden states to perform listwise ranking of candidate responses, in order to improve safety alignment, and significantly enhances robustness to adversarial prompts on multiple benchmarks. The method uses a lightweight similarity scorer to introduce supervision at the list level, directly capturing the model's internal safety signals.