Adaptive Analysis of On-line Algorithms

On-line algorithms are usually analyzed using competitive analysis, in which the performance of on-line algorithm on a sequence is normalized by the performance of the optimal on-line algorithm on that sequence. In this paper we introduce adaptive/cooperative analysis as an alternative general framework for the analysis of on-line algorithms. This model gives promising results when applied to two well known on-line problems, paging and list update. The idea is to normalize the performance of an on-line algorithm by a measure other than the performance of the on-line optimal algorithm OPT. We show that in many instances the perform of OPT on a sequence is a coarse approximation of the difficulty or complexity of a given input. Using a finer, more natural measure we can separate paging and list update algorithms which were otherwise undistinguishable under the classical model. This createas a performance hierarchy of algorithms which better reflects the intuitive relative strengths between them. Lastly, we show that, surprisingly, certain randomized algorithms which are superior to MTF in the classical model are not so in the adaptive case. This confirms that the ability of the on-line adaptive algorithm to ignore pathological worst cases can lead to algorithms that are more efficient in practice.

[1]  Eric Torng,et al.  A Unified Analysis of Paging and Caching , 1995, Proceedings of IEEE 36th Annual Foundations of Computer Science.

[2]  Daniel S. Hirschberg,et al.  Self-organizing linear search , 1985, CSUR.

[3]  Amos Fiat,et al.  Competitive Paging Algorithms , 1991, J. Algorithms.

[4]  Neal Young,et al.  The K-Server Dual and Loose Competitiveness for Paging , 1991, On-Line Algorithms.

[5]  Joan Boyar,et al.  The Relative Worst Order Ratio for On-Line Algorithms , 2003, CIAC.

[6]  Marek Chrobak,et al.  SIGACT news online algorithms column 8 , 2005, SIGA.

[7]  Frank Schulz Two New Families of List Update Algorithms , 1998, ISAAC.

[8]  Gerhard Weikum,et al.  The LRU-K page replacement algorithm for database disk buffering , 1993, SIGMOD Conference.

[9]  Conrado Martínez,et al.  On the competitiveness of the move-to-front rule , 2000, Theor. Comput. Sci..

[10]  Robert E. Tarjan,et al.  Amortized efficiency of list update and paging rules , 1985, CACM.

[11]  Ran El-Yaniv,et al.  Online list accessing algorithms and their applications: recent empirical evidence , 1997, SODA '97.

[12]  Allan Borodin,et al.  Competitive paging with locality of reference , 1991, STOC '91.

[13]  Anant Agarwal,et al.  Multiprocessor cache analysis using ATUM , 1988, ISCA '88.

[14]  Christos H. Papadimitriou,et al.  Beyond competitive analysis [on-line algorithms] , 1994, Proceedings 35th Annual Symposium on Foundations of Computer Science.

[15]  Alexander Souza,et al.  On adequate performance measures for paging , 2006, STOC '06.

[16]  Joan Boyar,et al.  The relative worst order ratio applied to paging , 2005, SODA '05.

[17]  Sandy Irani,et al.  Strongly competitive algorithms for paging with locality of reference , 1992, SODA '92.

[18]  Allan Borodin,et al.  Online computation and competitive analysis , 1998 .

[19]  Alejandro López-Ortiz,et al.  A Survey of Performance Measures for On-line Algorithms , 2005, SIGACT News.

[20]  Susanne Albers,et al.  On paging with locality of reference , 2002, STOC '02.

[21]  Joan Boyar,et al.  Theoretical Evidence for the Superiority of LRU-2 over LRU for the Paging Problem , 2006, WAOA.

[22]  Alejandro López-Ortiz,et al.  On the Separation and Equivalence of Paging Strategies and Other Online Algorithms , 2018, Algorithmica.

[23]  Abraham Silberschatz,et al.  Operating System Concepts , 1983 .

[24]  Susanne Albers,et al.  Improved randomized on-line algorithms for the list update problem , 1995, SODA '95.

[25]  Allan Borodin,et al.  A new measure for the study of on-line algorithms , 2005, Algorithmica.

[26]  Jeffery R. Westbrook,et al.  Randomized competitive algorithms for the list update problem , 1991, SODA '91.