Beyond Linear Probes: Dynamic Safety Monitoring for Language Models
On the map: LLM safety and security → Safety alignment, refusal and guardrails
also in 1 more
Abstract (arXiv)
Monitoring large language models' (LLMs) activations is an effective way to detect harmful requests before they lead to unsafe outputs. However, traditional safety monitors often require the same amount of compute for every query. This creates a trade-off: expensive monitors waste resources on easy inputs, while cheap ones risk missing subtle cases. We argue that safety monitors should be flexible--costs should rise only when inputs are difficult to assess, or when more compute is available. To achieve this, we introduce Truncated Polynomial Classifiers (TPCs), a natural extension of linear probes for dynamic activation monitoring. Our key insight is that polynomials can be trained and evaluated progressively, term-by-term. At test-time, one can early-stop for lightweight monitoring, or use more terms for stronger guardrails when needed. TPCs provide two modes of use. First, as a safety dial: by evaluating more terms, developers and regulators can "buy" stronger guardrails from the same model. Second, as an adaptive cascade: clear cases exit early after low-order checks, and higher-order guardrails are evaluated only for ambiguous inputs, reducing overall monitoring costs. On WildGuardMix, across 4 models with up to 30B parameters, we show that TPCs compete with or outperform MLP-based probe baselines of the same size for harmful prompt classification, all the while being more interpretable than their black-box counterparts. Our code is available at http://github.com/james-oldfield/tpc.
Key facts. Cited by 16 papers in the map (data through 14 Oct 2026). Placed in Safety alignment, refusal and guardrails, one of 12 directions in LLM safety and security. Builds on 47 of its 75 references that are in the map. First posted on arXiv 30 Sep 2025.
Builds on
47 of 75 references.
Closest ancestors · 3
Same direction, newest first
- 2025From Judgment to Interference: Early Stopping LLM Harmful Outputs via Streaming Content Monitoring11 Jun
- 2024Phi-3 Safety Post-Training: Aligning Language Models with a "Break-Fix" Cycle18 Jul
- 2024WildGuard: Open One-Stop Moderation Tools for Safety Risks, Jailbreaks, and Refusals of LLMs26 Jun
Other references · 44
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,375
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
- 2022Constitutional AI: Harmlessness from AI Feedbackcited by 3,050
- 2025Gemma 3 Technical Reportcited by 1,824
- 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,429
- 2023Sparse Autoencoders Find Highly Interpretable Features in Language Modelscited by 1,420
- 2025gpt-oss-120b & gpt-oss-20b Model Cardcited by 1,386
- 2016Understanding intermediate layers using linear classifier probescited by 1,353
- 2023BeaverTails: Towards Improved Safety Alignment of LLM via a Human-Preference Datasetcited by 860
32 more
- 2022Discovering Latent Knowledge in Language Models Without Supervisioncited by 767
- 2023The Linear Representation Hypothesis and the Geometry of Large Language Modelscited by 716
- 2019Designing and Interpreting Probes with Control Taskscited by 640
- 2017BranchyNet: Fast Inference via Early Exiting from Deep Neural Networkscited by 596
- 2021Dynamic Neural Networks: A Surveycited by 408
- 2022A Holistic Approach to Undesired Content Detection in the Real Worldcited by 356
- 2024Mixture-of-Depths: Dynamically allocating compute in transformer-based language modelscited by 258
- 2024ShieldGemma: Generative AI Content Moderation Based on Gemmacited by 243
- 2023ToxicChat: Unveiling Hidden Challenges of Toxicity Detection in Real-World User-AI Conversationcited by 231
- 2024Not All Language Model Features Are One-Dimensionally Linearcited by 212
- 2020Information-Theoretic Probing for Linguistic Structurecited by 207
- 2023Large Language Model Cascades with Mixture of Thoughts Representations for Cost-efficient Reasoningcited by 143
- 2018Greedy Layerwise Learning Can Scale to ImageNetcited by 115
- 2024Q*: Improving Multi-step Reasoning for LLMs with Deliberative Planningcited by 97
- 2024Best-of-N Jailbreakingcited by 76
- 2025Detecting Strategic Deception Using Linear Probescited by 68
- 2020Deep Polynomial Neural Networkscited by 63
- 2020Pareto Probing: Trading Off Accuracy for Complexitycited by 55
- 2025Detecting High-Stakes Interactions with Activation Probescited by 53
- 2025From Hard Refusals to Safe-Completions: Toward Output-Centric Safety Trainingcited by 52
- 2025Deep Ignorance: Filtering Pretraining Data Builds Tamper-Resistant Safeguards into Open-Weight LLMscited by 42
- 2020Pi-nets: Deep Polynomial Neural Networkscited by 39
- 2021A Non-Linear Structural Probecited by 31
- 2024Bilinear MLPs enable weight-based mechanistic interpretabilitycited by 28
- 2022Scalable Interpretability via Polynomialscited by 25
- 2025Understanding Model Calibration -- A gentle introduction and visual exploration of calibration and the expected calibration error (ECE)cited by 20
- 2025Investigating task-specific prompts and sparse autoencoders for activation monitoringcited by 15
- 2023Regularization of polynomial networks for image recognitioncited by 13
- 2025Combining Cost-Constrained Runtime Monitors for AI Safetycited by 10
- 2025Beyond Black-Box Obfuscation: Mechanistic Analysis and Defense of White-Box Monitorscited by 6
- 2024PNeRV: A Polynomial Neural Representation for Videoscited by 2
- 2025Factual Self-Awareness in Language Models: Representation, Robustness, and Scalingcited by 2
Built on by
Citing papers per year: 2026: 16.
16 papers.
Sort:
By area:
- 2026Building Production-Ready Probes For Geminicited by 47
- 2026Curveball Steering: The Right Direction To Steer Isn't Always Linearcited by 11
- 2026Detecting Multi-Agent Collusion Through Multi-Agent Interpretabilitycited by 7
- 2026Monitoring the Internal Monologue: Probe Trajectories Reveal Reasoning Dynamicscited by 5
- 2026Training Deliberative Monitors for Black-Box Scheming Detectioncited by 4
- 2026PolySAE: Modeling Feature Interactions in Sparse Autoencoders via Polynomial Decodingcited by 3
- 2026AgentLens: Interpretable Safety Steering via Mechanistic Subspaces for Multi-Turn Coding Agentcited by 3
- 2026The Alignment Curse: Modality Alignment Supercharges Audio Attacks via Text Transfercited by 1
- 2026From Mechanistic to Compositional Interpretabilitycited by 1
- 2026Architecture Determines Observability of Transformerscited by 0
- 2026D2-Monitor: Dynamic Safety Monitoring for Diffusion LLMs via Hesitation Signalscited by 0
- 2026Refusal-Gated Decoding: Preserving Refusal Behavior Under High-Temperature Samplingcited by 0
4 more
- 2026ProbGuard: Calibrated Safety Risk Estimation from LLM Output Distributionscited by 0
- 2026Locating and Steering Refusal Beyond Attentioncited by 0
- 2026ForeSight: Enhancing Risk Monitoring via Early Safety Signal Distillationcited by 0
- 2026hacktrace: behavior-supervised detection of reward hacking during code generationcited by 0
- 2026hacktrace: behavior-supervised detection of reward hacking during code generation2 Oct 2026
- 2026ForeSight: Enhancing Risk Monitoring via Early Safety Signal Distillation12 Sep 2026
- 2026Locating and Steering Refusal Beyond Attention4 Sep 2026
- 2026ProbGuard: Calibrated Safety Risk Estimation from LLM Output Distributions11 Aug 2026
- 2026Refusal-Gated Decoding: Preserving Refusal Behavior Under High-Temperature Sampling22 Jul 2026
- 2026AgentLens: Interpretable Safety Steering via Mechanistic Subspaces for Multi-Turn Coding Agent21 Jun 2026
- 2026Training Deliberative Monitors for Black-Box Scheming Detection28 May 2026
- 2026D2-Monitor: Dynamic Safety Monitoring for Diffusion LLMs via Hesitation Signals25 May 2026
- 2026Monitoring the Internal Monologue: Probe Trajectories Reveal Reasoning Dynamics18 May 2026
- 2026From Mechanistic to Compositional Interpretability9 May 2026
- 2026Architecture Determines Observability of Transformers27 Apr 2026
- 2026Detecting Multi-Agent Collusion Through Multi-Agent Interpretability1 Apr 2026
4 more
- 2026Curveball Steering: The Right Direction To Steer Isn't Always Linear10 Mar 2026
- 2026PolySAE: Modeling Feature Interactions in Sparse Autoencoders via Polynomial Decoding1 Feb 2026
- 2026The Alignment Curse: Modality Alignment Supercharges Audio Attacks via Text Transfer30 Jan 2026
- 2026Building Production-Ready Probes For Gemini16 Jan 2026
- 2026Training Deliberative Monitors for Black-Box Scheming Detectioncited by 4
- 2026The Alignment Curse: Modality Alignment Supercharges Audio Attacks via Text Transfercited by 1
- 2026Architecture Determines Observability of Transformerscited by 0
- 2026D2-Monitor: Dynamic Safety Monitoring for Diffusion LLMs via Hesitation Signalscited by 0
- 2026Refusal-Gated Decoding: Preserving Refusal Behavior Under High-Temperature Samplingcited by 0
- 2026Locating and Steering Refusal Beyond Attentioncited by 0
- 2026Locating and Steering Refusal Beyond Attention4 Sep 2026
- 2026Refusal-Gated Decoding: Preserving Refusal Behavior Under High-Temperature Sampling22 Jul 2026
- 2026Training Deliberative Monitors for Black-Box Scheming Detection28 May 2026
- 2026D2-Monitor: Dynamic Safety Monitoring for Diffusion LLMs via Hesitation Signals25 May 2026
- 2026Architecture Determines Observability of Transformers27 Apr 2026
- 2026The Alignment Curse: Modality Alignment Supercharges Audio Attacks via Text Transfer30 Jan 2026
Similar, not cited
Close in wording, no citation either way
- 2025SafeRoute: Adaptive Model Selection for Efficient and Accurate Safety Guardrails in Large Language Models
- 2025MetaSC: Test-Time Safety Specification Optimization for Language Models
- 2026Safety Beyond the Interface: Detecting Harm via Latent States in Large Language Models
- 2026Improving LLM Reliability through Hybrid Abstention and Adaptive Detection
- 2026Detecting Safety Training Modification in Language Models via Activation Analysis ↗
- 2024SALAD-Bench: A Hierarchical and Comprehensive Safety Benchmark for Large Language Models
- 2025SafeSwitch: Steering Unsafe LLM Behavior via Internal Activation Signals
- 2026Safe responses matter: Output-aware safety guardrail mitigate over-refusal in MLLMs