Transform complex data patterns into simple symbols for blazing-fast similarity search.
SOFA (Symbolic Fourier Approximation) introduces a fast data series similarity search method using symbolic Fourier approximation and tree indexing, outperforming existing approaches in both speed and accuracy.
-----
https://arxiv.org/abs/2411.17483
π Original Problem:
Existing similarity search methods like SAX struggle with high-frequency data series, leading to poor performance and inefficient indexing. Current approaches fail to capture the intrinsic shape of signals, especially in noisy or high-frequency datasets.
-----
β‘ Solution in this Paper:
β SOFA combines two key components: SFA (Symbolic Fourier Approximation) for data summarization and a modified MESSI tree index for fast querying.
β SFA transforms data series into frequency domain using Fourier transform, then applies learned quantization based on actual data distribution.
β The system selects Fourier coefficients with highest variance to better capture high-frequency components.
β SOFA implements SIMD optimization for lower bound distance calculations, enabling parallel processing.
-----
π― Key Insights:
β Data-adaptive quantization in frequency domain outperforms fixed binning approaches
β Variance-based feature selection significantly improves representation of high-frequency signals
β SIMD optimization with early abandoning enhances query performance
-----
π Results:
β Up to 38x faster than MESSI on high-frequency datasets
β 2-4x faster than FAISS for exact similarity queries
β 10x faster than parallel sequential scan
β Processes queries in 58ms (median case)










