Optimizing Both Checking and Update Costs in Random Walk Search

arXiv:2609.18833 · cs.DS, cs.CC, cs.DM, math.PR · Submitted 2026-09-16 · Read on arXiv

Listen

Radio episode about this paper

Transcript

Introduction to the show: ident: Computer Science. The day in computer science: software, systems and theory on arXiv.

Tom: I'm Tom.

Jane: And I'm Jane, here with Lu, Meng and our in-house large language model, Lalam.

Tom: We're looking at the paper: "Optimizing Both Checking and Update Costs in Random Walk Search".

Paper summary: Tom: So, looking at the whole thing again—the "Optimizing Both Checking and Update Costs in Random Walk Search" paper—it’s about showing that for a single marked state, this cost tradeoff is actually avoidable. It’s not just theoretical; they provide a concrete method to balance the update cost U and the checking cost C.

Jane: The authors show that by using an averaged walk where the step blocks are chosen randomly, you can guarantee an expected number of checks in terms of pi of m, while keeping those updates related to the hitting time HT(m).

Lu: What this means practically is that you don't have to sacrifice one performance metric just because its cost structure doesn't align with the other. You get a combined search cost that matches the best possible bounds from both elementary algorithms at once.

Meng: If I were deploying this, I’d be looking at how those parameters tau and R are chosen. The paper suggests choosing tau around pi of m times HT(m) and R based on constants like e plus four divided by pi of m to get a constant success probability. That sounds like practical tuning rather than just abstract theory.

Lalam: Exactly, the specific cost analysis they provide shows that if you pick tau as the ceiling of pi of m times HT(m) and R around two times e plus four, you land exactly on the expected cost S plus O(one/pi of m) C plus O(HT(m)) U <ref:2609.18833#pg1>.

Tom: That’s a clean result. It means we have a predictable cost structure when dealing with these search problems on arbitrary irreducible Markov chains. The main implication is that the choice of how often you check isn't just about one operation, it has a measurable impact on the other in this specific setup.

Jane: And the limitation they flag is that this whole proof relies heavily on assuming only a single marked state, m. They mention that finding an analogue for multiple marked states is still an open question. So, while they solved the single-state problem beautifully, extending it to more complex scenarios remains a challenge for future research.

Conclusion: Tom: So we're wrapping up this look at "Optimizing Both Checking and Update Costs in Random Walk Search." Basically, they found a way to balance two different costs in a random walk search when you have one specific marked state.

Jane: Right, so the main thing is that you can stop making updates and checking decisions completely independent of each other anymore. The authors give us this averaged walk idea where you mix the steps randomly over time.

Lu: Yeah, that averaging process lets them hit their target with a checking cost that scales nicely with pi of m while keeping the update cost tied to the original hitting time HT(m). It’s a clean tradeoff they proved for any chain.

Meng: But what does that actually mean when you're trying to run this on real traffic? Is it just theoretical speedup or does it matter for how much money we spend on simulation versus testing?

Tom: Well, the cost analysis shows that by picking the right tuning parameters tau and R, you get an expected total cost that matches both of the elementary methods simultaneously. It’s S plus O(one over pi of m) C plus O(HT(m)) U.

Jane: That means for a single marked state, you're not stuck choosing between having too many updates or too many checks anymore. You get the best of both worlds in terms of expected performance.

Lalam: I’m pretty confident in that result because they provide a full classical proof for any irreducible Markov chain, which is pretty broad. It shows this tradeoff is avoidable under these conditions.

Lu: True, and it's important to remember the authors specifically focused on just one marked state m. That single assumption is crucial for how they establish the relationship between hitting time and return time.

Tom: Exactly, so that’s a big caveat for now. The paper flags that extending this idea to search problems with multiple marked states is still an open question they want to tackle next.

Jane: So we solved one part of the puzzle really well, but generalizing it to more complex search scenarios is where the next piece of the picture lies.

Université Paris Cité · Centre for Quantum Information and Communication, École polytechnique de Bruxelles, Université libre de Bruxelles

cs.DS, cs.CC, cs.DM, math.PR

Submitted: 2026-09-16

Updated: 2026-12-01

Comments: Appears in the Proceedings of the 52nd International Conference on Current Trends in Theory and Practice of Computer Science (Sofsem 2027)

License: http://creativecommons.org/licenses/by/4.0/

Importance score: 91/100

The gist: Random walks are standard tools for search problems where state updates and checking costs differ, and this paper provides a classical proof of an optimal tradeoff between these two costs for a…

Key concepts

Setup Cost (S)
This is the initial cost incurred when starting the search process, specifically by sampling a starting state from its stationary distribution. It represents a fixed overhead before any updates or checks begin, contributing to the total expected search expense.
Update Cost (U)
This cost is associated with simulating one step of the Markov chain transition matrix P when moving from one state to another during the search. Minimizing this cost favors strategies that perform fewer state transitions.
Checking Cost (C)
This is the cost incurred every time a state is inspected to determine if it matches the target marked state. Strategies that check after long sequences of updates reduce the total number of checks, balancing against the update cost.
Averaged Walk ($ ext{P}_ au$)
This is a modified Markov chain created by averaging transitions over a time $ au$. By choosing $ au$ based on the stationary distribution and hitting time, this averaged walk is shown to reach the marked state much faster in terms of checks than the original walk.

Terminology

Summary

Random walks are standard tools for search problems where state updates and checking costs differ, and this paper provides a classical proof of an optimal tradeoff between these two costs for a single marked state. p. 0

Where the paper says it

