[Paper Review] Improving Policy Learning via Language Dynamics Distillation
This paper proposes Language Dynamics Distillation (LDD), a method that pretrains a model to predict environment dynamics from unlabeled demonstrations with language descriptions, then fine-tunes it via reinforcement learning while distilling language-grounded representations. LDD improves sample efficiency and generalization, outperforming tabula-rasa RL, VAE pretraining, and expert-based reward shaping across five language-rich environments (NetHack, ALFWorld, RTFM, Messenger, Touchdown).
Recent work has shown that augmenting environments with language descriptions improves policy learning. However, for environments with complex language abstractions, learning how to ground language to observations is difficult due to sparse, delayed rewards. We propose Language Dynamics Distillation (LDD), which pretrains a model to predict environment dynamics given demonstrations with language descriptions, and then fine-tunes these language-aware pretrained representations via reinforcement learning (RL). In this way, the model is trained to both maximize expected reward and retain knowledge about how language relates to environment dynamics. On SILG, a benchmark of five tasks with language descriptions that evaluate distinct generalization challenges on unseen environments (NetHack, ALFWorld, RTFM, Messenger, and Touchdown), LDD outperforms tabula-rasa RL, VAE pretraining, and methods that learn from unlabeled demonstrations in inverse RL and reward shaping with pretrained experts. In our analyses, we show that language descriptions in demonstrations improve sample-efficiency and generalization across environments, and that dynamics modelling with expert demonstrations is more effective than with non-experts.
Motivation & Objective
- Address the challenge of grounding complex language abstractions in reinforcement learning with sparse, delayed rewards.
- Overcome the difficulty of disentangling language understanding from policy optimization in RL.
- Improve sample efficiency and generalization in language-grounded policy learning using cheap, unlabeled demonstrations with language descriptions.
- Investigate whether dynamics modeling with expert vs. non-expert demonstrations yields better initialization and distillation signals.
- Evaluate the contribution of language descriptions in pretraining and subsequent policy learning.
Proposed method
- Pretrain a teacher model to predict the next observation (including language descriptions) from prior observations using unlabeled demonstrations.
- Use the pre-trained teacher model to initialize and distill intermediate representations into a policy learner during reinforcement learning.
- Apply knowledge distillation to preserve language-grounded dynamics knowledge while optimizing for cumulative reward.
- Train the dynamics model on cheaply collected unlabeled demonstrations, avoiding the cost of action annotations.
- Fine-tune the policy network with RL while distilling from the fixed teacher to prevent catastrophic forgetting of language understanding.
- Use language descriptions in observations (e.g., event messages, spatial captions) as part of the input to improve grounding and dynamics modeling.
Experimental results
Research questions
- RQ1Can pretraining a dynamics model on unlabeled demonstrations with language descriptions improve downstream policy learning in RL?
- RQ2Does distilling language-grounded representations from a pre-trained dynamics model enhance sample efficiency and generalization in language-rich environments?
- RQ3How does the quality of demonstrations (expert vs. non-expert) affect the effectiveness of dynamics modeling and subsequent policy distillation?
- RQ4To what extent do language descriptions in observations improve the accuracy of dynamics modeling and the performance of the final policy?
- RQ5Is language dynamics distillation more effective than alternative methods such as VAE pretraining, inverse RL, or reward shaping with pretrained experts?
Key findings
- LDD outperforms tabula-rasa RL, VAE pretraining, and expert-based reward shaping across all five environments in the SILG benchmark.
- On NetHack and Touchdown, removing language descriptions from observations during dynamics pretraining significantly degrades performance, showing their critical role in initialization and distillation.
- Dynamics models trained on expert demonstrations achieve higher frame prediction accuracy than those trained on non-expert rollouts, especially in partially observable environments like NetHack and Touchdown.
- LDD achieves faster convergence and higher evaluation win rates than baselines, with the exception of Touchdown, where it shows lower training but higher evaluation performance.
- Language descriptions improve the accuracy of dynamics models, which in turn leads to better policy initialization and distillation gains.
- Expert demonstrations provide more informative dynamics signals than non-expert rollouts, particularly in complex environments requiring long-term planning or rare state exploration.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.