一句话:提出 LATO,以分层分析策略引导 LLM 从需求文本生成可执行 UML 活动图,提升行为建模的准确性与完整性。
复杂软件与快速演进需求使人工行为建模难以兼顾效率、准确性和可扩展性,现有自动方法也缺乏对需求语义与嵌套系统逻辑的深层理解。本文提出 LATO:一种分层分析驱动的自动行为建模方法。它借鉴分析师逐层“剥洋葱”的策略,用渐进式分解引导大语言模型增量解析需求结构、解构行为依赖,并生成可执行 UML 活动图。在四个开源数据集和两个真实工业系统上,LATO 在准确性、完整性和语法合规性上全面优于现有基线:行为节点抽取 F1 最多提升 71.1%,关系抽取 F1 相对提升 52.4%,语法通过率高于 96.67%,且对输入扰动鲁棒,具有跨领域泛化能力。
As software complexity skyrockets and requirements evolve at breakneck speed, traditional human-centric behavioral modeling can no longer keep pace in terms of efficiency, accuracy, and scalability. While existing automated approaches can produce models, they still struggle with deep semantic understanding of textual requirements or with reasoning about intricate system logic, especially nested relationships. Inspired by the way experienced analysts “peel back” layers of a problem, we propose LATO, a Layerwise Analysis-Driven AuTomatic Behavioral MOdeling approach. It employs a progressive decomposition strategy to guide large language models in incrementally parsing requirement structures, deconstructing behavioral dependencies, and ultimately generating executable UML activity diagrams. Comprehensive evaluations on four open-source datasets and two real-world industrial systems show that LATO comprehensively outperforms state-of-the-art baselines in accuracy, completeness, and syntactic compliance: F1 scores for behavioral node-extraction improve by up to 71.1%, relation-extraction F1 by 52.4% relatively, and syntactic pass rates remain above 96.67%. The framework also exhibits strong robustness to input perturbations, confirming its cross-domain generalizability. This paper is the first to tightly fuse human-inspired strategies with LLMs in behavior modeling, yielding an intelligent infrastructure that exhibits expert-level logical understanding and generalization. By closing the modeling-skills gap, LATO delivers a next-generation, low-cost, and explainable solution for requirements engineering and AI-native software development.
@inproceedings{paperbot11661,
title = {Modeling Like Peeling an Onion: Layerwise Analysis-Driven Automatic Behavioral Model Generation},
author = {Yike Huang and Ming Hu and Xiaohong Chen and Zhi Jin and Shuyuan Xiao},
booktitle = {ICSE},
year = {2026},
doi = {10.1145/3744916.3787806}
}