Krause 2008 - Greedy Algorithm and the 1-1 over e Guarantee
Summary
The greedy rule adds the location maximising (Eq. 6, Algorithm 1). Mutual information is submodular (Lemma 3) and, once the grid is fine enough and sensor noise is positive, approximately monotone for sets up to size (Lemma 5, Corollary 6). Nemhauser et al.’s argument then gives (Theorem 7).
Overview
Plain greedy adds the single best next sensor. For a monotone submodular with this is within of optimal. MI is not monotone globally (, Fig. 6), so the paper proves approximate monotonicity for , which is all the proof needs.
Main Content
Greedy marginal gain (Eq. 6)
With ,
By Eq. (5) maximising this is maximising the ratio . Entropy keeps only the numerator; the denominator forces a “central” whose variance is small given everything not selected.
Algorithm 1. ; for : for each compute ; ; . Complexity for ( per conditional-variance computation, recomputed for all , times).
Submodular set function
is submodular if ; equivalently for and , (diminishing returns).
Lemma 3
is submodular.
Proof. “Information never hurts”: , and similarly the term increases with the conditioning set shrinking, so whenever , for arbitrary sets (not only those the greedy algorithm visits).
Theorem 4 (Nemhauser, Wolsey, Fisher, 1978)
For monotone submodular over a finite with , greedy picks with and
Lemma 5 (approximate monotonicity)
Let be a GP on a compact with positive-definite continuous kernel and sensor noise variance at least . For any and any maximum number of sensors there is a discretisation of mesh width such that for all , , and all : .
Proof sketch (App. A). Fix and use uniform continuity of to choose a mesh with whenever points move by at most . Compare the grid with its translate . Because sensor noise gives smallest eigenvalue at least , ; bounding and yields with . Picking so this is at most bounds the entropy difference by at most , which is what approximate monotonicity needs.
Corollary 6 (Lipschitz kernels)
If is Lipschitz with constant , the required mesh width is
A polynomial discretisation suffices; the bound is worst-case (sensors arbitrarily close) and loose for spread-out placements.
Theorem 7 (main guarantee)
Under the assumptions of Lemma 5, Algorithm 1 selects with and
It also gives an upper bound on OPT usable to judge other heuristics.
Proof sketch. Nemhauser’s proof, simplified by Jon Kleinberg: with the first greedy picks, and optimal, Lemma 5 gives , and submodularity gives ; the resulting recursion gives the bound.
Examples
Verified 1-D comparison (60 points, SE kernel length 0.1, noise 0.1, ):
import numpy as np
n = 60; x = np.linspace(0, 1, n); S = np.arange(n)
K = np.exp(-0.5*((x[:, None] - x[None, :])/0.1)**2); s2 = 0.1
Sig = K + s2*np.eye(n) # covariance of noisy observations
def cv(y, A):
A = list(A)
return Sig[y, y] if not A else Sig[y, y] - Sig[y, A] @ np.linalg.solve(Sig[np.ix_(A, A)], Sig[A, y])
def greedy(k, mi=True):
A = []
for _ in range(k):
best = max(((cv(y, A)/cv(y, [j for j in S if j not in A and j != y]) if mi else cv(y, A)), y)
for y in S if y not in A)
A.append(best[1])
return sorted(int(a) for a in A)
print(greedy(5, True), greedy(5, False))Output: MI [2, 13, 29, 46, 57], entropy [0, 11, 23, 41, 59] (the latter includes both borders, 0 and 59). This illustrates Figure 4. (This implementation treats every grid point as both a candidate and a target, so ; the paper allows distinct and .)
Connections
- The same diminishing-returns structure is why lazy greedy is exact: Krause 2008 - Lazy Evaluation and Local Kernels.
- A knowledge-gradient or entropy-search acquisition (Acquisition Functions, Bayesian Optimisation) is a one-step cousin; MI placement is non-adaptive because variance does not depend on data.