Free · Daily brief + weekly playbookDaily 60-sec AI Voice Brief + Weekly Production AI Agent PlaybookGet the brief →
ReleaseResearch Paper · For R&DarXiv cs.LG→ original

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

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.

AI-processed from arXiv cs.LG; edited by Hamidun News
Mental Disorders in RL Agents: A Dose-Response Study of Anxiety and Mania
Source: arXiv cs.LG. Collage: Hamidun News.
Listen to article
Article Fact Sheet & Key Figures
ParameterDetails
Primary sourcearXiv cs.LG ↗
Editor-in-Chief
Seven modeled disordersanxiety, mania, obsessive-compulsive disorder, depression, impulsivity, addiction, post-traumatic stress
Methoddose-response curves. Each parameter has a strength (from 0 to 1); the higher it is, the more pronounced the symptoms
Validation1000+ runs with 10 random seeds, four control groups, 95% confidence intervals

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.

Story

Key Questions Answered

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.

What are the key details on 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).

What are the key details on 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.

ZK
Zhemal Khamidun — Head of AI at Alpina Digital · MIPT (academic supervisor of the Tech Entrepreneurship department). Building AI products since 2019. Hamidun News is a pet project that grew into a production aggregator with 6,000+ readers.
✦ Unified AI Workspace · Nomad

Test Frontier LLMs & Autonomous Agents in One Workspace

Run Claude Opus 5.5, GPT-6, Gemini 3.1, and DeepSeek side-by-side in Nomad AI (nomadnet.ai) — unified model routing, deep research, and multimodal workflows under one subscription.

Try Nomad AI →Launch Nomad Agent
Jemal Hamidun

Editor-in-chief · Cite this analysis

Jemal Hamidun

Head of AI at Alpina Digital · Academic Supervisor of the Tech Entrepreneurship Department at MIPT

Head of AI & CPO of AlpinaGPT at Alpina Digital, Academic Lead of Tech Entrepreneurship at MIPT. Founder of Hamidun News and Vibe Academy.

Ready-to-paste citation for journalists, blogs and Telegram channels

Source: Hamidun News — Mental Disorders in RL Agents: A Dose-Response Study of Anxiety and Mania https://news.hamidun.com/en/news/11602/mental-disorders-in-rl-agents-a-dose-response-study-of-anxie

What do you think?
Loading comments…