Most real-world data is continuous, noisy, and high-dimensional. When we look at a sensor reading from a smart grid or an fMRI scan of a brain, we see a "squiggle"—a sequence of floating-point numbers that changes every millisecond. Analyzing these squiggles directly is computationally expensive; traditional distance metrics like Dynamic Time Warping (DTW) often require quadratic time, making them impractical for the "firehose" of data generated by modern IoT devices.
The core insight of this research direction is that we can treat time series data like text. By transforming continuous numerical signals into a discrete symbolic alphabet, we can leverage decades of efficient string-processing algorithms to find patterns, detect anomalies, and explain model decisions in linear time.
The Intuition: From Squiggles to Words
Imagine trying to describe a mountain range to a friend. You wouldn't list the exact GPS elevation of every square inch. Instead, you would describe "peaks," "valleys," and "plateaus." This is the essence of symbolic representation.
As Jessica Lin 0001 demonstrates in Visually mining and monitoring massive time series, this process typically involves two steps:
- Dimensionality Reduction: The signal is divided into equal-sized frames, and the average value of each frame is calculated (Piecewise Aggregate Approximation, or PAA).
- Discretization: These averages are mapped to symbols (like 'a', 'b', 'c') based on predefined thresholds.
In the widely used Symbolic Aggregate Approximation (SAX) framework, these thresholds are often chosen based on a Gaussian distribution to ensure that each symbol is equally likely to occur. This transforms a sequence of 10,000 numbers into a short "word" like abccba.
Why It Works: Noise Filtering and Efficiency
The power of this transformation isn't just in compression; it’s in robustness. Continuous signals are plagued by low-amplitude noise and minor fluctuations. By mapping a range of values to a single symbol, we effectively "filter" out this noise. Fuyi Wang and Leo Yu Zhang argue in Equiprobable symbolization pattern entropy that this discretization preserves the essential structural features of nonlinear systems while simplifying complex numerical jumps.
Once the data is symbolic, the computational benefits are massive:
- Linear Time Complexity: Algorithms like the TARZAN algorithm, developed by Eamonn J. Keogh and colleagues in Finding surprising patterns in a time series database in linear time and space, use suffix trees to find anomalies in linear time—a feat impossible with raw numerical data.
- Constant-Time Lookups: In Linear Time Complexity Time Series Clustering with Symbolic Pattern Forest, Xiaosheng Li and Jessica Lin 0001 show that we can cluster data by simply checking for the presence of specific symbolic patterns, bypassing expensive distance calculations entirely.
Beyond Numbers: Causal and Explainable Analysis
Symbolic representation also bridges the gap between "black-box" machine learning and human understanding. In Explainable Artificial Intelligence (XAI) on TimeSeries Data: A Survey, Thomas Rojat and co-authors highlight that converting signals into discrete strings allows us to identify "motifs"—recurrent, interpretable shapes that explain why a model made a certain prediction.
This interpretability extends to complex causal modeling. For instance, Chao Zhang and Jiawei Han used symbolic sequences in p-Causality to prune the massive search space of potential air pollutant sources, focusing only on significant "events" represented by symbols. Similarly, Ishanu Chattopadhyay uses symbolic sequences to model data as Probabilistic Finite-State Automata in Data Smashing 2.0, allowing for a "universal metric" of similarity based on the underlying logic of the data generator rather than raw values.
Applications Across Domains
The versatility of this approach is evident in its wide adoption:
- Health: Yatao Zhang uses symbolic binary strings to assess ECG quality in Using Lempel–Ziv Complexity to Assess ECG Signal Quality, while Jonathan J. Harris transforms health data into natural language summaries in A Framework for Generating Explanations from Temporal Personal Health Data.
- Cyber-Physical Systems: Chao Liu 0028 applies symbolic dynamics to detect root causes of failures in smart grids and distributed systems in Root-cause Analysis for Time-series Anomalies.
- Security: Researchers have even used symbolic approximation to identify specific app behaviors and website visits through noisy iOS side-channel data in OS-level Side Channels without Procfs.
By moving from the continuous to the discrete, researchers have found a way to make the world's most complex data streams searchable, interpretable, and computationally manageable.