Mental Modeling of Reinforcement Learning Agents by Language Models
<|reference_start|>Mental Modeling of Reinforcement Learning Agents by Language Models: Can emergent language models faithfully model the intelligence of decision-making agents? Though modern language models exhibit already some reasoning ability, and theoretically can potentially express any probable distribution over tokens, it remains underexplored how the world knowledge these pretrained models have memorized can be utilized to comprehend an agent's behaviour in the physical world. This study empirically examines, for the first time, how well large language models (LLMs) can build a mental model of agents, termed agent mental modelling, by reasoning about an agent's behaviour and its effect on states from agent interaction history. This research may unveil the potential of leveraging LLMs for elucidating RL agent behaviour, addressing a key challenge in eXplainable reinforcement learning (XRL). To this end, we propose specific evaluation metrics and test them on selected RL task datasets of varying complexity, reporting findings on agent mental model establishment. Our results disclose that LLMs are not yet capable of fully mental modelling agents through inference alone without further innovations. This work thus provides new insights into the capabilities and limitations of modern LLMs.<|reference_end|>
@article{lu2024mental,
    title={Mental Modeling of Reinforcement Learning Agents by Language Models},
    author={Wenhao Lu, Xufeng Zhao, Josua Spisak, Jae Hee Lee, Stefan Wermter},
    journal={arXiv preprint arXiv:2406.18505},
    year={2024},
    archivePrefix={arXiv},
    eprint={2406.18505},
    primaryClass={cs.LG cs.AI cs.CL cs.RO}
}