HeRoN: a mediated RL-LLM framework for adaptive NPC behavior in interactive environments

Abstract Non-Player Characters (NPCs) play a central role in interactive environments, where adaptive and context-aware behavior is essential for engaging gameplay. Traditional rule-based and utility-driven approaches often lack adaptability and contextually coherent behaviors, while Reinforcement Learning (RL) and Large Language Models (LLMs) offer complementary strengths but exhibit distinct limitations: RL suffers from training inefficiency and limited generalization, whereas LLMs are prone to hallucinations and context drift. This paper introduces HeRoN , a mediated framework that integrates RL and LLMs through functional separation and critique-based refinement to enable coherent and strategically adaptive NPC behavior. The architecture comprises an RL-controlled NPC policy for action execution, an LLM-based strategy generator providing context-aware action proposals, and a lightweight reviewer that refines these proposals to enforce consistency with environment constraints. Through experiments in two structurally distinct custom game environments, we show that early LLM-mediated guidance improves exploration efficiency and generalization. Compared to standard RL baselines, HeRoN achieves up to an 81% improvement in task success rate while substantially reducing constraint-violating actions.

Authors

Institutions

Publication Details

Journal
Neural Computing and Applications
Published
2026-06-26
DOI
https://doi.org/10.1007/s00521-026-12275-w
Primary Topic
Artificial Intelligence in Games
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

HeRoN: a mediated RL-LLM framework for adaptive NPC behavior in interactive environments

Vincenzo Deufemia, Andrea Selice, Gaetano Cimino
Neural Computing and Applications
Artificial Intelligence in Games
article

HeRoN: a mediated RL-LLM framework for adaptive NPC behavior in interactive environments

Vincenzo Deufemia, Andrea Selice, Gaetano Cimino
article en

Abstract

Abstract Non-Player Characters (NPCs) play a central role in interactive environments, where adaptive and context-aware behavior is essential for engaging gameplay. Traditional rule-based and utility-driven approaches often lack adaptability and contextually coherent behaviors, while Reinforcement Learning (RL) and Large Language Models (LLMs) offer complementary strengths but exhibit distinct limitations: RL suffers from training inefficiency and limited generalization, whereas LLMs are prone to hallucinations and context drift. This paper introduces HeRoN , a mediated framework that integrates RL and LLMs through functional separation and critique-based refinement to enable coherent and strategically adaptive NPC behavior. The architecture comprises an RL-controlled NPC policy for action execution, an LLM-based strategy generator providing context-aware action proposals, and a lightweight reviewer that refines these proposals to enforce consistency with environment constraints. Through experiments in two structurally distinct custom game environments, we show that early LLM-mediated guidance improves exploration efficiency and generalization. Compared to standard RL baselines, HeRoN achieves up to an 81% improvement in task success rate while substantially reducing constraint-violating actions.

Neural Computing and ApplicationsVol. 38(13)
University of Salerno (IT), University of British Columbia (CA)
Università degli Studi di Salerno
Openalex Percentile: Top 5%
Artificial Intelligence in Games
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

HeRoN: a mediated RL-LLM framework for adaptive NPC behavior in interactive environments — Vincenzo Deufemia, Andrea Selice, et al. · Neural Computing and Applications (2026) | TGRS Research Map | TGRS