SubmissionNumber#=%=#18 FinalPaperTitle#=%=#Explainators at PsyDefDetect: Hierarchical Prompting and Representation-Based Classification for Psychological Defenses ShortPaperTitle#=%=# NumberOfPages#=%=# CopyrightSigned#=%=# JobTitle#==# Organization#==# Abstract#==#Psychological defense detection remains one of the essential present-day challenges in clinical practice. The state-of-the-art natural language processing (NLP) tools aim to automate this task. However, their potential and efficiency remain largely unexplored. This manuscript attempts to address this problem from various perspectives: it first explores the efficiency of direct large language model (LLM)-prompting. Then, it applies NLP techniques for LLM fine-tuning applied to the psychological defense classification task. Finally, it attempts to generate states of mind based on the speaker's psychological state. The results show that the complexity of the task requires further improvement of the software solutions used. Author{1}{Firstname}#=%=#Liudmila Author{1}{Lastname}#=%=#Babakova Author{1}{Orcid}#=%=# Author{1}{Email}#=%=#babakovalyuda@gmail.com Author{1}{Affiliation}#=%=#Moscow State Pedagogical University Author{2}{Firstname}#=%=#Christopher Author{2}{Lastname}#=%=#Luongo-Vazquez Author{2}{Orcid}#=%=# Author{2}{Email}#=%=#chluongo@unirioja.es Author{2}{Affiliation}#=%=#Universidad de la Rioja Author{3}{Firstname}#=%=#Ilia Author{3}{Lastname}#=%=#Stepin Author{3}{Username}#=%=#ilia.stepin Author{3}{Orcid}#=%=# Author{3}{Email}#=%=#ilia.stepin@uam.es Author{3}{Affiliation}#=%=#Universidad Autonoma de Madrid ========== èéáğö