cs.LGOct 9, 2026

Class-Conditional Conformal Prediction for Signal Temporal Logic Inference with Many Classes

Authors: Yixuan Wang, Danyang Li, Matthew Cleaveland, Roberto Tron, Mingyu Cai

Organizations: Mechanical Engineering, University of California, Riverside, CA 92521, USA · Mechanical Engineering, Boston University · MIT Lincoln Laboratory, Lexington, MA 02421, USA

Abstract

Signal Temporal Logic (STL) inference provides interpretable formulas for time series classification. For multiclass classification, however, accurate predictions do not necessarily ensure that the inferred formulas are satisfied consistently with the true class. We introduce the positive satisfaction rate and codeword satisfaction rate to quantify satisfaction of required formulas and consistency with the complete class codeword, respectively. We develop a two-stage procedure that first learns discriminative formulas using a margin-based objective and then refines predicate thresholds toward a small positive robustness target while fixing the formula structure and temporal intervals. Satisfaction and ranking penalties discourage violations of required formulas and loss of class separation. The decoding loss is used as a nonconformity score and calibrated separately for each class, providing finite-sample class-conditional coverage under intra-class exchangeability. Experiments on naval, synthetic, and robot manipulation trajectories demonstrate discrepancies between classification accuracy and formula satisfaction. The results further reveal a data-dependent tradeoff between robustness tightness and satisfaction, while class-conditional calibration mitigates undercoverage that can be hidden by pooled calibration.

Figures & tables

Explore similar work

CardsList
  1. Conformalized Signal Temporal Logic Inference under Covariate Shift

    Mar 28, 2026Yixuan Wang, Danyang Li, Matthew Cleaveland +2Signal Temporal LogicConformal Prediction

  2. Distilling Formal Logic into Neural Spaces: A Kernel Alignment Approach for Signal Temporal Logic

    Mar 5, 2026Sara Candussio, Gabriele Sarti, Gaia Saveri +1Neuro-Symbolic ReasoningSignal Temporal Logic

  3. ReasonSTL: Bridging Natural Language and Signal Temporal Logic via Tool-Augmented Process-Rewarded Learning

    May 7, 2026Bowen Ye, Zhijian Li, Junyue Huang +2Signal Temporal LogicLLM Tool Use