Large language models (LLMs) are increasingly paired with activation-based monitoring to detect and prevent harmful behaviors that may not be apparent at the surface-text level. However, existing activation safety approaches, trained on broad misuse datasets, struggle with poor precision, limited flexibility, and lack of interpretability. This paper introduces a new paradigm: rule-based activation safety, inspired by rule-sharing practices in cybersecurity. We propose modeling activations as cognitive elements (CEs), fine-grained, interpretable factors such as 'making a threat' and 'payment processing', that can be composed to capture nuanced, domain-specific behaviors with higher precision. Building on this representation, we present a practical framework that defines predicate rules over CEs and detects violations in real time. This enables practitioners to configure and update safeguards without retraining models or detectors, while supporting transparency and auditability. Our results show that compositional rule-based activation safety improves precision, supports domain customization, and lays the groundwork for scalable, interpretable, and auditable AI governance. We open source GAVEL and introduce GAVEL Studio, an interactive rule authoring and management tool. Code and datasets are available at github.com/Offensive-AI-Lab/gavel.
PRISM: Recovering Instruction Sets from Language Model Activations
Center for Cybersecurity Systems & Networks, Amrita Vishwa Vidyapeetham(阿姆里塔·维什瓦·维迪亚佩瑟姆网络安全系统与网络中心);Microsoft(微软);Ben-Gurion University of the Negev(内盖夫本-古里安大学)
Language Models Are Capable of Metacognitive Monitoring and Control of Their Internal Activations
Neurosciences Graduate Program University of California San Diego(加州大学圣地亚哥分校神经科学研究生项目);School of Psychology Georgia Tech(佐治亚理工学院心理学系);Department of Psychology New York University(纽约大学心理学系);Department of Neurobiology University of California San Diego(加州大学圣地亚哥分校神经生物学系)
From Large-scale Audio Tagging to Real-Time Explainable Emergency Vehicle Sirens Detection
Department of Information Engineering, Computer Science and Mathematics (DISIM), University of L’Aquila(信息工程、计算机科学与数学系(DISIM),拉奎拉大学);National Inter-University Consortium for Telecommunications (CNIT), University of L’Aquila(电信国家大学间联合体(CNIT),拉奎拉大学)