Learning to Play Like Humans: A Framework for LLM Adaptation in Interactive Fiction Games
Not on the map. Why?
Abstract (arXiv)
Interactive Fiction games (IF games) are where players interact through natural language commands. While recent advances in Artificial Intelligence agents have reignited interest in IF games as a domain for studying decision-making, existing approaches prioritize task-specific performance metrics over human-like comprehension of narrative context and gameplay logic. This work presents a cognitively inspired framework that guides Large Language Models (LLMs) to learn and play IF games systematically. Our proposed **L**earning to **P**lay **L**ike **H**umans (LPLH) framework integrates three key components: (1) structured map building to capture spatial and narrative relationships, (2) action learning to identify context-appropriate commands, and (3) feedback-driven experience analysis to refine decision-making over time. By aligning LLMs-based agents' behavior with narrative intent and commonsense constraints, LPLH moves beyond purely exploratory strategies to deliver more interpretable, human-like performance. Crucially, this approach draws on cognitive science principles to more closely simulate how human players read, interpret, and respond within narrative worlds. As a result, LPLH reframes the IF games challenge as a learning problem for LLMs-based agents, offering a new path toward robust, context-aware gameplay in complex text-based environments.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 20 of its 46 references that are in the map. First posted on arXiv 18 May 2025.
Builds on
20 of 46 references.
References · 20
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
- 2024LlamaFactory: Unified Efficient Fine-Tuning of 100+ Language Modelscited by 1,442
- 2015Prioritized Experience Replaycited by 1,070
- 2024AgentBoard: An Analytical Evaluation Board of Multi-turn LLM Agentscited by 319
- 2018TextWorld: A Learning Environment for Text-based Gamescited by 304
- 2019Interactive Fiction Games: A Colossal Adventurecited by 165
- 2015Deep Reinforcement Learning with a Natural Language Action Spacecited by 88
- 2020Graph Constrained Reinforcement Learning for Natural Language Action Spacescited by 80
- 2020How to Avoid Being Eaten by a Grue: Structured Exploration Strategies for Textual Worldscited by 38
8 more
- 2020Interactive Fiction Game Playing as Multi-Paragraph Reading Comprehension with Reinforcement Learningcited by 27
- 2022Multi-Stage Episodic Control for Strategic Exploration in Text Gamescited by 22
- 2021Pre-trained Language Models as Prior Knowledge for Playing Text-based Gamescited by 21
- 2021Reading and Acting while Blindfolded: The Need for Semantics in Text Game Agentscited by 20
- 2021Inherently Explainable Reinforcement Learning in Natural Languagecited by 16
- 2022Perceiving the World: Question-guided Reinforcement Learning for Text-based Gamescited by 10
- 2024Prompting Explicit and Implicit Knowledge for Multi-hop Question Answering Based on Human Reading Processcited by 4
- 2024MLD-EA: Check and Complete Narrative Coherence by Introducing Emotions and Actionscited by 4
Built on by
Citing papers per year: 2026: 3.
3 papers.