Derandomization via the Method of Conditional Expectations

19 concepts19 papers1 proposal

Randomness is a powerful tool in algorithm design. Often, it is much easier to prove that a "good" solution exists by showing that a random choice succeeds with high probability than it is to find that solution directly. However, in many practical and theoretical contexts—ranging from distributed systems to online optimization—we require deterministic guarantees. The method of conditional expectations (also known as the method of conditional probabilities) provides a systematic way to convert these probabilistic existence proofs into constructive, deterministic algorithms.

The Intuition of the Average

The core logic of this method rests on a simple observation: if the average value of a set of outcomes is $X$, then there must be at least one specific outcome that is at least as good as $X$.

In algorithmic terms, if a randomized process yields a "good" result on average, we can find a specific, deterministic path to that result by making choices one by one. At each step, we calculate the "expected goodness" of our final result given the choices we have already made. By always picking the next choice that maximizes this conditional expectation, we ensure that the final deterministic outcome is at least as good as the original randomized average.

Sequential Decision Making

To implement this, researchers often use a pessimistic estimator—a function that tracks the "risk" or "cost" of our current path. As Keren Censor-Hillel et al. demonstrate in Derandomizing local distributed algorithms under bandwidth restrictions, this involves making sequential choices such that the probability of success remains at least as high as its initial expected value.

This sequential narrowing is visible across several domains:

From Existence to Construction

One of the most significant uses of this method is transforming non-constructive existence proofs into efficient algorithms. For example, Éva Tardos provides deterministic polynomial-time algorithms for the metric labeling problem by derandomizing randomized approximation schemes. Similarly, Shai Gutner uses the method in Balanced Families of Perfect Hash Functions and Their Applications to explicitly construct hash families that were previously only known to exist via probabilistic arguments.

In game theory, the authors of Polynomial-time computation of exact correlated equilibrium in compact games apply these techniques to compute rational correlated equilibria. By using conditional probabilities, they transform existence proofs into a "purified" separation oracle, making the computation of equilibria practical for large-scale games.

Preserving Performance Guarantees

A key advantage of this approach is that it often preserves the performance guarantees of the original randomized algorithm. In the context of online algorithms, where decisions must be made without knowing the future, Baruch Awerbuch et al. show in The online set cover problem that a potential function analysis can remove the need for random choices while maintaining a near-optimal competitive ratio.

This theme is echoed by Nikhil Bansal et al. in A 2-Competitive Algorithm For Online Convex Optimization With Switching Costs, where they convert randomized strategies into deterministic ones without compromising the algorithm's robustness. By replacing randomized components with deterministic approximations—a strategy Maximilian Probst et al. call a "compositional approach" in Derandomizing Directed Random Walks in Almost-Linear Time—researchers can build complex deterministic systems that inherit the efficiency and elegance of their randomized predecessors.

Key Foundational Work

Approximation algorithms for classification problems with pairwise relationships (2002) — contributed 2 concept elements to this direction.
The online set cover problem (2003) — contributed 1 concept elements to this direction.
History & citationVersion 1 · 2026-10-04

Current · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_method_of_conditional_probabilities_bfcb2264,
  title = {method of conditional probabilities},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/method-of-conditional-probabilities/rdr_bfcb22643322444fa038fde625ac2de4},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-24},
}

This exact version (version 1, frozen text):

@misc{lacuna_method_of_conditional_probabilities_bfcb2264_v1,
  title = {method of conditional probabilities},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/method-of-conditional-probabilities/rdr_bfcb22643322444fa038fde625ac2de4/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-24},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake