paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Maximal Simplification of Polyhedral Reductions

多面体归约的最大化简化
POPL 9(POPL)2025匹配度 2/10 · 论文属于编译器/多面体程序变换,关注归约简化与渐近复杂度,未涉及 LLM/Agent、浮点程序分析或贝叶斯程序分析,也未讨论静态分析在机器学习/Agentic 程序中的应用,因此与用户当前研究方向匹配度低。引用 0 inbox
Louis Narmour, Tomofumi Yuki, Sanjay Rajopadhye
crossref: 2026-09-10

AI 速览

一句话:提出分段简化方法,利用所有可用重用,使多面体归约达到最小渐近复杂度。

归约将输入集合与结合且通常可交换的运算符组合以产生结果集合;当同一输入贡献多个输出时,可复用部分结果,从而简化归约并降低渐近复杂度。多面体程序中的归约虽可自动简化,但已有方法无法利用全部可用重用。本文解决这一长期开放问题,提出对先前简化工作的扩展,以支持任意独立可交换归约。核心思想是分段简化:将任意归约拆分为若干片段,再独立简化每片。由于此类分段变换通常涉及无限多选择,作者给出构造性证明以处理该困难,并选出有限数量片段进行简化。结果使简化后程序达到最小渐近复杂度。

问题
多面体程序中的归约可自动简化并获得渐近复杂度改进,但已有方法无法利用所有可用重用,因而无法达到最小渐近复杂度。
方法
扩展先前的多面体归约简化工作,提出分段简化:把任意独立可交换归约拆成片段并分别简化;用构造性证明处理无限选择,选出有限片段。
评估
摘要未报告实验评估;通过构造性证明表明方法能选择有限片段完成简化,使简化后程序达到最小渐近复杂度。
原文摘要(Abstract)

Reductions combine collections of input values with an associative and often commutative operator to produce collections of results. When the same input value contributes to multiple outputs, there is an opportunity to reuse partial results, enabling reduction simplification . Simplification often produces a program with lower asymptotic complexity. Typical compiler optimizations yield, at best, a constant fold speedup, but a complexity improvement from, say, cubic to quadratic complexity yields unbounded speedup for sufficiently large problems. It is well known that reductions in polyhedral programs may be simplified automatically , but previous methods cannot exploit all available reuse. This paper resolves this long-standing open problem, thereby attaining minimal asymptotic complexity in the simplified program. We propose extensions to prior work on simplification to support any independent commutative reduction. At the heart of our approach is piece-wise simplification, the notion that we can split an arbitrary reduction into pieces and then independently simplify each piece. However, the difficulty of using such piece-wise transformations is that they typically involve an infinite number of choices. We give constructive proofs to deal with this and select a finite number of pieces for simplification.

链接与引用

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

BibTeX
@article{NarmourYR25,
  title = {Maximal Simplification of Polyhedral Reductions},
  author = {Louis Narmour and Tomofumi Yuki and Sanjay Rajopadhye},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {9},
  number = {POPL},
  year = {2025},
  doi = {10.1145/3704839}
}