paperbot · PL 论文追踪

全部论文 待读 收藏

P2 FuseFlow: A Fusion-Centric Compilation Framework for Sparse Deep Learning on Streaming Dataflow

FuseFlow:面向流式数据流的稀疏深度学习融合中心编译框架
ASPLOS Proceedings of the 31st ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 22026匹配度 4/10 · 该论文属于编译与代码生成及体系结构方向,与 PL 和 AI 的交叉有一定关联,但聚焦于稀疏深度学习到数据流架构的编译与融合优化,并非用户核心关注的静态分析、浮点程序分析、贝叶斯程序分析或 LLM/Agent 交叉。引用 4 inbox
Rubens Lacouture, Nathan Zhang, Ritvik Sharma, Marco Siracusa, Fredrik Kjolstad, Kunle Olukotun, Olivia Hsu
crossref: 2026-09-12dblp: 2026-09-12arxiv: 2026-09-12

AI 速览

一句话:提出 FuseFlow,首个支持稀疏算子通用跨表达式融合的编译器,将 PyTorch 稀疏模型映射到可重构数据流架构并探索融合粒度。

针对稀疏深度学习模型与专用数据流硬件的效率需求,FuseFlow 将 PyTorch 稀疏模型编译为面向可重构数据流架构的融合稀疏数据流图。它是首个支持稀疏算子通用跨表达式融合的编译器,并集成并行化、数据流排序与稀疏分块等优化,后端采用周期精确数据流模拟器进行微架构分析。作者在四个真实稀疏机器学习应用上开展设计空间探索,表明端到端全融合并非总是最优,融合粒度取决于模型;其启发式可识别并剪除次优配置。对 GPT-3 的 BigBird 块稀疏注意力,取得约 2.7 倍于未融合基线的加速。

问题
稀疏深度学习模型在通用硬件上效率受限,而将 PyTorch 稀疏模型映射到可重构数据流架构时,缺乏跨表达式的通用融合编译与优化支持。
方法
FuseFlow 将 PyTorch 模型转换为融合稀疏数据流图,支持通用跨表达式融合、并行化、数据流排序和稀疏分块,并面向周期精确数据流模拟器进行微架构分析。
评估
在四个真实稀疏机器学习应用上做设计空间探索,发现全融合不一定最优,并用启发式剪除次优配置;在 GPT-3 BigBird 块稀疏注意力上较未融合基线约 2.7 倍加速。
原文摘要(Abstract)

As deep learning models scale, sparse deep learning (DL) models that exploit sparsity in weights, activations, or inputs and specialized dataflow hardware have emerged as powerful solutions to address efficiency. We propose FuseFlow, a compiler that converts sparse machine learning models written in PyTorch to fused sparse dataflow graphs for reconfigurable dataflow architectures (RDAs). FuseFlow is the first compiler to support general cross-expression fusion of sparse operations. In addition to fusion across kernels (expressions), FuseFlow also supports optimizations like parallelization, dataflow ordering, and sparsity blocking. It targets a cycle-accurate dataflow simulator for microarchitectural analysis of fusion strategies. We use FuseFlow for design-space exploration across four real-world machine learning applications with sparsity, showing that full fusion (entire cross-expression fusion across all computation in an end-to-end model) is not always optimal for sparse models—fusion granularity depends on the model itself. FuseFlow also provides a heuristic to identify and prune suboptimal configurations. Using FuseFlow, we achieve performance improvements, including a ~2.7x speedup over an unfused baseline for GPT-3 with BigBird block-sparse attention.

链接与引用

DOI 原文 · arXiv · PDF(开放获取) · DBLP

BibTeX
@inproceedings{abs-2511-04768,
  title = {FuseFlow: A Fusion-Centric Compilation Framework for Sparse Deep Learning on Streaming Dataflow},
  author = {Rubens Lacouture and Nathan Zhang and Ritvik Sharma and Marco Siracusa and Fredrik Kjolstad and Kunle Olukotun and Olivia Hsu},
  booktitle = {ASPLOS},
  year = {2026},
  doi = {10.1145/3779212.3790165}
}