NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Verification of interactive software for medical devices: PCA infusion pumps and FDA regulation as an example

Paolo Masci, Anaheed Ayoub, Paul Curzon, Michael D. Harrison, Insup Lee, Harold W. ThimblebyEICS 2013

TL;DR

This paper presents a formal method for verifying the safety of interactive medical device software, specifically focusing on PCA infusion pumps and FDA regulations. By combining reverse engineering of existing devices with model refinement and formal logic, the authors demonstrate a repeatable process for ensuring user interface safety requirements are met, potentially reducing the extensive documentation currently required for regulatory approval.

What Problem Does This Paper Address?

Medical devices, especially those with interactive user interfaces, are subject to rigorous safety scrutiny by regulatory bodies like the FDA. The current approval process relies heavily on extensive documentation and lacks a standardized, rigorous method for verifying the safety of interactive software. This is particularly problematic for devices like PCA infusion pumps, where software errors or human factors can lead to serious harm. The FDA is exploring more systematic approaches, such as model-based analysis, but there's a need for methods that can handle existing, already-developed software and focus specifically on the nuances of user interface safety. This paper addresses the gap by proposing a formal verification approach that can be applied to the user interface of commercial medical devices, bridging the divide between regulatory requirements and actual software behavior.

Methods

The core of the paper's methodology is a two-pronged approach:

  • Reverse Engineering: This involves systematically exploring the user interface of a commercial PCA infusion pump to create an accurate, formal model of its interactive behavior. This is achieved through techniques like "interaction walkthrough" and is translated into a PVS (Prototype Verification System) specification.
  • Model Refinement: This technique formally relates the abstract safety requirements (the "reference model") to the concrete model of the device's user interface. The FDA's Generic PCA (GPCA) safety requirements are formalized using predicate logic and function recognizers. Model refinement, implemented via PVS theory interpretations, maps these abstract requirements onto the concrete model, generating "proof obligations." Discharging these obligations demonstrates that the concrete model (and thus the device's user interface) satisfies the safety requirements.

The approach emphasizes a "tool-neutral" formalization of safety requirements and uses PVS for its expressive specification language and robust theorem prover, which supports interactive verification and model refinement.

Datasets

Not discussed in the paper. The paper uses a commercial PCA infusion pump as a case study, but no specific dataset of devices or user interactions is provided.

Key Insights and Ideas

  • Formalizing Regulatory Requirements: The paper demonstrates that complex, natural-language regulatory requirements (like those from the FDA) can be precisely and unambiguously translated into formal logic. This process itself can reveal ambiguities or areas for clarification in the original requirements.
  • Bridging the Gap for Existing Software: The method doesn't require a "from scratch" model-based design. It can be applied to already developed software through reverse engineering, making it practical for legacy systems and the current regulatory landscape.
  • User Interface as a Critical Safety Component: The work highlights that user interface design and behavior are not just about usability but are critical safety concerns, especially in medical devices. The formal verification specifically targets these interactive aspects.
  • Repeatable and Inspectable Verification: The proposed approach offers a systematic and repeatable process for demonstrating compliance with safety requirements, potentially replacing the current, often unwieldy, documentation-heavy approach with a more concise and analyzable formal proof.
  • The Power of Model Refinement: Model refinement proves to be a powerful mechanism for linking abstract safety goals to concrete implementation details, allowing for independent specification of requirements and verification of the actual system.

Key Results

The paper successfully demonstrates the application of its verification approach to a commercial PCA infusion pump.

  • Formalization of GPCA Requirements: Several GPCA safety requirements related to user input and interaction were formalized using predicate logic.
  • PVS Specification and Verification: A concrete model of the PCA pump's user interface was developed in PVS. This model was then verified against the formalized GPCA safety requirements using theory interpretations and the PVS theorem prover.
  • Proof of Concept: The paper provides detailed examples of how specific requirements (like R1, regarding confirmation for clearing/resetting settings) were formalized, interpreted, and their proof obligations discharged, illustrating the practical application of the method. The verification process, particularly for the inductive step, was largely automated with some manual intervention to refine permissions.

Limitations and Future Work

  • Reverse Engineering Accuracy: The authors acknowledge that reverse engineering can introduce errors. They suggest mitigating this by validating failure traces against the original device to identify false positives and by generating and validating successful traces to catch false negatives.
  • Automation: While PVS automates much of the proof process, further automation is needed to make these techniques more accessible to industrial developers. This includes automating the generation of reference models and the refinement process.
  • Negotiation and Validation: The formalization process, especially for requirements, requires negotiation and validation with regulatory bodies like the FDA to ensure shared understanding.
  • Skills Gap: The formal methods used require specialized skills that may not be common among industrial developers. Future work should focus on developing user-friendly tools that abstract away some of this complexity.
  • Broader Applicability: While demonstrated on PCA pumps, the authors suggest the method is broadly applicable to other interactive systems, particularly those subject to regulatory control. Future work could explore its application to other medical device classes or safety-critical domains.

Summary updated

BibTeX
@inproceedings{masci2013verification,
  author = {Paolo Masci and Anaheed Ayoub and Paul Curzon and Michael D. Harrison and Insup Lee and Harold W. Thimbleby},
  title = {{Verification of interactive software for medical devices: PCA infusion pumps and FDA regulation as an example}},
  booktitle = {EICS},
  year = {2013},
  doi = {10.1145/2494603.2480302},
}
Figure