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
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.
- Dec 2, 2026Ai2 Releases MolmoWeb2 Web Agents: 27B Model Solves 75.3% of Tasks
- Dec 2, 2026Amazon Releases Ergo Open Weights for Coding: 1.1 Trillion Parameters and 2,200 Tokens per Second
- Dec 2, 2026OpenAI Opens Dots Agent to ChatGPT Plus Subscribers With 10,000+ Plugins
- Dec 2, 2026FSK Group Has Launched 395 AI Agents in Six Months, with a 97.7% Success Rate
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.
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.
Daily 60-sec AI Voice Brief + Weekly Production AI Agent Playbook
Listen to a 60-second AI news brief every morning and get a weekly hands-on playbook for shipping AI agents to production — tools, MCP servers and patterns that work. Curated by Jemal Hamidun, Head of AI at Alpina Digital.
