From Legacy to Leading Edge: AI’s Role in Modernizing Platforms Sahil Agarwal
DOI:
https://doi.org/10.22399/ijcesen.4716Keywords:
AI-assisted modernization, Abstract syntax tree (AST), CodeBERT / GraphCodeBERT, Human-in-the-loop (HITL), Automated refactoringAbstract
Legacy modernization constitutes a formidable technical and strategic challenge for enterprises maintaining large-scale software infrastructures. Systems accumulate complexity through decades of incremental development, resulting in tangled dependencies, obsolete frameworks, and inconsistent application programming interfaces. Manual migration approaches prove costly and hazardous due to dependence on institutional knowledge that frequently disappears over time. Conventional methods involving manual code rewriting introduce defects, prolong system unavailability, and impede innovation cycles. Recent advances in artificial intelligence have fundamentally altered modernization methodologies. Contemporary intelligent migration frameworks synthesize code comprehension models, dependency graph analytics, and predictive validation mechanisms to automate substantial portions of migration workflows. Machine learning architectures now parse, categorize, and translate complex codebases while maintaining high degrees of semantic integrity, though challenges remain as language models occasionally fail to preserve complete semantic equivalence. These enhanced systems diminish human error during transformation operations and strengthen system dependability, facilitating modernization efforts at scales previously deemed impractical. This article explores architectural underpinnings, operational mechanisms, security protocols, and implementation challenges within these frameworks, illustrating their capacity to convert legacy modernization from episodic reconstruction initiatives into perpetual evolutionary maintenance processes.
References
[1] Vikram Nitin, "Using AI to Automate the Modernization of Legacy Software Applications," in 2024 39th IEEE/ACM International Conference on Automated Software Engineering (ASE), 29 November 2024. Available: https://ieeexplore.ieee.org/document/10764808
[2] Colin Diggs, et al., "Leveraging LLMs for Legacy Code Modernization: Evaluation of LLM-Generated Documentation," in 2025 IEEE/ACM International Workshop on Large Language Models for Code (LLM4Code), 12 June 2025. Available: https://ieeexplore.ieee.org/document/11028228
[3] Yizu Yang, et al., "Hierarchical Abstract Syntax Tree Representation Learning Based on Graph Coarsening for Program Classification," in 2023 8th International Conference on Data Science in Cyberspace (DSC), 08 January 2024. Available: https://ieeexplore.ieee.org/document/10381405
[4] Yijun Yu, "fAST: Flattening Abstract Syntax Trees for Efficiency," in 2019 IEEE/ACM 41st International Conference on Software Engineering: Companion Proceedings (ICSE-Companion), 19 August 2019. Available: https://ieeexplore.ieee.org/document/8802796
[5] Stoyan Nikolov, et al., "How is Google Using AI for Internal Code Migrations?" in 2025 IEEE/ACM 47th International Conference on Software Engineering: Software Engineering in Practice (ICSE-SEIP), 20 August 2025. Available: https://ieeexplore.ieee.org/document/11121699
[6] Isuru Akalanka, et al., "AI-Powered Integrated Code Repository Analyzer for Efficient Developer Workflow," in 2025 International Research Conference on Smart Computing and Systems Engineering (SCSE), 13 June 2025. Available: https://ieeexplore.ieee.org/document/11031000
[7] Md Naseef-Ur-Rahman Chowdhury, et al., "AI-Driven Secure Coding: Revolutionizing Source Code Defense," in 2024 International Conference on Signal Processing and Advanced Research in Computing (SPARC), 10 January 2025. Available: https://ieeexplore.ieee.org/document/10828840
[8] Sri Haritha Ambati, et al., "Navigating (in)Security of AI-Generated Code," in 2024 IEEE International Conference on Cyber Security and Resilience (CSR), 24 September 2024. Available: https://ieeexplore.ieee.org/document/10679468
[9] Yaoxian Li, et al., "Understanding the Robustness of Transformer-Based Code Intelligence via Code Transformation: Challenges and Opportunities," in IEEE Transactions on Neural Networks and Learning Systems, 16 January 2025. Available: https://ieeexplore.ieee.org/document/10843180
[10] Yuriy Kondratenko, et al., "Tendencies and Challenges of Artificial Intelligence in Modern Software Engineering," in IEEE Access, 21 December 2023. Available: https://ieeexplore.ieee.org/document/10348800
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 International Journal of Computational and Experimental Science and Engineering

This work is licensed under a Creative Commons Attribution 4.0 International License.