Published July 24, 2026 | Version 1.2

Post-hoc Interpretability of LDA on Hyperspectral Imagery: SHAP Attributions, Counterfactual Topic Flips, and LLM-judge Alignment under Token-Mass-Dispersion Asymmetry

  • 1. CAOS open-research programme, Santiago, Chile

Description

Programme paper P5 of the CAOS_LDA_HSI series. The interpretability claim of LDA-on-HSI rests on the assumption that topic-word distributions are human-readable. This study is restricted to the LDA backbone; the cross-backbone comparison (HDP, ProdLDA, ETM) is the subject of the companion paper P4.

We test three orthogonal post-hoc interpretability axes on the V1-V15, V17-V20 wordification sweep (nineteen LDA-fitted recipes) from companion paper P3: F-13 SHAP attribution of pixel-to-topic decisions via a closed-form posterior, F-22 counterfactual L1 perturbation required to flip a document's argmax topic, and F-15 LLM-as-judge alignment between a document's top tokens and its argmax topic's top tokens.

Three concrete results. (1) F-13 SHAP gives recipe-specific explanations consistent across scenes: V1 reduces to specific wavelength bands, V7 to absorption features, V12 to clusters of Gaussian-mixture components. (2) F-22 counterfactual L1 separates recipes into an ultra-robust band (V20/V12/V3, sentinel-patched means 26.3/24.5/23.5, in which most sampled documents never flip within 50 steps), a moderate band (V1=6.1, V7=5.2) and a fragile band (V9=1.0, V10=1.2); within the ultra-robust band the ordering is not strict (V12 is the most robust recipe where flip-sampling is adequate). (3) F-15 LLM-judge alignment is anti-correlated with F-2 coherence on large-vocabulary recipes, but cardinality cannot explain the gap: V20 matches V3/V12 alphabet sizes yet scores F-15 = 0.64 against their 0.12/0.16. We make the mechanism quantitative with the token-mass dispersion metric (effective vocabulary N_eff = exp(H(phi_k))): N_eff falls V3 (431) > V12 (400) > V20 (309) while F-15 rises in lock-step, so the artefact is driven by token-mass dispersion, not nominal vocabulary cardinality. We recommend reporting F-13 SHAP top-K attributions as the primary interpretability artefact, F-22 as the topic-stability artefact, and F-15 only after dispersion normalisation.

Code and derived artefacts: https://github.com/fsantibanezleal/CAOS_LDA_HSI . Interactive web application: https://lda-hsi.fasl-work.com . Manuscript sources: https://github.com/fsantibanezleal/CAOS_LDA_HSI_Paper .

Funding: The Advanced Mining Technology Center (AMTC) Basal project (ANID/PIA Project AFB220002) and ANID FONDECYT Postdoctorado 3220094.

Files

lda-hsi-journal-interpretability-v1.2.pdf

Files (493.0 kB)

Name Size Download all
md5:4425ccbaf2d263324adebc72148055cd
493.0 kB Preview Download

Additional details