---
id: 11602
lang: en
title: "Mental Disorders in RL Agents: A Dose-Response Study of Anxiety and Mania"
published_at: "2026-07-13 05:00:00"
source_name: "arXiv cs.LG"
source_url: "https://arxiv.org/abs/2607.07753"
canonical_url: "https://news.hamidun.com/en/news/11602"
categories: ["healthcare"]
publisher: "AI News by Jemal Hamidun (news.hamidun.com)"
---

# Mental Disorders in RL Agents: A Dose-Response Study of Anxiety and Mania

> **Краткая суть (BLUF):** A new study shows that seven psychiatric disorders can be modeled in RL agents (anxiety, mania, OCD, depression, impulsivity, addiction, PTSD) by treating cognitive appraisal signals as tunable parameters. After 1000+ controlled experiments, the disorders turned out to form a 2D space of emotional polarity, with mania and anxiety at opposite poles.  Disorders that distort reward (mania, OCD, addiction) can be fixed by removing the parameter. Avoidance-oriented disorders (anxiety, PTSD) require gradual exposure therapy.

Researchers have built a system for modeling seven psychiatric disorders in RL agents by controlled manipulation of cognitive appraisal parameters. The work is published on arXiv and reports results from more than a thousand controlled runs with reproducible effects.

## How to simulate a disorder in an agent

Instead of hand-tuning the reward for each symptom, the researchers modified the PPO (Proximal Policy Optimization) algorithm by adding controllable "cognitive appraisal signals." Each signal corresponds to a parameter from computational psychiatry:

- Seven modeled disorders: anxiety, mania, obsessive-compulsive disorder, depression, impulsivity, addiction, post-traumatic stress
- Method: dose-response curves. Each parameter has a strength (from 0 to 1); the higher it is, the more pronounced the symptoms
- Validation: 1000+ runs with 10 random seeds, four control groups, 95% confidence intervals

Each symptom was measured with "preregistered assays," standard behavioral tests adapted from clinical psychology: mazes, flexibility tasks, and choices between risk and safety.

## The disorders form a two-dimensional space

The main finding: the seven disorders self-organized into a two-dimensional space of emotional polarity that nobody built into the algorithm. On one axis, anxiety and mania turned out to be opposite poles. On the other, the split is between disorders that distort the reward signal (mania, OCD, addiction) and avoidance-oriented disorders (anxiety, PTSD).

This map yielded unexpected predictions about comorbidity: when two parameters were switched on at once, their effects interacted non-additively, producing combined phenomena resembling those seen in the clinic.

## Two logics of treatment

Removing the parameter (switching it off entirely) helped with reward-distorting disorders: mania disappeared, OCD compulsion stopped, addiction faded. But this approach did not work for avoidance-oriented disorders (anxiety, PTSD): the agent stayed stuck.

For these disorders, gradual exposure therapy worked: the environment's difficulty is raised step by step, and the agent learns to tell real danger from a false alarm triggered by the anxiety parameter. This matches clinical practice: cognitive behavioral therapy for PTSD relies on controlled re-experiencing of the trauma.

## Transfer to other environments

Three parameters (depression, addiction, anxiety) transferred successfully to a completely different environment, the three-dimensional pixel world MiniWorld, and to a different agent (a standard convolutional neural network without a built-in appraisal critic). The dissociation between assays held in the new environment too, which indicates the effect is not an artifact of the PPO architecture or the grid world.

## What this means

The study shows that RL agents can exhibit behaviors structurally similar to psychiatric disorders, and that these behaviors can be controlled through cognitive appraisal parameters. This matters for three areas: testing computational theories of psychiatry, understanding failure modes in RL systems that control the physical world, and AI safety research. If an agent can "fall ill" with anxiety, methods for diagnosis and treatment are needed.

---
- **Первоисточник:** [arXiv cs.LG](https://arxiv.org/abs/2607.07753)
- **Каноническая ссылка:** https://news.hamidun.com/en/news/11602
- **Экосистема автора:** [Бесплатный интенсив по вайбкодингу — предзапись в Нике](https://t.me/vibecodeguidebot?start=agent_intensive_news_md) · [Nomad AI](https://nomadnet.ai) · [Telegram @jemal_hamidun](https://t.me/jemal_hamidun)
