RUS  ENG
Full version
JOURNALS // Informatsionnye Tekhnologii i Vychslitel'nye Sistemy // Archive

Informatsionnye Tekhnologii i Vychslitel'nye Sistemy, 2025 Issue 4, Pages 17–28 (Mi itvs919)

INTELLIGENT SYSTEMS AND TECHNOLOGIES

Evaluating the impact of code representations on design pattern classification using LLMs

J. Asaad, E. Yu. Avksentieva

ITMO University, St. Petersburg, Russia

Abstract: Design patterns play a key role in software development, representing best practices that enhance code maintainability and understandability. Their identification in source code is essential for the analysis and maintenance of legacy systems. Modern large language models (LLMs) trained on code introduce new approaches to the automatic detection of design patterns. However, the impact of different code representations on classification accuracy using LLMs remains underexplored. This study evaluates the performance of classifiers trained on embeddings generated by CodeT5, DeepSeek-Coder, and LLaMA (7B and 13B), using the DPD-Att dataset (14 categories, including “Unknown”). CodeT5 embeddings yield the highest and most stable results (up to 85% accuracy), while DeepSeek-Coder and LLaMA demonstrate competitive but less consistent performance.

Keywords: code embeddings, code analysis, code representation, pattern recognition, design pattern detection.

Language: English

DOI: 10.14357/20718632250402



Bibliographic databases:


© Steklov Math. Inst. of RAS, 2026