Working Memory and Self-Directed Inner Speech Enhance Multitask Generalization in Active Inference
This simulation study shows how a set of working memory tasks can be acquired simultaneously through interaction between a stacked recurrent neural network (RNN) and multiple working memories. In these tasks, temporal patterns are provided, followed by linguistically specified task goals. Training is performed in a supervised manner by minimizing the free energy, and goal-directed tasks are performed using the active inference (AIF) framework. Our simulation results show that the best task performance is obtained when two working memory modules are used instead of one or none and when self-directed inner speech is incorporated during task execution. Detailed analysis indicates that a temporal hierarchy develops in the stacked RNN module under these optimal conditions. We argue that the model's capacity for generalization across novel task configurations is supported by the structured interplay between working memory and the generation of self-directed language outputs during task execution. This interplay promotes internal representations that reflect task structure, which in turn support generalization by enabling a functional separation between content encoding and control dynamics within the memory architecture.
Authors
- Jun Tani (ORCID: https://orcid.org/0000-0002-9131-9206)
- Jeffrey Queißer (ORCID: https://orcid.org/0000-0002-9725-6971)
Institutions
- Okinawa Institute of Science and Technology Graduate University (JP)
Publication Details
- Journal
- Neural Computation
- Published
- 2025-10-29
- DOI
- https://doi.org/10.1162/neco.a.36
- Primary Topic
- Embodied and Extended Cognition
- Type
- article
- Field-Weighted Citation Impact
- 0.00