#24: Geometric Set Cover-0

\framebox{
\vbox{
\hbox to 5.78in { {\bf COMPSCI 634: Geometric Algorithms} \hfi...
...box to 5.78in { {\it Lecturer: Pankaj Agarwal \hfill Scribe: Chris Tralie} }
}
}


Click here to view the PDF version of this document



Overview

The purpose of this lecture is to cover a few classic combinatorial optimization problems, including set cover, hitting set, and independent set, in a geometric context. Though the optimal set cover and hitting set problems are NP-hard, results from $ \epsilon$-nets help to give good approximation bounds for these algorithms for simpler set systems that arise in a geometric context.

The notes begin with some preliminary definitions of the dual range space and of the algorithms, and several results from $ \epsilon$-nets are reviewed. Then, a modified, weighted version of an $ \epsilon$-net is presented which leads to an approximation algorithm for the hitting set and set cover. After this, a new randomized hitting set algorithm with better bounds is presented, which was discovered by our very own T.A. Jiangwei Pan and professor Pankaj Agarwal. Finally, some basic ideas for independent set are shown in a geometric context

Throughout, I also highlight several open problems that were mentioned in class.


Dual Range Spaces

Definitions

Definition 1  

Let $ \Sigma = (X, R)$ be a range space on the set $ X$. Then

$\displaystyle \Sigma^T = \left( R, \{ \{ r_j \vert x_i \in r_j \} \vert x_i \in X \} \right) $

is the dual range space associated with $ \Sigma$

In other words, the space becomes the set of ranges, and the ranges become sets of ranges that hit an $ x \in X$. A slightly easier conceptualization of a range space for this purpose is a bipartite graph, where one set is the elements in $ X$ and the other set is the ranges, and there's a line between $ x \in X$ and $ r \in R$ if $ x \in r$. The dual range space simply switches the roles of the two sets in the graph. Figure 1 shows an example with this construction.

Figure 1: An example of a range space represented as a bipartite graph. The primal range space has $ X = \{ 1, 2, 3, 4 \} , R = \{ \{1, 2, 3\}, \{1, 3\} \{ 4 \} \}$. The dual range space has $ X = \{A, B, C\}, R = \{ \{ A, B \}, \{ A \}, \{ A, B \}, \{ C \} \}$
Image BipartiteGraph

Note also that if one constructs an incidence matrix $ A$ for the range space out of this bipartite graph, then $ A^T$ represents an incidence matrix for the dual range space. This makes the transpose symbol a natural choice for denoting the dual range space.


Geometric Example

One way to visualize dual range spaces in a geometric context is with points and rectangles. Define the following objects:

Figure 2: An geometric example of a range space. The primal range space consists of the points $ X = \{ 1, 2, 3, 4, 5, 6, 7, 8 \}$ and the rectangles covering the ranges $ R = \{ A:\{1, 2, 3\}, B:\{2, 3, 4, 5\}, C:\{4, 5, 6\}, D:\{3, 5, 7\}, E:\{7, 8\} \}$. The dual range space consists of the rectangles $ X = \{ A, B, C, D, E \}$ and the points intersecting the rectangles $ R = \{ 1:\{A\}, 2:\{A, B\}, 3:\{A, B, D\}, 4:\{B, C\}, 5:\{B, C, D\}, 6:\{C\}, 7:\{D, E\}, 8:\{E\} \}$
Image RectanglePoints

Geometric Hitting Set and Set Cover

Definitions

Definition 2  

For the range space $ \Sigma = (X, R)$, $ H \subset X$ is a hitting set of $ \Sigma$ if

$\displaystyle H \cap r \neq \emptyset \forall r \in R $

Definition 3  

For the range space $ \Sigma = (X, R)$, $ S \subset R$ is a set cover of $ \Sigma$ if

$\displaystyle \cup_{s \in S} s = X $

Note that the hitting set of a range space $ \Sigma$ is the same as a set cover of $ \Sigma^T$. The goal is to find the smallest sized hitting set or set cover. Note also that the hitting set is closely related to an $ \epsilon-$net. To see this, recall the definition of an $ \epsilon-$net

Definition 4  

$ N \subset X$ is an $ \epsilon-$   net of $ X$ if $ \forall r \in R$

$\displaystyle \vert r\vert \geq \epsilon \vert x\vert \implies N \cap r \neq \emptyset $

If $ \epsilon = \frac{1}{N}$ in the definition of the the $ \epsilon$-net, where $ N = \vert X\vert$ for the ranges space $ \Sigma = (X, R)$, then the $ \epsilon$-net is certainly a hitting set for all of the ranges, because every range has size at least 1. Though the $ \epsilon$ is quite small in this case, and it is only related to $ N$, not to the optimal sized hitting set. Still, if one can improve the bound on $ \epsilon$, $ \epsilon$-nets may be useful for set systems of bounded VC-dimension because of the following theorem

Theorem 1   Given a range space $ \Sigma = (X, R)$ with finite VC-dimension $ d$, for any $ \delta, \epsilon > 0$, a random subset $ N \subset X$ of size

$\displaystyle O\left( \frac{d}{\epsilon} \log \frac{1}{\delta \epsilon} \right) $

is an $ \epsilon$-net of $ \Sigma$ with probability $ \geq (1 - \delta)$ [HP11]

Thus, the hope is to come up with better approximation algorithms for simple set systems using this theorem. As an example of where this may be useful, return to the ranges space with points and rectangles in Section 2.2. In fact, for this range space, an even better bound of size $ O(\frac{1}{\epsilon} \log \log \frac{1}{\epsilon} )$ has been shown recently in [AES10], while the $ \epsilon$-net of the dual range space is still $ O(\frac{1}{\epsilon} \log \frac{1}{\epsilon} )$ with constant probability.

As a side note, this implies that there is actually a gap in the bounds for computing set cover and the hitting set if $ \epsilon$-nets are used for the approximation.

An Approximation Algorithm

As mentioned before, the goal is to somehow reduce the hitting set to an $ \epsilon$-net. The main issue with the $ \epsilon$-net is that it is only guaranteed to cover heavy (high cardinality) ranges, but the hitting set requires all ranges to be covered, so before $ \epsilon$ had to be set to a very small value $ \frac{1}{N}$. To make this more convenient for the hitting set application, modify the definition of an $ \epsilon$-net to include weights for each element, so that small sets can effectively be given larger weights:

Definition 5  

For a range set $ \Sigma = (X, R)$, define a map

$\displaystyle w: X \rightarrow \mathbb{Z}^+$

And extend this maps to sets $ S \in R$ so that

$\displaystyle w(S) = \sum_{x \in S} w(x) $

Then $ N \subset X$ is a weighted $ \epsilon$-net of $ (\Sigma = (X, R), w)$ if $ \forall r \in R$

$\displaystyle w(r) \geq \epsilon w(x) \implies r \cap N \neq \emptyset $

Also say that $ r$ is $ \epsilon$-light if $ w(r) < \epsilon w(x)$

Use this modified definition to devise an algorithm that estimates the weights $ w$ for a range space $ (\Sigma = (X, R), w)$ that will lead to a good hitting set approximation with an $ \epsilon$-net. The algorithm is as follows:

Algorithm 1   % latex2html id marker 890
\fbox{
{\em
\begin{minipage}{0.5\textwidth}
\par
\be...
... \Return $\epsilon$-net of $(\Sigma, w)$
\end{algorithmic}\par
\end{minipage}}
}

The algorithm is very simple, but the analysis requires some tricks. To analyze this algorithm, let $ w_i(x)$ be $ w(x)$ after $ i$ iterations. Find an upper bound and a lower bound for $ w_i(x)$. Also let $ H^*$ be an optimal hitting set algorithm of size $ k$.

To get $ k = \vert H^*\vert$ involved in the upper bound, let

$\displaystyle \epsilon = \frac{\ln \sqrt{2}}{k} $

, a choice which will become clear in a moment. Then

$\displaystyle w_i(X) \leq (1 + \epsilon)^i n = \left(1 + \frac{\ln \sqrt{2}}{k} \right)^i n \leq \exp\left( i \frac{\ln \sqrt{2}}{k} \right) n$

Since $ H^* \subset X$,

$\displaystyle w_i(H^*) \leq w_i(X) \leq \exp\left( i \frac{\ln \sqrt{2}}{k} \right) n $

Now combine the lower bound and the upper bound on $ w_i(H^*)$

$\displaystyle k 2^{i/k} \leq n \exp \left( i \frac{\ln \sqrt{2}}{k} \right) $

$\displaystyle \ln(k) + \ln(2) \frac{i}{k} \leq \ln(n) + \ln \sqrt{2} \frac{i}{k} $

In this step it is clear how clever the choice of $ \epsilon = \frac{\ln \sqrt{2}}{k}$ is (it allows us to subtract $ \ln \sqrt{2} \frac{i}{k}$ from both sides of the inequality while maintaining a nonzero factor of $ \frac{i}{k}$ on the left side)

$\displaystyle \frac{i}{k} \ln(\sqrt{2}) \leq \ln \left( \frac{n}{k} \right) $

$\displaystyle i = O\left( k \log \frac{n}{k} \right) $

The analysis so far has assumed the size of the optimal hitting set $ k = \vert H^*\vert$, is known, but that information is not actually available up front. To estimate $ k$, pick start with a small value of $ k$ (say 1), and do an exponential binary search, doubling $ k$ if the algorithm above doesn't converge in $ (k/\sqrt{2}) \log\left(\frac{n}{k}\right)$ steps.

When the algorithm finally terminates, the $ \epsilon$-net of the weighted range space $ (\Sigma, w)$ is an $ O\left( k \log \frac{n}{k} \right)$ of the optimal hitting set of the ranges. In practice, to transform the weighted $ \epsilon$-net to an unweighted $ \epsilon$-net so that ordinary $ \epsilon$-net algorithms can be run, simply replicate the elements in $ (\Sigma, w)$ by their weights (this is why it was important that $ w$ be positive integer weights).

Open Question 1   It is known that for a range space over points with ranges of discs, the size of the $ \epsilon$-net is $ \Theta(\frac{1}{\epsilon})$, so this algorithm gives a constant-sized approximation of the optimal hitting set for that special case. However, it is not known whether we can beat the above bound for the special case of points and rectangles

Jiangwei and Pankaj's Approximation Algorithm

Algorithm 2   % latex2html id marker 950
\fbox{
{\em
\begin{minipage}{0.8\textwidth}
\par
\be...
...rall x \in r, w(x) = 2w(x)$
\par
\EndFor
\end{algorithmic}\par
\end{minipage}}
}

Let $ \Pi(x_i)$ be the number of indices $ k \leq \mu$ where $ \overline{x_k} = x_i$. Then a $ 1/(8k)$-net of the weighted range space $ (\Sigma, \Pi)$, is an $ O(1)$ approximation of the optimal hitting set. More details can be found in [AP14], particularly in Section 4 of that paper.

Geometric Independent Set

The independent set problem asks for the largest set system such that each set is pairwise disjoint. This problem appears to be harder than hitting set and set cover to approximation. In particular, for some independent sets of size $ n/2$, the best known polynomial approximation algorithm returns a set system within $ \log^2 n$ size of the optimal.

Figure 3: A geometric example of an independent set. The rectangles in the independent set are drawn with a red border
Image RectangleIndySet

One geometric example is, given a set of axis-parallel rectangles $ R$, find the largest subset $ S \subset R$ such that $ \forall r_1, r_2 \in S, r_1 \cap r_2 = \emptyset$. An example is shown in Figure 3. An application of this example is to figure out how many city labels it is possible to display on a map without too much clutter (reduce to this problem by putting a bounding rectangle around each city label).

With the simpler example where all rectangles are unit-sized squares, a constant-factor approximation is possible with a simple greedy algorithm which takes a random square and removes the squares that intersect it, and repeats until there are no pairwise intersections. To extend this to squares of different sizes, do the same, but choose the squares to check in increasing order of size.

For rectangles, a $ \log n$ approximation is possible with the following greedy algorithm:

Algorithm 3   % latex2html id marker 972
\fbox{
{\em
\begin{minipage}{0.8\textwidth}
\par
\be...
...R_0) \cup 2DIS(R^-) \cup 2DIS(R^+)$
\par
\end{algorithmic}\par
\end{minipage}}
}

