次回の更新記事:誤解を招きやすいAI用語6選、技術語なのに揺れる意味(公開予定日:2026年04月30日)
AIDB Daily Papers

DAInfer+: 埋め込みモデルによるドキュメントからのAPI仕様のニューロシンボリック推論

原題: DAInfer+: Neurosymbolic Inference of API Specifications from Documentation via Embedding Models
著者: Maryam Masoudian, Anshunkang Zhou, Chengpeng Wang, Charles Zhang
公開日: 2026-03-30 | 分野: 開発 意味 ライブラリ Java 静的解析 データフロー ニューロシンボリック 自然言語処理 プログラミング コード 設計 実装 システム 精度 LLM API 最適化 情報 評価 情報抽出 ドキュメント 検証 埋め込み ソフトウェア 機械学習 推論 NLP

※ 日本語タイトル・ポイントはAIによる自動生成です。正確な内容は原論文をご確認ください。

ポイント

  • DAInfer+は、ライブラリドキュメントからAPI仕様を推論する新しいアプローチを提案した。
  • NLPを活用しドキュメントの非形式的な意味情報を解釈、仕様推論を最適化問題へ帰着させた点が新しい。
  • Javaライブラリの評価で、埋め込みモデルがLLMを凌駕し、データフローとエイリアスの推論で高い精度を示した。

Abstract

Modern software systems heavily rely on various libraries, which require understanding the API semantics in static analysis. However, summarizing API semantics remains challenging due to complex implementations or unavailable library code. This paper presents DAInfer+, a novel approach for inferring API specifications from library documentation. We employ Natural Language Processing (NLP) to interpret informal semantic information provided by the documentation, which enables us to reduce the specification inference to an optimization problem. Specifically, we investigate the effectiveness of sentence embedding models and Large Language Models (LLMs) in deriving memory operation abstractions from API descriptions. These abstractions are used to retrieve data-flow and aliasing relations to generate comprehensive API specifications. To solve the optimization problem efficiently, we propose neurosymbolic optimization, yielding precise data-flow and aliasing specifications. Our evaluation of popular Java libraries shows that zero-shot sentence embedding models outperform few-shot prompted LLMs in robustness, capturing fine-grained semantic nuances more effectively. While our initial attempts using two-stage LLM prompting yielded promising results, we found that the embedding-based approach proved superior. Specifically, these models achieve over 82% recall and 85% precision for data-flow inference and 88% recall and 79% precision for alias relations, all within seconds. These results demonstrate the practical value of DAInfer+ in library-aware static analysis.

Paper AI Chat

この論文のPDF全文を対象にAIに質問できます。

質問の例:

AIチャット機能を利用するには、ログインまたは会員登録(無料)が必要です。

会員登録 / ログイン

💬 ディスカッション

ディスカッションに参加するにはログインが必要です。

ログイン / アカウント作成 →

関連するAIDB記事