mlsanityData to 14 Oct 2026

Beyond Linear Probes: Dynamic Safety Monitoring for Language Models

arXiv 2509.26238 ↗First posted 30 Sep 2025cs.LGcited by 16

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

  1. 2025From Judgment to Interference: Early Stopping LLM Harmful Outputs via Streaming Content Monitoring11 Jun
  2. 2024Phi-3 Safety Post-Training: Aligning Language Models with a "Break-Fix" Cycle18 Jul
  3. 2024WildGuard: Open One-Stop Moderation Tools for Safety Risks, Jailbreaks, and Refusals of LLMs26 Jun

Other references · 44

  1. 2022Training language models to follow instructions with human feedbackcited by 15,971
  2. 2024The Llama 3 Herd of Modelscited by 14,715
  3. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  4. 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,375
  5. 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
  6. 2022Constitutional AI: Harmlessness from AI Feedbackcited by 3,050
  7. 2025Gemma 3 Technical Reportcited by 1,824
  8. 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,429
  9. 2023Sparse Autoencoders Find Highly Interpretable Features in Language Modelscited by 1,420
  10. 2025gpt-oss-120b & gpt-oss-20b Model Cardcited by 1,386
  11. 2016Understanding intermediate layers using linear classifier probescited by 1,353
  12. 2023BeaverTails: Towards Improved Safety Alignment of LLM via a Human-Preference Datasetcited by 860
32 more
  1. 2022Discovering Latent Knowledge in Language Models Without Supervisioncited by 767
  2. 2023The Linear Representation Hypothesis and the Geometry of Large Language Modelscited by 716
  3. 2019Designing and Interpreting Probes with Control Taskscited by 640
  4. 2017BranchyNet: Fast Inference via Early Exiting from Deep Neural Networkscited by 596
  5. 2021Dynamic Neural Networks: A Surveycited by 408
  6. 2022A Holistic Approach to Undesired Content Detection in the Real Worldcited by 356
  7. 2024Mixture-of-Depths: Dynamically allocating compute in transformer-based language modelscited by 258
  8. 2024ShieldGemma: Generative AI Content Moderation Based on Gemmacited by 243
  9. 2023ToxicChat: Unveiling Hidden Challenges of Toxicity Detection in Real-World User-AI Conversationcited by 231
  10. 2024Not All Language Model Features Are One-Dimensionally Linearcited by 212
  11. 2020Information-Theoretic Probing for Linguistic Structurecited by 207
  12. 2023Large Language Model Cascades with Mixture of Thoughts Representations for Cost-efficient Reasoningcited by 143
  13. 2018Greedy Layerwise Learning Can Scale to ImageNetcited by 115
  14. 2024Q*: Improving Multi-step Reasoning for LLMs with Deliberative Planningcited by 97
  15. 2024Best-of-N Jailbreakingcited by 76
  16. 2025Detecting Strategic Deception Using Linear Probescited by 68
  17. 2020Deep Polynomial Neural Networkscited by 63
  18. 2020Pareto Probing: Trading Off Accuracy for Complexitycited by 55
  19. 2025Detecting High-Stakes Interactions with Activation Probescited by 53
  20. 2025From Hard Refusals to Safe-Completions: Toward Output-Centric Safety Trainingcited by 52
  21. 2025Deep Ignorance: Filtering Pretraining Data Builds Tamper-Resistant Safeguards into Open-Weight LLMscited by 42
  22. 2020Pi-nets: Deep Polynomial Neural Networkscited by 39
  23. 2021A Non-Linear Structural Probecited by 31
  24. 2024Bilinear MLPs enable weight-based mechanistic interpretabilitycited by 28
  25. 2022Scalable Interpretability via Polynomialscited by 25
  26. 2025Understanding Model Calibration -- A gentle introduction and visual exploration of calibration and the expected calibration error (ECE)cited by 20
  27. 2025Investigating task-specific prompts and sparse autoencoders for activation monitoringcited by 15
  28. 2023Regularization of polynomial networks for image recognitioncited by 13
  29. 2025Combining Cost-Constrained Runtime Monitors for AI Safetycited by 10
  30. 2025Beyond Black-Box Obfuscation: Mechanistic Analysis and Defense of White-Box Monitorscited by 6
  31. 2024PNeRV: A Polynomial Neural Representation for Videoscited by 2
  32. 2025Factual Self-Awareness in Language Models: Representation, Robustness, and Scalingcited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 16.

16 papers.

Sort:

By area:

Similar, not cited

Close in wording, no citation either way

  1. 2025SafeRoute: Adaptive Model Selection for Efficient and Accurate Safety Guardrails in Large Language Models
  2. 2025MetaSC: Test-Time Safety Specification Optimization for Language Models
  3. 2026Safety Beyond the Interface: Detecting Harm via Latent States in Large Language Models
  4. 2026Improving LLM Reliability through Hybrid Abstention and Adaptive Detection
  5. 2026Detecting Safety Training Modification in Language Models via Activation Analysis ↗
  6. 2024SALAD-Bench: A Hierarchical and Comprehensive Safety Benchmark for Large Language Models
  7. 2025SafeSwitch: Steering Unsafe LLM Behavior via Internal Activation Signals
  8. 2026Safe responses matter: Output-aware safety guardrail mitigate over-refusal in MLLMs