From Scripts to RL Environments: Towards Imparting Commonsense Knowledge to RL Agents

Abhinav Joshi (IIT Kanpur), Areeb Ahmad (IIT Kanpur), Umang Pandey (IIT Kanpur), Ashutosh Modi (IIT Kanpur)

Abstract

Text-based games provide a framework for developing natural language understanding and commonsense knowledge about the world in Reinforcement Learning (RL) based agents. Existing text-based environments often rely on fictional situations and characters to create a gaming framework and are far from real-world scenarios. In this paper, we introduce ScriptWorld: A text-based environment for teaching agents about real-world daily chores and hence imparting commonsense knowledge. To the best of our knowledge, it is the first interactive text-based gaming framework that consists of daily real-world human activities created using scripts dataset. We release the gaming environment and perform a detailed analysis of the proposed environment: https://github.com/Exploration-Lab/ScriptWorld.