This study introduces a novel framework for enhancing the dynamic interactions between players and Virtual Humans (VH) in immersive environments. While we mainly focus on video games, this work has various applications in other fields, such as marketing, health, fiction, and robotics. Leveraging recent advances in Artificial Intelligence (AI) and Natural Language Processing (NLP), the system generates contextually responsive dialogue and adaptive emotional behaviors using Large Language Models (LLM). The system is designed with multiple interrelated components that collectively enable a seamless integration of personality expression, dialogue generation, emotion simulation, and realtime visual rendering, through an experimental communication protocol with Gemini. Experimental evaluations conducted in both Virtual Reality (VR) and non-VR settings indicate a generally positive reception, with participants reporting innovative character credibility, enhanced emotional expressiveness, and heightened overall immersion. The results underscore the potential of AI-driven VHs to overcome the limitations of traditional scripted systems, thereby enriching narrative engagement and interactive experiences. Future work will focus on further refining emotion recognition and extending the framework to support increasingly complex interactive scenarios.
A Framework for Enhancing Emotion Expression in Non-Playable Characters Using Large Language Models / M. Ligabue, S. Brambilla, L.A. Ripamonti, F. Bultrini, A. Zaniboni, N.A. Borghese. ((Intervento presentato al convegno International Conference on eXtended Reality (XR Salento) : 17 - 20 June tenutosi a Otranto nel 2025.
A Framework for Enhancing Emotion Expression in Non-Playable Characters Using Large Language Models
M. Ligabue;S. Brambilla;L.A. Ripamonti;N.A. Borghese
2025
Abstract
This study introduces a novel framework for enhancing the dynamic interactions between players and Virtual Humans (VH) in immersive environments. While we mainly focus on video games, this work has various applications in other fields, such as marketing, health, fiction, and robotics. Leveraging recent advances in Artificial Intelligence (AI) and Natural Language Processing (NLP), the system generates contextually responsive dialogue and adaptive emotional behaviors using Large Language Models (LLM). The system is designed with multiple interrelated components that collectively enable a seamless integration of personality expression, dialogue generation, emotion simulation, and realtime visual rendering, through an experimental communication protocol with Gemini. Experimental evaluations conducted in both Virtual Reality (VR) and non-VR settings indicate a generally positive reception, with participants reporting innovative character credibility, enhanced emotional expressiveness, and heightened overall immersion. The results underscore the potential of AI-driven VHs to overcome the limitations of traditional scripted systems, thereby enriching narrative engagement and interactive experiences. Future work will focus on further refining emotion recognition and extending the framework to support increasingly complex interactive scenarios.Pubblicazioni consigliate
I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.




