Algorithm Design for User Emotion Perception and Psychological State Prediction in Large Language Model Interaction

Main Article Content

Y. Hu

Abstract

With the continuous evolution of intelligent communication systems and distributed information processing technologies, real-time perception of user states has become an important component of adaptive human–machine interaction. This study proposes a dual-task parallel algorithm for instantaneous emotion perception and deep psychological state prediction in large language model interaction under pure text communication. The framework jointly models lexical features, syntactic complexity, interaction rhythm, topic coherence, and language habits to achieve synchronized short-term emotion tracking and long-term psychological state inference, while introducing an uncertainty estimation mechanism for confidence-aware decision making and interaction avoidance. Experimental results demonstrate that the proposed method achieves a macro F1 score of 0.85 for instantaneous emotion classification and a Pearson product-moment correlation coefficient of 0.76 for deep psychological state prediction, outperforming representative baseline approaches. Furthermore, confidence-driven interaction avoidance effectively suppresses high-risk misjudgments and improves overall interaction reliability. By integrating multi-level semantic perception with uncertainty-aware inference, the proposed framework provides an efficient solution for adaptive information processing and intelligent decision support, offering valuable methodological references for real-time signal interpretation, human–machine communication, and intelligent perception systems in Electromagnetic Waves, Antennas and Propagation related applications.

Downloads

Download data is not yet available.

Article Details

How to Cite
Hu, Y. (2026). Algorithm Design for User Emotion Perception and Psychological State Prediction in Large Language Model Interaction. Advanced Electromagnetics, 15(3), 3869–3878. https://doi.org/10.7716/aem.v15i3.3447
Section
Research Articles

References

P. Pereira, H. Moniz, and P. Carvalho J, “Deep emotion recognition in textual conversations: A survey,” Artificial Intelligence Review, vol. 58, no. 1, pp. 10-18, 2024, doi: 10.1007/s10462-024-11010-y.

View Article

J. Jang, S. Yoon, G. Son, M. Kang, and H. Choeh J Y and Choi K, “Predicting personality and psychological distress using natural language processing: a study protocol,” Frontiers in Psychology, vol. 13, no. 1, pp. 865541-865548, 2022, doi: 10.3389/fpsyg.2022.865541.

View Article

J. Schneider, “Mental model shifts in human-LLM interactions,” Journal of Intelligent Information Systems, vol. 63, no. 5, pp. 1737-1752, 2025, doi: 10.1007/s10844-025-00960-6.

View Article

A. Sharma, W. Lin I, S. Miner A, and T. Atkins D C and Althoff, “Human-AI collaboration enables more empathic conversations in text-based peer-to-peer mental health support,” Nature Machine Intelligence, vol. 5, no. 1, pp. 46-57, 2023, doi: 10.1038/s42256-022-00593-2.

View Article

J. Ren F, Y. Y. Zhou, J. W. Deng, K. Matsumoto, D. Feng, T. H. She, et al., “Tracking emotions using an evolutionary model of mental state transitions: Introducing a new paradigm,” Intelligent Computing, vol. 3, no. 1, pp. 0075-0081, 2024, doi: 10.34133/icomputing.0075.

View Article

Y. Fu, S. Yuan, and J. Zhang C and Cao, “Emotion recognition in conversations: A survey focusing on context, speaker dependencies, and fusion methods,” Electronics, vol. 12, no. 22, pp. 4714-4723, 2023, doi: 10.3390/electronics12224714.

View Article

H. Lian, C. Lu, S. Li, Y. Zhao, and Y. Tang C and Zong, “A survey of deep learning-based multimodal emotion recognition: Speech, text, and face,” Entropy, vol. 25, no. 10, pp. 1440-1448, 2023, doi: 10.3390/e25101440.

View Article

S. Zhang, Y. Yang, C. Chen, X. Zhang, and X. Leng Q and Zhao, “Deep learning-based multimodal emotion recognition from audio, visual, and text modalities: A systematic review of recent advancements and future prospects,” Expert Systems with Applications, vol. 237, no. 1, pp. 121692-121700, 2024, doi: 10.1016/j.eswa.2023.121692.

View Article

S. Farquhar, J. Kossen, and Y. Kuhn L and Gal, “Detecting hallucinations in large language models using semantic entropy,” Nature, vol. 630, no. 8017, pp. 625-630, 2024, doi: 10.1038/s41586-024-07421-0.

