[Paper Review] ARSENAL: Automatic Requirements Specification Extraction from Natural Language
ARSENAL is an automated framework that transforms natural language requirements into formal models using NLP and formal methods, enabling consistency and implementability checks. It maps requirements to SAL transition systems and LTL logic, achieving full model generation from 30+ NL sentences with minimal supervision, and uncovered a critical missing environmental assumption in a TTEthernet specification via bounded model checking.
Requirements are informal and semi-formal descriptions of the expected behavior of a complex system from the viewpoints of its stakeholders (customers, users, operators, designers, and engineers). However, for the purpose of design, testing, and verification for critical systems, we can transform requirements into formal models that can be analyzed automatically. ARSENAL is a framework and methodology for systematically transforming natural language (NL) requirements into analyzable formal models and logic specifications. These models can be analyzed for consistency and implementability. The ARSENAL methodology is specialized to individual domains, but the approach is general enough to be adapted to new domains.
Motivation & Objective
- To develop a methodology that combines the clarity of natural language with the precision of formal models for requirements engineering.
- To automate the transformation of informal NL requirements into analyzable formal models suitable for verification in safety-critical systems.
- To reduce design cost and increase assurance in system development by enabling iterative refinement with human-in-the-loop.
- To handle domain-specific requirements with a generalizable framework adaptable to new domains.
- To identify implicit environmental assumptions often missing in documentation, using formal verification.
Proposed method
- Preprocesses NL requirements using domain-specific and domain-independent rules to normalize terms, arithmetic expressions, and complex phrases.
- Applies the Stanford Typed Dependency Parser to generate grammatical relations between entities in the input sentences.
- Uses a semantic processor with manually defined type rules to map syntactic dependencies to semantic predicates with built-in meaning.
- Constructs a predicate graph from typed dependencies and semantic annotations to represent the logical structure of requirements.
- Translates the predicate graph into an intermediate formal representation, then maps it to SAL transition systems and LTL formulas.
- Employs bounded model checking to verify the generated formal models against specified temporal logic properties.
Experimental results
Research questions
- RQ1Can natural language requirements be systematically and accurately transformed into formal models with minimal human supervision?
- RQ2Can the resulting formal models detect inconsistencies or missing assumptions not evident in the original NL descriptions?
- RQ3How effective is the ARSENAL pipeline in generating complete, analyzable models from large sets of NL requirements?
- RQ4Can ARSENAL uncover implicit environmental constraints that are critical for verification but absent in documentation?
- RQ5To what extent can the framework be adapted to new domains with minimal reconfiguration?
Key findings
- ARSENAL successfully generated a complete formal model from 30+ natural language requirements in a safety-critical domain, demonstrating scalability beyond simple examples.
- The framework uncovered a missing assumption in the TTEthernet specification: that end-systems do not receive coldstart_frames infinitely often, which was critical for verifying state transitions.
- Bounded model checking of the generated model revealed a counterexample where local_timer reset prevented exit from ES_FLOOD_state, proving the model's correctness only under the missing assumption.
- The semantic processor with type rules enabled accurate mapping of complex linguistic structures to formal predicates while preserving LTL semantics.
- The system achieved end-to-end automation from NL input to formal model and verification, reducing manual effort in early design phases.
- The approach demonstrated that automated formalization of NL requirements can expose subtle but critical flaws in system behavior that are easily missed in natural language alone.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.