ArticleslgStudy

science

Adjusted mutual information

Adjusted mutual information is a 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 Adjusted mutual information rather than just read about it. In short: In probability theory and information theory, adjusted mutual information, a variation of mutual information may be used for comparing clusterings. It corrects the effect of agreement solely due to chance between clusterings, similar to the way the adjusted rand index corrects the Rand index.

Key takeaways

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

Reference excerpt

In probability theory and information theory, adjusted mutual information, a variation of mutual information may be used for comparing clusterings. It corrects the effect of agreement solely due to chance between clusterings, similar to the way the adjusted rand index corrects the Rand index. It is closely related to variation of information: when a similar adjustment is made to the VI index, it becomes equivalent to the AMI. The adjusted measure however is no longer metrical.

Mutual information of two partitions Given a set S of N elements S={s1,s2,…sN}, consider two partitions of S, namely U={U1,U2,…,UR} with R clusters, and V={V1,V2,…,VC} with C clusters. It is presumed here that the partitions are so-called hard clusters; the partitions are pairwise disjoint:

Ui∩Uj=∅=Vi∩Vj for all i≠j, and complete:

∪i=1RUi=∪j=1CVj=S The mutual information of cluster overlap between U and V can be summarized in the form of an RxC contingency table M=[nij]j=1…Ci=1…R, where nij denotes the number of objects that are common to clusters Ui and Vj. That is,

nij=|Ui∩Vj| Suppose an object is picked at random from S; the probability that the object falls into cluster Ui is:

PU(i)=|Ui|N The entropy associated with the partitioning U is:

H(U)=−∑i=1RPU(i)log⁡PU(i) H(U) is non-negative and takes the value 0 only when there is no uncertainty determining an object's cluster membership, i.e., when there is only one cluster. Similarly, the entropy of the clustering V can be calculated as:

H(V)=−∑j=1CPV(j)log⁡PV(j) where PV(j)=|Vj|/N. The mutual information (MI) between two partitions:

MI(U,V)=∑i=1R∑j=1CPUV(i,j)log⁡PUV(i,j)PU(i)PV(j) where PUV(i,j) denotes the probability that a point belongs to both the cluster Ui in U and cluster Vj in V:

PUV(i,j)=|Ui∩Vj|N MI is a non-negative quantity upper bounded by the entropies H(U) and H(V). It quantifies the information shared by the two clusterings and thus can be employed as a clustering similarity measure.

Adjustment for chance Like the Rand index, the baseline value of mutual information between two random clusterings does not take on a constant value, and tends to be larger when the two partitions have a larger number of clusters (with a fixed number of set elements N). By adopting a hypergeometric model of randomness, it can be shown that the expected mutual information between two random clusterings is:

E{MI(U,V)}=∑i=1R∑j=1C∑nij=(ai+bj−N)+min⁡(ai,bj)nijNlog⁡(N⋅nijaibj)×ai!bj!(N−ai)!(N−bj)!N!nij!(ai−nij)!(bj−nij)!(N−ai−bj+nij)! where (ai+bj−N)+ denotes max⁡(0,ai+bj−N). The variables ai and bj are partial sums of the contingency table; that is,

ai=∑j=1Cnij and

bj=∑i=1Rnij The adjusted measure for the mutual information may then be defined to be:

AMI(U,V)=MI(U,V)−E{MI(U,V)}max⁡{H(U),H(V)}−E{MI(U,V)}. The AMI takes a value of 1 when the two partitions are identical and 0 when the MI between two partitions equals the value expected due to chance alone.

References

External links Matlab code for computing the adjusted mutual information R code for fast and parallel calculation of adjusted mutual information Python code for computing the adjusted mutual information

Worked examples

Example 1 — a first encounter with Adjusted mutual information

Start with the simplest possible case. Write down what Adjusted mutual information claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In 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 Adjusted mutual information 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 Adjusted mutual information 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 Adjusted mutual information

In research
Adjusted mutual information appears in 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 Adjusted mutual information 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
Adjusted mutual information is common in secondary-school and first-year university syllabi. It links to neighbouring topics Clustering criteria, Information theory, so understanding it makes those chapters shorter.
In everyday life
Look for Adjusted mutual information 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 “Adjusted mutual information” →

How to study Adjusted mutual information in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Adjusted mutual information 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 Adjusted mutual information out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Adjusted mutual information in simple terms?

In probability theory and information theory, adjusted mutual information, a variation of mutual information may be used for comparing clusterings. It corrects the effect of agreement solely due to chance between clusterings, similar to the way the adjusted rand index corrects the Rand index.

Why does Adjusted mutual information matter?

Because it connects several 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 Adjusted mutual information?

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 Adjusted mutual information.

Tags

  • Clustering criteria
  • Information theory

Keep exploring