LOWER BOUNDS FOR EXTERNAL MEMORY INTEGER SORTING VIA NETWORK CODING

被引:0
作者
Farhadi, Alireza [1 ]
Hajiaghayi, Mohammadtaghi [1 ]
Larsen, Kasper Green [2 ]
Shi, Elaine [3 ]
机构
[1] Univ Maryland, College Pk, MD 70742 USA
[2] Aarhus Univ, Aarhus, Denmark
[3] Cornell Univ, Ithaca, NY 14850 USA
关键词
external memory; integer sorting; network coding; Li and Li conjecture;
D O I
10.1137/20M1321887
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Sorting extremely large datasets is a frequently occurring task in practice. These datasets are usually much larger than the computer's main memory; thus external memory sorting algorithms, first introduced by Aggarwal and Vitter [Commun. ACM, 31 (1988), pp. 1116-1127], are often used. The complexity of comparison based external memory sorting has been understood for decades by now, but the situation remains elusive if we assume the keys to be sorted are integers. In internal memory, one can sort a set of n integer keys of Theta(lgn) bits each in O(n) time using the classic radix sort algorithm, but in external memory, there are no faster integer sorting algorithms known than the simple comparison based ones. Whether such algorithms exist has remained a central open problem in external memory algorithms for more than three decades. In this paper, we present a tight conditional lower bound on the complexity of external memory sorting of integers. Our lower bound is based on a famous conjecture in network coding by Li and Li [Proceedings of the 42nd Allerton Annual Conference on Communication, Control and Computing, 2004], who conjectured that network coding cannot help anything beyond the standard multicommodity flow rate in undirected graphs. The only previous work connecting the Li and Li conjecture to lower bounds for algorithms is due to Adler et al. [Proceedings of the 17th Annual ACM-SIAM Symposium on Discrete Algorithm, 2006, pp. 241-250]. Adler et al. indeed obtain relatively simple lower bounds for oblivious algorithms (the memory access pattern is fixed and independent of the input data). Unfortunately obliviousness is a strong limitation, especially for integer sorting: we show that the Li and Li conjecture implies an Omega(n lg n) lower bound for internal memory oblivious sorting when the keys are Theta(lgn) bits. This is in sharp contrast to the classic (nonoblivious) radix sort algorithm. Indeed going beyond obliviousness is highly nontrivial; we need to introduce several new methods and involved techniques, which are of their own interest, to obtain our tight lower bound for external memory integer sorting.
引用
收藏
页码:87 / 111
页数:25
相关论文
共 20 条
[1]   On the Capacity of Information Networks [J].
Adler, Micah ;
Harvey, Nicholas J. A. ;
Jain, Kamal ;
Kleinberg, Robert ;
Lehman, April Rasala .
PROCEEDINGS OF THE SEVENTHEENTH ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, 2006, :241-+
[2]   THE INPUT OUTPUT COMPLEXITY OF SORTING AND RELATED PROBLEMS [J].
AGGARWAL, A ;
VITTER, JS .
COMMUNICATIONS OF THE ACM, 1988, 31 (09) :1116-1127
[3]   Network information flow [J].
Ahlswede, R ;
Cai, N ;
Li, SYR ;
Yeung, RW .
IEEE TRANSACTIONS ON INFORMATION THEORY, 2000, 46 (04) :1204-1216
[4]  
[Anonymous], 2002, Proceedings of the 34th annual ACM symposium on theory of computing, STOC' 02
[5]  
[Anonymous], 2004, P 42 ALL ANN C COMM
[6]  
Barak B, 2010, ACM S THEORY COMPUT, P67
[7]  
Braverman M., 2017, P 8 INNOVATIONS THEO
[8]   DecreaseKeys Are Expensive for External Memory Priority Queues [J].
Eenberg, Kasper ;
Larsen, Kasper Green ;
Yu, Huacheng .
STOC'17: PROCEEDINGS OF THE 49TH ANNUAL ACM SIGACT SYMPOSIUM ON THEORY OF COMPUTING, 2017, :1081-1093
[9]  
Han YJ, 2002, ANN IEEE SYMP FOUND, P135, DOI 10.1109/SFCS.2002.1181890
[10]  
Harvey N. J. A., 2004, COMP NETWORK CODING