paperbot · PL 论文追踪

全部论文 待读 收藏

IP-Preserving Enterprise System Modernization via LLM-Driven Specification Extraction and Multi-target Code Generation

保留知识产权的企业系统现代化:基于 LLM 驱动的规约提取与多目标代码生成
ASE Proceedings of the 41st IEEE/ACM International Conference on Automated Software Engineering2026引用 0 inbox
Andreas Biesdorf, Eckhard Seibert, Nicole Wengatz, Bart Carpels, Tom Schoonbaert
crossref: 2026-10-09

AI 速览

一句话:本地LLM提取四视图规约、云端模型仅据规约生成多目标代码,实现保留知识产权的企业系统现代化。

针对跨多站点、技术栈异构的港口终端操作系统现代化,云基LLM方案因知识产权与安全顾虑难以落地。作者提出混合流水线:本地LLM两遍提取结构域模型、行为规则、流程状态机与界面呈现四视图形式规约,覆盖48个限界上下文;云端模型仅据规约生成目标实现,不接触遗留代码。在CRM探针上,最佳本地模型结构保真度0.83,7个候选中2个无法输出可解析JSON;提示工程将域模型语义纯度从0.71提至0.94,遗留文档几乎无增益。按测试优先方法,仅从规约生成5451个行为测试,并产出Python/FastAPI与.NET 8 Blazor两个可运行应用栈。

问题
云基LLM驱动的遗留系统现代化会暴露专有源码,带来知识产权与安全风险,阻碍工业采用。
方法
采用本地LLM两遍提取四视图形式规约、云端LLM仅据规约生成多目标实现的混合流水线,并配合测试优先策略。
评估
在CRM探针参考集上测量结构保真度与语义纯度,统计可解析JSON比例,并生成5451个行为测试及两个可运行目标栈。
原文摘要(Abstract)

We report on the automated modernization of a business-critical terminal operating system deployed across multiple sites of a major European port infrastructure company, comprising a heterogeneous technology stack accumulated over many years of continuous development: over 22,000 source files, about 10,000 of them C#, a multi-layered web forms UI, a complex Oracle database, and extensive operational documentation. Most current LLM-assisted modernization approaches rely on cloud-based models, raising intellectual property and security concerns that prevent adoption in industrial settings. We present a hybrid pipeline in which local LLMs extract a formal four-view specification that keeps proprietary source code entirely on-premises, while cloud models generate target implementations from specifications only, never accessing the legacy codebase. The pipeline extracts structural domain models, behavioral rules, process state machines, and screen presentations across 48 bounded contexts via a two-pass LLM extraction approach. Against a curated reference on a CRM probe, the best local model reaches a structural fidelity of 0.83, while two of seven candidates fail to emit parseable JSON at all; prompt engineering raises the semantic purity of the extracted domain model from 0.71 to 0.94, whereas legacy documentation adds almost nothing. Following a test-first approach, 5,451 behavioral tests were generated from specifications alone before any target implementation, and two runnable application stacks (Python/FastAPI and .NET 8 Blazor) were produced. We report concrete lessons on prompt engineering, structured output generation, and the practical boundaries between automation and manual intervention.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot12470,
  title = {IP-Preserving Enterprise System Modernization via LLM-Driven Specification Extraction and Multi-target Code Generation},
  author = {Andreas Biesdorf and Eckhard Seibert and Nicole Wengatz and Bart Carpels and Tom Schoonbaert},
  booktitle = {ASE},
  year = {2026},
  doi = {10.1145/3832783.3834533}
}