Detecting rare and structurally meaningful patterns in time series is challenging, particularly when such patterns do not repeat exactly but exhibit variability due to noise or intrinsic dynamics. We introduce a novel framework for rare pattern discovery based on a combinatorial notion of approximate similarity over discretized signals. Our approach represents substrings through their local variations and defines pattern rarity in terms of the number of substrings that exhibit a similar evolution, using a tolerant Hamming distance over discrete differences. This delta-based representation captures structural behaviors such as bursts, trends, and oscillations, while providing robustness to noise and invariance to absolute signal levels, making it particularly suitable for real-world data such as astrophysical time series. We show that the resulting optimization problem is inherently quadratic in the classical setting, as it requires global pairwise comparisons between substrings and does not admit efficient incremental evaluation. To address this limitation, we propose a quantum approach that combines approximate counting and minimum finding, reducing the complexity from O(n2k) to O(nk) and achieving a quadratic speedup in the sequence length. Our results identify a natural regime in which combinatorial pattern discovery aligns with the strengths of quantum algorithms, opening new directions for the analysis of complex temporal signals.

Delta-Based Rare Pattern Discovery with Quantum Speedup

Simone Faro;Francesco Pio Marino;Gabriele Messina;Fabio Vitello
2026-01-01

Abstract

Detecting rare and structurally meaningful patterns in time series is challenging, particularly when such patterns do not repeat exactly but exhibit variability due to noise or intrinsic dynamics. We introduce a novel framework for rare pattern discovery based on a combinatorial notion of approximate similarity over discretized signals. Our approach represents substrings through their local variations and defines pattern rarity in terms of the number of substrings that exhibit a similar evolution, using a tolerant Hamming distance over discrete differences. This delta-based representation captures structural behaviors such as bursts, trends, and oscillations, while providing robustness to noise and invariance to absolute signal levels, making it particularly suitable for real-world data such as astrophysical time series. We show that the resulting optimization problem is inherently quadratic in the classical setting, as it requires global pairwise comparisons between substrings and does not admit efficient incremental evaluation. To address this limitation, we propose a quantum approach that combines approximate counting and minimum finding, reducing the complexity from O(n2k) to O(nk) and achieving a quadratic speedup in the sequence length. Our results identify a natural regime in which combinatorial pattern discovery aligns with the strengths of quantum algorithms, opening new directions for the analysis of complex temporal signals.
2026
9798400726408
File in questo prodotto:
File Dimensione Formato  
Delta-based.pdf

accesso aperto

Descrizione: Contributo
Tipologia: Versione Editoriale (PDF)
Licenza: Creative commons
Dimensione 594.93 kB
Formato Adobe PDF
594.93 kB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/20.500.11769/726976
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus ND
  • ???jsp.display-item.citation.isi??? ND
social impact