Back to search

UCL (University College London)

Automata Learning for Lightweight Formal Methods

Abstract

dc:description.abstract

Lightweight formal methods bring the guarantees of formal verification within reach of modern software development by trading blanket completeness for pragmatic partiality. The resulting techniques are more amenable to automation, reward incremental rather than upfront formalization effort, and remain accessible to practitioners without verification expertise. Automata learning is a particularly promising enabler of this vision: by automatically inferring formal behavioral models from system interactions, it removes the upfront cost of manual modeling and opens model-based analysis to systems that would otherwise resist formalization. This thesis contributes new automata learning algorithms and tools that bring automata learning closer to the demands of modern software development. We introduce PROGNOSIS, a push-button, closed-box framework for analyzing network protocol implementations. Its configurable abstraction levels let practitioners trade detail for cost without verification expertise, and its bug-finding workflow has uncovered specification ambiguities and security-critical defects in production QUIC protocol stacks. We then develop IKV, the first tree-based adaptive learning algorithm, which prunes and reuses prior models when systems evolve, outperforming the prior state of the art. We generalize this approach with CEAL, an adaptive learning framework built around the observation tree that replaces the classical Minimally Adequate Teacher. CEAL enables existing algorithms to learn under noise, partial observability, and change, achieving a 95.5% success rate against MAT's 79.5%. Together, IKV and CEAL improve the incrementality and robustness of learning itself, reducing the human effort needed to keep learned models current. Finally, we present SWAL, an SMT-based active learning algorithm that casts learning as constraint solving over a state-local characterization of weighted automata. SWAL extends these benefits to the quantitative domain, inferring minimal models over arbitrary semirings and capturing costs, latencies, and bottleneck behaviors that lie beyond the expressive reach of Boolean models.

Degree

thesis:*
Level dc:type.qualificationlevel
Doctoral
Grantor dc:publisher.institution
UCL (University College London)
Year dc:date.issued
2026

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Ferreira, Tiago de Faria Carvalho Morais

Rights

Language dc:language
en, eng

Identifiers

dc:identifier.*
Repository record dc:identifier.uri
https://discovery.ucl.ac.uk/id/eprint/10230024/

Chain of custody

source
Harvested from
University College London
Base URL
discovery.ucl.ac.uk/cgi/oai2
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
related terms
citation

Ferreira, Tiago de Faria Carvalho Morais. Automata Learning for Lightweight Formal Methods. Doctoral thesis, UCL (University College London), 2026. https://discovery.ucl.ac.uk/id/eprint/10230024/