The incorporation of memory into agents is essential for numerous tasks within the domain of Reinforcement Learning (RL). In particular, memory is paramount for tasks that require the use of past information, adaptation to novel environments, and improved sample efficiency. However, the term "memory" encompasses a wide range of concepts, which, coupled with the lack of a unified methodology for validating an agent's memory, leads to erroneous judgments about agents' memory capabilities and prevents objective comparison with other memory-enhanced agents. This paper aims to streamline the concept of memory in RL by providing practical precise definitions of agent memory types, such as long-term vs. short-term memory and declarative vs. procedural memory, inspired by cognitive science. Using these definitions, we categorize different classes of agent memory, propose a robust experimental methodology for evaluating the memory capabilities of RL agents, and standardize evaluations. Furthermore, we empirically demonstrate the importance of adhering to the proposed methodology when evaluating different types of agent memory by conducting experiments with different RL agents and what its violation leads to.
Multi-Complexity-Loss DNAS for Energy-Efficient and Memory-Constrained Deep Neural Networks
University of Bologna(博洛尼亚大学);Politecnico di Torino(都灵理工大学)
神经架构搜索(NAS)越来越受欢迎,以自动探索深度学习(DL)架构的准确性与计算复杂性的权衡。当针对微小的边缘设备时,DL部署的主要挑战是匹配严格的内存约束,因此大多数NAS算法将模型大小视为复杂性度量。其他方法通过权衡推理操作的准确性和数量来减少DL模型的能量或延迟。能量和内存很少被同时考虑,特别是低搜索成本的差分NAS(DNAS)解决方案。我们克服了这一限制,提出了第一个DNAS,直接解决最现实的情况下,从设计师的角度来看:共同优化的准确性和能源(或延迟)的内存约束下,由目标硬件。我们通过在训练期间将两个复杂度相关的损失函数与独立强度相结合来做到这一点。通过对MLPerf Tiny基准测试套件中的三个边缘相关任务进行测试,我们在能量与精度空间中获得了丰富的Pareto架构集,内存占用限制范围为基线网络的75%至6.25%。当部署在商业边缘设备STM NUCLEO-H743 ZI 2上时,我们的网络在相同的内存限制下,能耗范围为2.18倍,准确度为4.04%,并将能耗降低高达2.2倍,相对于基线的准确度下降可以忽略不计。
MoM: Linear Sequence Modeling with Mixture-of-Memories
Shanghai AI Laboratory(上海人工智能实验室);Tsinghua University(清华大学);Fudan University(复旦大学);The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));The Chinese University of Hong Kong(香港中文大学)
Time and Memory Trade-off of KV-Cache Compression in Tensor Transformer Decoding
The University of Chicago(芝加哥大学);Stevens Institute of Technology(史蒂文斯理工学院);The University of Hong Kong(香港大学);University of Wisconsin-Madison(威斯康星大学麦迪逊分校);The Simons Institute for the Theory of Computing at UC Berkeley(加州大学伯克利分校西蒙斯理论计算研究所)
End-to-End Transformer Acceleration Through Processing-in-Memory Architectures
Department of Electrical and Computer Engineering, University of Virginia(弗吉尼亚大学电气与计算机工程系);Department of Electrical and Computer Engineering, Duke University(杜克大学电气与计算机工程系)
Estimation of Entropy in Constant Space with Improved Sample Complexity
Boston University(波士顿大学);Northeastern University(东北大学);University of Massachusetts Amherst(马萨诸塞大学阿默斯特分校);UC Berkeley(加州大学伯克利分校);Stanford University(斯坦福大学)