Perspectives in Psychiatric Care

A Simulation Study of Transformer‐Guided Sequential and Combination Treatment Strategies for Inpatient Aggression in Psychiatric Nursing

Yanqing Lv, Chenxi Zhong, Xia Luo, Fengxiang Zeng, Meiling Xie, Yingfei Deng

Computational · n=1,050

Key points

From the paper's conclusion
  • Objective To establish a transformer‐based simulation framework for optimizing sequential and combination treatment strategies in narrative‐based psychiatric nursing and to benchmark its performance against ridge regression and GRU models.

Abstract

Objective To establish a transformer‐based simulation framework for optimizing sequential and combination treatment strategies in narrative‐based psychiatric nursing and to benchmark its performance against ridge regression and GRU models. Methods Synthetic patient cohorts ( n = 1050 per module) were generated from a data‐generating process empirically calibrated on real‐world inpatient panel data ( N = 389). An order module compared sequential psychological support and nurse–patient communication pathways (P then C vs. C then P); a combination module evaluated monotherapy versus combined treatment across four aggression profiles. A no‐oracle transformer (d_model = 64, nhead = 4) was trained alongside ridge regression and GRU under identical constraints. Three‐arm strategy simulation (transformer‐guided, rule‐based, and random) and Monte Carlo sensitivity analysis (21,000 runs) assessed robustness. Results C then P consistently outperformed P then C (mean improvement 8.18 vs. 7.26; severe event rate 25.4% vs. 32.6%). In independent benchmarking, the transformer achieved the highest validation performance ( R 2 = 0.723, AUROC = 0.887), exceeding GRU ( R 2 = 0.655) and ridge ( R 2 = 0.277). In strategy simulation, transformer‐guided assignment yielded significantly greater improvement than all alternatives ( p < 0.004). Sensitivity analysis confirmed the order module was robust (power > 80% at n ≥ 160 per arm), while the combination module was fragile (power 46%–57% at n = 200). Conclusion The transformer architecture effectively models sequential treatment relationships, outperforming both linear and GRU baselines. The C then P strategy is robust and ready for prospective validation; combination treatment selection requires larger samples or improved models.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers

A Simulation Study of Transformer‐Guided Sequential and Combination Treatment Strategies for Inpatient Aggression in Psychiatric Nursing — Science Skim