Explore-Construct-Filter: An Automated Framework for Rich and Reliable API Knowledge Graph Construction
Yanbang Sun, Qing Huang, Xiaoxue Ren, Zhenchang Xing, Xiaohong Li,, Junjie Wang

TL;DR
This paper introduces an automated framework using large language models to construct a rich and reliable API knowledge graph with minimal manual effort, improving both coverage and trustworthiness.
Contribution
The Explore-Construct-Filter framework automates API knowledge graph construction, reducing manual schema design and enhancing reliability through filtering, outperforming existing methods.
Findings
Achieved 25.2% improvement in F1 score over state-of-the-art.
Increased KG richness by 133.6% through exploration.
Improved reliability by 26.6% via filtering.
Abstract
The API Knowledge Graph (API KG) is a structured network that models API entities and their relations, providing essential semantic insights for tasks such as API recommendation, code generation, and API misuse detection. However, constructing a knowledge-rich and reliable API KG presents several challenges. Existing schema-based methods rely heavily on manual annotations to design KG schemas, leading to excessive manual overhead. On the other hand, schema-free methods, due to the lack of schema guidance, are prone to introducing noise, reducing the KG's reliability. To address these issues, we propose the Explore-Construct-Filter framework, an automated approach for API KG construction based on large language models (LLMs). This framework consists of three key modules: 1) KG exploration: LLMs simulate the workflow of annotators to automatically design a schema with comprehensive type…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSemantic Web and Ontologies · Advanced Graph Neural Networks · Service-Oriented Architecture and Web Services
