The Geometry of Harmfulness in LLMs through Subconcept Probing

McNair Shah, Saleena Angeline, Adhitya Rajendra Kumar, Naitik Chheda, Kevin Zhu +3 more
7/23/2025
cs.AI

No confident code implementation found for this paper.

Abstract

Recent advances in large language models (LLMs) have intensified the need to understand and reliably curb their harmful behaviours. We introduce a multidimensional framework for probing and steering harmful content in model internals. For each of 55 distinct harmfulness subconcepts (e.g., racial hate, employment scams, weapons), we learn a linear probe, yielding 55 interpretable directions in activation space. Collectively, these directions span a harmfulness subspace that we show is strikingly low-rank. We then test ablation of the entire subspace from model internals, as well as steering and ablation in the subspace's dominant direction. We find that dominant direction steering allows for near elimination of harmfulness with a low decrease in utility. Our findings advance the emerging view that concept subspaces provide a scalable lens on LLM behaviour and offer practical tools for the community to audit and harden future generations of language models.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{shah2025geometry,
  title  = {The Geometry of Harmfulness in LLMs through Subconcept Probing},
  author = {McNair Shah and Saleena Angeline and Adhitya Rajendra Kumar and Naitik Chheda and Kevin Zhu and Vasu Sharma and Sean O'Brien and Will Cai},
  year   = {2025},
  eprint = {2507.21141},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.21141v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.21141.svg)](https://codeofpaper.com/paper/2507.21141)

Discussion