How To Train Your World Model: Fine-tuning vs RAG for LM-based World Modeling
Dhananjay Ashok, Shantanu Agarwal, Vivek Datla, Jonathan May, Alfy Samuel
Abstract
World models (WMs) simulate the transition dynamics of environments, enabling agents to plan over the consequences of their actions. In text-based environments, fine-tuning a Language Model (LM) to serve as a WM has emerged as a dominant paradigm. However, despite the widespread success of non-parametric approaches such as Retrieval Augmented Generation (RAG), retrieval for LM-based world modelling remains underexplored. We conduct a systematic evaluation across five diverse environments spanning embodied, web navigation and social settings, comparing fine-tuning and RAG-based approaches for LM-based world modelling. Our study reveals that fine-tuning often outperforms RAG, with fine-tuned WMs enabling agents to obtain higher rewards on 15/20 settings. While both construction paradigms benefit from additional and more diverse exploration, RAG-based approaches prove more data-efficient, and fine-tuning approaches disproportionately benefit from scaling the amount of experience collected. With a focus on RAG-based WMs, we devise a procedure that uses counterfactual intervention to estimate the error rate of the retrieval stage, and show that retrievers consistently surface suboptimal transitions from the experience buffer. Hoping to address this failing, we study a variety of query reformulation strategies, demonstrating that a hierarchical approach outperforms the traditional retrieval pipeline. Finally, we compose our findings into a hybrid world modelling system that parametrically captures core environment dynamics, while learning to rely on retrieval from an actively maintained memory store. Our hybrid system consistently outperforms other methods across multiple environments and models, showcasing the robustness of the approach and the applicability of our findings.
Create a lesson
Related papers
Frequency-Conditioned Privacy Auditing of Fine-Tuned Language Models
Shared title terminologycs.AIAymen Noor, Ke Lyu, Honglu Jiang
PG-SFT: Balancing Capability Acquisition and Retention in Offline Agent Fine-Tuning
Shared title terminologycs.AIRonghua Li, Zi Liang, Zhishan Li et al.
GAMEGO: Training Game-Dev Agents with Synthetic Trajectories Anchored in Real-World Assets
Shared title terminologycs.AIHaoyue Yang, Jingyao Li, Zhengfan Wu et al.
FN-Prune: Training-Free Expert Pruning with Finite RMSNorm Perturbations
Shared title terminologycs.AIZeyan Li, Jianfeng Xu
Monitorable-by-design architectures for a post-Astra world: a compartmentalization-based approach
Shared title terminologycs.AIJake Watts, Joel Sokol
Learning What vs. Learning How: Decomposing Task and Interface Competence in Agentic Training
Shared title terminologycs.AIChaeeun Lee, Hossein A. Rahmani, Aryo Pradipta Gema et al.