Automated Microservice Pattern Instance Detection Using Infrastructure-as-Code Artifacts and Large Language Models
- URL: http://arxiv.org/abs/2502.04188v1
- Date: Thu, 06 Feb 2025 16:22:14 GMT
- Title: Automated Microservice Pattern Instance Detection Using Infrastructure-as-Code Artifacts and Large Language Models
- Abstract summary: This article presents our ongoing PhD research, early experiments, and a prototype for a tool we call MicroPAD for automating the detection of microservice pattern instances.<n>The prototype uses Large Language Models (LLMs) to analyze Infrastructure-as-Code (IaC) artifacts to aid detection, aiming to keep costs low and maximize the scope of detectable patterns.
- Score: 0.0
- License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
- Abstract: Documenting software architecture is essential to preserve architecture knowledge, even though it is frequently costly. Architecture pattern instances, including microservice pattern instances, provide important structural software information. Practitioners should document this information to prevent knowledge vaporization. However, architecture patterns may not be detectable by analyzing source code artifacts, requiring the analysis of other types of artifacts. Moreover, many existing pattern detection instance approaches are complex to extend. This article presents our ongoing PhD research, early experiments, and a prototype for a tool we call MicroPAD for automating the detection of microservice pattern instances. The prototype uses Large Language Models (LLMs) to analyze Infrastructure-as-Code (IaC) artifacts to aid detection, aiming to keep costs low and maximize the scope of detectable patterns. Early experiments ran the prototype thrice in 22 GitHub projects. We verified that 83\% of the patterns that the prototype identified were in the project. The costs of detecting the pattern instances were minimal. These results indicate that the approach is likely viable and, by lowering the entry barrier to automating pattern instance detection, could help democratize developer access to this category of architecture knowledge. Finally, we present our overall research methodology, planned future work, and an overview of MicroPAD's potential industrial impact.
Related papers
- Are LLMs Ready for Anti-Pattern Detection in Microservice Architectures? [4.339839287869652]
Microservice systems are prone to recurrent architectural anti-patterns (APs) that hinder maintainability, evolvability, and operational quality.<n>This paper investigates whether large language models (LLMs) are ready to support architectural anti-pattern detection in microservice architectures.
arXiv Detail & Related papers (2026-06-25T12:03:24Z) - A Pilot Study on Detecting Software Design Patterns with Large Language Models: An Empirical Evaluation [3.4881760143114353]
This work evaluates the design pattern recognition capabilities of four Large Language Models and two ensemble approaches.<n>We investigate the detection of five design patterns: singleton, adapter, bridge, composite and decorator.<n>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.
arXiv Detail & Related papers (2026-04-19T08:51:29Z) - Large Language Models for Analyzing Enterprise Architecture Debt in Unstructured Documentation [0.0]
Enterprise Architecture Debt (EA Debt) arises from suboptimal design decisions and misaligned components that can degrade an organization's IT landscape over time.<n>Early indicators, Enterprise Architecture Smells (EA Smells), are currently mainly detected manually or only from structured artifacts.<n>This study proposes an approach using a large language model (LLM) to identify and quantify EA Debt in unstructured architectural documentation.
arXiv Detail & Related papers (2026-03-29T21:45:15Z) - Can an LLM Detect Instances of Microservice Infrastructure Patterns? [0.8318686824572802]
MicroPAD is a tool to identify architectural patterns in software artifacts written in any language.<n>It is capable of detecting pattern instances across multiple languages and artifact types.<n> patterns associated with recognizable, dominant artifacts were detected more reliably.
arXiv Detail & Related papers (2026-03-24T11:08:59Z) - Few-Shot Pattern Detection via Template Matching and Regression [52.79291493477272]
We propose a simple yet effective detector based on template matching and regression, dubbed TMR.<n>It effectively preserves and leverages the spatial layout of exemplars through a minimalistic structure with a small number of learnable convolutional or projection layers on top of a frozen backbone.<n>Our method outperforms the state-of-the-art methods on the three benchmarks, RPINE, FSCD-147, and FSCD-LVIS, and demonstrates strong generalization in cross-dataset evaluation.
arXiv Detail & Related papers (2025-08-25T03:52:42Z) - DoorDet: Semi-Automated Multi-Class Door Detection Dataset via Object Detection and Large Language Models [26.43839593818403]
We present a semi-automated pipeline to construct a multi-class door detection dataset with minimal manual effort.<n>Our method significantly reduces annotation cost while producing a dataset suitable for benchmarking neural models in floor plan analysis.<n>This work demonstrates the potential of combining deep learning and multimodal reasoning for efficient dataset construction in complex real-world domains.
arXiv Detail & Related papers (2025-08-11T07:41:09Z) - A Serverless Architecture for Real-Time Stock Analysis using Large Language Models: An Iterative Development and Debugging Case Study [0.0]
This paper documents the design, implementation, and iterative debug of a novel, serverless system for real-time stock analysis.<n>We detail the architectural evolution of the system, from initial concepts to a robust, event-driven pipeline.<n>The final architecture operates at a near-zero cost, demonstrating a viable model for individuals to build sophisticated AI-powered financial tools.
arXiv Detail & Related papers (2025-07-13T11:29:51Z) - Open-source framework for detecting bias and overfitting for large pathology images [0.0]
Even foundational models that are trained on datasets with billions of data samples may develop shortcuts that lead to overfitting and bias.
We propose a generalized, model-agnostic framework to debug deep learning models.
Our framework is available as an open-source tool available on GitHub.
arXiv Detail & Related papers (2025-03-03T18:52:53Z) - MI-DETR: An Object Detection Model with Multi-time Inquiries Mechanism [67.56918651825056]
We propose a new decoder architecture with the parallel Multi-time Inquiries (MI) mechanism.
Our MI based model, MI-DETR, outperforms all existing DETR-like models on COCO benchmark.
A series of diagnostic and visualization experiments demonstrate the effectiveness, rationality, and interpretability of MI.
arXiv Detail & Related papers (2025-03-03T12:19:06Z) - Quantitative Assurance and Synthesis of Controllers from Activity
Diagrams [4.419843514606336]
Probabilistic model checking is a widely used formal verification technique to automatically verify qualitative and quantitative properties.
This makes it not accessible for researchers and engineers who may not have the required knowledge.
We propose a comprehensive verification framework for ADs, including a new profile for probability time, quality annotations, a semantics interpretation of ADs in three Markov models, and a set of transformation rules from activity diagrams to the PRISM language.
Most importantly, we developed algorithms for transformation and implemented them in a tool, called QASCAD, using model-based techniques, for fully automated verification.
arXiv Detail & Related papers (2024-02-29T22:40:39Z) - Like an Open Book? Read Neural Network Architecture with Simple Power
Analysis on 32-bit Microcontrollers [0.0]
A neural network model's architecture is the most important information an adversary aims to recover.
For the first time, we propose an extraction methodology for traditional and CNN models running on a high-end 32-bit microcontroller.
Despite few challenging cases, we claim that, contrary to parameters extraction, the complexity of the attack is relatively low.
arXiv Detail & Related papers (2023-11-02T15:55:20Z) - ProtoExplorer: Interpretable Forensic Analysis of Deepfake Videos using
Prototype Exploration and Refinement [11.182863992851622]
ProtoExplorer is a Visual Analytics system for exploration and refinement of prototype-based deepfake detection models.
It offers tools for visualizing and temporally filtering prototype-based predictions when working with video data.
System was designed with forensic experts and evaluated in a number of rounds based on both open-ended think evaluation and interviews.
arXiv Detail & Related papers (2023-09-20T09:03:56Z) - The Impact of Different Backbone Architecture on Autonomous Vehicle
Dataset [120.08736654413637]
The quality of the features extracted by the backbone architecture can have a significant impact on the overall detection performance.
Our study evaluates three well-known autonomous vehicle datasets, namely KITTI, NuScenes, and BDD, to compare the performance of different backbone architectures on object detection tasks.
arXiv Detail & Related papers (2023-09-15T17:32:15Z) - PyRCA: A Library for Metric-based Root Cause Analysis [66.72542200701807]
PyRCA is an open-source machine learning library of Root Cause Analysis (RCA) for Artificial Intelligence for IT Operations (AIOps)
It provides a holistic framework to uncover the complicated metric causal dependencies and automatically locate root causes of incidents.
arXiv Detail & Related papers (2023-06-20T09:55:10Z) - RTMDet: An Empirical Study of Designing Real-Time Object Detectors [13.09100888887757]
We develop an efficient real-time object detector that exceeds the YOLO series and is easily for many object recognition tasks.
Together with better training techniques, the resulting object detector achieves, named RTMDet, 52.8% AP on COCO with 300+ FPS on an NVIDIA 3090 GPU.
We hope the experimental results can provide new insights into designing versatile real-time object detectors for many object recognition tasks.
arXiv Detail & Related papers (2022-12-14T18:50:20Z) - Generalization Properties of Retrieval-based Models [50.35325326050263]
Retrieval-based machine learning methods have enjoyed success on a wide range of problems.
Despite growing literature showcasing the promise of these models, the theoretical underpinning for such models remains underexplored.
We present a formal treatment of retrieval-based models to characterize their generalization ability.
arXiv Detail & Related papers (2022-10-06T00:33:01Z) - Design Automation for Fast, Lightweight, and Effective Deep Learning
Models: A Survey [53.258091735278875]
This survey covers studies of design automation techniques for deep learning models targeting edge computing.
It offers an overview and comparison of key metrics that are used commonly to quantify the proficiency of models in terms of effectiveness, lightness, and computational costs.
The survey proceeds to cover three categories of the state-of-the-art of deep model design automation techniques.
arXiv Detail & Related papers (2022-08-22T12:12:43Z) - DirectDebug: Automated Testing and Debugging of Feature Models [55.41644538483948]
Variability models (e.g., feature models) are a common way for the representation of variabilities and commonalities of software artifacts.
Complex and often large-scale feature models can become faulty, i.e., do not represent the expected variability properties of the underlying software artifact.
arXiv Detail & Related papers (2021-02-11T11:22:20Z) - AutoOD: Automated Outlier Detection via Curiosity-guided Search and
Self-imitation Learning [72.99415402575886]
Outlier detection is an important data mining task with numerous practical applications.
We propose AutoOD, an automated outlier detection framework, which aims to search for an optimal neural network model.
Experimental results on various real-world benchmark datasets demonstrate that the deep model identified by AutoOD achieves the best performance.
arXiv Detail & Related papers (2020-06-19T18:57:51Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.