paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Learning-based extraction of first-order logic representations of API directives

基于学习的 API 指令一阶逻辑表示抽取
FSE Proceedings of the 29th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering2021匹配度 4/10 · 该论文用机器学习从 API 文档中抽取一阶逻辑表示,属于 AI→PL/形式化方向的邻近工作,可能为静态分析与验证提供规格来源;但其核心不是静态分析、LLM/Agent、浮点程序分析或贝叶斯程序分析,与用户当前主线匹配度有限。引用 9 inbox
Mingwei Liu, Xin Peng, Andrian Marcus, Christoph Treude, Xuefang Bai, Gang Lyu, Jiazhan Xie, Xiaoxin Zhang
crossref: 2026-09-12

AI 速览

一句话:提出基于学习的方法,从 API 文档中抽取 API 指令并转换为便于工具处理的一阶逻辑表示。

开发者常依赖 API 文档来了解 API 指令,即与 API 使用相关的约束和指南。不遵循这些指令可能导致缺陷或不正确的实现。由于业界缺乏统一的 API 指令文档规范,指令形式多样,开发者难以理解,工具也难以解析。该论文提出一种基于学习的方法,从 API 文档中自动抽取 API 指令,并将其表示为一阶逻辑公式,从而以结构化、可被工具处理的语义形式捕获这些约束和指南。摘要未报告具体的评估设置与实验结果;从标题和摘要看,工作的核心贡献在于将自然语言 API 文档中的指令转化为一阶逻辑表示,为后续的自动化检查、推理与开发者工具支持奠定基础。

问题
API 指令缺乏统一文档标准,形式多样,导致开发者难以理解、工具难以解析,不遵循指令会引发缺陷或实现问题。
方法
采用基于学习的方法,从 API 文档中抽取 API 指令,并将其表示为一阶逻辑公式。
评估
摘要未给出评估方式与结果;预期涉及在 API 文档数据上衡量指令抽取与一阶逻辑表示的正确性。
原文摘要(Abstract)

Developers often rely on API documentation to learn API directives, i.e., constraints and guidelines related to API usage. Failing to follow API directives may cause defects or improper implementations. Since there are no industry-wide standards on how to document API directives, they take many forms and are often hard to understand by developers or challenging to parse with tools.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot6361,
  title = {Learning-based extraction of first-order logic representations of API directives},
  author = {Mingwei Liu and Xin Peng and Andrian Marcus and Christoph Treude and Xuefang Bai and Gang Lyu and Jiazhan Xie and Xiaoxin Zhang},
  booktitle = {FSE},
  year = {2021},
  doi = {10.1145/3468264.3468618}
}