Random walks are a standard tool for search problems in which a state can be updated locally and tested for being marked. When updating the state and checking whether it is marked have different costs, two classical strategies optimize different parts of the cost: checking after every step is optimal in the number of updates, while repeatedly checking only after mixing is optimal in the number of checks.

<ref:2609.18833#pg1, "When updating the state and checking whether it is marked have different costs">. p. 0
Where the paper says it

Random walks are a standard tool for search problems in which a state can be updated locally and tested for being marked. When updating the state and checking whether it is marked have different costs, two classical strategies optimize different parts of the cost: checking after every step is optimal in the number of updates, while repeatedly checking only after mixing is optimal in the number of checks.

The resulting search cost is expressed as S + O(HT(m))U + O(1/π(m))C in expectation. p. 0
Where the paper says it

Using a coupling with the original walk and Kac’s lemma, we prove directly that the averaged walk hits the marked state in O(1/π(m)) checks in expectation. The resulting search cost is S + O(HT(m))U + O(1/π(m))C in expectation, where S, U, and C denote setup, update, and checking costs.

<ref:2609.18833#pg1, "The resulting search cost is S + O(HT(m))U + O(1/π(m))C in expectation">. p. 0
Where the paper says it

Using a coupling with the original walk and Kac’s lemma, we prove directly that the averaged walk hits the marked state in O(1/π(m)) checks in expectation. The resulting search cost is S + O(HT(m))U + O(1/π(m))C in expectation, where S, U, and C denote setup, update, and checking costs.

Pruning redundant reasoning tokens

The paper introduces a generic random walk search algorithm involving setup cost S, update cost U, and checking cost C.<ref:2609.18833#pg2, "The standard cost model separates three operations">. p. 1

Where the paper says it

Costes work, while checking whether the current state is marked may have a different cost. The standard cost model separates three operations. p. 1

Where the paper says it

Costes work, while checking whether the current state is marked may have a different cost. The standard cost model separates three operations.

p. 1
Where the paper says it

Costes work, while checking whether the current state is marked may have a different cost. The standard cost model separates three operations.

It contrasts two elementary strategies: checking after every step yields O(HT(M)) updates and checks. p. 1
Where the paper says it

Two elementary strategies illustrate the tension. Checking after every step finds a marked state in O(HT(M)) updates and checks, where HT(M) is the hitting time from stationarity.

<ref:2609.18833#pg4, "The first checks after every update finds a marked state in O(HT(M)) updates and checks">, while checking after blocks of length O(1/δ) yields O(1/π(M)) checks but potentially more updates. p. 0
Where the paper says it

When updating the state and checking whether it is marked have different costs, two classical strategies optimize different parts of the cost: checking after every step is optimal in the number of updates, while repeatedly checking only after mixing is optimal in the number of checks. For a single marked state m and a walk started from its stationary distribution π, Dohotaru and Høyer stated that both guarantees can be matched simultaneously, for a walk that checks after blocks of a fixed length; their argument is sketched through quantum walks, and they observe that they know of no classical proof.

<ref:2609.18833#pg4, "On the other hand, if P is reversible with spectral gap δ, checking after blocks of length O(1/δ) finds a marked state with O(1/π(M)) checks">. p. 1
Where the paper says it

This uses an optimal number of updates, but can use many more checks than necessary. On the other hand, if P is reversible with spectral gap δ, checking after blocks of length O(1/δ) finds a marked state with O(1/π(M)) checks, which is optimal as a bound in terms of π(M) alone, but can require O(1/(δπ(M))) updates, which may be larger than HT(M).

The authors aim to provide a direct proof for arbitrary irreducible Markov chains. p. 1
Where the paper says it

Their argument requires P to be reversible, no classical proof is given, and they explicitly write that they know of no way to obtain the statement without quantum arguments. Our goal is to provide such a proof, at an elementary level and for arbitrary irreducible chains.

<ref:2609.18833#pg1, "We give a short and self-contained classical proof of such a tradeoff, for arbitrary irreducible Markov chains">. p. 0
Where the paper says it

For a single marked state m and a walk started from its stationary distribution π, Dohotaru and Høyer stated that both guarantees can be matched simultaneously, for a walk that checks after blocks of a fixed length; their argument is sketched through quantum walks, and they observe that they know of no classical proof. We give a short and self-contained classical proof of such a tradeoff, for arbitrary irreducible Markov chains.

p. 0
Where the paper says it

For a single marked state m and a walk started from its stationary distribution π, Dohotaru and Høyer stated that both guarantees can be matched simultaneously, for a walk that checks after blocks of a fixed length; their argument is sketched through quantum walks, and they observe that they know of no classical proof. We give a short and self-contained classical proof of such a tradeoff, for arbitrary irreducible Markov chains.

How the training signal is built

The core contribution is the theorem regarding an averaged Markov chain.<ref:2609.18833#pg4, "Let P be a finite irreducible Markov chain with stationary distribution π, and let m be a single marked state">. p. 1

Where the paper says it

The main technical contribution is the following direct theorem about an averaged Markov chain, stated informally here. Let P be a finite irreducible Markov chain with stationary distribution π, and let m be a single marked state.

This theorem states that if τ ≥ π(m)HT(m), the averaged chain Pτ reaches m in O(1/π(m)) steps in expectation. p. 1
Where the paper says it

Let P be a finite irreducible Markov chain with stationary distribution π, and let m be a single marked state. If τ ≥ π(m)HT(m), then the averaged chain Pτ reaches m, from stationarity, after O(1/π(m)) steps in expectation.

<ref:2609.18833#pg6, "If τ ≥ π(m)HT(m), then the averaged chain has hitting time O(1/π(m))">. p. 1
Where the paper says it

