SRS: Interpretable LLM guardrails via sparse representation guidanceInterpretable LLM Guardrails via Sparse Representation Steering
AI summary
The study proposes SRS, which uses sparse representation guidance to achieve interpretable, fine-grained LLM guardrail control. SRS leverages a pretrained SAE to convert dense activations into a sparse monosemantic feature space, and locates target attribute dimensions by contrasting positive and negative prompt pairs and measuring bidirectional KL divergence. On the safety, fairness, and truthfulness dimensions of the Gemma-2 series models, SRS outperforms existing steering methods in single- and multi-attribute settings, while maintaining language quality and general capabilities.