This work investigates whether relational specifications can ground SLM behaviour by mathematical proof rather than statistical regularities alone, and gives practitioners a route to deploy verifiable SLMs in safety-critical settings.
Abstract
Small language models (SLMs) learn statistical patterns and generate outputs stochastically. This offers no assurance that those outputs satisfy the domain constraints that ought to govern them, hence hindering adoption in safety-critical domains such as healthcare. This work investigates whether relational specifications can ground SLM behaviour by mathematical proof rather than statistical regularities alone. The approach integrates model-driven engineering specification languages (UML/OCL) with relational model finders (Alloy/Kodkod) in a two-stage pipeline. Stage one gives guarantee by construction, where solver-enumerated instances supply formally-verified fine-tuning data. Stage two gives guarantee by verification, where a tiered hybrid runtime checker validates outputs against OCL. Three hypotheses structure the investigation. First, solver-enumerated fine-tuning data raises OCL constraint-satisfaction rates. Second, tiered declarative plus imperative checking beats either tier alone within sub-second latency. Third, OCL-derived templates detect natural-language violations above a named-entity-recognition baseline. Healthcare self-management serves as the bounded application context. Preliminary tooling already runs the behavioural checker in a sandbox. If the hypotheses hold, the methodology gives practitioners a route to deploy verifiable SLMs in safety-critical settings. If they fail, the results mark where formal guarantees break down on stochastic systems, a limit that research on verified AI has not yet documented.
Supporting data, adapters, predictions and code for the article *Low-Cost LoRA Fine-Tuning of Small Language Models for Multi-Step Arithmetic Reasoning* by Jake O'Grady, Asena Isik Gürhan, Chee Fong Ting and Effirul Ramlan (University of Galway). We generated 20,000 GSM8K-derived arithmetic problems with step-by-step s...
O'Grady, Jake, Gürhan, Asena Isik, Chee, Fong Ting et al.· Zenodo (CERN European Organi...· 465 citations
The results are packaged in the Greenfield Startup Model (GSM), which explains the priority of startups to release the product as quickly as possible, and the need to shorten time-to-market, by speeding up the development through low-precision engineering activities.
Carmine Giardino, Nicolò Paternoster, M. Unterkalmsteiner et al.· IEEE Transactions on Softwar...· 178 citations· ⚡14
Software startup companies develop innovative, software-intensive products within limited timeframes and with few resources, searching for sustainable and scalable business models.
M. Unterkalmsteiner, P. Abrahamsson, Xiaofeng Wang et al.· e-Informatica Software Engin...· 157 citations· ⚡17
This study conducts a case survey study based on the secondary data of the major pivots happened in 49 software startups, and demonstrates that customer need pivot is the most common among all pivot types.
Sohaib Shahid Bajwa, Xiaofeng Wang, Anh Nguyen-Duc et al.· Empirical Software Engineeri...· 127 citations· ⚡15
The comparison of adopter and non-adopter sample reveals three potential adoption inhibitor, security, data privacy, and portability, which underlines the importance of the technical and security perspectives for research investigating the adoption of technology.
Nattakarn Phaphoom, Xiaofeng Wang, S. Samuel et al.· Journal of Systems and Softw...· 111 citations· ⚡8
This study investigates how Lean internal startup facilitates software product innovation in large companies and identifies its enablers and inhibitors, and shows the potential of the method-in-action framework to investigate the Lean startup approach in non-startup context.
Henry Edison, Nina M. Smørsgård, Xiaofeng Wang et al.· Journal of Systems and Softw...· 78 citations· ⚡6