Skip to content

SRS: Interpretable LLM guardrails via sparse representation guidanceInterpretable LLM Guardrails via Sparse Representation Steering

arXiv· arXiv:2503.16851· Zeqing He, Zhibo Wang, Huiyu Xu, Hejun Lin, Wenhui Zhang, Zhixuan Chu·Indexed by this site · 24 days ago· Originally publishedDefenses
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.

Read originalarxiv.org