paper-with-me

홈 › Papers

Specification-Based Code-Text-Code Reengineering for LLM-Mediated Software Evolution

2026-05-24 · Oleg Grynets, Vasyl Lyashkevych, Arsen Dolichnyi, Roman Piznak, Taras Zelenyy, Volodymyr Morozov arxiv

Direct Code2Code transformation remains challenging to control because it can preserve surface-level syntax while introducing semantic drift, hidden behavioral changes, loss of traceability, non-idiomatic target implementations, or incomplete reconstruction of domain logic. This paper proposes a specification-based Code2Text2Code reengineering framework for LLM-mediated software evolution. The central idea is to transform source code into a neutral textual specification that captures program behavior, identifiers, computational flow, conditions, side effects, data dependencies, and domain-specific intent without directly transferring the source language syntax. The proposed framework combines factual context extraction, Code2Text generation, iterative verification between source code and text specification, Text2Code generation, target code verification, retrieval-augmented grounding, and semantic-aware chunking, and transformation loss estimation. The knowledge representation layer integrates metadata derived from AST, graph-based dependency structures, neutral natural language specifications, technical documentation, business documentation, and architecture-level representations. The conducted experiments include a Code2Text2Code dataset built from multiple programming languages and SQL dialects, comparison of intermediate representations, retrieval evaluation, documentation transformation evaluation, and prompt tuning using DSPy. A graph formalization using structural preservation, reverse compatibility, interface stability, and total graph similarity is implemented to estimate transformation losses. The results support the interpretation of the Code2Text2Code approach not as a simple code transformation, but as a controlled specification-based reengineering process for LLM-mediated software evolution.

📄 PDF Abstract BibTeX arXiv:2605.25232

Code (0)

등록된 구현이 없습니다.

Tasks

Graph Similarity

Similar Papers 제목 키워드 기반

Challenges and Practices of Deep Learning Model Reengineering: A Case Study on Computer Vision

2023-03-13 · Wenxin Jiang, Vishnu Banna, Naveen Vivek, Abhinav Goel 외

Many engineering organizations are reimplementing and extending deep neural networks from the research community. We describe this process as deep learning model reengineering. Deep learning model reengineering - reusing…

Deep Learning

A Knowledge-driven Business Process Analysis Canvas

2022-01-18 · Michele Missikoff

Business process (BP) analysis represents a first key phase of information system development. It consists in the gathering of domain knowledge and its organization to be later used in the software development, and beyon…

Heloise --- A Reengineering of Ariane-G5 SLLPs for Application to \mbox$\pi$-languages

2012-12-01 · COLING 2012 12 · Vincent Berment, Christian Boitet
Machine Translation

Information Ecosystem Reengineering via Public Sector Knowledge Representation

2025-08-21 · Mayukh Bagchi arxiv

Information Ecosystem Reengineering (IER) -- the technological reconditioning of information sources, services, and systems within a complex information ecosystem -- is a foundational challenge in the digital transformat…

Decision Making

Decoy Images Amplify Caption-Mediated Defenses Against Encoded Jailbreaks

2026-08-02 · Haoyu Zhang, Xiangchen Guan, Shibo Zheng, Mohammad Zandsalimy 외 arxiv

We report a counter-intuitive interaction between image inputs and existing black-box defenses on Vision--Language Models (VLMs): pairing an encoded jailbreak prompt with an unrelated decoy image can sharply lower attack…