Team MKC at CLPsych 2026: Capturing and Characterizing Mental Health Changes through Social Media Timeline Dynamics

arXiv cs.CL Papers

Summary

This paper presents an LLM-based pipeline for analyzing mental health changes from sequentially ordered social media posts, participating in the CLPsych 2026 shared task. It performs post-level assessment and user-level temporal modeling to capture shifts in psychological well-being.

arXiv:2606.31464v1 Announce Type: new Abstract: Recent advances in Large Language Models (LLMs) have motivated their adoption across a wide range of domains, including Artificial Intelligence (AI) for mental health. Given the growing prevalence of mental health disorders worldwide and the limited accessibility of professional care, there is an increasing demand for scalable computational approaches that can assist in early detection and continuous monitoring of psychological well-being. In this area, ongoing efforts have focused on curating domain-specific datasets and leveraging them to develop LLMs capable of supporting holistic mental health analysis. In line with this direction, we propose an LLM-based pipeline for comprehensive mental health analysis over sequentially ordered user posts, as part of the CLPsych shared task. Our pipeline offers a unified framework that jointly enables post-level assessment and user-level temporal modeling.
Original Article
View Cached Full Text

Cached at: 07/01/26, 05:34 AM

# Team MKC at CLPsych 2026: Capturing and Characterizing Mental Health Changes through Social Media Timeline Dynamics
Source: [https://arxiv.org/html/2606.31464](https://arxiv.org/html/2606.31464)
Kyomin Hwang Hyeonjin Kim11footnotemark:1Hyunho Lee11footnotemark:1Nojun Kwak Seoul National University, Seoul, Republic of Korea \{kyomin98, peaceful1, hhlee822, nojunk\}@snu\.ac\.kr

###### Abstract

Recent advances in Large Language Models \(LLMs\) have motivated their adoption across a wide range of domains, including Artificial Intelligence \(AI\) for mental health\. Given the growing prevalence of mental health disorders worldwide and the limited accessibility of professional care, there is an increasing demand for scalable computational approaches that can assist in early detection and continuous monitoring of psychological well\-being\. In this area, ongoing efforts have focused on curating domain\-specific datasets and leveraging them to develop LLMs capable of supporting holistic mental health analysis\. In line with this direction, we propose an LLM\-based pipeline for comprehensive mental health analysis over sequentially ordered user posts, as part of the CLPsych shared task\. Our pipeline offers a unified framework that jointly enables post\-level assessment and user\-level temporal modeling\.

Team MKC at CLPsych 2026: Capturing and Characterizing Mental Health Changes through Social Media Timeline Dynamics

Kyomin Hwang††thanks:Equal contribution\.Hyeonjin Kim11footnotemark:1Hyunho Lee11footnotemark:1Nojun Kwak††thanks:Corresponding author\.Seoul National University, Seoul, Republic of Korea\{kyomin98, peaceful1, hhlee822, nojunk\}@snu\.ac\.kr

## 1Introduction

Recent advances in data collection and computational power have enabled the development of Large Language Models \(LLMs\) capable of performing a wide range of tasks as generalist AI systemsBrownet al\.\([2020](https://arxiv.org/html/2606.31464#bib.bib16)\)\. General\-purpose LLMs such as GPTAchiamet al\.\([2023](https://arxiv.org/html/2606.31464#bib.bib9)\)and ClaudeAnthropic \([2025](https://arxiv.org/html/2606.31464#bib.bib11)\)demonstrate remarkable versatility across diverse domains, from natural language understanding to complex reasoning and code synthesis\. Trained on vast corpora spanning web text, scientific literature, and source code, these models acquire broad world knowledge and generalize to novel tasks with minimal task\-specific supervisionKaplanet al\.\([2020](https://arxiv.org/html/2606.31464#bib.bib33)\); Kimet al\.\([2024](https://arxiv.org/html/2606.31464#bib.bib31)\); Radfordet al\.\([2019](https://arxiv.org/html/2606.31464#bib.bib32)\)\. As the capabilities of LLMs continue to expand, there is growing interest in applying these models to specialized fields such as medical, law, and scientific discoveryXieet al\.\([2023](https://arxiv.org/html/2606.31464#bib.bib14)\); Hwang and Kwak \([2026](https://arxiv.org/html/2606.31464#bib.bib12)\); Colomboet al\.\([2024](https://arxiv.org/html/2606.31464#bib.bib13)\)\.

As part of these advances, there have been efforts to apply LLMs to clinical psychology as well\. However, early attempts have faced a critical bottleneck: the scarcity of training data, which stems largely from privacy concerns surrounding sensitive personal information\. To address this limitation,Tsakalidiset al\.\([2022b](https://arxiv.org/html/2606.31464#bib.bib8)\)released a dataset while simultaneously introducing a novel task of identifying moments of change—temporal points at which shifts in a user’s mood become observable\. A growing body of subsequent work are leveraging this resource to formulate a range of tasks aimed at broader application of LLMs on mental health, with methodologies to tackle themAliet al\.\([2026](https://arxiv.org/html/2606.31464#bib.bib18)\); Tseriotouet al\.\([2025](https://arxiv.org/html/2606.31464#bib.bib19)\); Atzil\-Slonim \([2026](https://arxiv.org/html/2606.31464#bib.bib17)\); Tsakalidiset al\.\([2022a](https://arxiv.org/html/2606.31464#bib.bib20)\)\.

Building on these advancements, we present an LLM\-based pipeline for mental health analysis, developed as part of the CLPsych 2026 shared taskAliet al\.\([2026](https://arxiv.org/html/2606.31464#bib.bib18)\), which leverages a subset of the dataset introduced byTsakalidiset al\.\([2022b](https://arxiv.org/html/2606.31464#bib.bib8)\)\. Specifically, our pipeline addresses five interrelated tasks: 1\) assessing a user’s mental state at the post level; 2\) estimating the presence rate of each mental state across a user’s posting history; 3\) identifying Moments of Change within a chronologically ordered sequence of a user’s posts; 4\) summarizing the change events observed in such sequences; and 5\) detecting recurrent patterns and extracting the signature of improvement and deterioration over time\. Our pipeline tackles these tasks in integration, spanning post\-level assessment, user\-level aggregation, and temporal modeling of mental state dynamics\.

## 2Method

In this section, we present a framework for detecting how the mental state and well\-being of individuals evolve over temporally ordered sequences of social media posts\. The proposed framework consists of five components: 1\) post\-level identification of ABCD elements and self\-state, 2\) self\-state presence rating, 3\) identification of moments of change \(MOC\), 4\) summarization of sequences surrounding change events, and 5\) identification of recurrent dynamic signatures of change across timelines\. In the following subsections, we describe in detail the method employed to address each component\.

### 2\.1Step 1

The first step is to classify ABCD sub\-elementsAtzil\-Slonim \([2025](https://arxiv.org/html/2606.31464#bib.bib25)\)and self\-states at the post level\. Self\-states are categorized into two types, adaptive and maladaptive, each comprising six subdimensions\. Each post is classified into one value from the subdimension\-specific label set within each subdimension, withNonealways included as a valid option\. This yields 12 independent classification targets per post, where both the number and the semantics of candidate labels vary across subdimensions, while theNoneoption remains consistently available across all targets\.

To address the multi\-target classification problem, we employ Qwen3\-4B\-Embedding \(Qwen Embed\)Zhanget al\.\([2025](https://arxiv.org/html/2606.31464#bib.bib26)\)as a feature extractor and fine\-tune it via LoRAHuet al\.\([2022](https://arxiv.org/html/2606.31464#bib.bib28)\)\. The model is given a carefully designed prompt as in Figure[1](https://arxiv.org/html/2606.31464#A1.F1)\. The resulting embeddings are passed to 12 independent classifiers, each trained with Cross\-Entropy loss to handle its respective subdimension\.

A central challenge is the severe class imbalance in the train dataset, which causes naive training to bias the model toward majority classes\. We address this in two complementary ways\. First, we apply inverse\-frequency weighting to the Cross\-Entropy loss, assigning each class a weight inversely proportional to its frequency\. To prevent the extreme imbalance from inflating weights of rare classes and destabilizing training, we clip all weights to a maximum of 10\. Second, since using only a subset of training data under such imbalance risks learning inadequate representations for minority classes, we adopt a 5\-fold cross\-validation strategy, training a separate model on each fold and ensembling the five models for final prediction\.

### 2\.2Step 2

The second step builds on the outputs of Step 1 and focuses on predicting a numerical score for each self\-state\. Each of the two self\-states, adaptive and maladaptive, is associated with a 5\-point Likert scale score\. The goal of Step 2 is to predict these two scores individually\.

For this step, we introduce a dedicated predictor for each self\-state, which regresses a single scalar value from the embeddings produced by the feature extractor in Step 1\. Each predictor is trained using a weighted Huber lossHuber \([1964](https://arxiv.org/html/2606.31464#bib.bib29)\), where per\-sample weights are derived from the inverse frequency of each score bin \(scores 1–5\) in the training set, ensuring that underrepresented score levels receive proportionally greater emphasis during optimization\. The model output is produced by passing the final linear layer’s logit through a sigmoid activation and linearly rescaling it to the target range \[1,5\]\. We adopt the same 5\-fold cross\-validation strategy as in Step 1, training a separate model per fold and ensembling them for the final prediction\. The utilized prompt is in Figure[2](https://arxiv.org/html/2606.31464#A1.F2)\.

### 2\.3Step 3

In the third step, we address the task of detecting two distinct types of transitions from a temporally ordered sequence of posts: 1\)Switch, a substantial and sudden change in well\-being between two consecutive posts, and 2\)Escalation, a gradual intensification of mood over a sequence of consecutive posts\. We formulated this step as binary classification problem for both types\.

We fine\-tune the Qwen Embed using LoRA, attaching two independent linear classifier for Switch and Escalation, each trained separately to specialize in its respective transition pattern\. The model operates on a sliding window of size 2, taking as input the posts at time stepst−1t\-1andttto predict whether a Switch or Escalation occurs at timett\. This design reflects the local temporal dependency inherent in each task, particularly for Switch, which is defined over consecutive post pairs\.

To account for class imbalance, we employ Binary Cross\-Entropy with adaptive class weighting, where each label’s loss weight is set inversely proportional to its frequency in the training set\. Given that training on a single fold under such imbalance risks learning inadequate representations for minority classes, we adopt a 5\-fold cross\-validation strategy, training a separate model per fold and ensembling the five predictions for the final output\. The prompt used in this step is shown in Figure[3](https://arxiv.org/html/2606.31464#A1.F3)\.

### 2\.4Step 4

In the fourth step, given a sequence of posts with their associated information \(e\.g\., sub\-elements and self state\), the objective is to generate a summary of the entire sequence\. To this end, we perform Supervised Fine\-Tuning on Qwen3\-4B\-Instruct\-2507Yanget al\.\([2025](https://arxiv.org/html/2606.31464#bib.bib27)\)and Qwen3\.5\-4BQwen Team \([2026](https://arxiv.org/html/2606.31464#bib.bib30)\)with LoRA\. During training, we provide the ground\-truth annotations of each post as input, whereas at inference time we instead rely on the predictions produced by the models trained in Steps 1, 2, and 3, thereby faithfully reflecting the actual pipeline setting\. The prompts used in this step are provided in Figure[4](https://arxiv.org/html/2606.31464#A1.F4)and Figure[5](https://arxiv.org/html/2606.31464#A1.F5)\.

### 2\.5Step 5

As the final step, building on the MIND \(ABCD\) framework and the self\-state structure, we analyze how self\-state components interact and evolve across sequences surrounding change events, with the aim of identifying and summarizing dynamic patterns of psychological deterioration and improvement that recur across individuals\. To this end, we perform this analysis in a zero\-shot manner by prompting Qwen3\.5\-9BQwen Team \([2026](https://arxiv.org/html/2606.31464#bib.bib30)\)\. The prompt is provided in Figure[6](https://arxiv.org/html/2606.31464#A1.F6)and Figure[7](https://arxiv.org/html/2606.31464#A1.F7)\.Concatenating every given summary at once as the model input resulted in Out\-of\-Memory error\. We detoured this error by first splitting the given sequences into groups, extracting improvement and deterioration signature from each, and finally summarizing the signatures\.

## 3Experiment

### 3\.1Experimental Setting

In this section, we describe the experimental settings used across each step\. For Steps 1, 2, and 3, we employed Qwen Embed as the backbone model and fine\-tuned it using LoRA, with the rankr=16r=16and scaling factorα=32\\alpha=32\. The learning rate was set to1×10−51\\times 10^\{\-5\}, and a K\-fold cross\-validation strategy \(K=5\\text\{K\}=5\) was applied consistently across all three steps\. The maximum input token length was set to 786, the batch size to 16, and all models were trained for 30 epochs\. All experiments were conducted on a single NVIDIA RTX A6000 GPU, and the random seed was fixed to 42 for all experiments\. Training a single fold took approximately 42 min for Step 1 and 15 min for Step 2, with the K\-fold ensemble scaling roughly linearly\. For the SFT in Step 4, we employed LoRA with a rank ofr=8r=8and scaling factorα=16\\alpha=16, attaching adapters to all linear layers\. Training was performed with a learning rate of 2e\-4, a batch size of 8, for 10 epochs\.

Step 1Step 2AdaptiveK\-foldMacro F1 \(↑\\uparrow\)RMSE \(↓\\downarrow\)×\\timesNone0\.2320\.784Mean0\.2100\.677Voting0\.2100\.612✓\\checkmarkNone0\.3330\.777Mean0\.3120\.685Voting0\.3320\.700Table 1:Results on the validation set for Step 1 and Step 2\.Adaptiveindicates whether class\-wise adaptive weighting is applied to the classification loss\. For K\-fold, “None” denotes a single model trained without K\-fold, “Mean” aggregates the logits of the ensembled models before selecting the final prediction, and “Voting” determines the final prediction by majority voting\.TaskAdaptiveK\-foldScoreStep 1 \(F1↑\\uparrow\)✓\\checkmarkNone0\.320✓\\checkmarkMean0\.361Step 2 \(RMSE↓\\downarrow\)✓\\checkmarkNone1\.044×\\timesMean1\.010×\\timesVoting1\.003Table 2:Test\-set results for Step 1 and Step 2\. Other conventions follow Table[1](https://arxiv.org/html/2606.31464#S3.T1)\.
### 3\.2Results

##### Performance on Step 1 and Step 2:

Prior to evaluation on the test set, we randomly partition the full training data into training and validation splits at an 80/20 ratio\. Table[1](https://arxiv.org/html/2606.31464#S3.T1)reports the subelement\-average macro F1 \(Step 1\) and RMSE \(Step 2\) on the held\-out validation set\. For both Step 1 and Step 2, we examine two design factors: i\) whether adaptive weighting is applied to the classification loss \(denoted by theAdaptivecolumn\), and ii\) the K\-fold aggregation strategy\.

ForStep 1, adaptive weighting consistently outperforms its non\-weighted counterpart across all K\-fold configurations, suggesting that adaptive weighting effectively mitigates the class imbalance inherent in the label distribution \(Table[1](https://arxiv.org/html/2606.31464#S3.T1)\)\. In contrast, once adaptive weighting is applied, the choice of K\-fold aggregation strategy \(mean or majority voting\) yields only marginal differences relative to the gain obtained from adaptive weighting itself \(Table[1](https://arxiv.org/html/2606.31464#S3.T1)\)\. However, when these K\-fold strategies are applied to the test set \(Table[2](https://arxiv.org/html/2606.31464#S3.T2)\), ensembling provides a clear improvement over the single\-model baseline\. We conjecture that this discrepancy stems from the difference in data utilization: the single\-model setting \(K\-fold = None\) is trained on only 80% of the training data, as the remaining 20% is held out for model selection, whereas the K\-fold ensemble leverages the entire training set across its folds, generalizing better on the test set\.

ForStep 2, we observe that disabling adaptive weighting yields stronger validation performance \(Table[1](https://arxiv.org/html/2606.31464#S3.T1)\)\. This trend is preserved on the test set \(Table[2](https://arxiv.org/html/2606.31464#S3.T2)\), where the unweighted configuration again outperforms its weighted counterpart\. A notable divergence from the validation results, however, is that K\-fold aggregation produces consistent gains at test time across both aggregation strategies, where the*mean*strategy averages the continuous outputs of the per\-fold models and the*voting*strategy rounds each fold’s prediction to the nearest integer score and selects the mode as the final prediction\. We attribute this improvement to the more complete utilization of the training data afforded by K\-fold ensembling, which in turn translates into stronger generalization at test time\.

##### Performance on Step 3:

Table[3](https://arxiv.org/html/2606.31464#S3.T3)presents the prediction performance on the Detection of Moments of Change \(MOC\)\. As shown in the table, the 4B model outperforms the 8B model, which is likely attributable to the limited size of the training data \(approximately 500 samples\)\. With such a small dataset, the larger model is more prone to overfitting and fails to fully leverage its capacity, resulting in degraded performance\. Furthermore, ensembling the predictions of five models trained via K\-fold cross\-validation on top of Qwen3\-4B yields additional performance gains\. This suggests that maximally utilizing all available training data through K\-fold ensemble is beneficial, particularly in few\-shot learning settings\.For the same reason, we kept the sliding window at size 2\. Although a longer context could in principle capture Escalation more faithfully, models consuming wider temporal spans tend to overfit under our limited training regime, mirroring the overfitting pattern observed at the model\-capacity level\.

ModelF1 Score\(↑\\uparrow\)Qwen3\-4B0\.53Qwen3\-8B0\.49Qwen3\-4B w/ K\-fold0\.55Table 3:Performance on the test set of Step 3\.
##### Performance on Step 4 and Step 5:

Table[4](https://arxiv.org/html/2606.31464#S3.T4)presents the performance on Step 4\. As shown in the table, Qwen3\.5 generally achieves higher performance than Qwen3 across most metrics\. However, we observe that the Contradiction score of Qwen3\.5 is worse than that of Qwen3\. Nevertheless, both models underperform the Baseline, which relies on zero\-shot prompting\. We attribute this outcome to two potential factors: 1\) noise propagated from the results of the preceding Steps 1–3 may have degraded the final performance, and 2\) the training dataset may have been too small relative to the model’s capacity, suggesting that a more carefully designed prompting could have been necessary\.In such a low\-resource regime, fine\-tuning may also overwrite part of the LLM’s pretrained knowledge, whereas the zero\-shot baseline preserves it in full\. This is consistent with our Step 3 finding that the smaller Qwen3\-4B outperforms the larger Qwen3\-8B \(Table 3\)\. For Step 5, we adopted a zero\-shot approach, which resulted in performance scores of 0\.7266 on Improvement and 0\.2301 on Deterioration\.

ModelConsistencyContradictionRouge\-L\(↑\\uparrow\)\(↓\\downarrow\)Recall\(↑\\uparrow\)Baseline0\.7630\.7530\.255Qwen3\.5\-4B0\.6690\.8570\.290Qwen3\-4B0\.6540\.8340\.284Table 4:Performance on the test set of Step 4\.

## 4Discussion

##### Future Works

Our analysis of the dataset provided for the shared task revealed a significant class imbalance across the sub\-dimensions used in the Step 1 post\-level classification\. More importantly, several sub\-dimensions contained only a single training instance, and some contained none at all\. This severe sparsity likely limited the model’s ability to learn reliable decision boundaries for these categories, and may partly explain the lower performance observed on low\-resource labels\. To mitigate this issue, we adopted a K\-fold ensemble strategy in the present work\. However a more direct solution, which we leave for future research, is to use LLMs to generate synthetic user posts for the underrepresented sub\-dimensions\. This approach could help reduce both the imbalance and the missing\-label problems, leading to a more balanced training signal across all labels\.

## 5Conclusion

In this paper, we presented an LLM\-based pipeline for the CLPsych 2026 shared task on capturing mental health changes through social media timelines\. To address the class imbalance that commonly appears in mental health data, we designed a loss function that reflects the label distribution and combined it with a K\-fold ensemble strategy to improve robustness\. We also enabled the model to describe users’ mental states in natural language, either through fine\-tuning or few\-shot examples, making the outputs easier to interpret\. Building on these components, our pipeline brings post\-level and user\-level temporal modeling together into a single unified framework\.

## Limitations

In this paper, we proposed a holistic pipeline for Capturing and Characterizing Mental Health Changes through Social Media Timeline Dynamics\. Nevertheless, several limitations remain to be addressed in future work\. First, the scarcity of training data poses a significant challenge\. The dataset employed for training exhibits a substantial class imbalance, with only approximately 500 samples available in total\. Consequently, models with larger capacities tend to suffer from severe overfitting\. To mitigate this issue, one promising direction is to leverage LLM\-based data augmentation to generate additional samples, thereby constructing a more balanced dataset across all classes\. Second, the design of sophisticated prompts tailored to the mental health domain warrants further investigation\. The performance of LLMs is known to be highly sensitive to subtle variations in prompt formulation\. Although this aspect was beyond the scope of the present study, we believe that incorporating domain\-specific knowledge related to mental health into prompt engineering could further enhance the effectiveness of the proposed pipeline\.

## Ethics

The dataset provided for the CLPsych 2026 shared task contains sensitive content related to users’ mental health\. Throughout this work, we strictly followed the data handling rules announced by the CLPsych organizers and we avoided any external API service that would have required transmitting the data outside our local environment\. Our five\-step pipeline is intended as a research artifact for studying mental health dynamics, and any use of it for screening or diagnosis would require oversight by trained mental health professionals\. Automated inference of self\-states and moments of change carries non\-trivial clinical implications when errors occur: false positives may lead to unnecessary intervention, while false negatives could mean a missed opportunity for support\.

Our proposed future direction of LLM\-based synthetic data generation for underrepresented sub\-dimensions \(Section[4](https://arxiv.org/html/2606.31464#S4)\) also carries ethical risks that warrant careful consideration\. LLMs trained on broad web data may misrepresent the lived experience of clinical populations and produce stereotypical or inaccurate depictions of distress, and any such distortions may be silently propagated once the generated samples are incorporated into training\. Generating content in sensitive categories such as self\-harm further raises content\-safety concerns\. Before using such generated data for training, future work should have clinical experts review the samples and check for fairness across different demographic and language groups\.

## Acknowledgments

This work was supported by the Korean Government through the grants from IITP \(RS\-2021\-II211343, RS\-2025\-25442338, 26\-InnoCORE\-01\)

## References

- J\. Achiam, S\. Adler, S\. Agarwal, L\. Ahmad, I\. Akkaya, F\. L\. Aleman, D\. Almeida, J\. Altenschmidt, S\. Altman, S\. Anadkat,et al\.\(2023\)Gpt\-4 technical report\.arXiv preprint arXiv:2303\.08774\.Cited by:[§1](https://arxiv.org/html/2606.31464#S1.p1.1.1)\.
- I\. Ali, T\. Tseriotou, G\. Dvir, C\. Chan, Y\. Zhou, J\. A\. Lossio\-Ventura, A\. Klein, A\. Shamir, D\. Sayda, A\. Hills, A\. Zirikly, D\. Inkpen, D\. Atzil\-Slonim, and M\. Liakata \(2026\)Overview of the clpsych 2026 shared task: capturing and characterizing mental health changes through social media timeline dynamics\.InProceedings of the 11th Workshop on Computational Linguistics and Clinical Psychology,Cited by:[§1](https://arxiv.org/html/2606.31464#S1.p2.1.1),[§1](https://arxiv.org/html/2606.31464#S1.p3.1.1)\.
- Anthropic \(2025\)Claude 3\.7 Sonnet system card\.Technical reportAnthropic\.External Links:[Link](https://assets.anthropic.com/m/785e231869ea8b3b/original/claude-3-7-sonnet-system-card.pdf)Cited by:[§1](https://arxiv.org/html/2606.31464#S1.p1.1.1)\.
- D\. Atzil\-Slonim \(2025\)Multimodal intrapersonal and interpersonal dynamics \(mind\): a transtheoretical coding manual\.Open Science Framework\.External Links:[Document](https://dx.doi.org/10.17605/OSF.IO/SJE8C),[Link](https://osf.io/sje8c)Cited by:[§2\.1](https://arxiv.org/html/2606.31464#S2.SS1.p1.1.1)\.
- D\. Atzil\-Slonim \(2026\)Leveraging theoretical and technological innovations to study the mechanisms that underlie therapeutic change in psychotherapy\.InPractice\-Based Evidence in the Psychological Therapies: Toward Policy Implications for Research, Training, and Clinical Guidelines,L\. G\. Castonguay, D\. Atzil\-Slonim, M\. Barkham, and W\. Lutz \(Eds\.\),External Links:[Link](https://global.oup.com/academic/product/practice-based-evidence-in-the-psychological-therapies-9780197748305)Cited by:[§A\.1\.1](https://arxiv.org/html/2606.31464#A1.SS1.SSS1.p1.1.1),[§1](https://arxiv.org/html/2606.31464#S1.p2.1.1)\.
- T\. Brown, B\. Mann, N\. Ryder, M\. Subbiah, J\. D\. Kaplan, P\. Dhariwal, A\. Neelakantan, P\. Shyam, G\. Sastry, A\. Askell,et al\.\(2020\)Language models are few\-shot learners\.Advances in neural information processing systems33,pp\. 1877–1901\.Cited by:[§1](https://arxiv.org/html/2606.31464#S1.p1.1.1)\.
- P\. Colombo, T\. P\. Pires, M\. Boudiaf, D\. Culver, R\. Melo, C\. Corro, A\. F\. Martins, F\. Esposito, V\. L\. Raposo, S\. Morgado,et al\.\(2024\)Saullm\-7b: a pioneering large language model for law\.arXiv preprint arXiv:2403\.03883\.Cited by:[§1](https://arxiv.org/html/2606.31464#S1.p1.1.1)\.
- J\. Devlin, M\. Chang, K\. Lee, and K\. Toutanova \(2019\)Bert: pre\-training of deep bidirectional transformers for language understanding\.InProceedings of the 2019 conference of the North American chapter of the association for computational linguistics: human language technologies, volume 1 \(long and short papers\),pp\. 4171–4186\.Cited by:[§A\.1\.1](https://arxiv.org/html/2606.31464#A1.SS1.SSS1.p1.1.1)\.
- E\. J\. Hu, Y\. Shen, P\. Wallis, Z\. Allen\-Zhu, Y\. Li, S\. Wang, L\. Wang, W\. Chen,et al\.\(2022\)Lora: low\-rank adaptation of large language models\.\.Iclr1\(2\),pp\. 3\.Cited by:[§2\.1](https://arxiv.org/html/2606.31464#S2.SS1.p2.1.1)\.
- P\. J\. Huber \(1964\)Robust estimation of a location parameter\.Annals of Mathematical Statistics35,pp\. 492–518\.External Links:[Link](https://api.semanticscholar.org/CorpusID:121252793)Cited by:[§2\.2](https://arxiv.org/html/2606.31464#S2.SS2.p2.1.1)\.
- K\. Hwang and N\. Kwak \(2026\)Retrieval\-augmented generation based nurse observation extraction\.arXiv preprint arXiv:2603\.26046\.Cited by:[§1](https://arxiv.org/html/2606.31464#S1.p1.1.1)\.
- S\. Ji, T\. Zhang, L\. Ansari, J\. Fu, P\. Tiwari, and E\. Cambria \(2022\)MentalBERT: publicly available pretrained language models for mental healthcare\.InProceedings of the Thirteenth Language Resources and Evaluation Conference,N\. Calzolari, F\. Béchet, P\. Blache, K\. Choukri, C\. Cieri, T\. Declerck, S\. Goggi, H\. Isahara, B\. Maegaard, J\. Mariani, H\. Mazo, J\. Odijk, and S\. Piperidis \(Eds\.\),Marseille, France,pp\. 7184–7190\.External Links:[Link](https://aclanthology.org/2022.lrec-1.778/)Cited by:[§A\.1\.1](https://arxiv.org/html/2606.31464#A1.SS1.SSS1.p1.1.1)\.
- J\. Kaplan, S\. McCandlish, T\. Henighan, T\. B\. Brown, B\. Chess, R\. Child, S\. Gray, A\. Radford, J\. Wu, and D\. Amodei \(2020\)Scaling laws for neural language models\.arXiv preprint arXiv:2001\.08361\.Cited by:[§1](https://arxiv.org/html/2606.31464#S1.p1.1.1)\.
- T\. Kim, P\. Ahn, S\. Kim, S\. Lee, M\. Marsden, A\. Sala, S\. H\. Kim, B\. Han, K\. M\. Lee, H\. Lee, K\. Bae, X\. Wu, Y\. Gao, H\. Zhang, Y\. Yang, W\. Guo, J\. Lu, Y\. Oh, J\. W\. Cho, D\. Kim, I\. S\. Kweon, J\. Kim, W\. Kang, W\. Y\. Jhoo, B\. Roh, J\. Mun, S\. Oh, K\. E\. Ak, G\. Lee, Y\. Xu, M\. Shen, K\. Hwang, W\. Shin, K\. Lee, W\. Park, D\. Lee, N\. Kwak, Y\. Wang, Y\. Wang, T\. Gu, X\. Lv, and M\. Sun \(2024\)NICE: cvpr 2023 challenge on zero\-shot image captioning\.InProceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition \(CVPR\) Workshops,pp\. 7356–7365\.Cited by:[§1](https://arxiv.org/html/2606.31464#S1.p1.1.1)\.
- Qwen Team \(2026\)Qwen3\.5: towards native multimodal agents\.External Links:[Link](https://qwen.ai/blog?id=qwen3.5)Cited by:[§2\.4](https://arxiv.org/html/2606.31464#S2.SS4.p1.1.1),[§2\.5](https://arxiv.org/html/2606.31464#S2.SS5.p1.1.1)\.
- A\. Radford, J\. Wu, R\. Child, D\. Luan, D\. Amodei, and I\. Sutskever \(2019\)Language models are unsupervised multitask learners\.External Links:[Link](https://api.semanticscholar.org/CorpusID:160025533)Cited by:[§1](https://arxiv.org/html/2606.31464#S1.p1.1.1)\.
- H\. Touvron, L\. Martin, K\. Stone, P\. Albert, A\. Almahairi, Y\. Babaei, N\. Bashlykov, S\. Batra, P\. Bhargava, S\. Bhosale,et al\.\(2023\)Llama 2: open foundation and fine\-tuned chat models\.arXiv preprint arXiv:2307\.09288\.Cited by:[§A\.1\.1](https://arxiv.org/html/2606.31464#A1.SS1.SSS1.p1.1.1)\.
- A\. Tsakalidis, J\. Chim, I\. M\. Bilal, A\. Zirikly, D\. Atzil\-Slonim, F\. Nanni, P\. Resnik, M\. Gaur, K\. Roy, B\. Inkster, J\. Leintz, and M\. Liakata \(2022a\)Overview of the CLPsych 2022 shared task: capturing moments of change in longitudinal user posts\.InProceedings of the Eighth Workshop on Computational Linguistics and Clinical Psychology,A\. Zirikly, D\. Atzil\-Slonim, M\. Liakata, S\. Bedrick, B\. Desmet, M\. Ireland, A\. Lee, S\. MacAvaney, M\. Purver, R\. Resnik, and A\. Yates \(Eds\.\),Seattle, USA,pp\. 184–198\.External Links:[Link](https://aclanthology.org/2022.clpsych-1.16/),[Document](https://dx.doi.org/10.18653/v1/2022.clpsych-1.16)Cited by:[§A\.1\.1](https://arxiv.org/html/2606.31464#A1.SS1.SSS1.p1.1.1),[§1](https://arxiv.org/html/2606.31464#S1.p2.1.1)\.
- A\. Tsakalidis, F\. Nanni, A\. Hills, J\. Chim, J\. Song, and M\. Liakata \(2022b\)Identifying moments of change from longitudinal user text\.InProceedings of the 60th Annual Meeting of the Association for Computational Linguistics \(Volume 1: Long Papers\),S\. Muresan, P\. Nakov, and A\. Villavicencio \(Eds\.\),Dublin, Ireland,pp\. 4647–4660\.External Links:[Link](https://aclanthology.org/2022.acl-long.318/),[Document](https://dx.doi.org/10.18653/v1/2022.acl-long.318)Cited by:[§A\.1\.2](https://arxiv.org/html/2606.31464#A1.SS1.SSS2.p1.1.1),[§1](https://arxiv.org/html/2606.31464#S1.p2.1.1),[§1](https://arxiv.org/html/2606.31464#S1.p3.1.1)\.
- T\. Tseriotou, J\. Chim, A\. Klein, A\. Shamir, G\. Dvir, I\. Ali, C\. Kennedy, G\. Singh Kohli, A\. Hills, A\. Zirikly, D\. Atzil\-Slonim, and M\. Liakata \(2025\)Overview of the CLPsych 2025 shared task: capturing mental health dynamics from social media timelines\.InProceedings of the 10th Workshop on Computational Linguistics and Clinical Psychology \(CLPsych 2025\),A\. Zirikly, A\. Yates, B\. Desmet, M\. Ireland, S\. Bedrick, S\. MacAvaney, K\. Bar, and Y\. Ophir \(Eds\.\),Albuquerque, New Mexico,pp\. 193–217\.External Links:[Link](https://aclanthology.org/2025.clpsych-1.16/),[Document](https://dx.doi.org/10.18653/v1/2025.clpsych-1.16),ISBN 979\-8\-89176\-226\-8Cited by:[§1](https://arxiv.org/html/2606.31464#S1.p2.1.1)\.
- T\. Xie, Y\. Wan, W\. Huang, Z\. Yin, Y\. Liu, S\. Wang, Q\. Linghu, C\. Kit, C\. Grazian, W\. Zhang,et al\.\(2023\)Darwin series: domain specific large language models for natural science\.arXiv preprint arXiv:2308\.13565\.Cited by:[§1](https://arxiv.org/html/2606.31464#S1.p1.1.1)\.
- A\. Yang, A\. Li, B\. Yang, B\. Zhang, B\. Hui, B\. Zheng, B\. Yu, C\. Gao, C\. Huang, C\. Lv,et al\.\(2025\)Qwen3 technical report\.arXiv preprint arXiv:2505\.09388\.Cited by:[§2\.4](https://arxiv.org/html/2606.31464#S2.SS4.p1.1.1)\.
- K\. Yang, T\. Zhang, Z\. Kuang, Q\. Xie, J\. Huang, and S\. Ananiadou \(2024\)MentaLLaMA: interpretable mental health analysis on social media with large language models\.InProceedings of the ACM Web Conference 2024,pp\. 4489–4500\.Cited by:[§A\.1\.1](https://arxiv.org/html/2606.31464#A1.SS1.SSS1.p1.1.1)\.
- Y\. Zhang, M\. Li, D\. Long, X\. Zhang, H\. Lin, B\. Yang, P\. Xie, A\. Yang, D\. Liu, J\. Lin,et al\.\(2025\)Qwen3 embedding: advancing text embedding and reranking through foundation models\.arXiv preprint arXiv:2506\.05176\.Cited by:[§2\.1](https://arxiv.org/html/2606.31464#S2.SS1.p2.1.1)\.

## Appendix AAppendix

### A\.1Related Works

#### A\.1\.1NLP Approaches in Psychological Assessment

The proliferation of large\-scale datasets and the rapid advancement of computational resources have driven the emergence of foundation models capable of performing a wide range of tasks in a generalized manner, spanning both computer vision and natural language processing\. These breakthroughs have subsequently inspired researchers to explore the applicability of such models in specialized domains, including psychology and mental healthcareTsakalidiset al\.\([2022a](https://arxiv.org/html/2606.31464#bib.bib20)\); Atzil\-Slonim \([2026](https://arxiv.org/html/2606.31464#bib.bib17)\)\. MentalBERTJiet al\.\([2022](https://arxiv.org/html/2606.31464#bib.bib21)\)represents an early effort in this direction, extending the general\-purpose BERT architectureDevlinet al\.\([2019](https://arxiv.org/html/2606.31464#bib.bib23)\)through continued domain\-adaptive pretraining on mental health\-related corpora, enabling the extraction of psychologically grounded contextual embeddings\. Building upon this line of work, MentalLLaMAYanget al\.\([2024](https://arxiv.org/html/2606.31464#bib.bib22)\)shifts from a purely representational paradigm to a generative one by leveraging LLaMATouvronet al\.\([2023](https://arxiv.org/html/2606.31464#bib.bib24)\), an instruction\-tuned large language model, and further applying supervised fine\-tuning on a curated collection of mental health\-specific instruction datasets\. This allows MentalLLaMA to perform a diverse array of mental health tasks in a conversational and interpretable manner, going beyond the embedding\-focused capabilities of its predecessor\. Motivated by these advances in NLP for mental health, this paper aims to leverage large language models \(LLM\) trained on large\-scale data to capture and characterize longitudinal changes in mental health states within social media timelines\.

#### A\.1\.2Collecting Psychological Data for NLP

Unlike general\-purpose tasks, domains such as psychology present unique challenges in data collection, including privacy concerns and ethical constraints, which inevitably limit the scale and accessibility of psychological data\. To address these limitations and advance NLP research in the psychological domain,[Tsakalidiset al\.](https://arxiv.org/html/2606.31464#bib.bib8)curated a large\-scale mental health counseling dataset sourced from social media\. Building upon this dataset, subsequent works have explored a diverse range of mental health\-related tasks, including mood change detection, suicide risk classification, and the identification and summarization of suicide risk evidence, thereby contributing to the broader development of AI for psychology\. Motivated by these advances, this paper presents a framework proposed as part of the CLPsych shared task, aimed at capturing and characterizing mental health changes through social media timeline dynamics\.

### A\.2Prompt Specifications

Figures[1](https://arxiv.org/html/2606.31464#A1.F1),[2](https://arxiv.org/html/2606.31464#A1.F2),[3](https://arxiv.org/html/2606.31464#A1.F3),[4](https://arxiv.org/html/2606.31464#A1.F4), and[5](https://arxiv.org/html/2606.31464#A1.F5)illustrate the prompts employed in each respective task\. For the few\-shot examples in the Step 4 prompt, instances drawn from the provided dataset were utilized\. Specifically, each example was constructed by incorporating the MoC label \(i\.e\.,Switch and Escalation indicators\), the Maladaptive presence score, the Adaptive presence score, and the composition of each corresponding state as input\.

![Refer to caption](https://arxiv.org/html/2606.31464v1/x1.png)Figure 1:Prompt used for Post\-Level Identification of Dominant ABCD Sub\-elements and Self\-State Composition![Refer to caption](https://arxiv.org/html/2606.31464v1/x2.png)Figure 2:Prompt used for Self State Presence Rating![Refer to caption](https://arxiv.org/html/2606.31464v1/x3.png)Figure 3:Prompt used for Identify Moments of Change \(MOC\)![Refer to caption](https://arxiv.org/html/2606.31464v1/x4.png)Figure 4:Prompt used for Summarization![Refer to caption](https://arxiv.org/html/2606.31464v1/x5.png)Figure 5:Prompt used for Summarization![Refer to caption](https://arxiv.org/html/2606.31464v1/x6.png)Figure 6:Prompt used for Step 5 \(Improvement\)![Refer to caption](https://arxiv.org/html/2606.31464v1/x7.png)Figure 7:Prompt used for Step 5 \(Deterioration\)

Similar Articles

An Agentic LLM-Based Framework for Population-Scale Mental Health Screening

arXiv cs.AI

Proposes an agentic framework using LangChain agents for population-scale mental health screening, focusing on depression detection from clinical transcripts. The framework incrementally locks validated stages and uses proxy-guided evaluation to ensure trustworthiness and adaptability.