Conformal Prediction for Signal Temporal Logic Inference

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

No confident code implementation found for this paper.

Abstract

Signal Temporal Logic (STL) inference seeks to extract human-interpretable rules from time-series data, but existing methods lack formal confidence guarantees for the inferred rules. Conformal prediction (CP) is a technique that can provide statistical correctness guarantees, but is typically applied as a post-training wrapper without improving model learning. Instead, we introduce an end-to-end differentiable CP framework for STL inference that enhances both reliability and interpretability of the resulting formulas. We introduce a robustness-based nonconformity score, embed a smooth CP layer directly into training, and employ a new loss function that simultaneously optimizes inference accuracy and CP prediction sets with a single term. Following training, an exact CP procedure delivers statistical guarantees for the learned STL formulas. Experiments on benchmark time-series tasks show that our approach reduces uncertainty in predictions (i.e., it achieves high coverage while reducing prediction set size), and improves accuracy (i.e., the number of misclassifications when using a fixed threshold) over state-of-the-art baselines.

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{li2025conformal,
  title  = {Conformal Prediction for Signal Temporal Logic Inference},
  author = {Danyang Li and Yixuan Wang and Matthew Cleaveland and Mingyu Cai and Roberto Tron},
  year   = {2025},
  eprint = {2509.25473},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.25473v3}
}

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/2509.25473.svg)](https://codeofpaper.com/paper/2509.25473)

Discussion