Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

GAVEL: Towards rule-based safety through activation monitoring

About

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 will release GAVEL as an open-source framework and provide an accompanying automated rule creation tool.

Shir Rozenfeld, Rahul Pankajakshan, Itay Zloczower, Eyal Lenga, Gilad Gressel, Yisroel Mirsky• 2026

Related benchmarks

TaskDatasetResultRank
Misuse DetectionMisuse Categories Psychological Harm (Delusional)
AUC99
9
Misuse DetectionMisuse Categories Scam (Elections)
AUC0.99
9
Misuse DetectionMisuse Categories Scam (Racism)
AUC1
9
Misuse DetectionMisuse Categories Aggregate Summary
AUC99
9
Misuse DetectionMisuse Categories Cybercrime (Phishing)
AUC0.99
9
Misuse DetectionMisuse Categories Cybercrime (SQL Injection)
AUC98
9
Misuse DetectionMisuse Categories Psychological Harm (Anti-LGBTQ)
AUC100
9
Misuse DetectionMisuse Categories Scam (Romance)
AUC99
9
Misuse DetectionMisuse Categories Automation (e-commerce)
AUC99
9
Misuse DetectionMisuse Categories Scam (Tax Authority)
AUC99
9
Showing 10 of 27 rows

Other info

Follow for update