• A
  • A
  • A
  • ABC
  • ABC
  • ABC
  • А
  • А
  • А
  • А
  • А
Regular version of the site
  • HSE University
  • Student Theses
  • Application of NLP Methods for Analyzing the Mental State of a Conversational Partner in Text–Based Communication

Application of NLP Methods for Analyzing the Mental State of a Conversational Partner in Text–Based Communication

Student: Kostrov Vyacheslav

Supervisor: Elena Kantonistova

Faculty: Faculty of Computer Science

Educational Programme: Machine Learning and Data-Intensive Systems (Master)

Final Grade: 8

Year of Graduation: 2025

The paper considers the application of modern methods of natural language processing (NLP), in particular large language models (LLM), for the analysis of a person’s psycho-emotional state based on text messages. The purpose of the study is to apply, compare and evaluate the practical applicability of NLP methods for the analysis of the interlocutor’s psycho-emotional state in text communication. Open datasets with expert markup were used for the experiments. Particular attention was paid to the issues of interpretability of model responses using LLM, therefore, a dialogue agent based on ReAct-prompting and using pre-trained models solving the above-described problems was implemented to test the system in various scenarios and form the final interpretation. A web service was developed for the agent to operate. The results of the experiments show that the adapted LLM models demonstrate high quality in the tasks of detecting depression and suicidal tendencies, and the proposed agent can be used as a tool for primary psychological assessment and identification of risk factors.

Full text (added May 23, 2025)

Student Theses at HSE must be completed in accordance with the University Rules and regulations specified by each educational programme.

Summaries of all theses must be published and made freely available on the HSE website.

The full text of a thesis can be published in open access on the HSE website only if the authoring student (copyright holder) agrees, or, if the thesis was written by a team of students, if all the co-authors (copyright holders) agree. After a thesis is published on the HSE website, it obtains the status of an online publication.

Student theses are objects of copyright and their use is subject to limitations in accordance with the Russian Federation’s law on intellectual property.

In the event that a thesis is quoted or otherwise used, reference to the author’s name and the source of quotation is required.

Search all student theses