Logo for AiToolGo

AI NPCs: The Road from Scripted Characters to Open-World AGI

In-depth discussion
Easy to understand
 0
 0
 5
文章探讨了游戏NPC成为AI应用落地焦点的原因。玩家对NPC'只会重复对话'不满,传统状态机和行为树技术存在局限,而开发成本高昂。英伟达ACE、微软与Inworld AI合作、百川智能Baichuan-NPC、MiAO的LARP框架等案例展示了大模型驱动NPC的进展,并讨论了角色一致性、开放世界构建等挑战。文章还将AI智能体划分为四个等级,并将游戏开放世界视为通向AGI的一条路径。
  • main points
  • unique insights
  • practical applications
  • key topics
  • key insights
  • learning outcomes
  • • main points

    • 1
      系统梳理了NPC从状态机/行为树到大模型驱动的技术演进脉络,并指出玩家痛点与开发成本的矛盾
    • 2
      汇集了英伟达ACE、Inworld AI、百川智能Baichuan-NPC、MiAO LARP等多家企业的具体方案进行对比
    • 3
      提出了L1至L4的智能体分级框架,为理解AI NPC的发展阶段提供了清晰视角
  • • unique insights

    • 1
      角色扮演一致性(OOC问题)是大模型做NPC的核心难点,百川智能通过思维链对齐进行应对
    • 2
      MiAO提出'外挂数据库+集体意识'的方案,以平衡NPC个性与游戏通用规则,并指出行业缺的是解决方案而非更强模型
  • • practical applications

    • 对游戏开发者、AI产品研究者具有参考价值,可了解NPC大模型化的主流技术路线(多模态引擎、角色大模型、智能体框架)及落地挑战(长上下文、长期记忆、API成本、开放世界构建),但文章以行业观察和访谈为主,缺少可直接操作的实现步骤。
  • • key topics

    • 1
      游戏NPC的技术演进与玩家体验痛点
    • 2
      大模型驱动NPC的技术方案(ACE、Inworld、Baichuan-NPC、LARP)
    • 3
      开放世界与AI智能体分级及通向AGI的路径
  • • key insights

    • 1
      将游戏NPC作为检验AI决策与生成能力的落地场景,视角新颖
    • 2
      对比多家企业不同技术路线,便于读者横向理解行业格局
    • 3
      结合行业访谈,兼顾技术细节与商业逻辑
  • • learning outcomes

    • 1
      理解传统游戏NPC技术(状态机、行为树)的原理与局限
    • 2
      了解大模型驱动NPC的主流技术架构及角色一致性等关键挑战
    • 3
      掌握AI智能体的L1-L4分级框架,并认识游戏开放世界与AGI的关联
examples
tutorials
code samples
visuals
fundamentals
advanced content
practical tips
best practices

“ Introduction: Why AI NPCs Are Drawing Attention

Non-player characters (NPCs) exist in nearly every game, yet players are increasingly unsatisfied with how they behave. Recent demonstrations by NVIDIA at CES 2024 and Microsoft's partnership with Inworld AI show that large language models are making NPCs capable of open-ended, real-time conversation. This shift has pulled the gaming industry, and many Chinese AI companies, toward NPCs as one of the most practical arenas for AI deployment.

“ The Limits of Traditional NPCs

Most NPCs are driven by state machines or behavior trees, which follow predefined rules. Surveys by Inworld AI cited by Microsoft Xbox found that 84% of players consider NPCs important and 79% interact with them, yet 52% complain that NPCs simply repeat the same lines. Rule-based systems are also exploitable: once players identify a designer's pattern, they can game the logic, as seen in the well-known strategy of boss 'foot-trapping' in Sekiro: Shadows Die Twice.

“ The Cost and Pressure Behind Game Development

Richly written NPCs demand enormous resources. Red Dead Redemption 2 features over 1,000 NPCs across six chapters and more than 100 missions, with development taking nearly eight years and costing close to $500 million. Ambitious designs such as Ken Levine's 'Narrative Legos' concept show how hard it is to build flexible storytelling from scratch, and delays are common across the industry. Rising player expectations collide with rising production costs, which is why generative AI looks attractive.

“ Industry Momentum: Big Tech and Startups Enter the Race

