Summary
ULISSE is the first data series index designed to handle similarity search queries of variable lengths within a single, compact structure. By using a novel "envelope" summarization technique, it avoids the massive storage overhead of traditional multi-index approaches while outperforming state-of-the-art methods by up to several orders of magnitude in both space and time.
Introduction: The Challenge of Variable-Length Search
In data series analysis—spanning domains from seismic monitoring to ECG interpretation—finding similar patterns is a cornerstone task. However, existing indexing technologies face a significant "Achilles' heel": they are typically optimized for a fixed query length.
If an analyst needs to search for a pattern that could vary in length (e.g., between 100 and 200 points), traditional systems require building separate indexes for every possible length. Because data series are indexed using a "sliding window," the number of subsequences to store explodes as the range of lengths increases. For a 20GB dataset, indexing all subsequences between lengths 96 and 256 results in a search space five orders of magnitude larger than the original data. This "space explosion" makes variable-length similarity search prohibitively expensive for massive datasets.
Methods: The ULISSE Framework
To address this, the authors introduce ULISSE (ULtra compact Index for variable-length Similarity SEarch). ULISSE relies on two primary innovations:
Master Series & Envelopes (uENV)
Instead of indexing every individual subsequence, ULISSE identifies "Master Series"—longer subsequences that fully overlap several shorter ones. It then creates a "discretized envelope" (uENV) that bounds the Piecewise Aggregate Approximation (PAA) coefficients of all subsequences within that range. This allows a single entry in the index to represent a whole family of overlapping sequences of different lengths.
Handling Z-Normalization
A significant challenge in this field is Z-normalization (shifting data to have a mean of zero and a standard deviation of one). Normalizing sequences of different lengths changes their shapes and y-axis offsets inconsistently. ULISSE introduces a specific mathematical framework to compute PAA envelopes that remain valid even after Z-normalization, a feature missing in previous variable-length attempts.
The system integrates these envelopes into a modified iSAX index (a hierarchical tree structure). It supports both Euclidean Distance and Dynamic Time Warping (DTW), providing algorithms for both exact and approximate $k$-Nearest Neighbor ($k$-NN) and $\epsilon$-range queries.
Experimental Evaluation
The authors evaluated ULISSE using a mix of synthetic random-walk data and diverse real-world datasets, including:
- GAP: Global active electric power consumption.
- CAP: EEG activity recordings during sleep.
- ECG/EMG: Physiological signals for stress recognition.
- ASTRO: Celestial object data series.
- SEISMIC: Seismic recordings from the IRIS repository.
- Synthetic: Large-scale datasets ranging from 100GB to 750GB.
Key Insights and Results
- The "Prefix" Property: For non-normalized data, the PAA of a longer "Master Series" contains the information needed to represent the PAA of any shorter series sharing its starting point.
- Succinct Summarization: By storing a "loose" envelope, the system can quickly discard large portions of the dataset that couldn't match the query, only performing expensive "exact" checks on a tiny fraction of the data.
- Efficiency through Compactness: Surprisingly, a more compact index can be faster than a more "precise" one. Because ULISSE is so small, it benefits significantly from disk caching, leading to higher hit ratios and fewer slow random disk reads.
- Performance: ULISSE was consistently 10x to 15x faster than competing indexing methods and optimized sequential scans. It successfully handled a 750GB dataset containing nearly 10 billion possible subsequence candidates—a scale that competing variable-length solutions simply could not process.
Conclusion
While ULISSE requires the range $[l_{min}, l_{max}]$ to be defined at construction, it represents a major leap in handling variable-length queries efficiently. Its ability to scale to nearly a terabyte of data while maintaining high search performance makes it a robust solution for modern big data analytics.
Summary updated