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

大規模言語モデルによるソフトウェア設計パターンの検出パイロットスタディ:実証的評価

原題: A Pilot Study on Detecting Software Design Patterns with Large Language Models: An Empirical Evaluation
著者: Oishik Chowdhury, Bastin Tony Roy Savarimuthu, Sherlock A. Licorish
公開日: 2026-04-19 | 分野: LLM 機械学習 ソフトウェア アルゴリズム cs.SE

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

ポイント

  • 本研究では、大規模言語モデル(LLM)を用いてソースコード中のソフトウェア設計パターンを自動検出する能力を評価した。
  • LLMによる設計パターン検出は、開発者の理解促進や品質問題の早期発見に繋がる可能性があり、従来手法と比較して新しいアプローチである。
  • LLMは設計パターン検出に有望な結果を示し、特にNextCoderとGemma 3が高精度であり、アンサンブル学習で効率が向上した。

Abstract

Design patterns provide reusable solutions to recurring software design problems. Automatically detecting these patterns in source code can help bootstrap new developers' understanding of unfamiliar software system architectures, and can help experienced developers to quickly identify and rectify potential quality issues. While many prior research works have explored graph based and machine-learning based detection techniques, this work evaluates the design pattern recognition capabilities of four Large Language Models and two ensemble approaches consisting three out of the four models. We also compare their performance when prompted with a) Source code, b) PlantUML representation of source code, and c) Text-based descriptions of the source code. We investigate the detection of five design patterns: singleton, adapter, bridge, composite and decorator. Our preliminary results indicate that LLMs show promise for automatically detecting design patterns, with NextCoder and Gemma 3 demonstrating comparatively higher accuracy than other models evaluated, and the ensemble approaches enhancing the overall efficiency of design pattern detection. We identify several directions for future work.

Paper AI Chat

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

質問の例:

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

会員登録 / ログイン

💬 ディスカッション

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

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

関連するAIDB記事