Abstract
As software evolves, software architecture recovery techniques can help for effective maintenance. We envision a deductive software architecture recovery approach supported by Large Language Models (LLMs). Unlike existing inductive (bottom-up) recovery techniques, which reconstruct architecture by considering the properties observed at implementation level, our top-down approach starts with architectural properties and seeks their manifestations in the implementation. It employs a known Reference Architecture (RA) and involves two phases: RA definition and code units classification. A proof-of-concept with GPT-4 emulates deductive reasoning via chain-of-thought prompting. It demonstrates the deductive SAR approach, applying it to the Android application K-9 Mail and achieving a 70% accuracy in classifying 54 classes and 184 methods. The future plans focus on evaluating and refining the approach through ground-truth assessments, deeper exploration of reference architectures, and advancing toward automated human-like software architecture explanations. We highlight the potential for LLMs in achieving more comprehensive and explainable software architecture recovery.
| Original language | English |
|---|---|
| Title of host publication | ICSE-NIER'24 |
| Subtitle of host publication | Proceedings of the 2024 ACM/IEEE 44th International Conference on Software Engineering: New Ideas and Emerging Results |
| Publisher | Association for Computing Machinery, Inc. |
| Pages | 92-96 |
| Number of pages | 5 |
| ISBN (Electronic) | 979-8-4007-0500-7 |
| DOIs | |
| Publication status | Published - 24 May 2024 |
| Event | ACM/IEEE 44th International Conference on Software Engineering: New Ideas and Emerging Results, ICSE-NIER'24 - Lisbon, Portugal Duration: 14 Apr 2024 → 20 Apr 2024 |
Conference
| Conference | ACM/IEEE 44th International Conference on Software Engineering |
|---|---|
| Abbreviated title | ICSE-NIER'24 |
| Country/Territory | Portugal |
| City | Lisbon |
| Period | 14/04/24 → 20/04/24 |
Keywords
- Software architecture
- Software architecture recovery
- Deductive SAR
- Chain-of-thought prompting
- chain-of-thought prompting
- software architecture recovery
- deductive SAR
Fingerprint
Dive into the research topics of 'Deductive Software Architecture Recovery via Chain-of-thought Prompting'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver