Mitigating Data Scarcity in Psychological Defense Classification with Context-Aware Synthetic Augmentation
Summary
This paper proposes a context-aware synthetic augmentation framework combined with a hybrid classification model to address data scarcity and class imbalance in classifying psychological defense mechanisms from text. The method achieves significant improvements on the PsyDefDetect shared task benchmark.
View Cached Full Text
Cached at: 05/15/26, 06:21 AM
# Mitigating Data Scarcity in Psychological Defense Classification with Context-Aware Synthetic Augmentation
Source: [https://arxiv.org/html/2605.14380](https://arxiv.org/html/2605.14380)
Hoang\-Thuy\-Duong Vu1,2,Quoc\-Cuong Pham1,2,Huy\-Hieu Pham1,2,3
1College of Engineering and Computer Science, VinUniversity, Hanoi, Vietnam 2VinUni\-Illinois Smart Health Center, VinUniversity, Hanoi, Vietnam 3Center for Innovations in Health Sciences, VinUniversity, Hanoi, Vietnam \{26duong\.vht, 24cuong\.pq, hieu\.ph\}@vinuni\.edu\.vn
###### Abstract
Psychological defense mechanisms \(PDMs\) are unconscious cognitive processes that modulate how individuals perceive and respond to emotional distress\. Automatically classifying PDMs from text is clinically valuable but severely hindered by data scarcity and class imbalance, challenges which generative augmentation alone cannot resolve without psychological grounding\. In this work, we address these challenges in the PsyDefDetect shared task \(BioNLP@ACL 2026\) by proposing a context\-aware synthetic augmentation framework combined with a hybrid classification model\. Our hybrid model integrates contextual language representations with basic clinical features, along with 150 annotated defense items\. Experiments demonstrate that definition quality in prompting directly governs generation fidelity and downstream performance\. Our method surpassesDMRS Co\-Pilot, reaching an accuracy of 58\.26% \(\+40\.25%\) and a macro\-F1 of 24\.62% \(\+15\.99%\), thereby establishing a strong baseline for psychologically grounded defense mechanism classification in low\-resource settings\. Source code is available at:[https://github\.com/htdgv/CASA\-PDC](https://github.com/htdgv/CASA-PDC)\.
VISHC at PsyDefDetect: Mitigating Data Scarcity in Psychological Defense Classification with Context\-Aware Synthetic Augmentation
Hoang\-Thuy\-Duong Vu1,2, Quoc\-Cuong Pham1,2, Huy\-Hieu Pham1,2,3††thanks:Corresponding author:[hieu\.ph@vinuni\.edu\.vn](https://arxiv.org/html/2605.14380v1/mailto:[email protected])1College of Engineering and Computer Science, VinUniversity, Hanoi, Vietnam2VinUni\-Illinois Smart Health Center, VinUniversity, Hanoi, Vietnam3Center for Innovations in Health Sciences, VinUniversity, Hanoi, Vietnam\{26duong\.vht, 24cuong\.pq, hieu\.ph\}@vinuni\.edu\.vn
## 1Introduction
Psychological Defense Mechanisms \(PDMs\) present a unique challenge for Natural Language Processing \(NLP\) field, particularly, they are unconscious, context dependent processes that appear through subtle cues such as narrative inconsistency, shifts in emotional framing, and distorted attribution, rather than clear lexical markersVaillant \([1994](https://arxiv.org/html/2605.14380#bib.bib25)\); Cramer \([1987](https://arxiv.org/html/2605.14380#bib.bib23)\); Bondet al\.\([1983](https://arxiv.org/html/2605.14380#bib.bib15)\)\. This implicit nature creates semantic ambiguity in which identical surface text may reflect distinct defensive processes, depending on underlying intent and psychological context, leading standard token or sentence level models to conflate adaptive coping with maladaptive defenses\.
Data scarcity and class imbalance further compound these difficulties\. Synthetic augmentation via Large Language Models \(LLMs\) offers a natural remedy, yet without psychologically grounded constraints, generative models produce fluent but theoretically invalid text, creating hallucinating defenses that introduce noise and erode model reliabilityJiet al\.\([2023](https://arxiv.org/html/2605.14380#bib.bib19)\); Naet al\.\([2025](https://arxiv.org/html/2605.14380#bib.bib27)\); Anaby\-Tavoret al\.\([2020](https://arxiv.org/html/2605.14380#bib.bib11)\); Kumaret al\.\([2020](https://arxiv.org/html/2605.14380#bib.bib9)\)\. A key point is that the PsyDefDetect shared taskNaet al\.\([2026a](https://arxiv.org/html/2605.14380#bib.bib26)\)on thePsyDefConvdatasetNaet al\.\([2026b](https://arxiv.org/html/2605.14380#bib.bib28)\), based on theESConvdatasetLiuet al\.\([2021](https://arxiv.org/html/2605.14380#bib.bib14)\), introduces two auxiliary labels,No Defense\(Level 0\) andNeed More Information\(Level 8\), that carry no corresponding clinical defense itemsDi Giuseppe and Perry \([2021](https://arxiv.org/html/2605.14380#bib.bib17)\)\. These labels violate standard multi\-class assumptions and produce skew distributions, making defense\-item\-based feature extraction underspecified, demanding a principled reformulation of the task\.
We address these challenges in the PsyDefDetect shared\-task through context\-aware synthetic augmentation paired with a Hybrid Feature Fusion architecture\. Specifically, our contributions are:
- •Psychologically grounded augmentation\.Stressor\-anchored, theory\-driven prompts with class\-specific definitions from the Defense Mechanisms Rating Scales \(DMRS\) for synthetic augmentation to ensure generating high\-fidelity examples, demonstrating that definition quality in prompting governs downstream performance\.
- •Clinical feature engineering\.Structured features from all 150 defense items, along with basic clinical features, are fused with contextual language representations, bridging clinical theory and neural classification\.
- •Strong low\-resource baseline\.Using Llama\-3\-8B\-Instruct as data generator, our system improves accuracy \(18\.01% to 58\.26%\) and macro\-F1 \(8\.63% to 24\.62%\) on thePsyDefConvblind\-test set, establishing a competitive foundation for PDM classification\.
Figure 1:Overview of the multi\-stage research pipeline\. The process begins with \(1\) LLM\-based stressor identification to establish contextual grounding; \(2\) context\-aware synthetic data augmentation to address class imbalance; and \(3\) a dual\-domain feature extraction stage targeting linguistic heuristics and clinical DMRS mechanism indicators; followed by the final classification\.
## 2Methodology
We address PDM classification under data scarcity through three stages: \(1\) a context aware synthetic data augmentation pipeline grounded in clinical theory; \(2\) a dual\-domain feature extraction stage, combining linguistic heuristics with DMRS derived defense profiles; and \(3\) a hybrid fusion architecture that integrates contextual language representations with structured clinical features \(Figure[1](https://arxiv.org/html/2605.14380#S1.F1)\)\.
### 2\.1Context\-Aware Data Augmentation
Standard augmentation methods such as paraphrasing and back translationWei and Zou \([2019](https://arxiv.org/html/2605.14380#bib.bib10)\)introduce diversity in phrasing but do not retain the functional role of defense mechanisms\. We present a Synthetic Data Augmentation \(SDA\) pipeline based on Llama\-3\-8B\-Instruct that captures the psychological conditions that give rise to defenses, with emphasis on function instead of form\.
#### Stressor\-Anchored Generation\.
Defense mechanisms emerge in response to perceived stressors rather than in isolation\. Each prompt is anchored in a key stressor identified from the dialogue, such as interpersonal conflict, job loss, or social rejection\. This approach promotes responses that reflect realistic defensive behavior instead of generic expressions of emotion\.
#### Theory\-Driven Prompting\.
To control semantic drift and reduce label inconsistency, each prompt defines the target defense level using structured clinical details from the DMRS frameworkDi Giuseppe and Perry \([2021](https://arxiv.org/html/2605.14380#bib.bib17)\)\. These details include the defense name, its formal definition, and common linguistic and behavioral patterns\. Paired with few\-shot examples \(Appendix[A\.3](https://arxiv.org/html/2605.14380#A1.SS3)\), this design steers generation toward samples that express the theoretical role of each defense rather than relying on surface plausibilityBrownet al\.\([2020](https://arxiv.org/html/2605.14380#bib.bib6)\)\.
### 2\.2Data Quality Control
Table 1:Synthetic data quality per class\.SB: Self\-BLEUZhuet al\.\([2018](https://arxiv.org/html/2605.14380#bib.bib3)\)\(lower = greater lexical diversity\);SA: Semantic Adherence via Natural Language Inference \(NLI\) entailment \(higher = stronger label alignment\)\. Class 7 \(High\-Adaptive\) is excluded from augmentation due to sufficient original samples; all other classes are capped atN=500N\{=\}500synthetic instances\.Uncontrolled generation may introduce label noise and artifacts\. To mitigate this, we use two quality control steps\. First, a soft balancing scheme restricts each minority class to 500 total samples \(real plus synthetic\), which helps reduce overfitting to generation specific patterns\. We examine five augmentation settings:×1\\times 1,×2\\times 2,×5\\times 5,×8\\times 8, and×10\\times 10, together with the 500 cap variant\. Second, a machine as annotator filter applies a secondary classifier to assign labels to generated batches; Only batches achieving a Cohen’s Kappa ofκ≥0\.60\\kappa\\geq 0\.60Cohen \([1960](https://arxiv.org/html/2605.14380#bib.bib5)\), reflecting substantial agreement, are retained \(Table[1](https://arxiv.org/html/2605.14380#S2.T1)\)\.
### 2\.3Feature Extraction
Each seeker utterance is represented by two complementary feature sets: \(i\) lightweight linguistic heuristics capturing surface\-level cues, and \(ii\) clinically grounded DMRS\-derived features encoding latent defensive functioning\.
#### Linguistic and Heuristic Features\.
We define six lightweight features to distinguish non\-defensive \(Label 0\) from defensive responses, which are often conflated:Utterance Length\(narrative elaboration proxy\),I\-Pronoun Density\(self\-focus\),Insight Density\(reflective reasoning\),Phatic Flag\(short filler utterances\),Mature Coping Flag\(triggered by length\>12\>12, high insight, and elevated I\-pronouns\), andEmotion Intensity\(model confidence in non\-neutral predictions\)\.
#### DMRS Defense Profile\.
We approximate latent defensive functioning using a four\-step indicator inference procedure:
1. 1\.Indicator Scoring:An NLI model estimates entailment probabilityP\(T⇒Ij\)P\(T\\Rightarrow I\_\{j\}\)for each of 150 DMRS indicators given utteranceTT\.
2. 2\.Mechanism Aggregation:Indicator scores are grouped into 30 defense mechanisms and normalized to form mechanism scoresS\(Mk\)S\(M\_\{k\}\)\.
3. 3\.Profile Construction:The resulting 30\-dimensional vector defines the Defense Profile of the utterance\.
4. 4\.Level Mapping:Mechanism scores are aggregated by DMRS level to obtain the predicted defense level:y^=argmaxℓ∑Mk∈ℓS\(Mk\)\\hat\{y\}=\\arg\\max\_\{\\ell\}\\sum\_\{M\_\{k\}\\in\\ell\}S\(M\_\{k\}\)\.
### 2\.4Hybrid Feature Fusion Architecture
Our system integrates contextual language representations with structured clinical features using a late fusion approach, as described below:
1. 1\.Textual Encoder:MentalRoBERTaJiet al\.\([2022](https://arxiv.org/html/2605.14380#bib.bib16)\)encodes each instance formatted as\[Stressor:S\|Turn:T\], conditioning the representation on both the triggering context and the response, yielding a 768\-dim embedding\.
2. 2\.Feature Encoders:The heuristic \(7\-dim\) and DMRS\-derived \(30\-dim\) features are each passed through a dedicated Multilayer Perceptron \(MLP\) with the following structure: 64 → Batch Normalization → ReLU → Dropout \(p = 0\.3\) → 32, producing two 32\-dim vectors\.
3. 3\.Fusion and Classification:The three representations are concatenated into an 832\-dim vector \(768 \+ 32 \+ 32\) and passed through two fully connected layers \(256→\\to128, ReLU \+ Dropout \(pp=0\.4\)\) and a final linear layer producing a probability distribution over 9 labelsKielaet al\.\([2020](https://arxiv.org/html/2605.14380#bib.bib4)\)\.
## 3Experiment & Results
### 3\.1Experimental Setup
#### Data Pre\-processing\.
The training corpus combines human\-annotated dialogues with synthetic samples generated by Llama\-3\-8B\-Instruct under theory\-driven prompting\. We evaluate six augmentation scales,×\\times1,×\\times2,×\\times5,×\\times8,×\\times10, and a hard cap ofN=500N\{=\}500per class, yielding corpora ranging from approximately 1,800 to 5,100 instances\. Class 7 is excluded from augmentation given its already substantial representation\. The baseline corresponds to the organizer\-provided code rerun with Llama\-3\-8B\-Instruct and no augmentation\.111Per\-class metrics and DMRS activation patterns are detailed in Appendix[A](https://arxiv.org/html/2605.14380#A1)\.
#### Implementation Details\.
The model is implemented in PyTorch using the Hugging Face Transformers library\. MentalRoBERTa \(mental\-roberta\-base\)Jiet al\.\([2022](https://arxiv.org/html/2605.14380#bib.bib16)\)serves as the textual encoder; its parameters are fine\-tuned end\-to\-end with a learning rate of1×10−61\{\\times\}10^\{\-6\}\. Task\-specific layers \(MLPs, fusion head, and classifier\) use a higher learning rate of1×10−41\{\\times\}10^\{\-4\}, optimized with AdamWLoshchilov and Hutter \([2019](https://arxiv.org/html/2605.14380#bib.bib8)\)\. Training runs for up to 20 epochs with batch size 16, early stopping on validation macro\-F1, weight decay of1×10−21\{\\times\}10^\{\-2\}, and label smoothing \(ϵ=0\.1\\epsilon=0\.1\) to mitigate noise introduced by synthetic samples\.
#### Evaluation Metrics\.
We follow the same protocol employed inNaet al\.\([2026a](https://arxiv.org/html/2605.14380#bib.bib26)\)and report all results on both thePsyDefConvdevelopment and blind test sets using macro\-averaged Precision, Recall, and F1, as well as overall Accuracy, to account for class imbalance\.
### 3\.2Results Analysis
Table 2:Classification performance on thePsyDefConvofficial test set\.∗Baseline rerun with Llama\-3\-8B\-Instruct on the released test set; original results inNaet al\.[2026b](https://arxiv.org/html/2605.14380#bib.bib28)use a different backbone\.×k\\times k: each minority class expanded tokktimes its original size\.N=500N\{=\}500: hard cap of 500 instances per class\. Metrics are macro\-averaged\.†Official leaderboard submission; all other rows are post\-hoc evaluations on the released test set\. Best results per column inbold\.#### Classification performance across settings\.
Our submission ranked 13 out of 21 registered teams in the official evaluation\. Table[2](https://arxiv.org/html/2605.14380#S3.T2)reports results across all six augmentation configurations on the official blind\-test set\. Every augmented variant substantially outperformsDMRS Co\-Pilotin accuracy \(\+40\.25 pp\) and macro\-F1 \(\+15\.99 pp\), confirming that theory\-driven augmentation delivers robust gains over a prompt\-only LLM baseline in this low\-resource setting\. Performance improves at lower augmentation scales but deteriorates as augmentation becomes more aggressive\. The×2\\times 2configuration yields the highest macro\-F1 \(27\.99%\), indicating an effective balance between expanded class coverage and synthetic generation noise\. Further scaling leads to a steady decline in macro\-F1, which falls to 22\.38% at×10\\times 10, consistent with noise accumulation in heavily augmented corporaKumaret al\.\([2020](https://arxiv.org/html/2605.14380#bib.bib9)\)\. While×8\\times 8records the highest accuracy \(58\.26%\), its macro\-F1 remains 3\.37 pp below×2\\times 2, revealing that overall accuracy is disproportionately influenced by dominant Label 7 predictions at the expense of minority\-class recall\.
\(a\)Label distribution of thePsyDefConvofficial test set\.
\(b\)Row\-normalized confusion matrix of our official leaderboard submission \(PsyDefConvtest set,×\\times8\)\.
Figure 2:\(a\) ThePsyDefConvofficial test set label distribution and \(b\) row\-normalized confusion matrix of our official leaderboard submission \(×\\times8\)\. Label 7 dominates both the distribution \(243/472 instances\) and predictions, absorbing errors from all other classes\.
#### The Label 7 sink effect and class imbalance\.
The confusion matrix \(Figure[2](https://arxiv.org/html/2605.14380#S3.F2)b\) confirms Label 7 as a universal prediction sink\. The most severe case is Label 5 \(Neurotic\), where 77% of instances are misclassified as Label 7, rendering this class unlearnable\. Per\-class F1 scores shows that Labels 0 and 7 exceed F1\>\>0\.70, while all remaining classes fall below 0\.30, with four classes below 0\.15\. This implies that the accuracy \(0\.55\-0\.58\) substantially overstates practical utility\. The Label 5/7 confusion is semantically meaningful: both involve reflective discourse, but differ in whether anxiety is intellectualized or channeled\.
#### The primacy of definition quality\.
A key finding is the sensitivity of model performance to prompt design\. Compared to the baseline ofNaet al\.\([2026b](https://arxiv.org/html/2605.14380#bib.bib28)\), which uses shallow class descriptions and achieves a Macro\-F1 of 8\.63%, our best setting \(×2\\times 2\) improves by 19\.36 pp\. We attribute this to the richer definitional context provided by our DMRS\-based definitions derived fromDi Giuseppe and Perry \([2021](https://arxiv.org/html/2605.14380#bib.bib17)\), which better disambiguate overlapping classes and reduce label ambiguity during generation\.
## 4Limitations
#### Majority\-class dominance and augmentation ceiling\.
The most critical limitation is the Label 7 sink effect identified in Section[3\.2](https://arxiv.org/html/2605.14380#S3.SS2)\. Despite augmenting minority classes toN=500N=500, the model’s decision boundary remains heavily biased toward Label 7 \(243/472 development instances\), and macro\-F1 performance on six of eight classes remains below 0\.30\. This suggests that naive count\-balancing is insufficient when the majority class also exhibits high linguistic surface overlap with adjacent classes\. Addressing this will require loss re\-weighting strategies \(e\.g\., focal lossLinet al\.\([2017](https://arxiv.org/html/2605.14380#bib.bib2)\)\), hard\-negative mining during augmentation, or explicit contrastive learning objectives that sharpen inter\-class boundaries rather than simply expanding minority class size\.
#### Turn\-level modeling and temporal blindness\.
Our proposed architecture operates on isolated seeker utterances, each formatted with only the preceding stressor context\. However, our dataset analysis \(Appendix[A\.1](https://arxiv.org/html/2605.14380#A1.SS1)\) demonstrates that defense levels are unstable, frequently undergoing abrupt transitions across turns, and that larger defensive shifts tend to occur rapidly \(Figure[5](https://arxiv.org/html/2605.14380#A1.F5)\)\. A turn\-level classifier observes only the outcome of a defensive transition, not the trajectory that produced it\. This architectural limitation is especially problematic for clinically adjacent classes \(e\.g\., Labels 6 and 7\), whose distinction may reside in discourse\-level patterns spanning multiple turns rather than in any single utterance\.
#### Synthetic data validity and clinical reliability\.
Our quality control pipeline filters for inter\-annotator agreement \(κ≥0\.60\\kappa\\geq 0\.60\) using a secondary classifier, providing a practical proxy for label consistency\. However, this process does not guarantee clinical validity\. A generated utterance may receive consistent classification by both the primary LLM and the secondary classifier while still failing to instantiate the functional psychological role of the target defense\. Without human expert validation of a representative sample of synthetic instances, we cannot bound the rate of theoretically invalid but classifier\-plausible samples in our training data\. This is a fundamental limitation of machine\-as\-annotator pipelines in psychologically grounded domains, and future work should incorporate systematic clinician review\.
#### Label underspecification and task formulation ambiguity\.
Labels 0 \(No Defense\) and 8 \(Needs More Information\) do not correspond to clinical defense mechanisms and thus lack the DMRS indicator structure used to construct our Defense Profile features\. For Label 8, the classification signal must be derived from the textual encoder and heuristic features, with the DMRS branch contributing noise rather than discriminative signal\. Meanwhile, Label 0 is defined by the absence of a positive mechanism, making it harder to synthesize and harder for the NLI\-based indicator scoring to characterize\. A principled resolution, treating Labels 0 and 8 as a prior detection stage \(defensive and non\-defensive and ambiguous\) before running the eight\-class classifier, is deferred to future work\.
## 5Conclusion
Clinical specificity of class definitions is the primary driver of synthetic augmentation effectiveness in PDM classification\. Our hybrid system, combining MentalRoBERTa with DMRS\-derived features and stressor\-anchored generation, achieves substantial gains overDMRS Co\-Pilot\(Accuracy: 18\.01%→\\to58\.26%; macro\-F1: 8\.63%→\\to24\.62%\)\. However, the Label 7 sink effect and resulting bimodality indicate that augmentation alone cannot overcome majority\-class bias and clinical proximity\. Future works should consider including constraint\-based decoding, human\-in\-the\-loop validation, and dialogue\-level modeling to address temporal volatility identified in our analysis\.
## Ethical considerations
This work relies on publicly released datasets \(PsyDefConvandESConv\) collected under informed consent and Institutional Review Board \(IRB\) oversight, with no new human data collection\. Synthetic utterances simulating psychological distress are used exclusively for model training; clinical validity is not guaranteed, and expert review is required before any real\-world deployment\. The system is a research prototype and must not be used as a diagnostic tool\.
## Acknowledgments
We would like to thank the organizers of the BioNLP 2026 PsyDefDetect shared task and acknowledge thePsyDefConvdataset as the foundation of this work\.
## References
- A\. Anaby\-Tavor, B\. Carmeli, E\. Goldbraich, A\. Kantor, G\. Kour, S\. Shlomov, N\. Tepper, and N\. Zwerdling \(2020\)Do not have enough data? Deep learning to the rescue\!\.Proceedings of the AAAI Conference on Artificial Intelligence34\(05\),pp\. 7383–7390\.External Links:[Document](https://dx.doi.org/10.1609/aaai.v34i05.6233),[Link](https://ojs.aaai.org/index.php/AAAI/article/view/6233)Cited by:[§1](https://arxiv.org/html/2605.14380#S1.p2.1)\.
- M\. Bond, S\. Gardner, J\. Christian, and J\. Sigal \(1983\)An empirical study of self\-rated defense style\.Archives of General Psychiatry40,pp\. 333–338\.Cited by:[§1](https://arxiv.org/html/2605.14380#S1.p1.1)\.
- T\. B\. Brown, B\. Mann, N\. Ryder, M\. Subbiah, J\. Kaplan, P\. Dhariwal, A\. Neelakantan, P\. Shyam, G\. Sastry, A\. Askell, S\. Agarwal, A\. Herbert\-Voss, G\. Krueger, T\. Henighan, R\. Child, A\. Ramesh, D\. M\. Ziegler, J\. Wu, C\. Winter, C\. Hesse, M\. Chen, E\. Sigler, M\. Litwin, S\. Gray, B\. Chess, J\. Clark, C\. Berner, S\. McCandlish, A\. Radford, I\. Sutskever, and D\. Amodei \(2020\)Language models are few\-shot learners\.InProceedings of the 34th International Conference on Neural Information Processing Systems,NIPS ’20,Red Hook, NY, USA\.External Links:ISBN 9781713829546Cited by:[§2\.1](https://arxiv.org/html/2605.14380#S2.SS1.SSS0.Px2.p1.1)\.
- J\. Cohen \(1960\)A coefficient of agreement for nominal scales\.Educational and Psychological Measurement20,pp\. 37 – 46\.External Links:[Link](https://api.semanticscholar.org/CorpusID:15926286)Cited by:[§2\.2](https://arxiv.org/html/2605.14380#S2.SS2.p1.6)\.
- P\. Cramer \(1987\)The development of defense mechanisms\.Journal of Personality55\(4\),pp\. 597–614\.External Links:[Document](https://dx.doi.org/10.1111/j.1467-6494.1987.tb00454.x)Cited by:[§1](https://arxiv.org/html/2605.14380#S1.p1.1)\.
- M\. Di Giuseppe and J\. C\. Perry \(2021\)The hierarchy of defense mechanisms: assessing defensive functioning with the defense mechanisms rating scales Q\-sort\.Frontiers in Psychology12,pp\. 718440\.External Links:[Document](https://dx.doi.org/10.3389/fpsyg.2021.718440)Cited by:[§1](https://arxiv.org/html/2605.14380#S1.p2.1),[§2\.1](https://arxiv.org/html/2605.14380#S2.SS1.SSS0.Px2.p1.1),[§3\.2](https://arxiv.org/html/2605.14380#S3.SS2.SSS0.Px3.p1.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:[item 1](https://arxiv.org/html/2605.14380#S2.I2.i1.p1.1),[§3\.1](https://arxiv.org/html/2605.14380#S3.SS1.SSS0.Px2.p1.4)\.
- Z\. Ji, N\. Lee, R\. Frieske, T\. Yu, D\. Su, Y\. Xu, E\. Ishii, Y\. J\. Bang, A\. Madotto, and P\. Fung \(2023\)Survey of hallucination in natural language generation\.ACM Computing Surveys55\(12\),pp\. 1–38\.External Links:[Document](https://dx.doi.org/10.1145/3571730)Cited by:[§1](https://arxiv.org/html/2605.14380#S1.p2.1)\.
- D\. Kiela, S\. Bhooshan, H\. Firooz, E\. Perez, and D\. Testuggine \(2020\)Supervised multimodal bitransformers for classifying images and text\.External Links:1909\.02950,[Link](https://arxiv.org/abs/1909.02950)Cited by:[item 3](https://arxiv.org/html/2605.14380#S2.I2.i3.p1.2)\.
- V\. Kumar, A\. Choudhary, and E\. Cho \(2020\)Data augmentation using pre\-trained transformer models\.InProceedings of the 2nd Workshop on Life\-long Learning for Spoken Language Systems,W\. M\. Campbell, A\. Waibel, D\. Hakkani\-Tur, T\. J\. Hazen, K\. Kilgour, E\. Cho, V\. Kumar, and H\. Glaude \(Eds\.\),Suzhou, China,pp\. 18–26\.External Links:[Link](https://aclanthology.org/2020.lifelongnlp-1.3/),[Document](https://dx.doi.org/10.18653/v1/2020.lifelongnlp-1.3)Cited by:[§1](https://arxiv.org/html/2605.14380#S1.p2.1),[§3\.2](https://arxiv.org/html/2605.14380#S3.SS2.SSS0.Px1.p1.4)\.
- T\. Lin, P\. Goyal, R\. Girshick, K\. He, and P\. Dollár \(2017\)Focal loss for dense object detection\.In2017 IEEE International Conference on Computer Vision \(ICCV\),Vol\.,pp\. 2999–3007\.External Links:[Document](https://dx.doi.org/10.1109/ICCV.2017.324)Cited by:[§4](https://arxiv.org/html/2605.14380#S4.SS0.SSS0.Px1.p1.1)\.
- S\. Liu, C\. Zheng, O\. Demasi, S\. Sabour, Y\. Li, Z\. Yu, Y\. Jiang, and M\. Huang \(2021\)Towards emotional support dialog systems\.InProceedings of ACL\-IJCNLP 2021,pp\. 3469–3483\.External Links:[Document](https://dx.doi.org/10.18653/v1/2021.acl-long.269),[Link](https://aclanthology.org/2021.acl-long.269/)Cited by:[§1](https://arxiv.org/html/2605.14380#S1.p2.1)\.
- I\. Loshchilov and F\. Hutter \(2019\)Decoupled weight decay regularization\.InInternational Conference on Learning Representations,External Links:[Link](https://openreview.net/forum?id=Bkg6RiCqY7)Cited by:[§3\.1](https://arxiv.org/html/2605.14380#S3.SS1.SSS0.Px2.p1.4)\.
- H\. Na, Y\. Hua, Z\. Wang, T\. Shen, B\. Yu, L\. Wang, W\. Wang, J\. Torous, and L\. Chen \(2025\)A survey of large language models in psychotherapy: current landscape and future directions\.InFindings of the Association for Computational Linguistics: ACL 2025,Vienna, Austria,pp\. 7362–7376\.External Links:[Link](https://aclanthology.org/2025.findings-acl.385/),[Document](https://dx.doi.org/10.18653/v1/2025.findings-acl.385)Cited by:[§1](https://arxiv.org/html/2605.14380#S1.p2.1)\.
- H\. Na, Z\. Wang, Z\. Chen, Y\. Hua, R\. Gao, K\. Yang, L\. Chen, W\. Wang, S\. Ji, J\. Torous, and S\. Ananiadou \(2026a\)Overview of the psydefdetect shared task at bionlp 2026: detecting levels of psychological defense mechanisms in supportive conversations\.InProceedings of the 25th Workshop on Biomedical Language Processing,San Diego, USA\.Cited by:[§1](https://arxiv.org/html/2605.14380#S1.p2.1),[§3\.1](https://arxiv.org/html/2605.14380#S3.SS1.SSS0.Px3.p1.1)\.
- H\. Na, Z\. Wang, Z\. Chen, P\. Zhou, Y\. Hua, G\. Z\. Zhou, H\. Zhang, T\. Shen, W\. Wang, J\. Torous, S\. Ji, and L\. Chen \(2026b\)You never know a person, you only know their defenses: detecting levels of psychological defense mechanisms in supportive conversations\.InFindings of the Association for Computational Linguistics: ACL 2026,San Diego, USA\.Cited by:[§A\.1](https://arxiv.org/html/2605.14380#A1.SS1.p1.1),[§1](https://arxiv.org/html/2605.14380#S1.p2.1),[§3\.2](https://arxiv.org/html/2605.14380#S3.SS2.SSS0.Px3.p1.1),[Table 2](https://arxiv.org/html/2605.14380#S3.T2)\.
- G\. E\. Vaillant \(1994\)Ego mechanisms of defense and personality psychopathology\.Journal of Abnormal Psychology103\(1\),pp\. 44–50\.Cited by:[§1](https://arxiv.org/html/2605.14380#S1.p1.1)\.
- J\. Wei and K\. Zou \(2019\)EDA: easy data augmentation techniques for boosting performance on text classification tasks\.InProceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing \(EMNLP\-IJCNLP\),K\. Inui, J\. Jiang, V\. Ng, and X\. Wan \(Eds\.\),Hong Kong, China,pp\. 6382–6388\.External Links:[Document](https://dx.doi.org/10.18653/v1/D19-1670),[Link](https://aclanthology.org/D19-1670/)Cited by:[§2\.1](https://arxiv.org/html/2605.14380#S2.SS1.p1.1)\.
- Y\. Zhu, S\. Lu, L\. Zheng, J\. Guo, W\. Zhang, J\. Wang, and Y\. Yu \(2018\)Texygen: a benchmarking platform for text generation models\.InThe 41st International ACM SIGIR Conference on Research & Development in Information Retrieval,SIGIR ’18,New York, NY, USA,pp\. 1097–1100\.External Links:ISBN 9781450356572,[Link](https://doi.org/10.1145/3209978.3210080),[Document](https://dx.doi.org/10.1145/3209978.3210080)Cited by:[Table 1](https://arxiv.org/html/2605.14380#S2.T1)\.
## Appendix AAppendix
### A\.1Dataset Analysis
We conduct an exploratory analysis ofPsyDefConvto characterize its structural and temporal properties\. Class imbalance is also reported inNaet al\.\([2026b](https://arxiv.org/html/2605.14380#bib.bib28)\)\.
Figure 3:Class distribution across defense levels in the development set\. Level 7 \(High\-Adaptive\) dominates with 968 instances; Level 8 \(Needs Info\) contains only 28, motivating soft\-balancing augmentation\.#### Temporal Volatility of Defense States\.
Defense levels are not stable within a dialogue \(Fig\.[4](https://arxiv.org/html/2605.14380#A1.F4)\)\. Frequent transitions across levels, including abrupt shifts between adaptive and disavowal patterns within a single session, indicate that classification cannot rely on static turn\-level features alone and must account for broader discourse context\.
Figure 4:Defense level trajectory across turns in dialogue ESConv\_016\. Frequent transitions, including abrupt shifts between Level 7 and Level 0, indicate that defense states are temporally unstable and cannot be modeled from isolated turns\.
#### Defense Volatility: Magnitude and Speed of Change\.
Figure 5:Correlation between magnitude and speed of defense level change across dialogue turns\. Larger shifts in defense level tend to occur more rapidly, suggesting that defensive transitions are abrupt rather than gradual, a property that static turn\-level classifiers are structurally unable to capture\.The scatter plot \(Fig\.[5](https://arxiv.org/html/2605.14380#A1.F5)\) shows a positive correlation between the magnitude and speed of defense\-level transitions: larger shifts in defensive functioning tend to occur over fewer turns\. This is a key empirical finding, it implies that when a seeker’s defense changes, it changes quickly and dramatically, rather than gradually\. This property motivates dialogue\-level or sequential modeling as a future direction, as turn\-level classifiers observe only the outcome of a transition, not its dynamics\.
#### Disclosure Dynamics\.
Figure 6:Distribution of turns at which seekers exhibit increased openness\. The modal opening\-up turn is 3–4, indicating early disclosure before defensive consolidation\.Figure 7:Composite Disclosure Index \(CDI\) across normalized dialogue progression\. Disclosure peaks at the 10–20% mark then stabilizes, suggesting defensive activation intensifies after initial vulnerability\.Analysis of the CDI \(Fig\.[7](https://arxiv.org/html/2605.14380#A1.F7)\) reveals a consistent disclosure peak around the 10\-20% mark, followed by gradual stabilization\. The opening\-up distribution \(Fig\.[6](https://arxiv.org/html/2605.14380#A1.F6)\) confirms that seekers tend to disclose early \(modal turn≈\\approx3\-4\), suggesting that defensive activation intensifiesafterinitial vulnerability rather than preceding it\.
#### Response Latency as a Defensive Signal\.
Figure 8:Seeker response time per defense label\. Label 0 \(No Defense\) shows notably higher latency variance; defense\-related labels cluster in tighter distributions, supporting temporal features as auxiliary classification signals\.Seeker response time varies across defense levels \(Fig\.[8](https://arxiv.org/html/2605.14380#A1.F8)\)\. Label 0 \(No Defense\) shows higher latency variance, while defense\-related responses cluster more tightly\. This supports the use of temporal features as auxiliary signals\.
#### Corpus Structure\.
Figure 9:Distribution of number of turns per dialogue\. Dialogues average approximately 20 turns, confirming the multi\-turn nature of the classification task\.Figure 10:Distribution of total turn lengths per dialogue\. The right\-skewed distribution peaks around 1,000 tokens, with a long tail of extended sessions up to 5,000 tokens\.Dialogues average 20 turns and 1,000 tokens in total turn length \(Figs\.[9](https://arxiv.org/html/2605.14380#A1.F9)and[10](https://arxiv.org/html/2605.14380#A1.F10)\), confirming the multi\-turn nature of the task and the need for context\-aware modeling beyond single utterances\.
### A\.2Extended Result Analysis
#### Per\-Class Metrics\.
Figure 11:Per\-class Precision, Recall, and F1 under the best setting \(×\\times2\)\. Labels 1, 4, 5, and 8 remain below F1 = 0\.15; Label 5 \(Neurotic\) achieves zero precision and recall, consistent with its severe underrepresentation \(13 dev instances\)\.Labels 1, 4, 5, and 8 each yield F1 below 0\.15\. Label 5 \(Neurotic\) is never predicted, consistent with only 13 dev instances and chronic underrepresentation across all augmentation scales\.
#### DMRS Mechanism Activation Patterns\.
Figure 12:Mean NLI\-inferred DMRS mechanism activation per defense class \(log\-entailment scores\)\. All values are negative due to log\-probability scaling\. Differential gradients onAutistic Fantasy,Undoing, andAffiliationprovide discriminative signal for the hybrid fusion model despite uniformly low absolute scores\.Activation values are uniformly low \(range: \-0\.8 to \-1\.7\), reflecting the implicit nature of defensive language\. Despite this, differential patterns across classes, particularly onAutistic Fantasy,Undoing, andAffiliation, confirm that the Defense Profile carries discriminative signal that complements the contextual encoder in the fusion architecture\.
#### Misclassification Patterns\.
Figure 13:Off\-diagonal misclassification counts \(best setting,×\\times2\)\. Label 7 acts as a prediction sink across all classes\. The Label 6→\\to7 confusion \(23 errors\) is the largest single off\-diagonal cell, reflecting clinical proximity between obsessional and high\-adaptive defenses\.The off\-diagonal error analysis \(Fig\.[13](https://arxiv.org/html/2605.14380#A1.F13)\) reveals that Label 7 is the dominant prediction sink: it absorbs the largest share of errors from every other class, accounting for 11, 15, 10, 9, 10, 23, and 3 misclassified samples from Labels 0\-8 respectively\. This is not random confusion but a systematic bias toward the majority class\. Notably, Label 6 \(Obsessional\) is misclassified as Label 7 in 23 of 44 cases \(52%\), suggesting high clinical proximity between obsessional and high\-adaptive functioning, a distinction that requires deeper contextual modeling to resolve\.
### A\.3Prompt Template for Synthetic Data Generation
We employ a theory\-driven prompting strategy to generate synthetic utterances conditioned on stressors, dialogue history, and clinical defense mechanisms\. The template used for generation is shown below:
#### Llama3 Prompt
prompt=f"""
\#\#\#TASK:GenerateSyntheticPsychologicalDefenseExamples
Youaresimulatingaseekerinamentalhealthsupportchat\.
\#\#\#CONTEXTUALGROUNDING:
STRESSOR:\{stressor\}
DIALOGUEHISTORY:
\{history\}
\#\#\#DEFENSETOSIMULATE:
Mechanism:\{mechanism\_name\}\(Level\{level\}\)
Definition:\{definition\}
Pattern:\{pattern\_description\}
\#\#\#REFERENCESTYLE\(Few\-Shot\):
1\."\{example\_1\}"
2\."\{example\_2\}"
3\."\{example\_3\}"
\#\#\#GOAL:
Generate5NEWseekerutterancesfortheNEXTTURNusingthe\{mechanism\_name\}defense\.
Ensuretheyfollowthehistoryandreacttothestressor\.
\#\#\#OUTPUTFORMAT:
1string\.
Noexplanation,nomarkdown,nocodefences\.
"""
### A\.4Prompt Template for Stressor Identification
#### Llama3 Prompt
prompt=f"""
\#\#\#TASK:ClinicalStressorIdentification
Identifythe"SalientStressor"causingpsychologicalconflictintheTargetUtterance\.
\#\#\#DIALOGUECONTEXT:
\{history\}
\#\#\#TARGETUTTERANCE:
"\{target\_turn\}"
\#\#\#OUTPUTFORMAT:
1\.StressorCategory:\(e\.g\.,InterpersonalConflict,Self\-EsteemThreat,ExternalCrisis\)
2\.Description:\(Onesentenceexplainingthethreat\)
"""Similar Articles
LinguIUTics at PsyDefDetect: Iterative Imbalance-Aware Fine-tuning of Qwen3-8B for Psychological Defense Mechanism Classification
This paper presents an iterative imbalance-aware fine-tuning approach using Qwen3-8B with QLoRA for psychological defense mechanism classification, achieving a macro F1 of 0.3917 and ranking 4th out of 21 teams in the PsyDefDetect 2026 shared task.
PSK@EEUCA 2026: Fine-Tuning Large Language Models with Synthetic Data Augmentation for Multi-Class Toxicity Detection in Gaming Chat
This paper presents a system for the EEUCA 2026 shared task on toxicity detection in gaming chat, achieving 4th place by fine-tuning Llama 3.1 8B with synthetic data augmentation. It highlights a 'validation trap' phenomenon where high validation scores do not correlate with test performance due to dataset distribution shifts.
Team DACTYL at PAN 2026: Bayesian Data Mixing and Empirical X-risk Minimization for AI-text Detection
This paper presents methods for detecting AI-generated text using Bayesian data mixing and empirical X-risk minimization, achieving high performance on OOD detection with ModernBERT-large and MCGrad classifiers.
Beyond Augmentation: Score-Guided Pathological Prior for EEG-based Depression Detection
This paper introduces Score-Guided Classification (SGC), a framework that models pathological priors using an unsupervised generative network for EEG-based depression detection, avoiding synthetic data augmentation and improving classification accuracy.
Beyond Static Benchmarks: Synthesizing Harmful Content via Persona-based Simulation for Robust Evaluation
Researchers from KAIST propose a framework that uses persona-guided LLM agents to synthesize diverse harmful content for stress-testing detection systems, addressing limitations of static benchmarks such as scalability, diversity, and data contamination. Both human and LLM evaluations confirm the synthetic scenarios are harder to detect than existing benchmarks while maintaining linguistic and topical diversity.