NVIDIA's Avatar Cloud Engine (ACE), which combines Audio2Face and Riva with LLMs, is designed to deliver real-time, lip-synced NPC responses. Microsoft Xbox has partnered with Inworld AI, whose Character Engine integrates multiple models to simulate a human-like cognitive system. In China, Baichuan released Baichuan-NPC, its first vertical application model, while MiAO (founded by former Giant Network CEO Wu Meng), RPGGO, and Kunlun Wanwei's Play for Fun studio are building AI-driven games and NPCs. Baichuan's Richard notes that games are often the first landing ground for new technology and a proven monetization path; China's game market reached 302.96 billion yuan in 2023.

“ Making NPCs More Human: Technical Approaches

NVIDIA's pipeline converts player speech to text, feeds it to a large model to generate a response, synthesizes speech, creates lip-synced animation, and renders the character back into the scene. Inworld builds a multimodal engine and a no-code studio where developers describe characters in natural language. MiAO's LARP (Language Agent for Role Play) framework uses a set of smaller, domain-tuned language models coordinated in a modular architecture for memory, decision-making, and learning from interaction.

“ Role-Play Consistency and Character Modeling

Making NPCs convincing requires strong base abilities in general intelligence, character knowledge, dialogue, plot performance, and logical reasoning, best strengthened through targeted high-quality pretraining data. A central problem is out-of-character (OOC) behavior, where a model slips back into a generic assistant persona or says things inconsistent with its role. Baichuan-NPC addresses this with chain-of-thought data construction and chain-of-thought alignment, so that both reasoning and resulting actions resemble human behavior. MiAO balances personality and world rules through an external database of shared world knowledge plus a 'collective consciousness' that propagates content generated during runtime.

“ Core Challenges in Deployment

Integrating LLMs into mature development pipelines is difficult. Game assets such as models, animations, and world states are non-textual and must be translated into semantic representations. Open worlds are unbounded, so NPCs must adapt to unfamiliar environments and accumulate long-term memory that supports continuous growth; current long-context understanding remains limited. High-quality model and API costs also exclude smaller studios. Industry observers, including MiAO's AI lead, note that AI researchers and game developers often misunderstand each other, and the field lacks complete system-level solutions rather than just stronger models. Designers should also avoid making NPCs too human at the expense of playability.

“ Why Games Are the Testing Ground for AI

Games have long served as AI's experimental field. They offer clear win conditions and metrics for testing and iteration, cheap virtual data for supervised and reinforcement learning, and diverse environments for studying cooperation and competition among agents. Tencent AI Lab argues that mastering long-term strategic planning and collaboration in complex strategy games could represent the frontier of multi-agent decision-making. Game performance also serves as a practical showcase of a company's application capabilities.

“ From AI NPCs to Open-World Experiences

Beyond NPC dialogue, the ultimate direction is the open world. RPGGO is building a generative engine that turns a single text prompt into a playable, multiplayer role-playing world, a concept it calls text-to-openworld. Kunlun Wanwei's Club Koala includes a zero-code editor so ordinary players can build their own games and NPCs with self-awareness, with a beta planned for March. Investors at Monolith Capital argue that AI expands the supply of gameplay, potentially shifting games from professionally generated content (PGC) to user-generated content (UGC).

“ The Path Toward AGI: Four Levels of Intelligence

Richard of Baichuan proposes four levels of AI development: L1, the model, with basic generalization; L2, the agent, with tool use, planning, and long-term memory; L3, the human-like agent, with persistent state and emotionally varied responses to events; and L4, the social human-like agent, which forms relationships and organizations with other agents. Most companies remain at the model stage. Sam Altman has suggested that future GPT generations will handle a growing share of human tasks and that AGI may arrive in the near future, though the route remains uncertain.

“ Conclusion

AI NPCs are becoming the focal point of AI application in gaming because they answer pressing needs: more engaging characters, lower development costs, and a testbed for general intelligence. Realizing truly open worlds would mean AI that reasons, acts, and cooperates much like humans, a projection of AGI into virtual environments. Technological progress is only the beginning; many questions about direction and responsibility still require human judgment, and the destination, as RPGGO's Li Jiaying puts it, is to push 'Magic' to its limits through technology.

 Original link: https://www.jazzyear.com/article_info.html?id=1212

Comment(0)

user's avatar

      Related Tools