Francesco Masillo
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Previous Organizations / Institutes
The organizations / institutes from the scholar's other articles in the past ten years
Francesco Masillo has a total of 21 co-authors. Here are the top co-authors by number of shared publications:
- Zsuzsanna Lipták
Department of Computer Science, University of Verona, Verona, Italy
10 shared publications - Simon J. Puglisi
Department of Computer Science, University of Helsinki, Finland
3 shared publications - Gonzalo Navarro
University of Chile
2 shared publications - Romeo Rizzi
Department of Computer Science, University of Verona, Verona, Italy
2 shared publications - Simone Lucà
University of Verona, Department of Computer Science, Strada le Grazie, 15, Verona, 37134, Italy
2 shared publications - Aaron Williams
Williams College
1 shared publication
Latest Publications
- Open Access
- 31 March 2026
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Mathematical Software
- Vol. 52 (1) , 1-21
Algorithm 1061: tsdistances : A High-Performance Python Library for Time Series Distances with GPU Support
Time series distance measures are fundamental in numerous domains, including finance, healthcare, and signal processing, enabling crucial tasks such as pattern recognition, anomaly detection, and predictive modeling. However, many applications require computing distances between all pairs of time series in large datasets, a computationally intensive task that can become a significant bottleneck in analysis pipelines. The tsdistances library is a high-performance Python package designed for computing distances between time series, with GPU support for accelerated processing. This article introduces tsdistances and its key features, focusing on the implementation of elastic distance algorithms and their optimizations. We present both CPU and GPU implementations, highlighting the use of dynamic programming techniques and GPU-specific optimizations such as warp-based parallelization. The performance of tsdistances is compared with existing alternatives in the literature, demonstrating significant speed improvements, especially for large-scale time series analysis tasks.
- 31 March 2026
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Mathematical Software
- Vol. 52 (1) , 1-21
Open AccessAlgorithm 1061: tsdistances : A High-Performance Python Library for Time Series Distances with GPU Support
Time series distance measures are fundamental in numerous domains, including finance, healthcare, and signal processing, enabling crucial tasks such as pattern recognition, anomaly detection, and predictive modeling. However, many applications require computing distances between all pairs of time series in large datasets, a computationally intensive task that can become a significant bottleneck in analysis pipelines. The tsdistances library is a high-performance Python package designed for computing distances between time series, with GPU support for accelerated processing. This article introduces tsdistances and its key features, focusing on the implementation of elastic distance algorithms and their optimizations. We present both CPU and GPU implementations, highlighting the use of dynamic programming techniques and GPU-specific optimizations such as warp-based parallelization. The performance of tsdistances is compared with existing alternatives in the literature, demonstrating significant speed improvements, especially for large-scale time series analysis tasks.
- Open Access
- 4 February 2026
- Published by Elsevier in Theoretical Computer Science
- Vol. 1071
Matching statistics—a survey
- 4 February 2026
- Published by Elsevier in Theoretical Computer Science
- Vol. 1071
Open AccessMatching statistics—a survey
- Open Access
- 11 January 2026
- Published by Elsevier in Theoretical Computer Science
- Vol. 1066
A textbook solution for dynamic strings
- 11 January 2026
- Published by Elsevier in Theoretical Computer Science
- Vol. 1066
Open AccessA textbook solution for dynamic strings
- Open Access
- 30 December 2025
- Published by Elsevier in Computational Biology and Chemistry
- Vol. 122, 108870
Measuring genomic data with prefix-free parsing
- 30 December 2025
- Published by Elsevier in Computational Biology and Chemistry
- Vol. 122, 108870
Open AccessMeasuring genomic data with prefix-free parsing
- 22 September 2025
- Published by Springer Nature
- Vol. 16073, 54-63
Prefix-Free Parsing for Merging Big BWTs
When building Burrows-Wheeler Transforms (BWTs) of truly huge datasets, prefix-free parsing (PFP) can use an unreasonable amount of memory. In this paper we show how if a dataset can be broken down into small datasets that are not very similar to each other—such as collections of many copies of genomes of each of several species, or collections of many copies of each of the human chromosomes—then we can drastically reduce PFP’s memory footprint by building the BWTs of the small datasets and then merging them into the BWT of the whole dataset.
- 22 September 2025
- Published by Springer Nature
- Vol. 16073, 54-63
Prefix-Free Parsing for Merging Big BWTs
When building Burrows-Wheeler Transforms (BWTs) of truly huge datasets, prefix-free parsing (PFP) can use an unreasonable amount of memory. In this paper we show how if a dataset can be broken down into small datasets that are not very similar to each other—such as collections of many copies of genomes of each of several species, or collections of many copies of each of the human chromosomes—then we can drastically reduce PFP’s memory footprint by building the BWTs of the small datasets and then merging them into the BWT of the whole dataset.
- Open Access
Measuring Genomic Data with Prefix-Free Parsing
Summary: Prefix-free parsing [Boucher et al., Alg. Mol. Biol., 2019] is a highly effective heuristic for computing text indexes for very large amounts of biological data. The algorithm constructs a data structure, the prefix-free parse (PFP) of the input, consisting of a dictionary and a parse, which is then used to speed up computation of the final index. In this paper, we study the size of the PFP, which we refer to as π , and show that it is a powerful tool in its own right. To show this, we present two use cases. We first study the application of π as a repetitiveness measure of the input text, and compare it to other currently used repetitiveness measures, including z (the number of Lempel-Ziv phrases), r (the number of runs of the Burrows-Wheeler Transform), and δ (the text’s substring complexity). We then turn to the use of π as a measure for pangenome openness . In both applications, our results are similar to existing measures, but our tool, in almost all cases, is more efficient than those computing the other measures, both in terms of time and space, sometimes by an order of magnitude. We close the paper with a detailed systematic study of the parameter choice for PFP (window size w and modulus p ). This gives rise to interesting open questions. Availability and implementation: The source code is available at https://github.com/simolucaa/piPFP . The accession codes for all the datasets used and the raw results are available at https://github.com/simolucaa/piPFP_experiments .
Open AccessMeasuring Genomic Data with Prefix-Free Parsing
Summary: Prefix-free parsing [Boucher et al., Alg. Mol. Biol., 2019] is a highly effective heuristic for computing text indexes for very large amounts of biological data. The algorithm constructs a data structure, the prefix-free parse (PFP) of the input, consisting of a dictionary and a parse, which is then used to speed up computation of the final index. In this paper, we study the size of the PFP, which we refer to as π , and show that it is a powerful tool in its own right. To show this, we present two use cases. We first study the application of π as a repetitiveness measure of the input text, and compare it to other currently used repetitiveness measures, including z (the number of Lempel-Ziv phrases), r (the number of runs of the Burrows-Wheeler Transform), and δ (the text’s substring complexity). We then turn to the use of π as a measure for pangenome openness . In both applications, our results are similar to existing measures, but our tool, in almost all cases, is more efficient than those computing the other measures, both in terms of time and space, sometimes by an order of magnitude. We close the paper with a detailed systematic study of the parameter choice for PFP (window size w and modulus p ). This gives rise to interesting open questions. Availability and implementation: The source code is available at https://github.com/simolucaa/piPFP . The accession codes for all the datasets used and the raw results are available at https://github.com/simolucaa/piPFP_experiments .
- Open Access
- 12 March 2024
- Published by Springer Nature in Algorithms for Molecular Biology
- Vol. 19 (1) , 1-18
Suffix sorting via matching statistics
We introduce a new algorithm for constructing the generalized suffix array of a collection of highly similar strings. As a first step, we construct a compressed representation of the matching statistics of the collection with respect to a reference string. We then use this data structure to distribute suffixes into a partial order, and subsequently to speed up suffix comparisons to complete the generalized suffix array. Our experimental evidence with a prototype implementation (a tool we call ) shows that on string collections with highly similar strings we can construct the suffix array in time competitive with or faster than the fastest available methods. Along the way, we describe a heuristic for fast computation of the matching statistics of two strings, which may be of independent interest.
- 12 March 2024
- Published by Springer Nature in Algorithms for Molecular Biology
- Vol. 19 (1) , 1-18
Open AccessSuffix sorting via matching statistics
We introduce a new algorithm for constructing the generalized suffix array of a collection of highly similar strings. As a first step, we construct a compressed representation of the matching statistics of the collection with respect to a reference string. We then use this data structure to distribute suffixes into a partial order, and subsequently to speed up suffix comparisons to complete the generalized suffix array. Our experimental evidence with a prototype implementation (a tool we call ) shows that on string collections with highly similar strings we can construct the suffix array in time competitive with or faster than the fastest available methods. Along the way, we describe a heuristic for fast computation of the matching statistics of two strings, which may be of independent interest.
- 20 September 2023
- Published by Springer Nature
- p. 323-330
Constant Time and Space Updates for the Sigma-Tau Problem
- 20 September 2023
- Published by Springer Nature
- p. 323-330
Constant Time and Space Updates for the Sigma-Tau Problem
- Open Access
- 7 August 2023
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Pattern Analysis and Machine Intelligence
- Vol. 45 (12) , 14131-14143
Adversarial Data Augmentation for HMM-Based Anomaly Detection
In this work, we concentrate on the detection of anomalous behaviors in systems operating in the physical world and for which it is usually not possible to have a complete set of all possible anomalies in advance. We present a data augmentation and retraining approach based on adversarial learning for improving anomaly detection. In particular, we first define a method for generating adversarial examples for anomaly detectors based on Hidden Markov Models (HMMs). Then, we present a data augmentation and retraining technique that uses these adversarial examples to improve anomaly detection performance. Finally, we evaluate our adversarial data augmentation and retraining approach on four datasets showing that it achieves a statistically significant performance improvement and enhances the robustness to adversarial attacks. Key differences from the state-of-the-art on adversarial data augmentation are the focus on multivariate time series (as opposed to images), the context of one-class classification (in contrast to standard multi-class classification), and the use of HMMs (in contrast to neural networks).
- 7 August 2023
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Pattern Analysis and Machine Intelligence
- Vol. 45 (12) , 14131-14143
Open AccessAdversarial Data Augmentation for HMM-Based Anomaly Detection
In this work, we concentrate on the detection of anomalous behaviors in systems operating in the physical world and for which it is usually not possible to have a complete set of all possible anomalies in advance. We present a data augmentation and retraining approach based on adversarial learning for improving anomaly detection. In particular, we first define a method for generating adversarial examples for anomaly detectors based on Hidden Markov Models (HMMs). Then, we present a data augmentation and retraining technique that uses these adversarial examples to improve anomaly detection performance. Finally, we evaluate our adversarial data augmentation and retraining approach on four datasets showing that it achieves a statistically significant performance improvement and enhances the robustness to adversarial attacks. Key differences from the state-of-the-art on adversarial data augmentation are the focus on multivariate time series (as opposed to images), the context of one-class classification (in contrast to standard multi-class classification), and the use of HMMs (in contrast to neural networks).
- Open Access
Suffix sorting via matching statistics
We introduce a new algorithm for constructing the generalized suffix array of a collection of highly similar strings. As a first step, we construct a compressed representation of the matching statistics of the collection with respect to a reference string. We then use this data structure to distribute suffixes into a partial order, and subsequently to speed up suffix comparisons to complete the generalized suffix array. Our experimental evidence with a prototype implementation (a tool we call sacamats) shows that on string collections with highly similar strings we can construct the suffix array in time competitive with or faster than the fastest available methods. Along the way, we describe a heuristic for fast computation of the matching statistics of two strings, which may be of independent interest.
Open AccessSuffix sorting via matching statistics
We introduce a new algorithm for constructing the generalized suffix array of a collection of highly similar strings. As a first step, we construct a compressed representation of the matching statistics of the collection with respect to a reference string. We then use this data structure to distribute suffixes into a partial order, and subsequently to speed up suffix comparisons to complete the generalized suffix array. Our experimental evidence with a prototype implementation (a tool we call sacamats) shows that on string collections with highly similar strings we can construct the suffix array in time competitive with or faster than the fastest available methods. Along the way, we describe a heuristic for fast computation of the matching statistics of two strings, which may be of independent interest.