Skip to content
0:00 / 0:00

#transformers#linearlayers#einsteinsummation

Re-thinking Transformers: Searching for Efficient Linear Layers over a Continuous Space of...

Simons Institute for the Theory of Computing

77K subscribers • 30 videos on Hallway • University channel

YouTube
  • One of the most-watched uploads on Simons Institute, a conference or university channel Hallway lists. Nobody has recommended it in the communities yet, so it ranks below community picks.
  • Presented by Andrew Gordon Wilson, New York University

Advanced. Deep dive for people who know the field.

9.1K views2 years ago

AI and machine learningSystems programmingNeural networks and deep learningPerformance and optimization

Andrew Gordon Wilson presents a framework for finding compute-optimal structured linear layers to replace dense layers in transformers.

Andrew Gordon Wilson (New York University) simons.berkeley.edu/talks/andrew-gordon-wilson-new-york-univ… Transformers as a Computational Model Dense linear layers are the dominant computational bottleneck in large neural networks, presenting a critical need for more efficient alternatives. Previous efforts to develop alternatives have focused on a small number of hand-crafted structured matrices, and have neglected to investigate whether these structures can surpass dense layers in terms of compute-optimal scaling laws when both the model size and training examples are optimally allocated. In this work, we present a unifying framework that enables searching among all linear operators expressible via an Einstein summation. This framework encompasses many previously proposed structures, such as low-rank, Kronecker, Tensor-Train, and Monarch, along with many novel structures. We develop a taxonomy of all such operators based on their computational and algebraic properties, which provides insights into their scaling laws. Combining these insights with empirical evaluation, we identify a subset of structures that achieve better performance than dense layers as a function of training compute. To further improve their compute efficiency, we develop a natural extension of these structures that convert into a sparse mixture-of-experts layer. The resulting layer significantly outperforms dense layers in compute-optimal training efficiency for large language models

Why it's here

A top upload from a listed channel

Simons Institute is on Hallway's list of conference and university channels, and this upload is one of its most-watched talks or lectures. Nobody has recommended it in the communities yet, so it ranks below community picks.