SELGFeb 25, 2025

LLM-Based Design Pattern Detection

arXiv:2502.18458v14 citationsh-index: 2
Originality Synthesis-oriented
AI Analysis

This research addresses a challenging task for software developers to enhance code comprehension and maintenance, though it appears incremental as it builds on existing LLM capabilities for a specific domain.

The paper tackled the problem of detecting design pattern instances in unfamiliar codebases by leveraging Large Language Models to automatically identify them, aiming to improve software quality and maintainability.

Detecting design pattern instances in unfamiliar codebases remains a challenging yet essential task for improving software quality and maintainability. Traditional static analysis tools often struggle with the complexity, variability, and lack of explicit annotations that characterize real-world pattern implementations. In this paper, we present a novel approach leveraging Large Language Models to automatically identify design pattern instances across diverse codebases. Our method focuses on recognizing the roles classes play within the pattern instances. By providing clearer insights into software structure and intent, this research aims to support developers, improve comprehension, and streamline tasks such as refactoring, maintenance, and adherence to best practices.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes