paperbot · PL 论文追踪

全部论文 待读 收藏

P2 The (In)Efficiency of interaction

交互的(非)效率
POPL 5(POPL)2021匹配度 1/10 · 论文属于纯程序语言理论中的抽象机与交类型研究,讨论高阶函数求值的时间效率,不涉及静态分析、LLM/Agent、浮点程序分析或贝叶斯程序分析,与用户研究画像核心方向几乎无关。引用 13 inbox
Beniamino Accattoli, Ugo Dal Lago, Gabriele Vanoni
crossref: 2026-09-10

AI 速览

一句话:在统一框架中比较四种抽象机,并用非幂等交类型证明交互抽象机的时间低效源于高阶类型。

这篇论文研究基于交互几何的抽象机在求值高阶函数式程序时的时间效率问题。此类抽象机以空间高效著称,但时间性能常逊于传统的环境式抽象机;已有工作构造出使其指数级变慢的 λ 项族,然而这种低效的普遍性与最坏情况尚不清楚。作者将四种著名抽象机置于统一的定义框架中,精确比较它们的相对时间效率,并用非幂等交类型理论刻画交互抽象机的运行时间。结果表明非幂等交类型能够精确反映该抽象机的时间性能,从而说明其时间低效最终源于高阶类型的存在。

问题
基于交互几何的抽象机求值高阶函数式程序时空间高效但时间常劣于环境式抽象机;其低效的普遍性与最坏情况此前未知。
方法
在统一框架中形式化四种著名抽象机以精确比较相对时间效率,并用非幂等交类型理论刻画交互抽象机的运行时间。
评估
通过统一框架下的理论分析与类型对应,给出相对时间效率的精确结果,并证明非幂等交类型精确反映交互抽象机的时间性能。
原文摘要(Abstract)

Evaluating higher-order functional programs through abstract machines inspired by the geometry of the interaction is known to induce space efficiencies, the price being time performances often poorer than those obtainable with traditional, environment-based, abstract machines. Although families of lambda-terms for which the former is exponentially less efficient than the latter do exist, it is currently unknown how general this phenomenon is, and how far the inefficiencies can go, in the worst case. We answer these questions formulating four different well-known abstract machines inside a common definitional framework, this way being able to give sharp results about the relative time efficiencies. We also prove that non-idempotent intersection type theories are able to precisely reflect the time performances of the interactive abstract machine, this way showing that its time-inefficiency ultimately descends from the presence of higher-order types.

链接与引用

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

BibTeX
@article{paperbot1167,
  title = {The (In)Efficiency of interaction},
  author = {Beniamino Accattoli and Ugo Dal Lago and Gabriele Vanoni},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {5},
  number = {POPL},
  year = {2021},
  doi = {10.1145/3434332}
}