Sign inGet started
Paper · arXiv

Why Do Large Language Models Generate Harmful Content?

Large Language Models (LLMs) have been shown to generate harmful content. However, the underlying causes of such behavior remain under explored. We propose a causal mediation analysis-based approach to identify the causal factors responsible for harmful generation. Our method performs a multi-granular analysis across model layers, modules (MLP and attention blocks), and individual neurons. Extensive experiments on state-of-the-art LLMs indicate that harmful generation arises in the later layers of the model, results primarily from failures in MLP blocks rather than attention blocks, and is associated with neurons that act as a gating mechanism for harmful generation. The results indicate ...

AuthorsRajesh Ganguli, Raha Moraffah
Primary categorycs.AI
Published13 April 2026
Last updated at source13 April 2026
cs.AI
Embed this entry
<iframe src="https://silytics.si/embed/item/e7db783b-2259-4ace-bb3d-a8ff1a12f1e2" width="420" height="190" style="border:0" loading="lazy" title="Silytics entry"></iframe>

Free, no tracking. More about feeds and embeds.

Silytics shows public metadata from arXiv and links to the original. Information may be incomplete or out of date. Last refreshed 17 October 2026. Licenses and terms of the original apply to the work itself. Not financial, legal or professional advice.