When you “turn on” the Aitchison distance in a 15‐part composition with only 3–5 truly “big” parts and a tail of ∼10 “noise” parts (each ≲1–2 %), you will almost invariably find that small parts with relatively large fractional swings dominate your distance metric. Here’s why and what you can do about it.
1. Aitchison distance in a nutshell
Given two compositions x=(x₁…x₁₅), y=(y₁…y₁₅), their Aitchison distance is
dₐ(x,y) = ∥ clr(x) – clr(y) ∥₂
where
clr(x)ᵢ = log(xᵢ) – (1/15) ∑ⱼ log(xⱼ).
In expanded form:
dₐ²(x,y) = ∑ᵢ [ log(xᵢ/g(x)) – log(yᵢ/g(y)) ]²
with g(x)=geometric mean of x.
2. Why the tiny parts “blow up” the distance
-
Log‐ratio sensitivity
A change from 0.01 → 0.02 in one class is a log‐ratio shift of
ln(0.02/0.01) = ln(2) ≃ 0.693
Squared, that single part contributes ≃0.48 to dₐ².
-
Big parts barely budge
A change from, say, 0.60 → 0.58 gives
ln(0.58/0.60) ≃ –0.034 → squared ≃ 0.0012.
So a 1 % change in a “noise” class can outweigh a 2 % shift in a major class by hundreds of times!
3. How to mitigate over‐weighting of low‐abundance parts
-
Filter or amalgamate
– Drop classes whose mean fraction < ε (e.g. 1 %).
– Or lump all “others” < ε into a single part.
-
Weighted Aitchison distance
Introduce weights wᵢ ∝ mean(xᵢ) (or any reliability measure):
d_w²(x,y) = ∑ᵢ wᵢ · [clrᵢ(x) – clrᵢ(y)]²
Now rare parts (small wᵢ) can’t dominate.
-
Focus on balances
Define a small set of interpretable “balances” (ILR coordinates) only between groups of interest.
e.g. balance big classes vs. the rest.
-
Robust variants
– Use a robust CLR (replace log with truncated‐log around small values).
– Hellinger or Jensen–Shannon distance are sometimes less driven by extremes.
4. A quick toy comparison
Let’s compare two 3-part compositions (big class B plus two “noises” n₁,n₂):
| comp | B | n₁ | n₂ | clr(B) | clr(n₁) | clr(n₂) |
|---|
| x | 0.60 | 0.02 | 0.38 | –0.11 | –2.40 | 0.11 |
| y | 0.58 | 0.01 | 0.41 | –0.16 | –3.06 | 0.22 |
Contributions to dₐ² = ∑ [clrᵢ(x)–clrᵢ(y)]²:
– B: (–0.11 – (–0.16))² ≃ 0.0025
– n₁: (–2.40 – (–3.06))² ≃ 0.4356
– n₂: ( 0.11 – 0.22 )² ≃ 0.0121
→ Total ≃ 0.4502, almost all from n₁!
Bottom line
• Yes, small‐abundance classes with even modest relative swings can swamp your Aitchison distance.
• Remedy: filter or aggregate low‐abundance parts, or switch to a weighted or robust Aitchison distance (or balances) so that you measure variability where it truly matters—among your “big” components.