Skip to content

Transposition achieves OPT+O(1)+O(1) in polynomial time for IID list update

Clayton Mizgerd

cs.DS

Abstract

In the classical list update problem, a set of items must be stored in a list-type structure, where accessing the ii-th element costs ii. Items will be queried in an IID manner according to some probability distribution pp on the items. We want to minimize the expected cost of each query. The optimal order is to place the items in decreasing order of probability p1≥p2≥⋯p_1 \geq p_2 \geq \cdots with expected cost OPT=∑jjpj\mathsf{OPT} = \sum_j j p_j, but the probability vector pp is generally unknown. Thus we use a self-organizing list following the transposition rule: an item is transposed 1 position forward whenever it is queried. Coester (2026) proved that, at stationarity measure for the transposition rule, the expected cost of a query is at most OPT+1\mathsf{OPT} + 1. However, this Markov chain may have arbitrarily slow mixing time. We prove that, for arbitrary pp and arbitrary initial orderings σσ, after polynomially many queries in the number of items, the expected cost of a query is at most OPT+O(1)\mathsf{OPT} + O(1).

Create a lesson

Metadata

Categories
cs.DS, cs.DM
Comments
11 pages