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 (LECTURE NOTES IN COMPUTER SCIENCE). - In: Extended Reality. XR-Annual (XR Salento)[s.l] : Springer, 2025 Sep 03. - ISBN 978-3-031-97777-0. - pp. 3-22 (( International Conference, Proceedings, Part VI : June, 17 - 20 Otranto 2025 [10.1007/978-3-031-97778-7_1].

A Framework for Enhancing Emotion Expression in Non-Playable Characters Using Large Language Models

M. Ligabue
Primo
;
S. Brambilla
Secondo
;
L.A. Ripamonti;N.A. Borghese
Ultimo
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.
Virtual Humans; Non-Playable Characters; Artificial Intelligence; Large Language Models; Dialogue System; Emotion Simulation;
Settore INFO-01/A - Informatica
   Action Interaction between Humanoid Robots and Children with Autism Spectrum Disorders (ASD) within a social context (AIRCA)
   MINISTERO DELL'UNIVERSITA' E DELLA RICERCA
   2022JJJF37_001
3-set-2025
Università del Salento
https://www.xrsalento.it/files/ProgramXRSalento_Final.pdf
Book Part (author)
File in questo prodotto:
File Dimensione Formato  
978-3-031-97778-7_1.pdf

accesso riservato

Tipologia: Publisher's version/PDF
Licenza: Nessuna licenza
Dimensione 1.44 MB
Formato Adobe PDF
1.44 MB Adobe PDF   Visualizza/Apri   Richiedi una copia
Pubblicazioni consigliate

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/2434/1171577
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 0
  • ???jsp.display-item.citation.isi??? 0
  • OpenAlex ND
social impact