The Parallelism Tradeoff: Understanding Transformer Expressivity Through Circuit Complexity
Will Merrill (New York University) https://simons.berkeley.edu/talks/will-merrill-new-york-university-2024-09-23 Transformers as a Computational Model Despi...
🔥 Related Trending Topics
LIVE TRENDSThis video may be related to current global trending topics. Click any trend to explore more videos about what's hot right now!
THIS VIDEO IS TRENDING!
This video is currently trending in France under the topic 'm6 pékin express'.
About this video
Will Merrill (New York University)
https://simons.berkeley.edu/talks/will-merrill-new-york-university-2024-09-23
Transformers as a Computational Model
Despite their omnipresence in modern NLP, characterizing the computational power of transformer neural nets remains an interesting open question. We prove that transformers whose arithmetic precision is logarithmic in the number of input tokens (and whose feedforward nets are computable using space linear in their input) can be simulated by constant-depth logspace-uniform threshold circuits. This provides insight on the power of transformers using known results in complexity theory. For example, if L≠P (i.e., not all poly-time problems can be solved using logarithmic space), then transformers cannot even accurately solve linear equalities or check membership in an arbitrary context-free grammar with empty productions. Our result intuitively emerges from the transformer architecture's high parallelizability. We thus speculatively introduce the idea of a fundamental parallelism tradeoff: any model architecture as parallelizable as the transformer will obey limitations similar to it. Since parallelism is key to training models at massive scale, this suggests a potential inherent weakness of the scaling paradigm.
Video Information
Views
1.3K
Total views since publication
Likes
42
User likes and reactions
Duration
45:13
Video length
Published
Oct 15, 2024
Release date
Quality
hd
Video definition
Captions
Available
Subtitles enabled
About the Channel
Tags and Topics
This video is tagged with the following topics. Click any tag to explore more related content and discover similar videos:
#Simons Institute #theoretical computer science #UC Berkeley #Computer Science #Theory of Computation #Theory of Computing #Transformers as a Computational Model #Will Merrill
Tags help categorize content and make it easier to find related videos. Browse our collection to discover more content in these categories.