{"id":{"repo_id":"gatech","oai_identifier":"oai:repository.gatech.edu:1853/80238"},"canonical_url":"https://search.ndltd.org/etd/gatech/oai:repository.gatech.edu:1853/80238","repository":{"repo_id":"gatech","name":"Georgia Tech","base_url":"https://repository.gatech.edu/server/oai/request"},"display":{"title":"Neighborhood Attention: Fast and Flexible Sparse Attention","abstract":"Attention is at the heart of most foundational AI models, across tasks and modalities. In many of those cases, it incurs a significant amount of computation, which is quadratic in complexity, and often cited as one of its greatest limitations. As a result, many sparse approaches have been proposed to alleviate this issue, with one of the most common approaches being masked or reduced attention span. In this work, we revisit sliding window approaches, which were commonly believed to be inherently inefficient, and we propose a new framework called Neighborhood Attention (NA). Through it, we solve design flaws in the original sliding window attention works, attempt to implement the approach efficiently for modern hardware accelerators, specifically GPUs, and conduct experiments that highlight the strengths and weaknesses of these approaches. At the same time, we bridge the parameterization and properties of Convolution and Attention, by showing that NA exhibits inductive biases and receptive fields similar to that in convolutions, while still capable of capturing inter-dependencies, both short and long range, similar to attention. We then show the necessity for and challenges that arise from infrastructure, especially in the context of modern implementations such as Flash Attention, and develop even more efficient and performance-optimized implementations for NA, specifically for the most recent and popular AI hardware accelerators, the NVIDIA Hopper and Blackwell GPUs. We build models based on the NA family, highlighting its superior quality and efficiency compared to existing approaches, and also plug NA into existing foundational models, and showing that it can accelerate those models by up to 1.6× end-to-end and without further training, and up to 2.6× end-to-end with training. We further demonstrate that our methodology can actually create sparse Attention patterns that realize the theoretical limit of their speedups. This work is open-sourced through the NATTEN project at natten.org.","abstract_html":"Attention is at the heart of most foundational AI models, across tasks and modalities. In many of those cases, it incurs a significant amount of computation, which is quadratic in complexity, and often cited as one of its greatest limitations. As a result, many sparse approaches have been proposed to alleviate this issue, with one of the most common approaches being masked or reduced attention span. In this work, we revisit sliding window approaches, which were commonly believed to be inherently inefficient, and we propose a new framework called Neighborhood Attention (NA). Through it, we solve design flaws in the original sliding window attention works, attempt to implement the approach efficiently for modern hardware accelerators, specifically GPUs, and conduct experiments that highlight the strengths and weaknesses of these approaches. At the same time, we bridge the parameterization and properties of Convolution and Attention, by showing that NA exhibits inductive biases and receptive fields similar to that in convolutions, while still capable of capturing inter-dependencies, both short and long range, similar to attention. We then show the necessity for and challenges that arise from infrastructure, especially in the context of modern implementations such as Flash Attention, and develop even more efficient and performance-optimized implementations for NA, specifically for the most recent and popular AI hardware accelerators, the NVIDIA Hopper and Blackwell GPUs. We build models based on the NA family, highlighting its superior quality and efficiency compared to existing approaches, and also plug NA into existing foundational models, and showing that it can accelerate those models by up to 1.6× end-to-end and without further training, and up to 2.6× end-to-end with training. We further demonstrate that our methodology can actually create sparse Attention patterns that realize the theoretical limit of their speedups. This work is open-sourced through the NATTEN project at natten.org.","abstract_has_math":false,"creators":["Hassani, Ali"],"institution":"Georgia Institute of Technology","degree_name":"Computer Science, PhD","degree_level":null,"degree_discipline":null,"degree_department":"Interactive Computing","school":null,"contributors":[],"advisors":["Shi, Humphrey"],"committee_chairs":[],"committee_members":["Hwu, Wen-mei","Hoffman, Judy","Kira, Zsolt","Goyal, Kartik"],"year":2026,"date_issued":"2026-05","date_published":"2026-05","updated_at":"2026-11-19T04:53:54Z","subjects":[],"languages":[],"rights":[],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[{"key":"person:identifier.orcid","label":"ORCID","values":["0000-0001-6151-162X"],"render_values":[{"text":"0000-0001-6151-162X","href":"https://orcid.org/0000-0001-6151-162X","code":true}]}]},"links":{"outbound_url":"https://hdl.handle.net/1853/80238","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/1853/80238","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","download_url":null,"download_label":null,"download_source":null,"access_status":null,"embargo_until":null,"access_note":null},"source_record":{"url":"https://repository.gatech.edu/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Arepository.gatech.edu%3A1853%2F80238","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Shi, Humphrey"]},{"key":"dc:contributor.committeemember","label":"Committee Member","values":["Hwu, Wen-mei","Hoffman, Judy","Kira, Zsolt","Goyal, Kartik"]},{"key":"dc:contributor.other","label":"Dc Contributor Other","values":["College of Computing","School of Interactive Computing"]},{"key":"dc:creator","label":"Author","values":["Hassani, Ali"]},{"key":"person:identifier.orcid","label":"ORCID","values":["0000-0001-6151-162X"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2026-01-26T14:53:32Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2026-01-26T14:53:32Z"]},{"key":"dc:date.created","label":"Dc Date Created","values":["2026-05"]},{"key":"dc:date.issued","label":"Date","values":["2026-05"]},{"key":"dc:date.submitted","label":"Dc Date Submitted","values":["May 2026"]},{"key":"dc:date.updated","label":"Dc Date Updated","values":["2026-01-26T14:53:32Z"]},{"key":"dc:relation.advisorentity","label":"Dc Relation Advisorentity","values":["0baee609-4573-48dd-88f7-ee1519225899"]},{"key":"dc:relation.ispartofseries","label":"Dc Relation Ispartofseries","values":["Doctor of Philosophy with a Major in Computer Science"]},{"key":"dc:relation.orgunit","label":"Dc Relation Orgunit","values":["c8892b3c-8db6-4b7b-a33a-1b67f7db2021","aac3f010-e629-4d08-8276-81143eeaf5cc"]},{"key":"dc:relation.seriesentity","label":"Dc Relation Seriesentity","values":["41e6384f-fa8d-4c63-917f-a26900b10f64"]},{"key":"dc:type","label":"Dc Type","values":["Text","Dissertation (PhD)"]},{"key":"thesis:degree_college","label":"Thesis Degree College","values":["College of Computing"]},{"key":"thesis:degree_department","label":"Department","values":["Interactive Computing"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Computer Science, PhD"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["Georgia Institute of Technology"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/1853/80238"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Attention is at the heart of most foundational AI models, across tasks and modalities. In many of those cases, it incurs a significant amount of computation, which is quadratic in complexity, and often cited as one of its greatest limitations. As a result, many sparse approaches have been proposed to alleviate this issue, with one of the most common approaches being masked or reduced attention span. In this work, we revisit sliding window approaches, which were commonly believed to be inherently inefficient, and we propose a new framework called Neighborhood Attention (NA). Through it, we solve design flaws in the original sliding window attention works, attempt to implement the approach efficiently for modern hardware accelerators, specifically GPUs, and conduct experiments that highlight the strengths and weaknesses of these approaches. At the same time, we bridge the parameterization and properties of Convolution and Attention, by showing that NA exhibits inductive biases and receptive fields similar to that in convolutions, while still capable of capturing inter-dependencies, both short and long range, similar to attention. We then show the necessity for and challenges that arise from infrastructure, especially in the context of modern implementations such as Flash Attention, and develop even more efficient and performance-optimized implementations for NA, specifically for the most recent and popular AI hardware accelerators, the NVIDIA Hopper and Blackwell GPUs. We build models based on the NA family, highlighting its superior quality and efficiency compared to existing approaches, and also plug NA into existing foundational models, and showing that it can accelerate those models by up to 1.6× end-to-end and without further training, and up to 2.6× end-to-end with training. We further demonstrate that our methodology can actually create sparse Attention patterns that realize the theoretical limit of their speedups. This work is open-sourced through the NATTEN project at natten.org."]},{"key":"dc:format.mimetype","label":"Dc Format Mimetype","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["Neighborhood Attention: Fast and Flexible Sparse Attention"]},{"key":"dspace:entity.type","label":"Dspace Entity Type","values":["Publication"]}]}],"canonical_facts":{"dc:contributor.advisor":["Shi, Humphrey"],"dc:contributor.committeemember":["Hwu, Wen-mei","Hoffman, Judy","Kira, Zsolt","Goyal, Kartik"],"dc:contributor.other":["College of Computing","School of Interactive Computing"],"dc:creator":["Hassani, Ali"],"dc:date.accessioned":["2026-01-26T14:53:32Z"],"dc:date.available":["2026-01-26T14:53:32Z"],"dc:date.created":["2026-05"],"dc:date.issued":["2026-05"],"dc:date.submitted":["May 2026"],"dc:date.updated":["2026-01-26T14:53:32Z"],"dc:description.abstract":["Attention is at the heart of most foundational AI models, across tasks and modalities. In many of those cases, it incurs a significant amount of computation, which is quadratic in complexity, and often cited as one of its greatest limitations. As a result, many sparse approaches have been proposed to alleviate this issue, with one of the most common approaches being masked or reduced attention span. In this work, we revisit sliding window approaches, which were commonly believed to be inherently inefficient, and we propose a new framework called Neighborhood Attention (NA). Through it, we solve design flaws in the original sliding window attention works, attempt to implement the approach efficiently for modern hardware accelerators, specifically GPUs, and conduct experiments that highlight the strengths and weaknesses of these approaches. At the same time, we bridge the parameterization and properties of Convolution and Attention, by showing that NA exhibits inductive biases and receptive fields similar to that in convolutions, while still capable of capturing inter-dependencies, both short and long range, similar to attention. We then show the necessity for and challenges that arise from infrastructure, especially in the context of modern implementations such as Flash Attention, and develop even more efficient and performance-optimized implementations for NA, specifically for the most recent and popular AI hardware accelerators, the NVIDIA Hopper and Blackwell GPUs. We build models based on the NA family, highlighting its superior quality and efficiency compared to existing approaches, and also plug NA into existing foundational models, and showing that it can accelerate those models by up to 1.6× end-to-end and without further training, and up to 2.6× end-to-end with training. We further demonstrate that our methodology can actually create sparse Attention patterns that realize the theoretical limit of their speedups. This work is open-sourced through the NATTEN project at natten.org."],"dc:format.mimetype":["application/pdf"],"dc:identifier.uri":["https://hdl.handle.net/1853/80238"],"dc:relation.advisorentity":["0baee609-4573-48dd-88f7-ee1519225899"],"dc:relation.ispartofseries":["Doctor of Philosophy with a Major in Computer Science"],"dc:relation.orgunit":["c8892b3c-8db6-4b7b-a33a-1b67f7db2021","aac3f010-e629-4d08-8276-81143eeaf5cc"],"dc:relation.seriesentity":["41e6384f-fa8d-4c63-917f-a26900b10f64"],"dc:title":["Neighborhood Attention: Fast and Flexible Sparse Attention"],"dc:type":["Text","Dissertation (PhD)"],"dspace:entity.type":["Publication"],"person:identifier.orcid":["0000-0001-6151-162X"],"thesis:degree_college":["College of Computing"],"thesis:degree_department":["Interactive Computing"],"thesis:degree_name":["Computer Science, PhD"],"thesis:institution_name":["Georgia Institute of Technology"]},"updated_at":"2026-11-19T04:53:54Z"}