Skip to main content
Log in

An exact formula for the move-to-front rule for self-organizing lists

  • Published:
Journal of Theoretical Probability Aims and scope Submit manuscript

Abstract

A collection of items (e.g., books), each with an associated weight (or popularity), is arranged in a row. At each unit of time an item is removed with probability proportional to its weight and replaced at the left end of the row. Thismove-to-front rule gives a Markov chain on permutations often known as theTsetlin library. We derive an exact and tractable formula for the probability of any permutation after any number of moves. From the formula we read off previously studied quantities of interest associated with the chain, such as the stationary distribution and eigenvalues. Measuring discrepancy from stationarity by separation, we use the formula to find the initial arrangement giving the slowest convergence to stationarity. The time to stationarity in this case is a convolution of geometric random variables which we analyze for three natural choices of weights. We also assess the time required for an important functional, namely, expected search cost, to approach its stationary value.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Institutional subscriptions

Similar content being viewed by others

References

  1. Aldous, D., and Diaconis, P. (1986). Shuffling cards and stopping times.Amer. Math. Monthly 93, 333–348.

    Google Scholar 

  2. Aldous, D., and Diaconis, P. (1987). Strong uniform times and finite random walks.Advances in Appl. Math. 8, 69–97.

    Google Scholar 

  3. Bentley, J. L., and McGeoch, C. C. (1985). Amortized analyses of self-organizing sequential search heuristics,Comm. ACM 28, 404–411.

    Google Scholar 

  4. Bentley, J. L., Sleator, D. D., Tarjan, R. E., and Wei, V. K. (1986). A locally adaptive data compression scheme.Comm. ACM 29, 320–330.

    Google Scholar 

  5. Bitner, J. R. (1979). Heuristics that dynamically organize data structures.SIAM J. Comput. 8, 82–110.

    Google Scholar 

  6. Björner, A. (1984). Orderings of Coxeter groups, in Combinatorics and Algebra, Amer. Math. Soc., Providence, Rhode Island,Contemporary Math. 34, 175–195.

    Google Scholar 

  7. Burville, P. J. (1974). Heaps: a concept in optimization.J. Inst. Math. Applic. 13, 263–278.

    Google Scholar 

  8. Burville, P. J., and Kingman, J. F. C. (1973). On a model for storage and search.J. Appl. Prob. 10, 697–701.

    Google Scholar 

  9. Diaconis, P. (1993). Analysis of some weighted mixing schemes (unpublished manuscript).

  10. Diaconis, P., and Fill, J. A. (1990). Strong stationary times via a new form of duality.Ann. Prob. 18, 1483–1522.

    Google Scholar 

  11. Diaconis, P., Fill, J. A., and Pitman, J. (1992). Analysis of top to random shuffles.Comb. Prob. and Comp. 1, 135–155.

    Google Scholar 

  12. Donnelly, P. (1991). The heaps process, libraries and size-biased permutations.J. Appl. Prob. 28, 321–335.

    Google Scholar 

  13. Feller, W. (1968).An Introduction to Probability Theory and its Applications. Vol. 1, 3rd ed., Wiley, New York.

    Google Scholar 

  14. Gonnet, G. H., Munro, J. I., and Suwanda, H. (1981). Exegesis of self-organizing linear search.SIAM J. Comput. 3, 613–637.

    Google Scholar 

  15. Hendricks, W. J. (1972). The stationary distribution of an interesting Markov chain.J. Appl. Prob. 9, 231–233.

    Google Scholar 

  16. Hendricks, W. J. (1976). An account of self-organizing systems.SIAM J. Comput. 5, 715–723.

    Google Scholar 

  17. Hendricks, W. J. (1989). Self-organizing Markov chains. MITRE Corporation, McLean, Virginia.

    Google Scholar 

  18. Hester, J. H., and Hirschberg, D. S. (1985). Self-organizing linear search.ACM Comp. Surveys 19, 295–311.

    Google Scholar 

  19. Kan, Y. C., and Ross, S. M. (1980). Optimal list order under partial memory constraints.J. Appl. Prob. 17, 1004–1015.

    Google Scholar 

  20. Kapoor, S., and Reingold, E. (1991). Stochastic rearrangement rules for self-organizing data structures.Algorithmica 6, 278–291.

    Google Scholar 

  21. Kingman, J. F. C. (1975). Random discrete distributions.J. R. Statist. Soc. B 37, 1–22.

    Google Scholar 

  22. Lam, K., Leung, M. Y., and Siu, M. K. (1984). Self-organizing files with dependent accesses.J. Appl. Prob. 21, 343–359.

    Google Scholar 

  23. Lelewer, D. A., and Hirschberg, D. S. (1987). Self-organizing linear search.ACM Computing Surveys 19, 261–296.

    Google Scholar 

  24. Letac, G. (1974). Transience and recurrence of an interesting Markov chain.J. Appl. Prob. 11, 818–824.

    Google Scholar 

  25. McCabe, J. (1965). On serial files with relocatable records.Oper. Res. 13, 609–618.

    Google Scholar 

  26. Phatarfod, R. M. (1991). On the matrix occurring in a linear search problem.J. Appl. Prob. 28, 336–346.

    Google Scholar 

  27. Phatarfod, R. M. (1994). On the transition probabilities of move to the front scheme.J. Appl. Prob. 31, 570–574.

    Google Scholar 

  28. Rivest, R. (1976). On self-organizing sequential search heuristics.Comm. ACM 19, 63–66.

    Google Scholar 

  29. Sleator, D. D., and Tarjan, R. E. (1985a). Amortized efficiency of list update and paging rules.Comm. ACM 28, 202–208.

    Google Scholar 

  30. Sleator, D. D., and Tarjan, R. E. (1985b). Self-adjusting binary search trees.J. ACM 32, 652–686.

    Google Scholar 

  31. Topkis, D. M. (1986). Reordering heuristics for routing in communications networks.J. Appl. Prob. 23, 130–143.

    Google Scholar 

  32. Tsetlin, M. L. (1963). Finite automata and models of simple forms of behavior.Russian Math. Surv. 18(4), 1–27.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

About this article

Cite this article

Fill, J.A. An exact formula for the move-to-front rule for self-organizing lists. J Theor Probab 9, 113–160 (1996). https://doi.org/10.1007/BF02213737

Download citation

  • Received:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF02213737

Key Words

Navigation