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

Yixuan Wang, Danyang Li, Matthew Cleaveland, Roberto Tron, Mingyu Cai
10/9/2026
cs.LG

No confident code implementation found for this paper.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wang2026classconditional,
  title  = {Class-Conditional Conformal Prediction for Signal Temporal Logic Inference with Many Classes},
  author = {Yixuan Wang and Danyang Li and Matthew Cleaveland and Roberto Tron and Mingyu Cai},
  year   = {2026},
  eprint = {2610.14352},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.14352v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.14352.svg)](https://codeofpaper.com/paper/2610.14352)

Discussion