View Article

O. Shorinwa, Z. Mei, J. Lidard, and A. Ren A Z and Majumadar, “A survey on uncertainty quantification of large language models: Taxonomy, open research challenges, and future directions,” ACM Computing Surveys, vol. 58, no. 3, pp. 1-38, 2025, doi: 10.1145/3744238.

View Article

F. Mohammad, M. Khan, S. Nawaz, N. Jan, and A. Gohr N and Al-Rasheed, “Text augmentation-based model for emotion recognition using transformers,” Computers, Materials, & Continua, vol. 76, no. 3, pp. 3523-3529, 2023, doi: 10.32604/cmc.2023.040202.

View Article

P. Ferré, I. Fraga, and A. Hinojosa J, “The interplay between language and emotion: a narrative review,” Cognition and Emotion, vol. 39, no. 7, pp. 1418-1445, 2025, doi: 10.1080/02699931.2025.2549965.

View Article

M. A. Tabari, X. Lu, and Y. Wang, “Mapping the associations among task complexity, emotionality, and linguistic complexity in L2 writing,” Language awareness, vol. 34, no. 2, pp. 345-372, 2025, doi: 10.1080/09658416.2024.2384754.

View Article

Q. Xu, P. Guo, F. Li, M. Zhang, and D. Ji, “Improving LLM-based opinion expression identification with dependency syntax,” Pattern Recognition Letters, vol. 197, no. 1, pp. 81-87, 2025, doi: 10.1016/j.patrec.2025.07.012.

View Article

D. H. Solomon, X. Tian, and S. S. Li Y and Li, “Showcasing studies of conversational motifs within a dynamic dyadic systems perspective on interpersonal communication,” Journal of Language and Social Psychology, vol. 44, no. 3-4, pp. 553-581, 2025, doi: 10.1177/0261927X251316863.

View Article

E. Džubur and V. Pejovi´c, “Inferring a Mobile User’s Valence and Arousal through On-Screen Text Analysis,” HCI SI Koper 2025, vol. 1, pp. 171-180, 2025, doi: 10.26493/978-961-293-559-7.16.

View Article

J. Tian and R. Zhang, “Moral judgments influence emotional responses and comment lengths through the moderating role of linguistic style matching,” Scientific Reports, vol. 15, no. 1, pp. 20972-20980, 2025, doi: 10.1038/s41598-025-07079-2.

View Article

Y. Yang, J. Cao, and P. Wen Y and Zhang, “Multiturn dialogue generation by modeling sentence-level and discourse-level contexts,” Scientific Reports, vol. 12, no. 1, pp. 20349-20355, 2022, doi: 10.1038/s41598-022-24787-1.

View Article

K. Matsumoto, M. Sasayama, and T. Kirihara, “Topic break detection in interview dialogues using sentence embedding of utterance and speech intention based on multitask neural networks,” Sensors, vol. 22, no. 2, pp. 694-702, 2022, doi: 10.3390/s22020694.

View Article

R. Ding, X. Luo, S. Chen, X. Wu, and L. Zhang C and Liu, “A cognitive topic modeling approach for detailed learner analysis in asynchronous discussions,” IEEE Access, vol. 13, no. 1, pp. 94169-94185, 2025, doi: 10.1109/ACCESS.2025.3573873.

View Article

A. Hosseiny Marani and S. Baumer E P, “A review of stability in topic modeling: Metrics for assessing and techniques for improving stability,” ACM Computing Surveys, vol. 56, no. 5, pp. 1-32, 2023, doi: 10.1145/3623269.

View Article

J. Ryu, S. Heisig, C. McLaughlin, M. Katz, and X. Mayberg HS and Gu, “A natural language processing approach reveals first-person pronoun usage and non-fluency as markers of therapeutic alliance in psychotherapy,” IScience, vol. 26, no. 6, pp. 106860-106867, 2023, doi: 10.1016/j.isci.2023.106860.

View Article

J. Piepers, A. Backus, and J. Swanenberg, “Sociopragmatic pronouns in Limburgian: inferring speakers’ agency from self-reported automaticity, attitudes, and metalinguistic awareness,” Cognitive Linguistics, vol. 36, no. 1, pp. 89-119, 2025, doi: 10.1515/cog-2023-0141.

View Article

Most read articles by the same author(s)

Similar Articles

<< < 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 

You may also start an advanced similarity search for this article.