Back to search

Case Western Reserve University School of Graduate Studies

Improving Sparse Attention Performance Through Graph Processing Techniques

Abstract

dc:description

Attention has emerged as a foundational primitive in modern machine learning, powering applications ranging from large language models and scientific computing to autonomous vehicles and healthcare. As these systems continue to grow in scale, however, the quadratic computational and memory costs of attention limit achievable context lengths and overall efficiency. While advances such as FlashAttention have substantially improved dense attention execution, the broader challenge of efficiently exploiting sparsity remains unresolved despite the presence of sparse attention mechanisms in long-context models.This dissertation explores sparse attention through the lens of graph computing, demonstrating performance benefits of graph-oriented formulations. We introduce a series of sparse attention algorithms that treat attention masks as graph structures, enabling fine-grained execution strategies that directly exploit sparsity while maintaining compatibility with modern transformer architectures. Through this perspective, we show that sparse attention can achieve significantly larger practical and theoretical context lengths than conventional masked attention approaches, while also outperforming dense state-of-the-art implementations when sufficient sparsity is present.Beyond algorithmic execution, this work investigates techniques for improving the structure of sparse attention itself. By formulating token reordering as a hypergraph partitioning problem, we demonstrate that sparse connectivity patterns can be reorganized into more hardware-friendly layouts that reduce block-level fragmentation and improve GPU utilization. We further explore optimized sparse storage formats, dynamic workload balancing strategies, and hybrid execution models that combine vertex- and edge-centric graph processing techniques to address the irregular distributions of non-zeros commonly encountered in real-world sparse attention patterns.Collectively, these contributions illustrate that sparsity should be viewed not merely as a mechanism for reducing arithmetic operations, but as a broader opportunity to rethink how attention is represented, scheduled, and executed. As context lengths continue to grow and sparse attention becomes increasingly central to next-generation transformer architectures, the integration of graph-processing methods, partitioning techniques, and adaptive execution strategies offers a promising path toward efficient ultra-long-context learning systems. The results presented in this dissertation suggest that future attention frameworks may benefit from dynamically combining dense and sparse computation, selecting execution strategies based on local structure and workload characteristics to fully leverage evolving hardware capabilities.

Degree

thesis:*
Name thesis:degree_name
Doctor of Philosophy
Level thesis:degree_level
doctoral
Discipline thesis:degree_discipline
EECS - Computer and Information Sciences
Grantor dc:publisher
Case Western Reserve University School of Graduate Studies
Year dc:date
2026

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Tomczak, Nathaniel King
Advisor dc:contributor.advisor
  • Kuppannagari, Sanmukh

Subjects

dc:subject × 2

Rights

dc:rights
Statement dc:rights
  • unrestricted
  • This thesis or dissertation is protected by copyright: all rights reserved. It may not be copied or redistributed beyond the terms of applicable copyright laws.
Language dc:language
English

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
OhioLINK
Base URL
etd.ohiolink.edu/acprod/odb_etd/ws/oai/oai
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
citation

Tomczak, Nathaniel King. Improving Sparse Attention Performance Through Graph Processing Techniques. doctoral thesis, Case Western Reserve University School of Graduate Studies, 2026. http://rave.ohiolink.edu/etdc/view?acc_num=case1783355942152214