TSK-Streams: learning TSK fuzzy systems for regression on data streams

Ammar Shaker, Eyke HüllermeierData Min. Knowl. Discov 2021

Introduction

In the era of big data, information often arrives as a continuous, high-speed stream—from sensor networks and stock market feeds to network traffic logs. Learning from these streams is uniquely challenging because the underlying data patterns often shift over time, a phenomenon known as concept drift.

Traditional regression models for streaming data typically fall into two camps: fast but "jagged" Boolean rule-based models, or smooth but computationally expensive fuzzy systems. TSK-Streams bridges this gap, offering a new algorithm that combines the high-speed efficiency of rule-based machine learning with the mathematical smoothness of Takagi–Sugeno–Kang (TSK) fuzzy logic.

Methodology

The TSK-Streams algorithm evolves its model structure incrementally. It begins with a single "catch-all" rule and dynamically adds more specific rules as it processes more data. Several technical innovations enable its performance:

  • TSK Fuzzy Rules: Unlike standard rules where an input either fits or doesn't, TSK rules use a "fuzzy" IF-part (where an input belongs to a rule to a certain degree) and a linear THEN-part (a mathematical function predicting the output).
  • S-Shaped Membership Functions: The algorithm employs smooth S-curves to define rule boundaries. This ensures that predictions do not jump abruptly when moving between rules, avoiding the "staircase effect" common in traditional decision trees.
  • Efficient Discretization (E-BST): To maintain high throughput, the authors utilize an Extended Binary Search Tree to find optimal rule splits. This reduces the computational complexity of finding new rules from linear to logarithmic, allowing the system to process thousands of points per second.
  • Drift Detection: TSK-Streams integrates ADWIN (Adaptive Windowing) to monitor each rule's performance. If a rule's accuracy drops significantly due to concept drift, the system can prune or update it to adapt to the new data distribution.

Experimental Setup and Datasets

The researchers evaluated TSK-Streams against 18 different datasets:

  • 14 Standard Benchmarks: Including well-known sets like 2dplanes, ailerons, and calHousing.
  • 4 Large-Scale "BNG" Datasets: Synthetic datasets generated from Bayesian Networks (e.g., BNG-stock) containing up to 100,000 instances to test scalability.

Key Insights and Results

TSK-Streams was compared against industry standards like AMRules, FIMTDD, and Adaptive Random Forests (ARF-Reg).

Predictive Performance

TSK-Streams achieved the best average rank (1.72) across all 18 datasets. It was statistically superior to its competitors on at least 9 of the 18 benchmarks, proving that the fuzzy approach provides a tangible accuracy boost over Boolean alternatives.

Model Complexity and Speed

One of the primary advantages of TSK-Streams is its efficiency. It produces significantly smaller models (fewer rules/nodes) than ensemble methods like ARF-Reg, which enhances human interpretability. While the fuzzy mathematics make it slightly more CPU-intensive than the simplest rule learners, it still processes instances in milliseconds, making it more than fast enough for real-time streaming applications.

Splitting Strategies

The authors found that Variance Reduction (a strategy borrowed from decision tree logic) outperformed Error Reduction. Reducing variance leads to more stable, specialized rules that aggregate more effectively during the final weighted prediction.

Conclusion

TSK-Streams represents a significant step forward for streaming regression. By marrying the robustness of modern streaming architectures with the expressive power of fuzzy systems, it provides a model that is both highly accurate and computationally viable for real-time big data environments. Future work will likely explore more sophisticated rule-merging techniques to further enhance model transparency and reduce overhead for low-power IoT devices.

Summary updated

BibTeX
@article{shaker2021tsk,
  author = {Ammar Shaker and Eyke Hüllermeier},
  title = {{TSK-Streams: learning TSK fuzzy systems for regression on data streams}},
  journal = {Data Min. Knowl. Discov.},
  year = {2021},
  doi = {10.1007/s10618-021-00769-1},
}
Figure