Software Engineering
Researchers propose lightweight technique to track action changes in evolving software systems
A new runtime semantic discovery approach helps monitors adapt when software updates rename or restructure observable actions.
Monitoring software behavior in real time becomes problematic when systems evolve and change their observable actions. Traditional runtime verification tools assume a stable set of actions to observe, but modern software often undergoes updates or architectural shifts that rename, split, or merge these actions—sometimes while maintaining the same underlying intent.
The core problem#
When a running system's action alphabet shifts, existing monitors and formal specifications become misaligned. This gap forces teams to rebuild verification logic from scratch, even though the system's fundamental behavior may remain unchanged. The challenge is identifying which new actions correspond to previously monitored ones without having to reconstruct the entire system's behavioral model.
A neighbor-based solution#
Researchers at arXiv have introduced a practical approach called runtime semantic discovery that works by comparing the contexts around actions. Rather than requiring a complete understanding of system behavior, the technique examines neighboring actions in execution traces—looking at what tends to happen before and after each action to infer their operational roles.
The method defines a family of k-neighbor equivalences that allow comparison between systems with different observable alphabets. By studying these local patterns, the approach identifies candidate semantic correspondences—suggesting which new actions likely map to old ones based on their contextual patterns.
Intentional limitations#
The researchers emphasize that their technique is deliberately lightweight and targeted. It does not aim to fully verify that behavior has been preserved during evolution; instead, it identifies plausible action correspondences that can guide monitor and specification adaptation. The work discusses both the expressive power and limitations of neighbor-based reasoning and outlines which categories of alphabet evolution the method can practically support.