Equivalently, we run the averaged Markov chain Pτ = 1 τ Xτ k=1 P k . For τ ≥ π(m)HT(m), we prove that this averaged chain has hitting time O(1/π(m)).

The algorithm achieves this by replacing the original transition matrix P with the averaged walk Pτ = 1/τ Xτ k=1 P k, where τ is of order π(m)HT(m). p. 0
Where the paper says it

We give a short and self-contained classical proof of such a tradeoff, for arbitrary irreducible Markov chains. The algorithm replaces the original transition matrix P by the averaged walk Pτ = 1 τ Xτ k=1 P k , where τ is of order π(m)HT(m).

<ref:2609.18833#pg1, "The algorithm replaces the original transition matrix P by the averaged walk Pτ = 1/τ Xτ k=1 P k">. p. 0
Where the paper says it

We give a short and self-contained classical proof of such a tradeoff, for arbitrary irreducible Markov chains. The algorithm replaces the original transition matrix P by the averaged walk Pτ = 1 τ Xτ k=1 P k , where τ is of order π(m)HT(m).

p. 0
Where the paper says it

We give a short and self-contained classical proof of such a tradeoff, for arbitrary irreducible Markov chains. The algorithm replaces the original transition matrix P by the averaged walk Pτ = 1 τ Xτ k=1 P k , where τ is of order π(m)HT(m).

Where the gains come from

The proof of Theorem 1 couples the original chain with the averaged chain using independent uniform random variables for block lengths.<ref:2609.18833#pg7>. The analysis relies on Lemma 3 and Lemma 4 (Wald’s identity) to bound the expected number of inspections E[N]. p. 2

Where the paper says it

The first part of the analysis counts the inspections made before the original walk reaches m, which Wald’s identity bounds by O(HT(m)/τ ). For the remaining part, the original walk has just hit m, so Kac’s lemma (Lemma 1) applied to the averaged chain guarantees that it returns to m after 1/π(m) further inspections in expectation.

<ref:2609.18833#pg8, E[N′] ≤ e/π(m)>. This leads to Corollary 1, which suggests choosing τ ≥ π(m)HT(m) and R ≥ 2(e + 4)/π(m) for a constant success probability. p. 8
Where the paper says it

⊓⊔ 6 Cost and Optimality Choose τ = ⌈π(m)HT(m)⌉. By Corollary 1, R = Θ(1/π(m)) iterations of Algorithm 1 are enough for constant success probability.

<ref:2609.18833#pg9, "Choose τ ≥ π(m)HT(m) and run Algorithm 1 with R ≥ 2(e + 4)/π(m)">. p. 8
Where the paper says it

Optimizing Checking and Update Costs 9 Corollary 1. Choose τ ≥ π(m)HT(m) and run Algorithm 1 with R ≥ 2(e + 4) π(m) .

p. 8
Where the paper says it

Optimizing Checking and Update Costs 9 Corollary 1. Choose τ ≥ π(m)HT(m) and run Algorithm 1 with R ≥ 2(e + 4) π(m) .

Cost and Optimality

The final cost analysis shows that choosing τ =⌈π(m)HT(m)⌉ and R =⌈2(e+4)⌉ yields an expected cost of S + O(1/π(m))C + O(HT(m))U.<ref:2609.18833#pg9, "The expected cost is therefore S + O(1/π(m))C + O(HT(m))U">. p. 8

Where the paper says it

Each iteration performs one check and an expected (τ + 1)/2 updates. The expected cost is therefore S + O 1 π(m) C + O τ π(m) U = S + O 1 π(m) C + O(HT(m))U.

p. 8
Where the paper says it

Each iteration performs one check and an expected (τ + 1)/2 updates. The expected cost is therefore S + O 1 π(m) C + O τ π(m) U = S + O 1 π(m) C + O(HT(m))U.

This result simultaneously matches the costs of the two elementary algorithms: O(HT(m)) updates and O(1/π(m)) checks. p. 8
Where the paper says it

This matches the two elementary algorithms at once: O(HT(m)) updates, as when checking after every step, and O(1/π(m)) checks, as when checking after mixing (Lemma 2). The theorem should therefore be read as matching both costs at once, for a fixed chain P.

<ref:2609.18833#pg9, "This matches the two elementary algorithms at once: O(HT(m)) updates, as when checking after every step, and O(1/π(m)) checks, as when checking after mixing">. p. 8
Where the paper says it

The expected cost is therefore S + O 1 π(m) C + O τ π(m) U = S + O 1 π(m) C + O(HT(m))U. This matches the two elementary algorithms at once: O(HT(m)) updates, as when checking after every step, and O(1/π(m)) checks, as when checking after mixing (Lemma 2).

The example on the cycle demonstrates this matching with Θ(n) checks and Θ(n 2) updates. p. 8
Where the paper says it

The theorem should therefore be read as matching both costs at once, for a fixed chain P. Example: the cycle.

<ref:2609.18833#pg10>.

Limitations and Related Work

The single marked state assumption is crucial because it allows the relationship between the hitting time of the original walk and the return time to be established.<ref:2609.18833#pg10, "The single marked state assumption is essential for the proof">. p. 9

Where the paper says it

Costes 7 Limitations and Related Work The single marked state assumption is essential for the proof. After the original walk first hits m, the state is exactly known, and the remaining expectation can be related to the return time to m.

The paper notes that finding a multi-marked analogue or a counterexample remains an open question. p. 9
Where the paper says it

For a marked set M with several states, the distribution of the first hit inside M can be biased in a way that is not captured only by π(M), and the Kac argument no longer applies directly. Finding a useful multi-marked analogue, or a counterexample showing that none exists at this level of generality, is a natural open question.