It is also possible to approximate this problem by formulating it as an integer linear programming and then rounding, but this is slower.

Open Question 2   Is there a simple $ O(\log\log n)$ factor approximation for the independent set of axis-aligned rectangle problem?

Open Question 3   Is there a simple $ O(1)$ factor approximation for the independent set of axis-aligned rectangle problem?

Bibliography

AES10
Boris Aronov, Esther Ezra, and Micha Sharir.
Small-size $ \backslash$eps-nets for axis-parallel rectangles and boxes.
SIAM Journal on Computing, 39(7):3248-3282, 2010.

AP14
Pankaj K Agarwal and Jiangwei Pan.
Near-linear algorithms for geometric hitting sets and set covers.
Proceedings of the 30th Annual Symposium on Computational Geometry, 2014.

HP11
Sariel Har-Peled.
Geometric approximation algorithms, volume 173.
American Mathematical Soc., 2011.

About this document ...

This document was generated using the LaTeX2HTML translator Version 2008 (1.71)

Copyright © 1993, 1994, 1995, 1996, Nikos Drakos, Computer Based Learning Unit, University of Leeds.
Copyright © 1997, 1998, 1999, Ross Moore, Mathematics Department, Macquarie University, Sydney.

The command line arguments were:
latex2html -split 1 -font_size 16pt Notes_lec22.tex

The translation was initiated by Chris Tralie on 2014-05-03

Chris Tralie 2014-05-03



blog comments powered by Disqus