Skip to main navigation Skip to search Skip to main content

LogiEx: Integrating Formal Logic and LLMs for Explainable Transit Planning

  • Ziyan An
  • , Xia Wang
  • , H.J.S. Baier
  • , Zirong Chen
  • , Abhishek Dubey
  • , Taylor T. Johnson
  • , Jonathan Sprinkle
  • , Meiyi Ma

Research output: Chapter in Book/Report/Conference proceedingConference contributionAcademicpeer-review

4 Downloads (Pure)

Abstract

Human-centered cyber-physical systems (CPS), such as intelligent transportation services, warehouse robotics operated by human supervisors, and healthcare infrastructures involving clinicians and medical staff, increasingly rely on Artificial Intelligence (AI)-driven sequential decision-making under uncertainty. However, the lack of transparent reasoning in these systems limits trust, verifiability, and human oversight. This challenge is particularly acute for planning algorithms like Monte Carlo Tree Search (MCTS), whose stochastic search processes are opaque to engineers and operators. To address this gap, we introduce LogiEx, a logic-integrated framework that combines large language models (LLMs) with formal methods to generate trustworthy explanations for planning behavior. LogiEx transforms free-form user queries into logical statements with templated variables, then verifies whether evidence extracted from the decision process aligns with both the environment state and the constraints of the stochastic planning model. This enables grounded explanations across a wide range of user questions—from factual retrieval to comparative reasoning. LogiEx also supports
Human-Guided Search (HuGS), allowing users to pose conditional “what-if” queries that trigger new, scenario-specific searches, ensuring that humans are not passive observers but active participants who can steer and refine the planning process. We evaluate LogiEx through both quantitative assessments and user studies, finding that it consistently outperforms baselines, achieving up to 7.9× higher semantic similarity (BERTScore) and 1.6× higher factual consistency (FactCC) compared to baseline LLMs, and is the most preferred form of explanation among CPS practitioners.
Original languageEnglish
Title of host publicationProceedings of the 17th ACM/IEEE International Conference on Cyber-Physical Systems (ICCPS 2026)
PublisherInstitute of Electrical and Electronics Engineers
Publication statusE-pub ahead of print - 11 May 2026

UN SDGs

This output contributes to the following UN Sustainable Development Goals (SDGs)

  1. SDG 3 - Good Health and Well-being
    SDG 3 Good Health and Well-being
  2. SDG 9 - Industry, Innovation, and Infrastructure
    SDG 9 Industry, Innovation, and Infrastructure

Fingerprint

Dive into the research topics of 'LogiEx: Integrating Formal Logic and LLMs for Explainable Transit Planning'. Together they form a unique fingerprint.

Cite this