<ref:2609.18833#pg10, "The main open directions are to understand the right analogue for multiple marked states">. p. 9
Where the paper says it

This changes the inspected subsequence enough to guarantee O(1/π(m)) checks, while preserving O(HT(m)) updates. The main open directions are to understand the right analogue for multiple marked states, remove or reduce the need to know π(m)HT(m), and determine whether the theorem is useful as a black-box classical component in quantum walk search constructions.

p. 9
Where the paper says it

This changes the inspected subsequence enough to guarantee O(1/π(m)) checks, while preserving O(HT(m)) updates. The main open directions are to understand the right analogue for multiple marked states, remove or reduce the need to know π(m)HT(m), and determine whether the theorem is useful as a black-box classical component in quantum walk search constructions.

The work builds on quantum walk search literature, specifically Dohotaru and Høyer's classical cost split derived from a quantum framework.<ref:2609.18833#pg2, In [2, Section 6] they consider the walk that checks after every steps of P>. The contribution is providing a classical proof valid for every irreducible chain. p. 9
Where the paper says it

Randomizing the block length removes both restrictions. Our contribution is thus a classical proof of the tradeoff, valid for every irreducible chain: the averaged chain has hitting time O(1/π(m)) as soon as τ ≥ π(m)HT(m).

<ref:2609.18833#pg10>.

Conclusion

The paper successfully provides an elementary Markov-chain proof of the classical random walk search tradeoff for one marked state.<ref:2609.18833#pg10, "We gave a simple Markov-chain proof of the classical random walk search tradeoff for the case of one marked state">. p. 9

Where the paper says it

Averaging consecutive powers of a Markov chain is also closely related to standard techniques for removing periodicity and defining averaged mixing times, although our objective is hitting a particular state with sparse inspections rather than convergence to stationarity. 8 Conclusion We gave a simple Markov-chain proof of the classical random walk search tradeoff for the case of one marked state and separate update and checking costs.

The key finding is that checking after a uniformly random number of steps guarantees O(1/π(m)) checks while preserving O(HT(m)) updates. p. 9
Where the paper says it

The algorithm checks after a uniformly random number of walk steps rather than after a fixed block length. This changes the inspected subsequence enough to guarantee O(1/π(m)) checks, while preserving O(HT(m)) updates.

<ref:2609.18833#pg10, "This changes the inspected subsequence enough to guarantee O(1/π(m)) checks, while preserving O(HT(m)) updates">. p. 9
Where the paper says it

The algorithm checks after a uniformly random number of walk steps rather than after a fixed block length. This changes the inspected subsequence enough to guarantee O(1/π(m)) checks, while preserving O(HT(m)) updates.

The main open directions involve generalizing the result to multiple marked states and determining its utility in quantum walk search constructions. p. 9
Where the paper says it

This changes the inspected subsequence enough to guarantee O(1/π(m)) checks, while preserving O(HT(m)) updates. The main open directions are to understand the right analogue for multiple marked states, remove or reduce the need to know π(m)HT(m), and determine whether the theorem is useful as a black-box classical component in quantum walk search constructions.

<ref:2609.18833#pg10, "The main open directions are to understand the right analogue for multiple marked states, remove or reduce the need to know π(m)HT(m), and determine whether the theorem is useful as a black-box classical component in quantum walk search constructions">. p. 9
Where the paper says it

This changes the inspected subsequence enough to guarantee O(1/π(m)) checks, while preserving O(HT(m)) updates. The main open directions are to understand the right analogue for multiple marked states, remove or reduce the need to know π(m)HT(m), and determine whether the theorem is useful as a black-box classical component in quantum walk search constructions.

--- Page 1 ---

Optimizing. Both Checking and Update Costs in Random Walk Search Simon Apers1 and Marin Costes2 1 Université Paris Cité, CNRS, IRIF, Paris, France 2 Centre for Quantum Information and Communication, École polytechnique de Bruxelles, Université libre de Bruxelles, Belgium Abstract. p. 0

Where the paper says it

Optimizing Both Checking and Update Costs in Random Walk Search Simon Apers1 and Marin Costes2 1 Université Paris Cité, CNRS, IRIF, Paris, France 2 Centre for Quantum Information and Communication, École polytechnique de Bruxelles, Université libre de Bruxelles, Belgium Abstract. Random walks are a standard tool for search problems in which a state can be updated locally and tested for being marked.

Random walks are a standard tool for search problems in which a state can be updated locally and tested for being marked. p. 0
Where the paper says it

Optimizing Both Checking and Update Costs in Random Walk Search Simon Apers1 and Marin Costes2 1 Université Paris Cité, CNRS, IRIF, Paris, France 2 Centre for Quantum Information and Communication, École polytechnique de Bruxelles, Université libre de Bruxelles, Belgium Abstract. Random walks are a standard tool for search problems in which a state can be updated locally and tested for being marked.

When updating the state and checking whether it is marked have different costs, two classical strategies optimize different parts of the cost: checking after every step is optimal in the number of updates, while repeatedly checking only after mixing is optimal in the number of checks. p. 0
Where the paper says it

Random walks are a standard tool for search problems in which a state can be updated locally and tested for being marked. When updating the state and checking whether it is marked have different costs, two classical strategies optimize different parts of the cost: checking after every step is optimal in the number of updates, while repeatedly checking only after mixing is optimal in the number of checks.

For a single marked state m and a walk started from its stationary distribution π, Dohotaru and Høyer stated that both guarantees can be matched simultaneously, for a walk that checks after blocks of a fixed length; their argument is sketched through quantum walks, and they observe that they know of no classical proof. p. 0
Where the paper says it

