Back to search

Nanyang Technological University

Enhancing software evolution reliability through neurosymbolic reasoning

Abstract

dc:description.abstract

Modern software systems must continually evolve as their dependencies and requirements change. Reliable evolution requires understanding dependency risks, locating code relevant to intended changes, and maintaining consistency between code and documentation. Large Language Models (LLMs) offer new opportunities to automate these activities, but hallucinations and errors in interpreting program structure and constraints can compromise reliability. This thesis investigates reliability challenges across three phases of software evolution: environment perception, logic implementation, and artifact delivery. It develops reproducible evaluation resources alongside neurosymbolic methods that integrate the semantic capabilities of neural models with explicit program analysis and logical reasoning. For environment perception, dependency changes can introduce failures whose effects depend on how clients use a library. This thesis presents CompSuite, a dataset of 123 real-world Java client-library pairs exhibiting library upgrade incompatibilities. Existing tests from the client projects and an automated command-line interface enable single-command reproduction. CompSuite provides an empirical foundation for studying dependency risks and evaluating compatibility analysis techniques, including future AI-assisted approaches. For logic implementation, reliable modification depends on locating the code relevant to the intended changes. This thesis identifies the Keyword Shortcut in issue-based localization and formalizes Keyword-Agnostic Logical Code Localization. It introduces diagnostic benchmarks for evaluating localization beyond explicit identifier clues and abstention when no valid location exists. The proposed DataLoc framework integrates LLM-based intent interpretation with Datalog reasoning over program facts to support precise repository-level code localization guided by structural and logical requirements. For artifact delivery, code and documentation should remain consistent as software evolves. This thesis presents MPChecker, which uses symbolic execution to extract inter-parameter constraints from code and LLMs to extract corresponding constraints from documentation. A customized fuzzy constraint satisfaction framework accommodates uncertainty in the extracted constraints and detects inconsistencies between the two representations. This approach supports checking whether documented API requirements agree with their implementation. Collectively, this thesis demonstrates that reliable software evolution in the era of AI demands a principled integration of neural flexibility and symbolic rigor. By embedding neurosymbolic reasoning into each phase of the software evolution lifecycle, this work provides both theoretical insights and practical tools toward building autonomous systems that are intelligent, verifiable, and trustworthy.

Degree

thesis:*
College dc:contributor.school
College of Computing and Data Science
Grantor dc:publisher
Nanyang Technological University
Year dc:date.issued
2026

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Xu, Xiufeng
Advisor dc:contributor.supervisor
  • Li Yi (CCDS)

Subjects

dc:subject × 1

Rights

dc:rights
Statement dc:rights
  • This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0).
Language dc:language.iso
en

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
Nanyang Technological University
Base URL
dr.ntu.edu.sg/oai/request
Last updated
2026-11-29
Source record
OAI-PMH GetRecord
citation

Xu, Xiufeng. Enhancing software evolution reliability through neurosymbolic reasoning. Nanyang Technological University, 2026. https://doi.org/10.32657/10356/232823