Lossless Set Compression by Binary Tree Coding
Longtao Tang, Ying Zhou, Yu Yang
Abstract
A set of categorical items is a common data structure used in various applications, such as customer orders in online shopping. With the rise of big data and e-commerce, there is an increasing need to store such a large number of set data efficiently. This paper presents a novel lossless compression method that uses binary trees for set compression. The compressed code is generated by performing a depth-first search for items in the set on the binary tree. We prove that finding the optimal tree for minimizing the total code length for a given collection of sets is NP-hard, and the problem even remains NP-hard when we only need to assign items to the leaf nodes of a given tree. A heuristic algorithm is then proposed for building trees. To further improve the compression efficiency, we incorporate the entropy coding method into the coding process. Moreover, we reveal the underlying probabilistic expression of the binary tree model and present the conditional independence structure of the model. To validate the effectiveness of the proposed method, empirical studies are conducted on two real-world online e-commerce datasets. The results show that the proposed coding method significantly reduces the storage space required for set data and the tree structure for compressing sets can help identify conditional independent items.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get 4a79bb6a-1b30-4df9-8f80-e9373465c6a1Related papers
- Compressing Tabular Data via Latent Variable EstimationAndrea Montanari, Eric WeinerICML 2023
- Entropy Coding of Unordered Data StructuresJulius Kunze, Daniel Severo, Giulio Zani, Jan-Willem van de Meent et al.ICLR 2024 · 7 citations
- DeltaPQ: Lossless Product Quantization Code Compression for High Dimensional Similarity SearchRunhui Wang, Dong DengVLDB 2020 · 31 citations
- Practical Shuffle CodingJulius Kunze, Daniel Severo, Jan-Willem van de Meent, James TownsendNeurIPS 2024 · 2 citations
- OctSqueeze: Octree-Structured Entropy Model for LiDAR CompressionLila Huang, Shenlong Wang, Kelvin Wong, Jerry Liu et al.CVPR 2020