When updating the state and checking whether it is marked have different costs, two classical strategies optimize different parts of the cost: checking after every step is optimal in the number of updates, while repeatedly checking only after mixing is optimal in the number of checks. For a single marked state m and a walk started from its stationary distribution π, Dohotaru and Høyer stated that both guarantees can be matched simultaneously, for a walk that checks after blocks of a fixed length; their argument is sketched through quantum walks, and they observe that they know of no classical proof.

<ref:2609.18833#pg1, "Dohotaru and Høyer stated that both guarantees can be matched simultaneously, for a walk that checks after blocks of a fixed length; their argument is sketched through quantum walks, and they observe that they know of no classical proof">. p. 0
Where the paper says it

When updating the state and checking whether it is marked have different costs, two classical strategies optimize different parts of the cost: checking after every step is optimal in the number of updates, while repeatedly checking only after mixing is optimal in the number of checks. For a single marked state m and a walk started from its stationary distribution π, Dohotaru and Høyer stated that both guarantees can be matched simultaneously, for a walk that checks after blocks of a fixed length; their argument is sketched through quantum walks, and they observe that they know of no classical proof.

We give a short and self-contained classical proof of such a tradeoff, for arbitrary irreducible Markov chains. p. 0
Where the paper says it

For a single marked state m and a walk started from its stationary distribution π, Dohotaru and Høyer stated that both guarantees can be matched simultaneously, for a walk that checks after blocks of a fixed length; their argument is sketched through quantum walks, and they observe that they know of no classical proof. We give a short and self-contained classical proof of such a tradeoff, for arbitrary irreducible Markov chains.

<ref:2609.18833#pg1, "We give a short and self-contained classical proof of such a tradeoff, for arbitrary irreducible Markov chains">. The algorithm replaces the original transition matrix P by the averaged walk Pτ = 1/τ Xτ k=1 P k, where τ is of order π(m)HT(m). p. 0
Where the paper says it

We give a short and self-contained classical proof of such a tradeoff, for arbitrary irreducible Markov chains. The algorithm replaces the original transition matrix P by the averaged walk Pτ = 1 τ Xτ k=1 P k , where τ is of order π(m)HT(m).

<ref:2609.18833#pg1, "The algorithm replaces the original transition matrix P by the averaged walk Pτ = 1/τ Xτ k=1 P k">. Using a coupling with the original walk and Kac’s lemma, we prove directly that the averaged walk hits the marked state in O(1/π(m)) checks in expectation. p. 0
Where the paper says it

The algorithm replaces the original transition matrix P by the averaged walk Pτ = 1 τ Xτ k=1 P k , where τ is of order π(m)HT(m). Using a coupling with the original walk and Kac’s lemma, we prove directly that the averaged walk hits the marked state in O(1/π(m)) checks in expectation.

<ref:2609.18833#pg4, "Using a coupling with the original walk and Kac’s lemma, we prove directly that the averaged walk hits the marked state in O(1/π(m)) checks in expectation">. p. 0
Where the paper says it

The algorithm replaces the original transition matrix P by the averaged walk Pτ = 1 τ Xτ k=1 P k , where τ is of order π(m)HT(m). Using a coupling with the original walk and Kac’s lemma, we prove directly that the averaged walk hits the marked state in O(1/π(m)) checks in expectation.

--- Page 2 ---

2 S. Apers, M. Costes work, while checking whether the current state is marked may have a different cost. p. 1

Where the paper says it

Costes work, while checking whether the current state is marked may have a different cost. The standard cost model separates three operations.

<ref:2609.18833#pg2, "work, while checking whether the current state is marked may have a different cost">. p. 1
Where the paper says it

Costes work, while checking whether the current state is marked may have a different cost. The standard cost model separates three operations.

The standard cost model separates three operations.<ref:2609.18833#pg2, "The standard cost model separates three operations">. The setup cost S is the cost of sampling from the stationary distribution. p. 1
Where the paper says it

The standard cost model separates three operations. The setup cost S is the cost of sampling from the stationary distribution.

<ref:2609.18833#pg2, "The setup cost S is the cost of sampling from the stationary distribution">. p. 1
Where the paper says it

The standard cost model separates three operations. The setup cost S is the cost of sampling from the stationary distribution.

The update cost U is the cost of simulating one step of P. p. 1
Where the paper says it

The setup cost S is the cost of sampling from the stationary distribution. The update cost U is the cost of simulating one step of P.

<ref:2609.18833#pg2, "The update cost U is the cost of simulating one step of P">. p. 1
Where the paper says it

The setup cost S is the cost of sampling from the stationary distribution. The update cost U is the cost of simulating one step of P.

The checking cost C is the cost of testing whether the current state is marked. p. 1
Where the paper says it

The update cost U is the cost of simulating one step of P. The checking cost C is the cost of testing whether the current state is marked.

<ref:2609.18833#pg2, "The checking cost C is the cost of testing whether the current state is marked">. p. 1
Where the paper says it

The update cost U is the cost of simulating one step of P. The checking cost C is the cost of testing whether the current state is marked.

--- Page 3 ---

Optimizing Checking and Update Costs 3. An instance consists of a finite irreducible Markov chain P with stationary distribution π, together with a marked state m. p. 3

Where the paper says it

Costes 3 The Search Model An instance consists of a finite irreducible Markov chain P with stationary distribution π, together with a marked state m. The algorithm has access to three operations: – Setup: sample X0 ∼ π, at cost S.

