Automated Working Alliance Assessment in Psychological Counseling Using Gemini and XGBoost
Session dialogue assessment based on machine learning is gradually becoming an effective solution for therapeutic alliance measurement which is an important factor for successful psychotherapy. However, most existing models assume clean and pre-structured dialogue transcripts, whereas real-world counseling documentation often contains heterogeneous case reports. This gap limits the applicability of current automated assessment models in realistic documentation scenarios. In this work, we propose a framework for automated working alliance assessment from complex, multilingual reports. First, language-specific BERT models are fine-tuned to process case reports across different languages, enabling accurate speaker role delineation and dialogue structuring. Second, Gemini-2.5-Flash is leveraged to annotate the dialogues with working alliance ratings. Third, a hybrid feature representation strategy is then developed to jointly capture linguistic style and semantic content from the counseling dialogues. Furthermore, an entropy-based mutual information analysis is conducted to identify the most informative linguistic features. Finally, the extracted hybrid features serve as inputs to XGBoost for alliance assessment. In experiments, the proposed framework shows better performance in the comparison with SOTA methods and generalization ability.
Authors
- Xueling Yang (ORCID: https://orcid.org/0000-0001-8403-6833)
- Dalin Li (ORCID: https://orcid.org/0000-0002-3086-9087)
- Y K Li
- Z H
- Guifang Fu (ORCID: https://orcid.org/0000-0002-4887-6832)
- Ningtao Sun
Institutions
- Guangdong University of Foreign Studies (CN)
- Jilin University (CN)
- Zhuhai Institute of Advanced Technology (CN)
- Southern Medical University (CN)
Publication Details
- Journal
- Entropy
- Published
- 2026-06-17
- DOI
- https://doi.org/10.3390/e28060699
- Primary Topic
- Mental Health via Writing
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China