arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2304.10557cs.LGcs.AI
收藏

Transformer 介绍

An Introduction to Transformers

University of Cambridge(剑桥大学);Microsoft Research(微软研究院)

Richard E. Turner

AI总结:

本文提供了一种数学上精确、直观且简洁的 Transformer 架构描述,旨在弥补现有资料中对架构和设计直觉的不足。

摘要:

Transformer 是一种神经网络组件,可以用来学习序列或数据点集的有用表示。Transformer 已推动了自然语言处理、计算机视觉和时空建模领域的最新进展。虽然有许多关于 Transformer 的介绍,但大多数都不包含对架构的精确数学描述,且设计选择背后的直觉往往也缺失。此外,随着研究的发展路径曲折,Transformer 组件的解释可能各不相同。在本文中,我们旨在提供一个数学上精确、直观且简洁的 Transformer 架构描述。我们不会讨论训练过程,因为这相对标准。我们假设读者熟悉机器学习中的基本主题,包括多层感知机、线性变换、softmax 函数和基本概率。

英文摘要:

The transformer is a neural network component that can be used to learn useful representations of sequences or sets of data-points. The transformer has driven recent advances in natural language processing, computer vision, and spatio-temporal modelling. There are many introductions to transformers, but most do not contain precise mathematical descriptions of the architecture and the intuitions behind the design choices are often also missing. Moreover, as research takes a winding path, the explanations for the components of the transformer can be idiosyncratic. In this note we aim for a mathematically precise, intuitive, and clean description of the transformer architecture. We will not discuss training as this is rather standard. We assume that the reader is familiar with fundamental topics in machine learning including multi-layer perceptrons, linear transformations, softmax functions and basic probability.

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

↑