<ref:2609.18833#pg2, "An instance consists of a finite irreducible Markov chain P with stationary distribution π, together with a marked state m">. p. 3
Where the paper says it

Costes 3 The Search Model An instance consists of a finite irreducible Markov chain P with stationary distribution π, together with a marked state m. The algorithm has access to three operations: – Setup: sample X0 ∼ π, at cost S.

The algorithm has access to three operations: – Setup: sample X0 ∼ π, at cost S. p. 3
Where the paper says it

Costes 3 The Search Model An instance consists of a finite irreducible Markov chain P with stationary distribution π, together with a marked state m. The algorithm has access to three operations: – Setup: sample X0 ∼ π, at cost S.

<ref:2609.18833#pg2>. – Update: from the current state x, sample one transition according to P(·, x), at cost U. p. 3
Where the paper says it

The algorithm has access to three operations: – Setup: sample X0 ∼ π, at cost S. – Update: from the current state x, sample one transition according to P(·, x), at cost U.

<ref:2609.18833#pg2>. – Check: decide whether the current state is m, at cost C. p. 3
Where the paper says it

– Update: from the current state x, sample one transition according to P(·, x), at cost U. – Check: decide whether the current state is m, at cost C.

<ref:2609.18833#pg2, "Check: decide whether the current state is m, at cost C">. p. 3
Where the paper says it

– Update: from the current state x, sample one transition according to P(·, x), at cost U. – Check: decide whether the current state is m, at cost C.

--- Page 4 ---

Two Elementary Search Algorithms. Two elementary algorithms illustrate the tension. p. 1

Where the paper says it

It is already meaningful classically: if C is large, one wants to check rarely; if U is large, one wants to avoid unnecessary walk steps. Two elementary strategies illustrate the tension.

<ref:2609.18833#pg4>. The first checks after every update finds a marked state in O(HT(m)) updates and checks, where HT(M) is the hitting time from stationarity. p. 1
Where the paper says it

Two elementary strategies illustrate the tension. Checking after every step finds a marked state in O(HT(M)) updates and checks, where HT(M) is the hitting time from stationarity.

<ref:2609.18833#pg4, "The first checks after every update finds a marked state in O(HT(m)) updates and checks">. p. 1
Where the paper says it

Two elementary strategies illustrate the tension. Checking after every step finds a marked state in O(HT(M)) updates and checks, where HT(M) is the hitting time from stationarity.

The second checks only after long blocks. p. 3
Where the paper says it

It can be wasteful when C is large. The second checks only after long blocks.

<ref:2609.18833#pg4, "The second checks only after long blocks of length O(1/δ) finds a marked state with O(1/π(M)) checks">. p. 1
Where the paper says it

This uses an optimal number of updates, but can use many more checks than necessary. On the other hand, if P is reversible with spectral gap δ, checking after blocks of length O(1/δ) finds a marked state with O(1/π(M)) checks, which is optimal as a bound in terms of π(M) alone, but can require O(1/(δπ(M))) updates, which may be larger than HT(M).

--- Page 5 ---

Optimizing Checking and Update Costs 5. For a single marked state m, this tradeoff is avoidable. p. 1

Where the paper says it

On the other hand, if P is reversible with spectral gap δ, checking after blocks of length O(1/δ) finds a marked state with O(1/π(M)) checks, which is optimal as a bound in terms of π(M) alone, but can require O(1/(δπ(M))) updates, which may be larger than HT(M). For a single marked state m, this tradeoff is avoidable.

<ref:2609.18833#pg2, "For a single marked state m, this tradeoff is avoidable">. p. 1
Where the paper says it

On the other hand, if P is reversible with spectral gap δ, checking after blocks of length O(1/δ) finds a marked state with O(1/π(M)) checks, which is optimal as a bound in terms of π(M) alone, but can require O(1/(δπ(M))) updates, which may be larger than HT(M). For a single marked state m, this tradeoff is avoidable.

The same cost split appears in the work of Dohotaru and Høyer on controlled quantum amplification [2], as a byproduct of their quantum framework. p. 1
Where the paper says it

For a single marked state m, this tradeoff is avoidable. The same cost split appears in the work of Dohotaru and Høyer on controlled quantum amplification [2], as a byproduct of their quantum framework.

<ref:2609.18833#pg4, The same cost split appears in the work of Dohotaru and Høyer on controlled quantum amplification [2], as a byproduct of their quantum framework>. The averaged-walk algorithm that we propose in the next section combines the two guarantees for a single marked state. p. 3
Where the paper says it

The update cost can be larger than HT(m). The averaged-walk algorithm that we propose in the next section combines the two guarantees for a single marked state.

<ref:2609.18833#pg4, "The averaged-walk algorithm that we propose in the next section combines the two guarantees for a single marked state">. p. 3
Where the paper says it

The update cost can be larger than HT(m). The averaged-walk algorithm that we propose in the next section combines the two guarantees for a single marked state.

--- Page 6 ---

S. Apers, M. Costes. The algorithm checks after every step is optimal in the number of updates: O(HT(m)) updates and O(HT(m)) checks, and therefore has cost S + O(HT(m))(U + C). p. 3

Where the paper says it

It uses O(HT(m)) updates and O(HT(m)) checks, and therefore has cost S + O(HT(m))(U + C). This is optimal in the number of updates: the algorithm finds m at the first visit, and any search that follows P cannot output m before that time.

<ref:2609.18833#pg6>. This is optimal in the number of updates: the algorithm finds m at the first visit, and any search that follows P cannot output m before that time. p. 3
Where the paper says it

