paperbot · PL 论文追踪

全部论文 待读 收藏

P2 DeepContext: A Context-aware, Cross-platform, and Cross-framework Tool for Performance Profiling and Analysis of Deep Learning Workloads

DeepContext:面向深度学习负载性能剖析与分析的上下文感知、跨平台、跨框架工具
ASPLOS Proceedings of the 30th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 32025匹配度 3/10 · 论文属于机器学习系统与程序分析交叉的性能剖析工具,与用户关注的“在 ML/Agentic 程序中应用静态分析”只有系统与工具层面的弱关联;其核心是动态 profiling 和性能瓶颈定位,不涉及静态分析、LLM/Agent、浮点程序分析或贝叶斯程序分析。引用 6 inbox
Qidong Zhao, Hao Wu, Yueming Hao, Zilingfeng Ye, Jiajia Li, Xu Liu, Keren Zhou
crossref: 2026-09-12dblp: 2026-09-12arxiv: 2026-09-12

AI 速览

一句话:提出上下文感知、跨平台跨框架的 DeepContext 工具,关联深度学习全栈执行以定位性能瓶颈并给出优化建议。

深度学习模型在异构计算环境中的性能优化需要贯穿高层算子到底层执行的全面剖析,但现有工具难以关联 Python 代码、深度学习框架、C/C++ 库与 GPU 执行之间的语义鸿沟。DeepContext 提出一种上下文感知的剖析系统:通过框架无关的 shim 层把深度学习框架行为与硬件性能指标关联起来,并基于整个软件栈的全局视图自动分析性能并给出可操作的优化建议。它支持主流深度学习框架,运行于现代 CPU+GPU 架构且开销低。评估表明,DeepContext 能发现真实应用中此前隐藏的性能瓶颈;在其指导下修复多个性能问题,获得 1.06× 到 1.66× 的加速。

问题
现有深度学习性能剖析工具难以弥合高层算子与底层执行之间的语义鸿沟,无法跨 Python、框架、C/C++ 与 GPU 全面关联程序上下文。
方法
DeepContext 使用框架无关的 shim 层关联框架行为与硬件性能指标,并提供基于全软件栈视图的自动化性能分析器,输出可操作的优化指导。
评估
在主流深度学习框架和现代 CPU+GPU 架构上以低开销运行,发现真实应用中的隐藏瓶颈,并指导修复性能问题实现 1.06×–1.66× 加速。
原文摘要(Abstract)

Effective performance optimization of deep learning models requires comprehensive profiling across heterogeneous computing environments, yet existing tools fail to bridge the semantic gap between high-level operations and low-level execution. This paper presents DeepContext, a novel profiling system that correlates program contexts across Python code, deep learning frameworks, C/C++ libraries, and GPU execution. DeepContext features a framework-agnostic shim layer that seamlessly correlates the behavior of the deep learning framework with hardware performance metrics. Furthermore, DeepContext provides an automated performance analyzer that offers actionable optimization guidance based on its holistic view of the entire software stack of deep learning applications. DeepContext works for mainstream deep learning frameworks and runs on modern CPU+GPU architectures with low overhead. Our evaluation demonstrates that DeepContext uncovers previously hidden performance bottlenecks in real-world deep-learning applications. Guided by DeepContext, we are able to fix multiple performance issues, achieving speed-ups between 1.06× and 1.66×.

链接与引用

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

BibTeX
@inproceedings{ZhaoWHY00025,
  title = {DeepContext: A Context-aware, Cross-platform, and Cross-framework Tool for Performance Profiling and Analysis of Deep Learning Workloads},
  author = {Qidong Zhao and Hao Wu and Yueming Hao and Zilingfeng Ye and Jiajia Li and Xu Liu and Keren Zhou},
  booktitle = {ASPLOS},
  year = {2025},
  doi = {10.1145/3676642.3736127}
}