ArticleslgStudy

computer science

MM algorithm

MM algorithm is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand MM algorithm rather than just read about it. In short: The MM algorithm is an iterative optimization method which exploits the convexity of a function in order to find its maxima or minima. The MM stands for “Majorize-Minimization” or “Minorize-Maximization”, depending on whether the desired optimization is a minimization or a maximization.

MM algorithm — main illustration
MM algorithm — illustration

Key takeaways

  • MM algorithm belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect MM algorithm to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of MM algorithm from memory before moving on to harder problems.

Reference excerpt

The MM algorithm is an iterative optimization method which exploits the convexity of a function in order to find its maxima or minima. The MM stands for “Majorize-Minimization” or “Minorize-Maximization”, depending on whether the desired optimization is a minimization or a maximization. Despite the name, MM itself is not an algorithm, but a family of optimization algorithms that follow the same construction pattern. The expectation–maximization algorithm can be treated as a special case of the MM algorithm. However, in the EM algorithm conditional expectations are usually involved, while in the MM algorithm convexity and inequalities are the main focus, and it is easier to understand and apply in most cases.

History The historical basis for the MM algorithm can be dated back to at least 1970, when Ortega and Rheinboldt were performing studies related to line search methods. The same concept continued to reappear in different areas in different forms. In 2000, Hunter and Lange put forth "MM" as a general framework. Recent studies have applied the method in a wide range of subject areas, such as mathematics, statistics, machine learning and engineering.

Algorithm

The MM algorithm works by finding a surrogate function that minorizes or majorizes the objective function. Optimizing the surrogate function will either improve the value of the objective function or leave it unchanged. Taking the minorize-maximization version, let f ( θ ) {\displaystyle f(\theta )} be the objective concave function to be maximized. At the m step of the algorithm, m = 0 , 1... {\displaystyle m=0,1...} , the constructed function g ( θ | θ m ) {\displaystyle g(\theta |\theta _{m})} will be called the minorized version of the objective function (the surrogate function) at θ m {\displaystyle \theta _{m}} if

g ( θ | θ m ) ≤ f ( θ ) for all θ {\displaystyle g(\theta |\theta _{m})\leq f(\theta ){\text{ for all }}\theta }

g ( θ m | θ m ) = f ( θ m ) {\displaystyle g(\theta _{m}|\theta _{m})=f(\theta _{m})}

Then, maximize g ( θ | θ m ) {\displaystyle g(\theta |\theta _{m})} instead of f ( θ ) {\displaystyle f(\theta )} , and let

θ m + 1 = arg ⁡ max θ g ( θ | θ m ) {\displaystyle \theta _{m+1}=\arg \max _{\theta }g(\theta |\theta _{m})}

The above iterative method will guarantee that f ( θ m ) {\displaystyle f(\theta _{m})} will converge to a local optimum or a saddle point as m goes to infinity. By the above construction

f ( θ m + 1 ) ≥ g ( θ m + 1 | θ m ) ≥ g ( θ m | θ m ) = f ( θ m ) {\displaystyle f(\theta _{m+1})\geq g(\theta _{m+1}|\theta _{m})\geq g(\theta _{m}|\theta _{m})=f(\theta _{m})}

The marching of θ m {\displaystyle \theta _{m}} and the surrogate functions relative to the objective function is shown in the figure. Majorize-Minimization is the same procedure but with a convex objective to be minimised.

Constructing the surrogate function One can use any inequality to construct the desired majorized/minorized version of the objective function. Typical choices include

Jensen's inequality Convexity inequality Cauchy–Schwarz inequality Inequality of arithmetic and geometric means Quadratic majorization/mininorization via second order Taylor expansion of twice-differentiable functions with bounded curvature.

References

Worked examples

Example 1 — a first encounter with MM algorithm

Start with the simplest possible case. Write down what MM algorithm claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to MM algorithm before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about MM algorithm ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of MM algorithm

In research
MM algorithm appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses MM algorithm in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
MM algorithm is common in secondary-school and first-year university syllabi. It links to neighbouring topics Optimization algorithms and methods, so understanding it makes those chapters shorter.
In everyday life
Look for MM algorithm outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “MM algorithm” →

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study MM algorithm in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what MM algorithm means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain MM algorithm out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is MM algorithm in simple terms?

The MM algorithm is an iterative optimization method which exploits the convexity of a function in order to find its maxima or minima. The MM stands for “Majorize-Minimization” or “Minorize-Maximization”, depending on whether the desired optimization is a minimization or a maximization.

Why does MM algorithm matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study MM algorithm?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on MM algorithm.

Tags

  • Optimization algorithms and methods

Keep exploring