It uses O(HT(m)) updates and O(HT(m)) checks, and therefore has cost S + O(HT(m))(U + C). This is optimal in the number of updates: the algorithm finds m at the first visit, and any search that follows P cannot output m before that time.

<ref:2609.18833#pg6>. The second checks only after long blocks gives O(1/π(m)) checks and cost S + O 1/π(m)C + O 1/δπ(m)U. p. 3
Where the paper says it

It can be wasteful when C is large. The second checks only after long blocks.

<ref:2609.18833#pg4, "The second checks only after long blocks gives O(1/π(M)) checks and cost S + O 1/δπ(M)U">. p. 3
Where the paper says it

It can be wasteful when C is large. The second checks only after long blocks.

--- Page 7 ---

Lemma 2 Let P be a finite irreducible reversible Markov chain with absolute spectral gap δ, and let m be a marked state.<ref:2609.18833#pg5, "Let P be a finite irreducible reversible Markov chain with absolute spectral gap δ > 0, and let m be a marked state". This algorithm that repeatedly checks the current state and then applies ⌈1/δ⌉ steps of P, for R = Θ(1/π(m)) iterations, outputs m with probability at least 1/2. p. 3

Where the paper says it

Let P be a finite irreducible reversible Markov chain with absolute spectral gap δ > 0, and let m be a marked state. From a stationary start, the algorithm that repeatedly checks the current state and then applies ⌈1/δ⌉ steps of P, for R = Θ(1/π(m)) iterations, outputs m with probability at least 1/2.

<ref:2609.18833#pg5, "This algorithm that repeatedly checks the current state and then applies \lceil 1/\delta \rceil steps of P, for R = \Theta(1/\pi(m)) iterations, outputs m with probability at least 1/2">. p. 3
Where the paper says it

Let P be a finite irreducible reversible Markov chain with absolute spectral gap δ > 0, and let m be a marked state. From a stationary start, the algorithm that repeatedly checks the current state and then applies ⌈1/δ⌉ steps of P, for R = Θ(1/π(m)) iterations, outputs m with probability at least 1/2.

--- Page 8 ---

Proof Note Reversibility is used at one single place, namely the bound HTQ(m) = O(1/π(m)) for a chain with constant spectral gap.<ref:2609.18833#pg5, "Reversibility is used at one single place, namely the bound HTQ(m) = O(1/π(m)) for a chain with constant spectral gap">. p. 4

Where the paper says it

The number of checks is therefore geometric of parameter 1/n, and Ω(1/π(m)) checks are necessary in expectation. ⊓⊔ Reversibility is used at one single place, namely the bound HTQ(m) = O(1/π(m)) for a chain with constant spectral gap, which rests on the spectral decomposition of a transition matrix that is self-adjoint in ℓ 2 (π).

The averaged chain has hitting time O(1/π(m)) as soon as τ ≥ π(m)HT(m). p. 9
Where the paper says it

Randomizing the block length removes both restrictions. Our contribution is thus a classical proof of the tradeoff, valid for every irreducible chain: the averaged chain has hitting time O(1/π(m)) as soon as τ ≥ π(m)HT(m).

<ref:2609.18833#pg6, "The averaged chain has hitting time O(1/π(m)) as soon as τ ≥ π(m)HT(m)">. p. 9
Where the paper says it

Randomizing the block length removes both restrictions. Our contribution is thus a classical proof of the tradeoff, valid for every irreducible chain: the averaged chain has hitting time O(1/π(m)) as soon as τ ≥ π(m)HT(m).

--- Page 9 ---

Corollary 1 Choose τ ≥ π(m)HT(m) and run Algorithm 1 with R ≥ 2(e + 4)/π(m).<ref:2609.18833#pg9, "Choose τ ≥ π(m)HT(m) and run Algorithm 1 with R ≥ 2(e + 4)/π(m)">. The expected cost is therefore S + O(1/π(m))C + O(HT(m))U. p. 8

Where the paper says it

Each iteration performs one check and an expected (τ + 1)/2 updates. The expected cost is therefore S + O 1 π(m) C + O τ π(m) U = S + O 1 π(m) C + O(HT(m))U.

<ref:2609.18833#pg9, "The expected cost is therefore S + O(1/π(m))C + O(HT(m))U">.

--- Page 10 ---

Example. The cycle Consider the lazy random walk on the cycle with n vertices and one marked vertex m. p. 8

Where the paper says it

Example: the cycle. Consider the lazy random walk on the cycle with n vertices and one marked vertex m.

<ref:2609.18833#pg10>. Table 1 compares the two elementary algorithms with the averaged walk n n2. p. 8
Where the paper says it

The hitting time from stationarity is Θ(n 2 ), while the spectral gap is Θ(1/n2 ). Table 1 compares the two elementary algorithms with the averaged walk.

<ref:2609.18833#pg10>. The authors show that for constant success probability, checking after every step is O(HT(m)) updates and checking after mixing is O(n 3) updates. p. 8
Where the paper says it

Expected number of checks and updates on the cycle, up to constant factors, for constant success probability. Algorithm Checks Updates Check after every step n 2 n 2 Check after mixing n n3 Averaged walk n n2

<ref:2609.18833#pg10>. The averaged walk achieves Θ(n) checks and Θ(n 2) updates. p. 8
Where the paper says it

Table 1 compares the two elementary algorithms with the averaged walk. Checking after every step is optimal in the number of updates, but uses Θ(n 2 ) checks.

<ref:2609.18833#pg10>.

--- Page 11 ---

Optimizing Checking and Update Costs 11. The expected cost is therefore S + O(HT(m))U. p. 8

Where the paper says it

