Abstract
Language models have the potential to assess mental health using social media data by detecting patterns indicating conditions like depression or suicidal thoughts. However, current models often fail to align with clinicians' diagnostic processes and provide explanations that are difficult for professionals to interpret. We introduce Process Knowledge-infused Learning (PK-iL), a paradigm that layers clinical process knowledge structures onto language model outputs. This enables clinician-friendly explanations of underlying predictions. Tested on benchmark datasets and a new suicidality dataset, PK-iL achieves a 70% agreement with users, significantly outperforming standard explainable AI (XAI) methods.
Introduction
While Large Language Models (LLMs) excel at identifying patterns of mental health distress in social media posts, they often operate as "black boxes." Standard XAI tools like LIME or SHAP highlight influential words, but these highlights frequently lack clinical utility. Clinicians do not merely search for keywords; they follow structured diagnostic processes—series of criteria such as "Does the patient have a specific plan?" or "Are they experiencing anhedonia?"
The gap in current AI assessments is two-fold:
- Process Mismatch: Models do not explicitly follow the diagnostic steps clinicians are trained to use.
- Explanation Gap: Model outputs are not mapped to clinical concepts, making it difficult for professionals to verify the AI's reasoning.
Methodology: Process Knowledge-infused Learning (PK-iL)
PK-iL addresses these gaps by integrating explicit clinical knowledge into the neural learning process. Instead of retraining massive models, PK-iL layers "process structures" over existing language model outputs.
The framework utilizes established clinical scales, such as the Columbia Suicide Severity Rating Scale (CSSRS) and the Patient Health Questionnaire-9 (PHQ-9), represented as logical conditions ($C_1, C_2, ... C_n$). A fine-tuned language model (e.g., RoBERTa or SBERT) generates embeddings for both the input text and these clinical conditions. The system then learns similarity thresholds ($\theta$); if the similarity between a post and a condition exceeds the threshold, that condition is marked as "satisfied." This diagnostic process is converted into a mathematical objective function, allowing the model to optimize for the final label while ensuring intermediate steps align with clinical guidelines.
Datasets and Evaluation
The study utilized two primary datasets:
- CSSRS 2.0: A newly released dataset of 235 Reddit posts with expert-verified CSSRS conditions.
- PRIMATE: An existing dataset for depression triage based on the 9-condition PHQ-9 process.
The framework was tested across various backbones, including Word2Vec, SBERT, RoBERTa, T5, ERNIE, Longformer, and GPT-3.5.
Key Results
PK-iL demonstrated significant improvements in both performance and interpretability. The model achieved performance gains of up to 14% on CSSRS 2.0 and 23% on PRIMATE over baseline models.
Crucially, in qualitative evaluations, clinicians found PK-iL's explanations beneficial 70% of the time, compared to only 47% for traditional attention-based XAI methods. The synergy between LLMs (like GPT-3.5) and the PK-iL framework yielded the highest overall accuracy, suggesting that structured process guidance significantly enhances large-scale models.
Discussion and Future Directions
The shift from feature importance to concept satisfaction makes AI a more effective peer for clinicians. By anchoring models to specific clinical conditions, PK-iL also improves the handling of linguistic nuances like negation.
However, challenges remain. Models still struggle with sarcasm and casual mentions of self-harm (e.g., "I'm so bored I could die"). Future work will focus on expanding the framework to detect such nuances and refining clinical guidelines to better match the informal vocabulary of social media. The small size of expert-annotated datasets also remains a limitation for generalizability.
Summary updated