Large Language Model assisted Transformation of Software Variants into a Software Product Line

Software systems often evolve into multiple variants to meet diverse requirements. This is usually achieved with the clone-and-own approach, where an existing variant is copied and modified. While efficient in the short term, this approach presents challenges for long-term maintenance. A suitable solution to overcome this, is to re-engineer the variants into a software product line (SPL). However, this process is labor-intensive and prone to errors. Although initial studies explore the use of large language models (LLMs) to assist in the re-engineering tasks, they do not address challenges such as hallucination and limited context windows, which restricts the applicability.In this paper, we present a novel approach to assist the transformation of cloned software variants into an SPL using an LLM. To mitigate hallucination, we propose a self-refinement feedback loop to validate the generated SPL. Additionally, we introduce a variation point filtering technique that reduces the input size, while preserving essential information. To quantify and evaluate the generated output, we propose the use of existing metrics that can be employed for the evaluation. Our evaluation demonstrates the effectiveness of the self-refinement feedback loop and variation point filtering based on an existing case study. The results, benchmarked against the proposed variability metrics, indicate that the generated SPL maintains equivalent complexity and potential for reusability, to the system it is compared against.

Authors

Institutions

Publication Details

Published
2025-04-27
DOI
https://doi.org/10.1109/icsr66718.2025.00008
Citations
3
Primary Topic
Advanced Software Engineering Methodologies
Type
article
Field-Weighted Citation Impact
7.44

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Large Language Model assisted Transformation of Software Variants into a Software Product Line

Nasser Jazdi, Michael Weyrich, Johannes Stümpfle, Devansh Atray
3 citations
Advanced Software Engineering Methodologies
7.44
article

Large Language Model assisted Transformation of Software Variants into a Software Product Line

Nasser Jazdi, Michael Weyrich, Johannes Stümpfle, Devansh Atray
article en
3 citations

Abstract

Software systems often evolve into multiple variants to meet diverse requirements. This is usually achieved with the clone-and-own approach, where an existing variant is copied and modified. While efficient in the short term, this approach presents challenges for long-term maintenance. A suitable solution to overcome this, is to re-engineer the variants into a software product line (SPL). However, this process is labor-intensive and prone to errors. Although initial studies explore the use of large language models (LLMs) to assist in the re-engineering tasks, they do not address challenges such as hallucination and limited context windows, which restricts the applicability.In this paper, we present a novel approach to assist the transformation of cloned software variants into an SPL using an LLM. To mitigate hallucination, we propose a self-refinement feedback loop to validate the generated SPL. Additionally, we introduce a variation point filtering technique that reduces the input size, while preserving essential information. To quantify and evaluate the generated output, we propose the use of existing metrics that can be employed for the evaluation. Our evaluation demonstrates the effectiveness of the self-refinement feedback loop and variation point filtering based on an existing case study. The results, benchmarked against the proposed variability metrics, indicate that the generated SPL maintains equivalent complexity and potential for reusability, to the system it is compared against.

University of Stuttgart (DE)
Ministry of Education
Openalex Percentile: Top 3%
Advanced Software Engineering Methodologies
7.44
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Large Language Model assisted Transformation of Software Variants into a Software Product Line — Nasser Jazdi, Michael Weyrich, et al. · (2025) | TGRS Research Map | TGRS