Each iteration performs one check and an expected (τ + 1)/2 updates. The expected cost is therefore S + O 1 π(m) C + O τ π(m) U = S + O 1 π(m) C + O(HT(m))U.

<ref:2609.18833#pg9, "The expected cost is therefore S + O(HT(m))U">. p. 8
Where the paper says it

Each iteration performs one check and an expected (τ + 1)/2 updates. The expected cost is therefore S + O 1 π(m) C + O τ π(m) U = S + O 1 π(m) C + O(HT(m))U.

The main open directions are to understand the right analogue for multiple marked states. p. 9
Where the paper says it

This changes the inspected subsequence enough to guarantee O(1/π(m)) checks, while preserving O(HT(m)) updates. The main open directions are to understand the right analogue for multiple marked states, remove or reduce the need to know π(m)HT(m), and determine whether the theorem is useful as a black-box classical component in quantum walk search constructions.

<ref:2609.18833#pg10, "The main open directions are to understand the right analogue for multiple marked states">.

--- Page 12 ---

Optimizing Checking and Update Costs 12 Acknowledgements. This publication was made possible through the support of the ID 63683 from the John Templeton Foundation, as part of the “WithOut SpaceTime” Project (WOST). p. 2

Where the paper says it

We couple the averaged chain to the original walk by viewing one step of Pτ as a randomly chosen block of P-steps. The first part of the analysis counts the inspections made before the original walk reaches m, which Wald’s identity bounds by O(HT(m)/τ ).

p. 2
Where the paper says it

We couple the averaged chain to the original walk by viewing one step of Pτ as a randomly chosen block of P-steps. The first part of the analysis counts the inspections made before the original walk reaches m, which Wald’s identity bounds by O(HT(m)/τ ).

--- Page 12 ---

Optimizing Checking and Update Costs 12 Acknowledgements. This work was also supported by the F. p. 1

Where the paper says it

Costes work, while checking whether the current state is marked may have a different cost. The standard cost model separates three operations.

p. 1
Where the paper says it

Costes work, while checking whether the current state is marked may have a different cost. The standard cost model separates three operations.

R.S.-FNRS under project CHEQS within the Excellence of Science (EOS) program. p. 4
Where the paper says it

This is the classical estimate used by Magniez, Nayak, Roland and Santha for symmetric chains [5]. For a chain that is not reversible, P need not be normal, and the modulus of its eigenvalues no longer controls hitting times; the same algorithm can still be used with blocks long enough for the current distribution to be within total variation distance π(m)/2 of π, which again gives O(1/π(m)) checks, at the price of a logarithmic factor in the length of the blocks.

p. 4
Where the paper says it

This is the classical estimate used by Magniez, Nayak, Roland and Santha for symmetric chains [5]. For a chain that is not reversible, P need not be normal, and the modulus of its eigenvalues no longer controls hitting times; the same algorithm can still be used with blocks long enough for the current distribution to be within total variation distance π(m)/2 of π, which again gives O(1/π(m)) checks, at the price of a logarithmic factor in the length of the blocks.

--- Page 12 ---

Optimizing Checking and Update Costs 12 Acknowledgements. This publication was made possible through the support of the ID 63683 from the John Templeton Foundation, as part of the “WithOut SpaceTime” Project (WOST). This work was also supported by the F.R.S.-FNRS under project CHEQS within the Excellence of Science (EOS) program.

Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.

Improvements for AI systems

  1. Adaptive Search Strategy Implementation: The improved AI system can implement a search algorithm that simultaneously optimizes checking cost C and update cost U by choosing an optimal block length τ based on the specific Markov chain P and marked state m. This allows the system to achieve a search cost of S + O(HT(m))U + O(1/π(m))C in expectation, matching both classical bounds.

  2. Cost-Aware Search Algorithm: The system can utilize Algorithm 1 Averaged-walk search, which replaces the original transition matrix P by the averaged walk Pt = 1/τ sum Xk=1 Pk, where τ is of order π(m)HT(m). This results in a search cost S + O(HT(m))U + O(1/π(m))C in expectation.

  3. Guaranteed Success Probability: By choosing τ ≥ π(m)HT(m) and R ≥ 2e+4π / π, the system can guarantee outputting the marked state m with a probability of at least 1/2. This is achieved by bounding the hitting time of the averaged chain Pτ to O(1/π(m)).

  4. Matching Elementary Bounds: The improved system can match both elementary search algorithms simultaneously for a single marked state. It achieves O(HT(m)) updates (checking after every step) and O(1/π(m)) checks (checking after mixing), which is impossible with a fixed block length strategy alone.

Abstract

Random walks are a standard tool for search problems in which a state can be updated locally and tested for being marked. When updating the state and checking whether it is marked have different costs, two classical strategies optimize different parts of the cost: checking after every step is optimal in the number of updates, while repeatedly checking only after mixing is optimal in the number of checks. For a single marked state m and a walk started from its stationary distribution π, Dohotaru and Høyer gave an algorithm optimal for both costs, which checks after blocks of a fixed length; their argument is sketched through quantum walks, and they observe that they know of no classical proof. We give a short and self-contained classical proof of such a tradeoff, for arbitrary irreducible Markov chains. The algorithm replaces the original transition matrix P by the averaged walk τ= τ sum k=1 τP k, where τ is of order π(m) HT(m), with π(m) the stationary probability of m and HT(m) the expected number of steps to reach m from stationarity. Using a coupling with the original walk and Kac's lemma, we prove directly that the averaged walk hits the marked state in O(1/π(m)) checks in expectation. The resulting search cost is S+O(HT(m))U+O(1/π(m))C in expectation, where S, U, and C denote setup, update, and checking costs.

Related papers