Agentic AI for Long-Context Reasoning in Suicidal Encounter Identification from Clinical Notes

Aayush Sangani, Ben Gerber, Adrian Zai, Sharina Person, Edwin D. Boudreaux, Feifan LiuBHI 2026

Abstract

Accurate identification of emergency department (ED) encounters involving suicidal ideation and suicide attempt is essential for public health surveillance, case ascertainment, and evaluation of suicide prevention interventions, yet reliance on structured diagnosis codes substantially underestimates true case volume since suicidality is often documented only in narrative text. Large language models (LLMs) have shown promise in the biomedical domain, and Agentic AI has demonstrated further gains across clinical applications, though its potential for suicidal encounter identification in the ED setting remains largely unexplored. We developed a two-phase agentic workflow that extracts and validates LLM-based risk signals, then applies an autonomous, confidence-gated self-correction pass that re-examines only low-confidence notes. A LangGraph-orchestrated state graph calibrates multiple complementary risk signals via Direct Bayesian Model Averaging and escalates residual disagreement to an LLM adjudication agent. Benchmarked against traditional machine learning, encoder-based language models, and a same backbone decoder-based LLM baseline in a cohort of 721 ED encounters, the agentic Mistral-Instruct framework achieved the highest area under the precision--recall curve (PR-AUC) and sensitivity for suicidal ideation (88.3\% PR-AUC, 89.7\% sensitivity) and suicide attempt (70.0\% PR-AUC, 85.7\% sensitivity) among all evaluated models. An ablation confirmed that this gating was beneficial: forcing both agentic components to act on every note, rather than only when their respective gates fired, degraded every metric. These findings indicate that autonomy-gated workflow design can improve decoder-based LLMs for low-resource clinical case identification, while prospective multisite validation remains necessary before deployment.
BibTeX
@inproceedings{sangani2026agentic,
  author = {Aayush Sangani and Ben Gerber and Adrian Zai and Sharina Person and Edwin D. Boudreaux and Feifan Liu},
  title = {{Agentic AI for Long-Context Reasoning in Suicidal Encounter Identification from Clinical Notes}},
  booktitle = {BHI},
  year = {2026},
  url = {https://openreview.net/forum?id=kH7vWlu9jN},
}

Loading related content...

Figure