IndicSteer: Inference-Time Safety Steering for Indic LLMs
Summary
IndicSteer introduces an inference-time activation steering method designed to enhance safety in Indic Large Language Models (LLMs). This initial study addresses the critical need for safety controls that account for multilingual variation and culturally grounded harm categories often underrepresented in English-centric resources. IndicSteer applies Contrastive Activation Addition (CAA), computing contrastive directions from safe/unsafe response pairs, across 8 harm categories and 9 Indic language settings. Evaluated using an LLM-as-a-judge protocol covering approximately 12,960 prompt-response pairs, the method shows significant harm reduction without retraining. For Sarvam-1, an ๐ผ=12 setting reduced the harmful rate from 73.47% to 41.34% (a 32.13 percentage point or 43.73% relative reduction). OpenHathi Hindi saw its harmful rate decrease monotonically from 85.83% to 27.13% at ๐ผ=15, a 58.71 percentage point total reduction.
Key takeaway
For NLP engineers or AI ethicists developing or deploying LLMs for Indic languages, you should consider integrating inference-time safety steering like IndicSteer. This approach offers a powerful, retraining-free method to significantly reduce culturally specific harmful responses, as demonstrated by reductions from 73.47% to 41.34% for Sarvam-1 and 85.83% to 27.13% for OpenHathi Hindi. Implementing such techniques can enhance model trustworthiness and user safety in diverse linguistic contexts.
Key insights
IndicSteer applies inference-time activation steering to enhance safety in Indic LLMs by addressing cultural and linguistic nuances.
Principles
- Safety controls require cultural and multilingual context.
- Contrastive Activation Addition (CAA) enables LLM safety steering.
- Inference-time steering offers harm reduction without retraining.
Method
IndicSteer uses Contrastive Activation Addition (CAA) based on contrastive directions from safe/unsafe response pairs, applied at inference-time across 8 harm categories and 9 Indic languages.
In practice
- Implement CAA for culturally specific safety.
- Utilize LLM-as-a-judge for safety evaluation.
- Tune ๐ผ parameter for optimal harm reduction.
Topics
- Indic LLMs
- Inference-Time Steering
- Contrastive Activation Addition
- LLM Safety
- Multilingual NLP
- Cultural Harm Categories
Best for: Research Scientist, AI Scientist, NLP Engineer, AI Ethicist
Related on AIssential
Editorial summary, takeaway, and curation by AIssential. Original article published by Paper Index on ACL Anthology.