The Aitchison distance is a principled metric for compositional data, but its behavior in your specific setup—where a few dominant components coexist with many low-abundance "noise" components (≤0.01–0.02)—requires careful consideration. Below, I address your concerns step by step, including the impact of low-abundance components on variance during downsampling.
1. How Aitchison Distance Works
The Aitchison distance between two compositions (\mathbf{x} = (x_1, \dots, x_{15})) and (\mathbf{y} = (y_1, \dots, y_{15})) is defined as:
[
d_A(\mathbf{x}, \mathbf{y}) = \sqrt{ \frac{1}{2D} \sum_{i=1}^{D} \sum_{j=1}^{D} \left( \ln \frac{x_i}{x_j} - \ln \frac{y_i}{y_j} \right)^2 },
]
where (D = 15). Equivalently, it is the Euclidean distance of the centered log-ratio (clr) transformed data:
[
d_A(\mathbf{x}, \mathbf{y}) = \sqrt{ \sum_{i=1}^{D} \left( \text{clr}_i(\mathbf{x}) - \text{clr}_i(\mathbf{y}) \right)^2 },
]
where (\text{clr}_i(\mathbf{x}) = \ln \left( \frac{x_i}{g(\mathbf{x})} \right)) and (g(\mathbf{x})) is the geometric mean of (\mathbf{x}).
2. Impact of Low-Abundance Components
In your case, low-abundance components ((x_i \leq 0.02)) dominate numerically (10–13 of 15 classes) but contribute minimally to the total composition. However, they disproportionately influence the Aitchison distance due to:
- Log-ratio sensitivity: The clr transform involves (\ln(x_i / g(\mathbf{x}))). For small (x_i):
- The geometric mean (g(\mathbf{x})) is heavily suppressed by near-zero values (e.g., (g(\mathbf{x}) \ll 1)).
- Thus, (\ln(x_i / g(\mathbf{x}))) becomes a large negative number (e.g., (\ln(0.01 / 0.001) = \ln(10) \approx 2.3), but (\ln(0.01 / 0.0001) = \ln(100) \approx 4.6)).
- Small absolute changes in (x_i) (e.g., 0.01 → 0.005) cause large relative changes in clr values, amplifying their variance.
- Downsampling effects: During downsampling (e.g., reducing total counts (N) in multinomial sampling):
- Low-abundance components are prone to high relative variance (variance-to-mean ratio (\propto 1/x_i)).
- Near-zero components may drop to 0 (structural zeros), making clr undefined. Even with pseudo-counts, instability persists.
- Dominance in distance calculation: Squared differences in clr space are dominated by low-abundance terms. For example:
- A change from 0.01 to 0.02 in one low-abundance component might contribute (\sim (\ln(0.02/g) - \ln(0.01/g))^2 = (\ln(2))^2 \approx 0.48) to the squared distance.
- A change from 0.4 to 0.5 in a dominant component might contribute (\sim (\ln(0.5/g) - \ln(0.4/g))^2 = (\ln(1.25))^2 \approx 0.05).
Here, the low-abundance change dominates despite its smaller absolute shift.
3. Consequences for Your Benchmarking
- Variance amplification: Noise in low-abundance components will:
- Artificially inflate Aitchison distances between similar compositions.
- Cause high distance variability during downsampling (e.g., bootstrap resampling), leading to unstable results.
- Masking signal: Changes in dominant components (e.g., 0.3 → 0.4) may be obscured by noise from low-abundance terms.
- Zero-inflation risk: At low sequencing depths, near-zero components often become zeros, requiring ad hoc imputation (e.g., pseudo-counts), which distorts clr transforms.
4. Recommendations for Robust Analysis
To mitigate these issues while preserving compositional integrity:
-
Filter low-abundance components:
- Remove components below a threshold (e.g., max abundance ≤0.01 across all samples).
- Re-normalize the remaining components to sum to 1.
- Compute Aitchison distance on the filtered composition.
Rationale: This eliminates noise-driven variance while focusing on biologically relevant signals.
-
Use alternative log-ratio transforms (if filtering is undesirable):
- Isometric log-ratio (ilr): Balances low/high-abundance contributions via orthonormal coordinates. Requires defining a sequential binary partition (SBP) that prioritizes dominant components.
- Weighted Aitchison distance: Apply weights (w_i \propto x_i) (or (x_i^2)) to downweight low-abundance terms in the distance calculation:
[
d_{A,w}(\mathbf{x}, \mathbf{y}) = \sqrt{ \sum_{i=1}^{D} w_i \left( \text{clr}_i(\mathbf{x}) - \text{clr}_i(\mathbf{y}) \right)^2 }.
]
Note: Both require specialized implementations but reduce noise sensitivity.
-
Validate with simulations:
- Simulate data mimicking your structure (e.g., 3–5 dominant components + 10–12 noise components).
- Compare Aitchison distance stability with/without filtering during downsampling.
- Contrast with other metrics (e.g., Bray-Curtis, which is less sensitive to low-abundance noise).
Key Takeaway
The Aitchison distance is highly sensitive to low-abundance components in your setup due to log-ratio amplification of their variance. This can dominate distance calculations and undermine benchmarking during downsampling. Filtering noise components pre-analysis is the most practical solution to ensure robust results. If preserving all components is essential, explore weighted distances or ilr transforms to dampen noise effects. Always validate with simulated data mirroring your abundance structure.