计算机科学 > 机器学习
[提交于 2024年11月12日 (v1),最后修订于 2024年11月13日 (此版本, v2)]
标题:Learning Memory Mechanisms for Decision Making through Demonstrations
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:In Partially Observable Markov Decision Processes, integrating an agent's history into memory poses a significant challenge for decision-making. Traditional imitation learning, relying on observation-action pairs for expert demonstrations, fails to capture the expert's memory mechanisms used in decision-making. To capture memory processes as demonstrations, we introduce the concept of memory dependency pairs $(p, q)$ indicating that events at time $p$ are recalled for decision-making at time $q$. We introduce AttentionTuner to leverage memory dependency pairs in Transformers and find significant improvements across several tasks compared to standard Transformers when evaluated on Memory Gym and the Long-term Memory Benchmark. Code is available at https://github.com/WilliamYue37/AttentionTuner.