Multimodal Pretrained Models for Verifiable Sequential Decision-Making: Planning, Grounding, and Perception

Yunhao Yang, Cyrus Neary, Ufuk Topcu

TL;DR

This paper introduces a novel pipeline that bridges the gap between powerful multimodal pretrained models (like GPT-4) and verifiable sequential decision-making for autonomous systems. It enables these models to construct, formally verify, and ground task controllers in real-world environments, even under perceptual uncertainty.

What Problem Does This Paper Address?

Modern multimodal pretrained models (MPMs) like GPT-4 can process and generate rich information from text and images, showing impressive capabilities in tasks like question answering and image generation. However, their outputs are often unstructured and cannot be directly integrated into algorithms for sequential decision-making (e.g., robotics, autonomous agents). A critical challenge is ensuring that the decisions made by these systems are not only effective but also verifiable and safe, especially when operating in dynamic, uncertain environments. Existing approaches often lack formal guarantees, making it difficult to trust their behavior. This paper aims to solve this by enabling MPMs to generate verifiable, grounded controllers for sequential decision-making tasks.

Methods

The core of the proposed solution is a two-stage pipeline:

  1. LLM2Automata (Controller Construction & Verification):
    • Task Description to Automaton: The pipeline takes a natural language task description and queries a large language model (LLM) to break it down into sequential steps.
  2. PDDL for Preconditions/Effects: For each step, the LLM is further queried to extract preconditions and effects in the form of Planning Domain Definition Language (PDDL). This is a key enhancement over prior work, explicitly capturing state changes.
  3. FSA Construction: These PDDL descriptions are then used to construct a Finite State Automaton (FSA) that represents the task controller. This FSA encodes the task knowledge in a formally verifiable manner.
  4. Formal Verification: The constructed FSA controller can be formally verified against user-provided specifications or independent knowledge sources (represented as models). This ensures consistency and safety before deployment.
  5. Automata2Env (Grounding & Perception):
    • Vision-Language Grounding: This module links the abstract, text-based propositions within the FSA controller to real-world visual observations. It uses vision-language models (like Grounded-SAM) to evaluate the truthfulness of these propositions based on camera input.
  6. Handling Perceptual Uncertainty: A crucial innovation is the explicit handling of perceptual uncertainty. The system can now output "uncertain" for a proposition if the vision-language model's confidence score falls within a defined range.
  7. Uncertainty-Aware Controller: The FSA controller is modified to include self-transitions for "uncertain" states, allowing it to pause or maintain its current state rather than taking an incorrect action when perception is ambiguous.
  8. Probabilistic Guarantees: By incorporating thresholds for proposition evaluation and leveraging the modified controller, the system can provide probabilistic guarantees on satisfying specifications even under perceptual uncertainties.

Datasets

The paper does not explicitly mention training datasets for the multimodal pretrained models themselves, as it leverages existing state-of-the-art models like GPT-4 and Grounded-SAM. For validation and determining thresholds for proposition evaluation, the Argoverse dataset (containing driving scenes) was used. This dataset was employed to evaluate object detection accuracy for driving-related objects.

Key Insights and Ideas

  • Bridging the Modality Gap: The most significant insight is the successful integration of unstructured, multimodal model outputs into structured, verifiable control logic. This opens up new possibilities for using MPMs in safety-critical autonomous systems.
  • PDDL for Explicit State Transitions: Using PDDL to extract preconditions and effects is a powerful way to imbue the generated controllers with a deeper understanding of state changes, crucial for accurate grounding.
  • Formal Verification of MPM-derived Logic: The ability to formally verify the generated FSA controllers against specifications is a game-changer for building trust in AI-driven decision-making.
  • Perceptual Uncertainty as a First-Class Citizen: Explicitly modeling and handling perceptual uncertainty (rather than assuming perfect perception) is essential for real-world deployment and leads to more robust and safer systems. The "uncertain" state and self-transitions are key here.
  • Probabilistic Safety Guarantees: The framework provides a mechanism to quantify the probability of satisfying safety specifications, which is vital for applications where failure can have serious consequences.

Key Results

The paper demonstrates the pipeline's effectiveness through two proof-of-concept examples:

  • Crossing Road Example: The system successfully constructed and grounded a controller for crossing a road at a traffic light. It correctly handled a scenario where the vision model misclassified a red light as green, by entering an "uncertain" state and avoiding an unsafe action, providing a safety guarantee of at least 0.975^N (where N is the number of certain proposition evaluations).
  • Robot Arm Manipulation Example: The system generated a controller for a robot arm to remove red blocks from a table. It demonstrated grounding and verification, ensuring that yellow blocks would not be mistakenly placed off the table. The probability of satisfying the specification was shown to be at least 0.975^3 in this example.

Limitations and Future Work

  • Limitations:
    • The current approach relies on the performance of the underlying vision-language models. Errors or biases in these models can propagate to the controller.
  • The formal verification relies on the accuracy of the generated FSA and the provided specifications.
  • The probabilistic guarantees are dependent on the accuracy of the estimated thresholds and the assumption that validation data distribution matches real-world data.
  • Future Work:
    • Developing an active perception method to actively search for desired objects rather than relying on a fixed camera view.
  • Exploring more sophisticated methods for uncertainty quantification and propagation.
  • Extending the framework to handle more complex environments and tasks with a wider range of modalities.

Summary updated

BibTeX
@inproceedings{yang2024multimodal,
  author = {Yunhao Yang and Cyrus Neary and Ufuk Topcu},
  title = {{Multimodal Pretrained Models for Verifiable Sequential Decision-Making: Planning, Grounding, and Perception}},
  booktitle = {AAMAS},
  year = {2024},
}
Figure