Masaki Waga

Kyoto University
7 previous affiliations
48Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Masaki Waga focuses on the lightweight verification of black-box systems, runtime monitoring, and automata learning. His trajectory spans from foundational algorithms for timed pattern matching to the formal analysis of cyber-physical and machine learning-based systems. Currently, he investigates advanced specification learning, privacy-preserving monitoring, and scalable pattern matching for massive text corpora.

Research Trajectory

Waga’s early research concentrated on optimizing runtime monitoring and pattern matching for real-time systems. In 2016, he introduced A Boyer-Moore Type Algorithm for Timed Pattern Matching, adapting classic string-matching optimizations to timed words and signals. This work contributed to the research direction of Automata Based Skipping for Timed Pattern Matching. Recognizing the hardware constraints of embedded applications, particularly limited channel capacity between sensors and monitors, he subsequently developed Moore-Machine Filtering for Timed and Untimed Pattern Matching (2018), which utilizes Moore machines as a preprocessing filter. He expanded the expressiveness of these monitoring frameworks in Symbolic Monitoring Against Specifications Parametric in Time and Data (2019), proposing an automata-based formalism capable of handling logs with arbitrary data values over infinite domains.

By 2020, Waga began applying formal verification and automata learning techniques to more complex, opaque systems, including neural networks and cyber-physical systems (CPS). He developed methods for peering into recurrent neural networks in Weighted Automata Extraction from Recurrent Neural Networks via Regression on State Spaces, extracting interpretable weighted finite automata from black-box models. This advanced the broader area of Discretizing Neural Activation Spaces into Finite State Automata. Concurrently, he addressed the safety of physical systems through Falsification of cyber-physical systems with robustness-guided black-box checking (2020) and later formalized the Model-bounded Monitoring of Hybrid Systems (2022). To ensure safety during the training of reinforcement learning agents, he proposed Dynamic Shielding for Reinforcement Learning in Black-Box Environments (2022), which constructs approximate system models in parallel with learning to suppress undesired behaviors, contributing to the domain of Verifying Systems with Discrete Logic and Continuous Dynamics.

In 2023, Waga continued to refine the theoretical foundations of automata learning and pattern matching. He formalized Parametric Timed Pattern Matching and extended the classic L* algorithm in Active Learning of Deterministic Timed Automata with Myhill-Nerode Style Characterization, enabling the learning of deterministic timed automata via a smart teacher that answers symbolic membership queries. The following year, he identified and resolved a critical termination flaw in existing active learning algorithms with Learning Weighted Finite Automata over the Max-Plus Semiring and its Termination (2024), introducing the concept of column-closedness to guarantee termination for rational weighted languages.

Waga’s recent work has increasingly addressed privacy, hyperproperties, and system integration. To enable the secure remote monitoring of sensitive biological or location data, he developed Oblivious Monitoring for Discrete-Time STL via Fully Homomorphic Encryption (2024), allowing arithmetic operations over encrypted values for signal temporal logic. He also expanded the capabilities of temporal logics to reason about multiple execution traces simultaneously in Hyper Parametric Timed CTL (2024), advancing the field of Expressive Temporal Logic for Complex Dynamical Systems. This theoretical expansion led to Hyper Pattern Matching (2025), which generalizes pattern matching over sets of words to locate concrete evidence for violations of hyperproperties like noninterference.

In 2025, Waga synthesized control theory and formal verification in Certifying Lyapunov Stability of Black-Box Nonlinear Systems via Counterexample Guided Synthesis, providing a framework to prove the stability of opaque mathematical models. He also addressed the challenges of reverse-engineering complex systems built from third-party components in Componentwise Automata Learning for System Integration, introducing an algorithm that avoids learning redundant features. He provided a comprehensive overview of these methodologies in Monitoring Temporal Specifications (2025).

Alongside his core verification research, Waga has participated in collaborative efforts to scale pattern matching to massive datasets. He contributed to the development of SoftMatcha: A Soft and Fast Pattern Matcher for Billion-Scale Corpus Searches (2025) and its successor, SoftMatcha 2: A Fast and Soft Pattern Matcher for Trillion-Scale Corpora (2026). These engines support "soft" matching with substitutions and insertions while maintaining strict word order, contributing to the area of Scaling Retrieval and Search to External Memory.

Current Directions

Waga’s most recent research investigates the intersection of formal verification, privacy, and system integration. A major ongoing theme is the development of expressive monitoring frameworks that can handle hyperproperties—such as robustness and observational determinism—across multiple execution traces, moving beyond single-trace violation detection. He is also actively exploring privacy-preserving verification techniques, utilizing fully homomorphic encryption to allow remote servers to monitor cyber-physical systems without exposing sensitive underlying data. Furthermore, his recent work addresses the practical challenges of modern software engineering by developing component-wise automata learning algorithms designed to efficiently reverse-engineer and integrate black-box systems without the computational overhead of modeling irrelevant third-party behaviors.

Profile updated

See something wrong? Report a mistake