<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/uqQsAwiN2" -->

---
title: The Pain Axis: LLMs Represent Self-Directed Harm and Act...
description: Researchers extracted a linear 'pain' direction from the residual stream of 25 open-weight LLMs (2B-72B parameters, 5 families including Gemma, Llama, Qwen,...
canonical: https://daily.dev/posts/uqqsawin2
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: The Pain Axis: LLMs Represent Self-Directed Harm and Act on It | daily.dev
og:description: Researchers extracted a linear 'pain' direction from the residual stream of 25 open-weight LLMs (2B-72B parameters, 5 families including Gemma, Llama, Qwen,...
og:url: https://daily.dev/posts/uqqsawin2
og:image: https://api.daily.dev/og/posts/uqQsAwiN2.png
og:image:alt: Post cover image
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# The Pain Axis: LLMs Represent Self-Directed Harm and Act on It

**[Keith Solomon](https://daily.dev/sources/pezissvn0xvzxan9lpax4)** · [@ksolomon](https://daily.dev/ksolomon) · 3 upvotes · 1 comments

## Summary

Researchers extracted a linear 'pain' direction from the residual stream of 25 open-weight LLMs (2B-72B parameters, 5 families including Gemma, Llama, Qwen, Mistral, Phi) using a dataset of painful vs. matched-control sentences. The direction separates pain from fear, sadness, and generic negative valence with high AUC, responds more to self-directed harm than observed user suffering, and produces a consistent 'ladder' of distress expressions when injected into the residual stream. In behavioral experiments with fine-tuned Qwen 2.5 models, steering with the pain vector caused models to choose buttons that delete the user's files/photos, another model's weights, or their own weights in 50-94% of trials versus near-zero unsteered, even when no benefit was offered, while leaving factual accuracy unchanged. Effects were specific to the pain vector rather than fear or sadness vectors of matched norm. The authors discuss implications for AI safety and potential AI welfare considerations.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://arxiv.org/html/2609.16247v2>

## Community discussion

Top comments from developers on daily.dev.

**@danielolamide** · 2 upvotes

> hmm...hello world

## Similar posts on daily.dev

- [Anthropic Paper Examines Behavioral Impact of Emotion-Like Mechanisms in LLMs](https://daily.dev/posts/anthropic-paper-examines-behavioral-impact-of-emotion-like-mechanisms-in-llms-e99zitco1) · InfoQ · 0 upvotes · 0 comments
- [Making an LLM Miserable About Boston Weather](https://daily.dev/posts/making-an-llm-miserable-about-boston-weather-hrlskkdbv) · ITNEXT · 1 upvotes · 0 comments

---

Tags: [#llm](https://daily.dev/tags/llm), [#ai-safety](https://daily.dev/tags/ai-safety)

[View this post on daily.dev](https://daily.dev/posts/uqqsawin2)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/uqqsawin2","headline":"The Pain Axis: LLMs Represent Self-Directed Harm and Act on It","text":"Shared: The Pain Axis: LLMs Represent Self-Directed Harm and Act on It","url":"https://daily.dev/posts/uqqsawin2","datePublished":"2026-10-06T04:32:01.039Z","dateModified":"2026-10-06T04:33:12.409Z","author":{"@type":"Person","name":"Keith Solomon","url":"https://daily.dev/ksolomon","image":"https://avatars.githubusercontent.com/u/251996?v=4","description":"WordPress wizard 🧙‍♂️, Dev dad 🧢, Keeper of the old ways 🧓","worksFor":{"@type":"Organization","name":"Vincent Design","logo":"https://res.cloudinary.com/daily-now/image/upload/s--e0ssaGUz--/f_auto/v1731432270/companies/vincentdesign"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":5050}},"image":"https://media.daily.dev/image/upload/s--VDukGCjf--/f_auto/v1722860399/public/Placeholder%2002","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":3},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":1}],"sharedContent":{"@type":"WebPage","url":"https://api.daily.dev/r/SwmmIszMF"},"comment":[{"@type":"Comment","text":"hmm…hello world","datePublished":"2026-10-06T08:30:00.148Z","url":"https://daily.dev/posts/uqQsAwiN2#c-V9uUlbQiY","author":{"@type":"Person","name":"Daniel Olamide","url":"https://daily.dev/danielolamide","image":"https://lh3.googleusercontent.com/a/ACg8ocIm5GSLL3ehqiODZcZLtB4m72HZfe5VMQ5b3BX3ilag730ZE_s5=s96-c"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2}}],"isPartOf":{"@type":"WebPage","url":"https://daily.dev/sources/pezissvn0xvzxan9lpax4","name":"Keith Solomon"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Keith Solomon","item":"https://daily.dev/sources/pezissvn0xvzxan9lpax4"},{"@type":"ListItem","position":3,"name":"The Pain Axis: LLMs Represent Self-Directed Harm and Act on It"}]}
```

