提出嵌套学习框架,揭示深度模型自适应本质并实现持续学习。
Nested Learning: The Illusion of Deep Learning Architectures
- 将优化器视为压缩梯度信息的内存模块,设计更强大学习规则。
- 构建可自我修改的序列模型,在语言建模等任务上表现优异。
- 提出连续记忆系统,支持长程推理与持续学习,适合复杂场景。
尽管在语言模型方面取得了进展,但模型如何持续学习、记忆、自我改进并找到有效解决方案仍存在根本性挑战。本文提出一种新学习范式——嵌套学习(NL),将机器学习模型表示为一组嵌套的、多层级和/或并行的优化问题,每个问题具有独立的上下文流。通过NL视角,现有深度学习方法通过压缩自身上下文流来从数据中学习,大模型的上下文学习自然涌现。NL主张通过增加层次提升学习表达力,实现更高阶的上下文学习与潜在的持续学习能力。本文三大贡献:(1) 表达性优化器:揭示如Adam、SGD with Momentum等优化器实为压缩梯度信息的关联记忆模块;在此基础上提出具备深层记忆与更强学习规则的新优化器;(2) 自修改学习模块:基于NL洞察,构建能学习自身更新算法的序列模型;(3) 连续记忆系统:提出超越传统长短时记忆的通用记忆形式。结合自修改序列模型与连续记忆系统,提出名为Hope的持续学习模块,在语言建模、知识融入、少样本泛化、持续学习及长上下文推理任务中表现良好。
原文摘要 · Abstract (English)
Despite the recent progresses, particularly in developing Language Models, there are fundamental challenges and unanswered questions about how such models can continually learn/memorize, self-improve, and find effective solutions. In this paper, we present a new learning paradigm, called Nested Learning (NL), that coherently represents a machine learning model with a set of nested, multi-level, and/or parallel optimization problems, each of which with its own context flow. Through the lenses of NL, existing deep learning methods learns from data through compressing their own context flow, and in-context learning naturally emerges in large models. NL suggests a philosophy to design more expressive learning algorithms with more levels, resulting in higher-order in-context learning and potentially unlocking effective continual learning capabilities. We advocate for NL by presenting three core contributions: (1) Expressive Optimizers: We show that known gradient-based optimizers, such as Adam, SGD with Momentum, etc., are in fact associative memory modules that aim to compress the gradients' information (by gradient descent). Building on this insight, we present other more expressive optimizers with deep memory and/or more powerful learning rules; (2) Self-Modifying Learning Module: Taking advantage of NL's insights on learning algorithms, we present a sequence model that learns how to modify itself by learning its own update algorithm; and (3) Continuum Memory System: We present a new formulation for memory system that generalizes the traditional viewpoint of long/short-term memory. Combining our self-modifying sequence model with the continuum memory system, we present a continual learning module, called Hope, showing promising results in language modeling, knowledge incorporation, and few-shot generalization tasks, continual learning, and long-context reasoning tasks.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。