Sim-Piece: Highly Accurate Piecewise Linear Approximation through Similar Segment Merging
Xenophon Kitsios, Panagiotis Liakos, Katia Papakonstantinopoulou, Yannis Kotidis
Abstract
Approximating series of timestamped data points using a sequence of line segments with a maximum error guarantee is a fundamental data compression problem, termed as piecewise linear approximation (PLA). Due to the increasing need to analyze massive collections of time-series data in diverse domains, the problem has recently received significant attention, and recent PLA algorithms that have emerged do help us handle the overwhelming amount of information, at the cost of some precision loss. More specifically, these algorithms entail a trade-off between the maximum precision loss and the space savings achieved. However, advances in the area of lossless compression are undercutting the offerings of PLA techniques in real datasets. In this work, we propose Sim-Piece, a novel lossy compression algorithm for time-series data that optimizes the space requirements of representing PLA line segments, by finding the minimum number of groups we can organize these segments into, to represent them jointly. Our experimental evaluation demonstrates that our approach readily outperforms competing techniques, attaining compression ratios with more than twofold improvement on average over what PLA algorithms can offer. This allows for providing significantly higher accuracy with equivalent space requirements. Moreover, our algorithm, due to the simplicity of its merging phase, imposes little overhead while compacting the PLA description, offering a significantly improved trade-off between space and running time. The aforementioned benefits of our approach significantly improve the efficiency in which we can store time-series data, while allowing a tight maximum error in the representation of their values.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext f312e4ec-e287-40f7-8561-410c767e4620Cited by top-tier papers4
- Serf: Streaming Error-Bounded Floating-Point CompressionRuiyuan Li, Zechao Chen, Ruyun Lu, Xiaolong Xu et al.SIGMOD 2025 · 7 citations
- Learned Compression of Nonlinear Time Series with Random AccessAndrea Guerra, Giorgio Vinciguerra, Antonio Boffa, Paolo FerraginaICDE 2025 · 5 citations
- Improving Time Series Data Compression in Apache IoTDBYuxin Tang, Feng Zhang, Jiawei Guan, Yuan Tian et al.VLDB 2025 · 2 citations
- Largest Triangle Sampling for Visualizing Time Series in DatabaseLei Rui, Xiangdong Huang, Shaoxu Song, Chen Wang et al.SIGMOD 2025 · 1 citation
Builds on3
- Chimp: Efficient Lossless Floating Point Compression for Time Series DatabasesPanagiotis Liakos, Katia Papakonstantinopoulou, Yannis KotidisVLDB 2022 · 76 citations
- Frequency Domain Data Encoding in Apache IoTDBHaoyu Wang, Shaoxu SongVLDB 2023 · 17 citations
- On Compressing Temporal GraphsPanagiotis Liakos, Katia Papakonstantinopoulou, Theodore Stefou, Alex DelisICDE 2022 · 8 citations
Related papers
- CIVET: Exploring Compact Index for Variable-Length Subsequence Matching on Time SeriesHaoran Xiong, Hang Zhang, Zeyu Wang, Zhenying He et al.VLDB 2024 · 4 citations
- MOST: Model-Based Compression with Outlier Storage for Time Series DataZehai Yang, Shimin ChenSIGMOD 2024 · 9 citations
- REGER: Reordering Time Series Data for Regression EncodingJinzhao Xiao, Wendi He, Shaoxu Song, Xiangdong Huang et al.ICDE 2024 · 1 citation
- Fast Min-ϵ Segmented Regression using Constant-Time Segment MergingAnsgar Lößer, Max Schlecht, Florian Schintke, Joel Witzke et al.ICML 2025
- Approximate Analytics System over Compressed Time Series with Tight Deterministic Error GuaranteesChunbin Lin, Etienne Boursier, Yannis PapakonstantinouVLDB 2020 · 505 citations
