Abstract
We consider the problem of approximate sorting of a data stream (in one pass) with limited internal storage where the goal is not to rearrange data but to output a permutation that reflects the ordering of the elements of the data stream as closely as possible. Our main objective is to study the relationship between the quality of the sorting and the amount of available storage. To measure quality, we use permutation distortion metrics, namely the Kendall tau, Chebyshev, and weighted Kendall metrics, as well as mutual information, between the output permutation and the true ordering of data elements. We provide bounds on the performance of algorithms with limited storage and present a simple algorithm that asymptotically requires a constant factor as much storage as an optimal algorithm in terms of mutual information and average Kendall tau distortion. We also study the case in which only information about the most recent elements of the stream is available. This setting has applications to learning user preference rankings in services such as Netflix, where items are presented to the user one at a time.
Original language | English |
---|---|
Pages (from-to) | 1133-1164 |
Number of pages | 32 |
Journal | Journal of Combinatorial Optimization |
Volume | 32 |
Issue number | 4 |
DOIs | |
State | Published - 1 Nov 2016 |
Externally published | Yes |
Keywords
- Approximate sorting
- Data stream
- Limited storage
- Permutation distortion metrics
- User preference ranking
- Weighted Kendall distortion
All Science Journal Classification (ASJC) codes
- Computer Science Applications
- Discrete Mathematics and Combinatorics
- Control and Optimization
- Computational Theory and Mathematics
- Applied Mathematics