LLM Safety From Within: Detecting Harmful Content with Internal Representations

LLM Safety From Within: Detecting Harmful Content with Internal Representations

From Daily Paper Cast by Jingwen Liang, Gengyu Wang

April 28, 2026 · 23 min · Episode 1804

About this episode

This episode discusses the SIREN model for detecting harmful content in LLMs using internal representations.

🤗 Upvotes: 21 | cs.AI Authors: Difan Jiao, Yilun Liu, Ye Yuan, Zhenwei Tang, Linfeng Du, Haolun Wu, Ashton Anderson Title: LLM Safety From Within: Detecting Harmful Content with Internal Representations Arxiv: http://arxiv.org/abs/2604.18519v1 Abstract: Guard models are widely used to detect harmful content in user prompts and LLM responses. However, state-of-the-art guard models rely solely on terminal-layer representations and overlook the rich safety-relevant features distributed across internal layers. We present SIREN, a lightweight guard model that harnesses these internal features. By identifying safety neurons via linear probing and combining them through an adaptive layer-weighted strategy, SIREN builds a harmfulness detector from LLM internals without modifying the underlying model. Our comprehensive evaluation shows that SIREN substantially outperforms state-of-the-art open-source guard models across multiple benchmarks while using 250 times fewer trainable parameters. Moreover, SIREN exhibits superior generalization to unseen benchmarks, naturally enables real-time streaming detection, and significantly improves inference efficiency compared to generative guard…

People in this episode

Hosts: Jingwen Liang, Gengyu Wang

Topics covered

  • LLM safety
  • harmful content detection
  • internal representations
  • guard models
  • machine learning
  • AI safety

Keywords

  • LLM
  • SIREN
  • harmfulness detection
  • guard models
  • internal layers
  • safety neurons
  • linear probing

Mentioned in this episode

Organizations: SIREN

More episodes of Daily Paper Cast

Explore listener stats, chart rankings, contacts and more on the Daily Paper Cast podcast page.