arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.02450cs.LGcs.AI
收藏

通过隐式组合实现算法归纳的任务无关架构

Task Agnostic Architecture for Algorithm Induction via Implicit Composition

University of Cambridge(剑桥大学)

Sahil J. Sindhi, Ignas Budvytis

AI总结:

本文探讨可解决所有任务的单一深度网络,提出通过类 Transformer 架构与离散学习框架,在前向传播中隐式组合已学算法子步骤。

摘要:

计算机视觉、语音或自然语言处理等应用机器学习的不同领域,一直在构建面向特定领域的解决方案。当前,我们正看到一种相反的趋势,即在大型语言模型和多模态基础模型的推动下,开发更通用的架构。这些架构旨在处理各种任务,包括以前未见过的任务,并使用跨多种模态的输入。将这种泛化趋势推到极致,意味着可能存在一种能够解决所有任务的单一深度网络架构。本立场论文旨在探索开发这样一种统一架构,并提出一个关于如何构建它的理论框架。我们的提议基于以下假设。首先,任务是通过遵循一系列指令来解决的;在传统计算硬件上,这些指令通常以代码实现,而传统硬件本质上是顺序运行的。其次,近期的生成式人工智能,尤其是基于 Transformer 的模型,展现出作为一种能够为广泛领域构建算法的架构的潜力。例如,GPT-4 在新任务的上下文学习方面表现出非凡能力;除了认为它能够从先前学习过的算法片段中组合出新的解决方案之外,很难用其他方式解释这种能力。第三,我们观察到,在开发真正泛化的网络时,主要缺失的组成部分是一种高效方法,用于在网络内部前向传播过程中自洽地输入算法先前学习过的子步骤,并对其进行(隐式)组合。我们的探索深入分析了基于 Transformer 的方法及其他方法在高效且正确的算法组合方面的当前能力与局限,并提出了一种类 Transformer 架构以及一个离散学习框架,以克服这些局限。

英文摘要:

Different fields in applied machine learning such as computer vision, speech or natural language processing have been building domain-specialised solutions. Currently, we are witnessing an opposing trend towards developing more generalist architectures, driven by Large Language Models and multi-modal foundational models. These architectures are designed to tackle a variety of tasks, including those previously unseen and using inputs across multiple modalities. Taking this trend of generalization to the extreme suggests the possibility of a single deep network architecture capable of solving all tasks. This position paper aims to explore developing such a unified architecture and proposes a theoretical framework of how it could be constructed. Our proposal is based on the following assumptions. Firstly, tasks are solved by following a sequence of instructions, typically implemented in code for conventional computing hardware, which inherently operates sequentially. Second, recent Generative AI, especially Transformer-based models, demonstrate potential as an architecture capable of constructing algorithms for a wide range of domains. For example, GPT-4 shows exceptional capability at in-context learning of novel tasks which is hard to explain in any other way than the ability to compose novel solutions from fragments on previously learnt algorithms. Third, the observation that the main missing component in developing a truly generalised network is an efficient approach for self-consistent input of previously learnt sub-steps of an algorithm and their (implicit) composition during the network's internal forward pass. Our exploration delves into current capabilities and limitations of Transformer-based and other methods in efficient and correct algorithm composition and proposes a Transformer-like architecture as well as a discrete learning framework to overcome these limitations.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