Skip to content
Conference

Architecture Recovery Revisited: A Hybrid Knowledge Graph and LLM-Based Approach

Jul 2026 · Annual International Computer Software and Applications Conference · pp. 493-502 · 0 citations · 22 references

Abstract

Software architecture recovery has long been central to research in program understanding and reengineering. Understanding and modernizing large-scale legacy software requires accurate reconstruction of its architectural structure. Traditional recovery approaches based on code clustering or template matching struggle to deliver semantically meaningful decompositions, especially in the face of architectural drift and inadequate documentation. We present a hybrid architecture recovery method that integrates Large Language Models (LLMs) with a property-based Knowledge Graph derived directly from source code. Our approach iteratively explores, proposes, and refines component boundaries through a three-phase process: Explore, Allocate, and Shift. This process combines structural analysis with semantic reasoning and prompt engineering to produce coherent component hierarchies. We evaluate our system on three real-world C codebases (cJSON, SQLite, and Bash), and compare the recovered architectures against established reference architectures and gold standards.

View source

Similar papers

Book Open access Apr 2026

Semantic-Enhanced Automatic Refinement of Architecture Recovery Results Using LLMs

SemRef, a framework that combines LLMs with dependency analysis to automatically refine architectures recovered by existing architecture recovery tools, is introduced, which improves accuracy across various metrics and enhances both the accuracy and the comprehension of recovered architectures.

Yi-Ran Zhang, Chengwei Liu, Yu-Qiang Sun et al. · 1 citation
Review Open access 2026

Intelligent Methods for Software Architecture and Business Logic Recovery: Current State and Prospects for Application

The article argues that business logic recovery should be treated not only as relationship detection, but as the organization of heterogeneous evidence, which is crucial if confirmed dependencies, semantic similarities, configuration links, and generated interpretations are merged without separation.

V. Tsurkan, Andrii Ponepaliak · 0 citations
Aug 2026

Balancing Richness and Reliability: An Explore-Construct-Verify Framework for API Knowledge Graph Construction

This work proposes Explore-Construct-Verify (ECV), a three-stage framework for API KG construction using large language models (LLMs), which preserves LLMs’ ability to discover domain-specific knowledge while enabling efficient post-hoc validation.

Yan-Bang Sun, Qing Huang, Zhen-Chang Xing et al. · 0 citations
Review Open access Jul 2026

Automating Institutional Knowledge: A Dynamic, AI-Driven Knowledge Graph Architecture for Safety-Critical Codebases

The Dynamic Code Wiki is proposed, an intelligent software knowledge architecture that automatically transforms large codebases into continuously evolving, semantically searchable knowledge repositories and significantly improves software maintainability, architectural transparency, impact analysis, and long-term knowl...

Parth Govind Vanparia · 0 citations
Conference Jul 2026

PathRAG: A Graph-Based Reasoning Approach for Enhancing Retrieval in Software User Manuals

In modern software systems, large-scale technical manuals and complex user workflows impose a significant cognitive barrier for end-users, particularly children and the elderly. While integrated automated assistants have emerged as a promising service paradigm to abstract these system complexities, traditional Retrieva...

Ly-Huynh Phan, Dinh-Dat Nguyen, Huy-Vu Luu · 0 citations
Book Open access Jul 2026

CODENS: Transforming Code Changes into Living, Accessible, and Queryable Documentation

Results show that CODENS produces highly relevant and well-grounded answers, while qualitative feedback highlights a remaining challenge in concise, documentation-oriented synthesis.

Abdelhak Kelious, Chyrine Tahri, E. Bardet · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.