Difference between revisions of "Alternating Minimization"
Line 1: | Line 1: | ||
+ | == Citation == | ||
+ | {{MyCiteconference | booktitle = Statistics and Decisions | coauthors = G.Tusnady | date = 1984| first = I.| last = Csiszar | title = Information Geometry and Alternating Minimization Procedures}} | ||
+ | |||
+ | I unfortunately cannot find this paper online. | ||
+ | |||
== Summary == | == Summary == | ||
− | This [[Category::Method]] was presented in | + | Alternating minimization (AM) is used when we are optimizing two variables jointly. Let us call these two variables <math>p</math> and <math>q</math>. The basic premise behind AM is that we keep one variable constant, say <math>q</math> and optimize the other variable, i.e., <math>p</math>, and then we keep <math>p</math> constant and optimize over <math>q</math>. This constitutes one cycle of the optimization procedure. One may find that AM is very similar to the EM algorithm, and in fact it has been shown by the original authors that EM is a special case of AM. |
+ | |||
+ | In recent work, this [[Category::Method]] was presented in [[SoftSupervisedTextClassification | Soft-Supervised Text Classification]] as the primary method of solving or optimizing the objective function. | ||
== Details == | == Details == | ||
− | == | + | The alternating minimization algorithm attempts to solve a minimization problem of the following form: |
+ | |||
+ | given <math>\mathcal{P}, \mathcal{Q}</math> and a function <math>D: \mathcal{P} \times \mathcal{Q}</math>, we would like to find: | ||
+ | <math>\min_{(P,Q) \in \mathcal{P} \times \mathcal{Q}} D(P,Q) </math>. | ||
+ | |||
+ | The way AM does this is by generating a sequence of variables <math>(p^n, q^n)</math> as follows: | ||
+ | <math>p^n = \arg\min_{\textrm{P}} D(p, q^{n-1}), q^n = \arg\min_{q} D(p^n, q) </math>. | ||
+ | |||
+ | The original paper has a prove that shows the sequence generated using the above single-variable minimizations converges to the minimum of <math>D(p,q)</math>, i.e., | ||
+ | <math>\lim_{n /to \infty} D(p^{(n)}, q^{(n)}) = \inf_{p,q} D(p,q) <\math>. | ||
+ | |||
+ | == Example == | ||
+ | |||
+ | As an example, let us look at what Subramanya and Bilmes did in their [[SoftSupervisedTextClassification | Soft-Supervised Text Classification]] paper. For them, <math>(p^n, q^n)</math> is a sequence of sets of distributions, i.e., every <math>p^i</math> is a set of distributions over all vertices in the graph. We know that their original formulation for their algorithm was: | ||
+ | |||
+ | <math> \min_{\textrm{p}} C_1(\textrm{p}) </math>, where <math>C_1(p) = \left[ \sum_{i=1}^l D_{KL} (r_i \parallel p_i) + \mu \sum_i^n \sum_j w_{ij}D_{KL}(p_i \parallel p_j) - \nu \sum_{i=1}^n H(p_i) \right]</math>. | ||
+ | |||
+ | In order to use alternating minimization, we introduce a second distribution over unlabeled data (apart from <math>p</math>), <math>q</math>. The new objective reads: | ||
+ | |||
+ | <math> \min_{\textrm{p, q}} C_2(\textrm{p, q}) </math>, where <math>C_2(p, q) = \left[ \sum_{i=1}^l D_{KL} (r_i \parallel q_i) + \mu \sum_i^n \sum_{j\in \mathcal{N}(i)} w'_{ij}D_{KL}(p_i \parallel q_j) - \nu \sum_{i=1}^n H(p_i) \right]</math>, | ||
+ | where we define a new similarity matrix <math>W' = W + \alpha \mathbf{I}_n</math>, with <math> \alpha \geq 0 </math>. We thus have two distributions defined for every training point, and the optimization procedure encourages the two to approach each other. Note that the smoothness regularizer (the third term, consisting of entropy) is defined on a different set of distributions as the first term, which aims to respect the labeled training data. It is this choice which makes the update equations for <math>p^{(n)}</math> and <math>q^{(n)}</math> relatively simple. | ||
+ | |||
+ | Assuming we start with a distribution that is initialized properly, we can express the update equations as: | ||
+ | |||
+ | <math> p_i^{(n)} (y) = \frac{1}{\mathcal{Z}_i} exp\left\{ \frac{\beta_i^{(n-1)}(y)}{\gamma_i}</math>, and | ||
+ | <math> q_i^{(n)} (y) = \frac{r_i(y) \delta(i \leq l) + \mu \sum_j w'_{ji} p_j^{(n)} (y)}{\delta(i \leq l) + \mu \sum_j w'_{ji}} </math>, | ||
+ | where <math> \gamma_i = \nu + \mu \sum_j w'_{ij} </math> and <math> \beta_i^{(n-1)} (y) = -\nu + \mu \sum_j w'_{ij} (\log q_j^{(n-1)} (y) -1) </math>. | ||
+ | |||
+ | The derivations for these updates can be obtained by using the definitions of <math>p^n</math> and <math>q^n</math> provided above. |
Revision as of 21:50, 25 September 2011
Citation
Information Geometry and Alternating Minimization Procedures, by I. Csiszar, G.Tusnady. In Statistics and Decisions, 1984.
I unfortunately cannot find this paper online.
Summary
Alternating minimization (AM) is used when we are optimizing two variables jointly. Let us call these two variables and . The basic premise behind AM is that we keep one variable constant, say and optimize the other variable, i.e., , and then we keep constant and optimize over . This constitutes one cycle of the optimization procedure. One may find that AM is very similar to the EM algorithm, and in fact it has been shown by the original authors that EM is a special case of AM.
In recent work, this Method was presented in Soft-Supervised Text Classification as the primary method of solving or optimizing the objective function.
Details
The alternating minimization algorithm attempts to solve a minimization problem of the following form:
given and a function , we would like to find: .
The way AM does this is by generating a sequence of variables as follows: .
The original paper has a prove that shows the sequence generated using the above single-variable minimizations converges to the minimum of , i.e., Failed to parse (unknown function "\math"): {\displaystyle \lim_{n /to \infty} D(p^{(n)}, q^{(n)}) = \inf_{p,q} D(p,q) <\math>. == Example == As an example, let us look at what Subramanya and Bilmes did in their [[SoftSupervisedTextClassification | Soft-Supervised Text Classification]] paper. For them, <math>(p^n, q^n)} is a sequence of sets of distributions, i.e., every is a set of distributions over all vertices in the graph. We know that their original formulation for their algorithm was:
, where .
In order to use alternating minimization, we introduce a second distribution over unlabeled data (apart from ), . The new objective reads:
, where , where we define a new similarity matrix , with . We thus have two distributions defined for every training point, and the optimization procedure encourages the two to approach each other. Note that the smoothness regularizer (the third term, consisting of entropy) is defined on a different set of distributions as the first term, which aims to respect the labeled training data. It is this choice which makes the update equations for and relatively simple.
Assuming we start with a distribution that is initialized properly, we can express the update equations as:
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle p_i^{(n)} (y) = \frac{1}{\mathcal{Z}_i} exp\left\{ \frac{\beta_i^{(n-1)}(y)}{\gamma_i}} , and , where and .
The derivations for these updates can be obtained by using the definitions of and provided above.