LLM-Driven NPCs for Realistic Behavior and Collaboration in Games
| dc.contributor.advisor | Sung, Kelvin | |
| dc.contributor.author | Liu, Sicen | |
| dc.date.accessioned | 2026-09-16T18:15:48Z | |
| dc.date.issued | 2026-09-16 | |
| dc.date.submitted | 2026 | |
| dc.description | Thesis (Master's)--University of Washington, 2026 | |
| dc.description.abstract | Realistic behaviors of non-player characters (NPCs) are important in interactive games and simulations because NPCs influence how players understand and interact with virtual worlds. Large language models (LLMs) provide new opportunities for developing believable and socially responsive NPCs. A review of recent work shows that two areas have received limited attention in existing LLM-based approaches: NPC decision-making grounded in a continuously updated environment and inter-NPC interactions based on observable agent states.This thesis proposes an LLM-driven NPC framework to address these issues. The framework maintains a centralized Global World State that records environment states, player states, and observable states of the NPCs, providing NPC reasoning with explicit information about available entities, their locations, and current conditions. An LLM-based decision-making pipeline uses these structured representations to generate actions, update world states, and maintain behavioral continuity. The framework is implemented as a turn-based simulation in which time advances through discrete ticks. Each tick processes the Environment, Player, and NPC Turns in a fixed order, allowing all three to update the shared world state. Simulation results show that NPC behavior remained consistent with current object availability, object states, locations, and environmental changes while adapting to other agents’ requests and ongoing actions. These capabilities enabled coherent multi-step collaboration among multiple NPCs in a dynamic environment. | |
| dc.embargo.terms | Open Access | |
| dc.format.mimetype | application/pdf | |
| dc.identifier.other | Liu_washington_0250O_30251.pdf | |
| dc.identifier.uri | https://hdl.handle.net/1773/57626 | |
| dc.language.iso | en_US | |
| dc.rights | CC BY-NC-ND | |
| dc.subject | Agent-Based Simulation | |
| dc.subject | Artificial Intelligence | |
| dc.subject | Game AI | |
| dc.subject | Large Language Models | |
| dc.subject | Multi-Agent Systems | |
| dc.subject | Non-Player Characters | |
| dc.subject | Computer science | |
| dc.subject | Artificial intelligence | |
| dc.subject.other | Computing and software systems | |
| dc.title | LLM-Driven NPCs for Realistic Behavior and Collaboration in Games | |
| dc.type | Thesis |
Files
Original bundle
1 - 1 of 1
Loading...
- Name:
- Liu_washington_0250O_30251.pdf
- Size:
- 1.65 MB
- Format:
- Adobe Portable Document Format
