[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-82328-en":3,"doc-seo-82328-105":29,"detail-sidebar-cat-0-en-105":91},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":20,"is_deleted":4,"is_public":20,"is_downloadable":20,"audit_status":20,"page_count":21,"language":22,"language_code":23,"site_id":24,"html_lang":23,"table_of_contents":25,"faqs":26,"seo_title":13,"seo_description":14,"update_tm":27,"read_time":28},82328,1374391974585,"Genevieve","https://ap-avatar.wpscdn.com/davatar_276721f389ce27ea32af1340a28f341c",8,"Research & Report","STEEL Sparsity-Aware Fused Attention for Energy-Efficient Long-Sequence Inference on AMD’s XDNA NPU","Energy-efficient inference for large language model (LLM) agents is increasingly important on laptop systems-on-chip, where cloud offloading raises latency, reliability, and privacy concerns. While NPUs improve power efficiency, mapping attention onto diverse architectures and explicit data-movement models is difficult. STEEL presents an open-source FlashAttention implementation for XDNA-like NPUs, with a prefill dataflow formulation exploiting spatial parallelism and on-chip memory. A sparsity-aware pipeline placement mitigates causal-mask imbalance, reducing synchronization overhead and improving utilization.","STEEL: Sparsity-Aware Fused Attention for Energy-Efficient Long-Sequence Inference on AMD’s XDNA™ NPU  \nVictor J.B. Jung†∗ , Gagandeep Singh∗ , Joseph Melber∗ , Kristof Denolf∗ , Francesco Conti‡, Luca Benini†‡  \n∗AMD Research and Advanced Development (RAD) .  \n†Integrated Systems Laboratory (IIS), ETH Z¨urich, Switzerland.  \n‡ Department of Electrical, Electronic and Information Engineering (DEI), University of Bologna, Italy.  \narXiv :2607 .09385v1 [ cs .DC] 10 Jul 2026  \nAbstract—The growing adoption of large language model (LLM)-based agents within operating system workflows has increased the importance of energy-efficient inference on laptopclass systems-on-chip (SoCs). While cloud offloading remains common, it introduces reliability and privacy concerns that are particularly problematic for agentic workloads. Recent laptop SoCs, therefore, incorporate neural processing units (NPUs) optimized for energy efficiency; however, effectively mapping attention mechanisms onto NPUs remains challenging due to architectural diversity and explicit data-movement programming models. In this work, we present STEEL, the first open-source implementation of FlashAttention targeting XDNA-like NPUs. STEEL introduces a dataflow formulation of prefill attention, enabling efficient exploitation of spatial parallelism and on-chip memory. Furthermore, STEEL addresses the load imbalance induced by the causal mask by leveraging a sparsity-aware pipeline placement onto the NPU array, reducing synchronization overhead and improving utilization. We evaluate STEEL on the AMD Ryzen™ AI 9 HX 370 SoC and compare its performance against optimized central processing unit (CPU) and graphics processing unit (GPU) implementations. Experimental results show that STEEL reduces energy consumption by an average of 9.17 × and 1.75 × relative to CPU and GPU baselines, respectively. On XDNA™ 1, STEEL achieves an average 9.6 × latency reduction over the prior state of the art (SotA), and delivers a 22.8 × speedup on average compared to a layer-bylayer attention implementation on XDNA™ 2.  \nI. INTRODUCTION  \nTHEageinntcsreaintregperraattiionng  \nof artificial intelligence (AI) system functions is a key driver  \nin the design of modern laptop systems-on-chip (SoCs) [1] . These agents are typically implemented as large Transformerbased deep neural networks (DNNs) with several billion parameters [2] . While such models enable powerful capabilities, their inference demands impose substantial computational and data-movement overhead, making them inherently energyintensive. This energy cost has emerged as a fundamental bottleneck for embedded mobile platforms, where power and thermal budgets are tightly constrained [2] .  \nAs a result, most large language model (LLM) inference is currently offloaded to data-center graphics processing units (GPUs) . Although effective from a performance standpoint, this centralized approach introduces challenges in agentic workflows, including increased latency, reduced reliability, and heightened privacy risks [3] .  \nTo unlock the full potential of AI agents at the edge, recent laptop SoCs integrate neural processing units (NPUs) designed specifically for energy-efficient inference [4],[5],[6] . NPUs target the most computationally and energy expensive components of Transformer models, most notably the attention mechanism [7] . The prefill stage of Attention is a major contributor to inference latency and energy consumption at long-sequence length, a regime that is increasingly common in practical LLM deployments [7] . As a result, substantial effort has been made to optimize attention on both commercial [8] and academic hardware platforms [9] . The range of attention optimizations is broad, from algorithmic improvements like FlashAttention [8] to hardware enhancements including specialized non-linear units [10] .  \nNPUs achieve high energy efficiency through spatial dataflow architectures and explicit data-movement programming models, whi","cbCaifnuCvRRvfaE","https://ap.wps.com/l/cbCaifnuCvRRvfaE","pdf",1712562,1,6,"English","en",105,"# Introduction\n## Motivation for energy-efficient agent inference\n## Challenges mapping attention to NPUs\n## STEEL contributions","[{\"question\":\"Why is energy-efficient inference important for laptop LLM agent workflows?\",\"answer\":\"Agentic LLM inference is energy-intensive due to computation and data movement, and edge platforms have tight power and thermal limits. Offloading to cloud can also increase latency and introduce reliability and privacy risks.\"},{\"question\":\"What is STEEL in this work?\",\"answer\":\"STEEL is presented as the first open-source FlashAttention implementation targeting XDNA-like NPUs. It uses a prefill attention dataflow formulation designed for efficient execution on the NPU array.\"},{\"question\":\"How does STEEL improve performance and energy efficiency on XDNA NPUs?\",\"answer\":\"STEEL exploits spatial parallelism and on-chip memory for the prefill stage, and uses a sparsity-aware pipeline placement to reduce causal-mask-induced load imbalance and synchronization overhead. Experiments report significant average energy and latency improvements versus CPU and GPU baselines and prior work.\"}]",1784179675,15,{"code":4,"msg":30,"data":31},"ok",{"site_id":24,"language":23,"slug":32,"title":13,"keywords":33,"description":14,"schema_data":34,"social_meta":86,"head_meta":88,"extra_data":90,"updated_unix":27},"steel-sparsity-aware-fused-attention-for-energy-efficient-long-sequence-inference-on-amds-xdna-npu","",{"@graph":35,"@context":85},[36,53,68],{"@type":37,"itemListElement":38},"BreadcrumbList",[39,43,47,50],{"item":40,"name":41,"@type":42,"position":20},"https://docshare.wps.com","Home","ListItem",{"item":44,"name":45,"@type":42,"position":46},"https://docshare.wps.com/document/","Document",2,{"item":48,"name":12,"@type":42,"position":49},"https://docshare.wps.com/document/research-report/",3,{"item":51,"name":13,"@type":42,"position":52},"https://docshare.wps.com/document/steel-sparsity-aware-fused-attention-for-energy-efficient-long-sequence-inference-on-amds-xdna-npu/82328/",4,{"url":51,"name":13,"@type":54,"author":55,"headline":13,"publisher":57,"fileFormat":60,"inLanguage":23,"description":14,"dateModified":61,"datePublished":62,"encodingFormat":60,"isAccessibleForFree":63,"interactionStatistic":64},"DigitalDocument",{"name":9,"@type":56},"Person",{"url":40,"name":58,"@type":59},"DocShare","Organization","application/pdf","2026-07-17","2026-07-16",true,{"@type":65,"interactionType":66,"userInteractionCount":20},"InteractionCounter",{"@type":67},"ViewAction",{"@type":69,"mainEntity":70},"FAQPage",[71,77,81],{"name":72,"@type":73,"acceptedAnswer":74},"Why is energy-efficient inference important for laptop LLM agent workflows?","Question",{"text":75,"@type":76},"Agentic LLM inference is energy-intensive due to computation and data movement, and edge platforms have tight power and thermal limits. Offloading to cloud can also increase latency and introduce reliability and privacy risks.","Answer",{"name":78,"@type":73,"acceptedAnswer":79},"What is STEEL in this work?",{"text":80,"@type":76},"STEEL is presented as the first open-source FlashAttention implementation targeting XDNA-like NPUs. It uses a prefill attention dataflow formulation designed for efficient execution on the NPU array.",{"name":82,"@type":73,"acceptedAnswer":83},"How does STEEL improve performance and energy efficiency on XDNA NPUs?",{"text":84,"@type":76},"STEEL exploits spatial parallelism and on-chip memory for the prefill stage, and uses a sparsity-aware pipeline placement to reduce causal-mask-induced load imbalance and synchronization overhead. Experiments report significant average energy and latency improvements versus CPU and GPU baselines and prior work.","https://schema.org",{"og:url":51,"og:type":87,"og:title":13,"og:site_name":58,"og:description":14},"article",{"robots":89,"canonical":51},"index,follow",{"doc_id":7,"site_id":24},{"code":4,"msg":5,"data":92},[93,97,101,105,110,114,119,122,127,130,134],{"id":20,"doc_module":4,"doc_module_name":45,"category_name":94,"show_sort_weight":95,"slug":96},"Story & Novel",90,"story-novel",{"id":46,"doc_module":4,"doc_module_name":45,"category_name":98,"show_sort_weight":99,"slug":100},"Literature",80,"literature",{"id":52,"doc_module":4,"doc_module_name":45,"category_name":102,"show_sort_weight":103,"slug":104},"Exam",70,"exam",{"id":106,"doc_module":4,"doc_module_name":45,"category_name":107,"show_sort_weight":108,"slug":109},5,"Comic",60,"comic",{"id":21,"doc_module":4,"doc_module_name":45,"category_name":111,"show_sort_weight":112,"slug":113},"Technology",50,"technology",{"id":115,"doc_module":4,"doc_module_name":45,"category_name":116,"show_sort_weight":117,"slug":118},7,"Healthcare",40,"healthcare",{"id":11,"doc_module":4,"doc_module_name":45,"category_name":12,"show_sort_weight":120,"slug":121},30,"research-report",{"id":123,"doc_module":4,"doc_module_name":45,"category_name":124,"show_sort_weight":125,"slug":126},9,"Religion & Spirituality",20,"religion-spirituality",{"id":125,"doc_module":4,"doc_module_name":45,"category_name":128,"show_sort_weight":125,"slug":129},"World Cup","world-cup",{"id":131,"doc_module":4,"doc_module_name":45,"category_name":132,"show_sort_weight":131,"slug":133},10,"Lifestyle","lifestyle",{"id":135,"doc_module":4,"doc_module_name":45,"category_name":136,"show_sort_weight":106,"slug":137},19,"General","general"]