State-Inference-Based Prompting for Natural Language Trading with Game NPCs

📅 2025-07-09
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
Large language models (LLMs) frequently violate trading rules in game NPC systems—exhibiting item hallucination, erroneous price computation, and inconsistent state transitions—thereby undermining interaction reliability. To address this, we propose the State-Informed Behavioral Prompting (SIBP) framework, which explicitly models the trading process as six verifiable, sequential states. SIBP integrates context-aware item reference resolution with a placeholder-driven dynamic pricing mechanism, enabling lightweight, rule-compliant natural language transaction reasoning without fine-tuning or external modules. Evaluated on 100 test dialogues, SIBP achieves 97.2% state compliance, 95.4% reference accuracy, and 99.7% computational precision—substantially outperforming baseline methods. Our key contributions are threefold: (1) the first decomposition of trading logic into an auditable, state-transition flow; (2) a structured prompting design that jointly ensures correctness, interpretability, and low computational overhead; and (3) empirical validation of robust, zero-shot rule adherence in interactive game economies.

Technology Category

Application Category

📝 Abstract
Large Language Models enable dynamic game interactions but struggle with rule-governed trading systems. Current implementations suffer from rule violations, such as item hallucinations and calculation errors, that erode player trust. Here, State-Inference-Based Prompting (SIBP) enables reliable trading through autonomous dialogue state inference and context-specific rule adherence. The approach decomposes trading into six states within a unified prompt framework, implementing context-aware item referencing and placeholder-based price calculations. Evaluation across 100 trading dialogues demonstrates >97% state compliance, >95% referencing accuracy, and 99.7% calculation precision. SIBP maintains computational efficiency while outperforming baseline approaches, establishing a practical foundation for trustworthy NPC interactions in commercial games.
Problem

Research questions and friction points this paper is trying to address.

Enables reliable trading with NPCs using autonomous state inference
Reduces rule violations like item hallucinations and calculation errors
Improves trading dialogue accuracy and computational efficiency
Innovation

Methods, ideas, or system contributions that make the work stand out.

State-Inference-Based Prompting for reliable trading
Decomposes trading into six unified states
Context-aware referencing and placeholder calculations
🔎 Similar Papers
No similar papers found.
M
Minkyung Kim
SayBerryGames, Daejeon, South Korea
Junsik Kim
Junsik Kim
Amazon
Computer VisionMachine Learning
H
Hwidong Bae
xl8, Seoul, South Korea
W
Woongcheol Yang
SayBerryGames, Daejeon, South Korea
S
Sangdon Park
SayBerryGames, Daejeon, South Korea
S
Sohee Bae
SayBerryGames, Daejeon, South Korea