Inductive Biases and Variable Creation in Self-Attention Mechanisms. Edelman, B. L., Goel, S., Kakade, S., & Zhang, C.
Paper doi abstract bibtex Self-attention, an architectural motif designed to model long-range interactions in sequential data, has driven numerous recent breakthroughs in natural language processing and beyond. This work provides a theoretical analysis of the inductive biases of self-attention modules. Our focus is to rigorously establish which functions and long-range dependencies self-attention blocks prefer to represent. Our main result shows that bounded-norm Transformer networks "create sparse variables": a single self-attention head can represent a sparse function of the input sequence, with sample complexity scaling only logarithmically with the context length. To support our analysis, we present synthetic experiments to probe the sample complexity of learning sparse Boolean functions with Transformers.
@misc{edelman-arxiv2022,
title = {Inductive Biases and Variable Creation in Self-Attention Mechanisms},
url = {http://arxiv.org/abs/2110.10090},
doi = {10.48550/arXiv.2110.10090},
abstract = {Self-attention, an architectural motif designed to model long-range interactions in sequential data, has driven numerous recent breakthroughs in natural language processing and beyond. This work provides a theoretical analysis of the inductive biases of self-attention modules. Our focus is to rigorously establish which functions and long-range dependencies self-attention blocks prefer to represent. Our main result shows that bounded-norm Transformer networks "create sparse variables": a single self-attention head can represent a sparse function of the input sequence, with sample complexity scaling only logarithmically with the context length. To support our analysis, we present synthetic experiments to probe the sample complexity of learning sparse Boolean functions with Transformers.},
number = {{arXiv}:2110.10090},
publisher = {{arXiv}},
author = {Edelman, Benjamin L. and Goel, Surbhi and Kakade, Sham and Zhang, Cyril},
urldate = {2024-08-30},
date = {2022-06-23},
eprinttype = {arxiv},
eprint = {2110.10090 [cs, stat]},
keywords = {Computer Science - Machine Learning, Statistics - Machine Learning},
file = {arXiv Fulltext PDF:/Users/ukreddy/Zotero/storage/F7HYFPM3/Edelman et al. - 2022 - Inductive Biases and Variable Creation in Self-Att.pdf:application/pdf;arXiv.org Snapshot:/Users/ukreddy/Zotero/storage/K4KRYII3/2110.html:text/html},
}
Downloads: 0
{"_id":"WeRYmJ3ptjux2ysYu","bibbaseid":"edelman-goel-kakade-zhang-inductivebiasesandvariablecreationinselfattentionmechanisms","author_short":["Edelman, B. L.","Goel, S.","Kakade, S.","Zhang, C."],"bibdata":{"bibtype":"misc","type":"misc","title":"Inductive Biases and Variable Creation in Self-Attention Mechanisms","url":"http://arxiv.org/abs/2110.10090","doi":"10.48550/arXiv.2110.10090","abstract":"Self-attention, an architectural motif designed to model long-range interactions in sequential data, has driven numerous recent breakthroughs in natural language processing and beyond. This work provides a theoretical analysis of the inductive biases of self-attention modules. Our focus is to rigorously establish which functions and long-range dependencies self-attention blocks prefer to represent. Our main result shows that bounded-norm Transformer networks \"create sparse variables\": a single self-attention head can represent a sparse function of the input sequence, with sample complexity scaling only logarithmically with the context length. To support our analysis, we present synthetic experiments to probe the sample complexity of learning sparse Boolean functions with Transformers.","number":"arXiv:2110.10090","publisher":"arXiv","author":[{"propositions":[],"lastnames":["Edelman"],"firstnames":["Benjamin","L."],"suffixes":[]},{"propositions":[],"lastnames":["Goel"],"firstnames":["Surbhi"],"suffixes":[]},{"propositions":[],"lastnames":["Kakade"],"firstnames":["Sham"],"suffixes":[]},{"propositions":[],"lastnames":["Zhang"],"firstnames":["Cyril"],"suffixes":[]}],"urldate":"2024-08-30","date":"2022-06-23","eprinttype":"arxiv","eprint":"2110.10090 [cs, stat]","keywords":"Computer Science - Machine Learning, Statistics - Machine Learning","file":"arXiv Fulltext PDF:/Users/ukreddy/Zotero/storage/F7HYFPM3/Edelman et al. - 2022 - Inductive Biases and Variable Creation in Self-Att.pdf:application/pdf;arXiv.org Snapshot:/Users/ukreddy/Zotero/storage/K4KRYII3/2110.html:text/html","bibtex":"@misc{edelman-arxiv2022,\n\ttitle = {Inductive Biases and Variable Creation in Self-Attention Mechanisms},\n\turl = {http://arxiv.org/abs/2110.10090},\n\tdoi = {10.48550/arXiv.2110.10090},\n\tabstract = {Self-attention, an architectural motif designed to model long-range interactions in sequential data, has driven numerous recent breakthroughs in natural language processing and beyond. This work provides a theoretical analysis of the inductive biases of self-attention modules. Our focus is to rigorously establish which functions and long-range dependencies self-attention blocks prefer to represent. Our main result shows that bounded-norm Transformer networks \"create sparse variables\": a single self-attention head can represent a sparse function of the input sequence, with sample complexity scaling only logarithmically with the context length. To support our analysis, we present synthetic experiments to probe the sample complexity of learning sparse Boolean functions with Transformers.},\n\tnumber = {{arXiv}:2110.10090},\n\tpublisher = {{arXiv}},\n\tauthor = {Edelman, Benjamin L. and Goel, Surbhi and Kakade, Sham and Zhang, Cyril},\n\turldate = {2024-08-30},\n\tdate = {2022-06-23},\n\teprinttype = {arxiv},\n\teprint = {2110.10090 [cs, stat]},\n\tkeywords = {Computer Science - Machine Learning, Statistics - Machine Learning},\n\tfile = {arXiv Fulltext PDF:/Users/ukreddy/Zotero/storage/F7HYFPM3/Edelman et al. - 2022 - Inductive Biases and Variable Creation in Self-Att.pdf:application/pdf;arXiv.org Snapshot:/Users/ukreddy/Zotero/storage/K4KRYII3/2110.html:text/html},\n}\n\n\n","author_short":["Edelman, B. L.","Goel, S.","Kakade, S.","Zhang, C."],"key":"edelman-arxiv2022","id":"edelman-arxiv2022","bibbaseid":"edelman-goel-kakade-zhang-inductivebiasesandvariablecreationinselfattentionmechanisms","role":"author","urls":{"Paper":"http://arxiv.org/abs/2110.10090"},"keyword":["Computer Science - Machine Learning","Statistics - Machine Learning"],"metadata":{"authorlinks":{}},"downloads":0,"html":""},"bibtype":"misc","biburl":"https://bibbase.org/network/files/ERQPGxTT5rBCWeLFE","dataSources":["TJKHZ3TN7ogruuAa6"],"keywords":["computer science - machine learning","statistics - machine learning"],"search_terms":["inductive","biases","variable","creation","self","attention","mechanisms","edelman","goel","kakade","zhang"],"title":"Inductive Biases and Variable Creation in Self-Attention Mechanisms","year":null}