paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Neural architecture search as program transformation exploration

将神经架构搜索视为程序变换探索
ASPLOS Proceedings of the 26th ACM International Conference on Architectural Support for Programming Languages and Operating Systems2021匹配度 3/10 · 论文将 NAS 操作统一为基于表示容量合法性的程序变换,属于 PL 与 ML 交叉的编译优化方向,但并非用户关注的静态分析在 ML/Agentic 程序中的应用,也不涉及 LLM/Agent 或浮点/贝叶斯程序分析,因此匹配度较低。引用 13 inbox
Jack Turner, Elliot J. Crowley, Michael F. P. O'Boyle
crossref: 2026-09-12

AI 速览

一句话:将神经架构搜索操作统一为基于表示容量合法性的程序变换,在 TVM 中联合优化 DNN 推理。

编译器通过程序变换利用硬件并行与内存层级,但受合法性约束,难以利用神经网络天然的鲁棒性;NAS 则通过分组、瓶颈化卷积等操作改变网络结构。本文把这些神经架构操作表达为程序变换,其合法性由表示容量(representational capacity)概念定义,从而与现有编译器变换统一到一个优化框架中。该统一不仅可将现有 NAS 操作分解为更简单变换的组合,还能生成并探索新的张量卷积。作者在 TVM 中原型实现该框架,在多种 DNN 上找到显著优化,多数情况下推理时间降低超过 3 倍,并大幅减少 NAS 搜索时间。

问题
编译器变换与 NAS 各自优化 DNN,但受合法性或搜索空间限制,缺少统一框架来同时利用硬件优化与网络结构弹性。
方法
将分组、瓶颈化等 NAS 操作形式化为依赖表示容量的程序变换,与 TVM 中编译器变换组合,支持生成新张量卷积并探索。
评估
在 TVM 中实现原型,跨多种 DNN 评估优化效果与 NAS 搜索时间;多数情况下推理时间减少 3 倍以上,并显著缩短搜索。
原文摘要(Abstract)

Improving the performance of deep neural networks (DNNs) is important to both the compiler and neural architecture search (NAS) communities. Compilers apply program transformations in order to exploit hardware parallelism and memory hierarchy. However, legality concerns mean they fail to exploit the natural robustness of neural networks. In contrast, NAS techniques mutate networks by operations such as the grouping or bottlenecking of convolutions, exploiting the resilience of DNNs. In this work, we express such neural architecture operations as program transformations whose legality depends on a notion of representational capacity. This allows them to be combined with existing transformations into a unified optimization framework. This unification allows us to express existing NAS operations as combinations of simpler transformations. Crucially, it allows us to generate and explore new tensor convolutions. We prototyped the combined framework in TVM and were able to find optimizations across different DNNs, that significantly reduce inference time - over 3× in the majority of cases. Furthermore, our scheme dramatically reduces NAS search time.

链接与引用

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

BibTeX
@inproceedings{paperbot6082,
  title = {Neural architecture search as program transformation exploration},
  author = {Jack Turner and Elliot J. Crowley and Michael F. P. O'Boyle},
  booktitle = {ASPLOS},
  year = {2021},
  doi = {10.1145/3445814.3446753}
}