Skip to main content
QUICK REVIEW

[Paper Review] Transformation Importance with Applications to Cosmology

Chandan Singh, Woo‐Seok Ha|arXiv (Cornell University)|Mar 4, 2020
Computational Physics and Python ApplicationsComputer Science29 references9 citations
TL;DR

This paper introduces Transformation Importance (TRIM), a post-hoc method that attributes model interpretability to transformed input features—such as frequency components in cosmological mass maps—enabling domain-specific interpretation beyond raw features. Applied with contextual decomposition to deep neural networks in cosmology, TRIM reveals that models prioritize specific scales (e.g., ℓ ≈ 10⁴) in the power spectrum, aligning with physical intuition and validating model reliance on cosmologically meaningful features over simulation artifacts.

ABSTRACT

Machine learning lies at the heart of new possibilities for scientific discovery, knowledge generation, and artificial intelligence. Its potential benefits to these fields requires going beyond predictive accuracy and focusing on interpretability. In particular, many scientific problems require interpretations in a domain-specific interpretable feature space (e.g. the frequency domain) whereas attributions to the raw features (e.g. the pixel space) may be unintelligible or even misleading. To address this challenge, we propose TRIM (TRansformation IMportance), a novel approach which attributes importances to features in a transformed space and can be applied post-hoc to a fully trained model. TRIM is motivated by a cosmological parameter estimation problem using deep neural networks (DNNs) on simulated data, but it is generally applicable across domains/models and can be combined with any local interpretation method. In our cosmology example, combining TRIM with contextual decomposition shows promising results for identifying which frequencies a DNN uses, helping cosmologists to understand and validate that the model learns appropriate physical features rather than simulation artifacts.

Motivation & Objective

  • To address the limitation of existing interpretability methods that attribute importance only to raw input features, which may be semantically meaningless or misleading in scientific contexts.
  • To enable interpretable machine learning in cosmology by attributing model importance to physically meaningful transformations of input data, such as the power spectrum of weak lensing maps.
  • To validate that deep neural networks trained on simulated cosmological data learn physically relevant features rather than numerical artifacts by analyzing feature importance in the spectral domain.
  • To generalize interpretability beyond pixel-level attributions by enabling post-hoc attribution in any invertible transformed feature space, such as Fourier or wavelet domains.

Proposed method

  • TRIM reparametrizes a trained model f(x) as f′ = f ∘ T⁻¹, where T is an invertible transformation (e.g., Fourier transform), enabling interpretation in the transformed space S.
  • The method applies any local attribution method (e.g., contextual decomposition) to f′ to compute importance scores in the transformed domain S, such as frequency bands in the power spectrum.
  • For non-invertible transformations, residual reconstruction errors are incorporated to maintain fidelity in the interpretation process.
  • The approach is fully post-hoc, requiring no retraining of the original model, and is compatible with any differentiable or gradient-based attribution method.
  • The method is evaluated using synthetic data with known ground-truth important frequencies, demonstrating superior accuracy in recovering true feature importance compared to baselines.

Experimental results

Research questions

  • RQ1Can interpretability methods be adapted to attribute importance to transformed features (e.g., frequency bands) rather than raw features, improving interpretability in scientific domains?
  • RQ2Does the deep neural network used in cosmological parameter estimation rely on physically meaningful features, such as specific scales in the power spectrum, or on simulation artifacts?
  • RQ3How does the importance of different frequency bands in the power spectrum vary with the true cosmological parameter Ωₘ, and does this align with known physical expectations?
  • RQ4Can TRIM combined with contextual decomposition accurately recover known ground-truth feature importances in synthetic data with controlled structure?

Key findings

  • TRIM reveals that the deep neural network prioritizes frequency bands centered around ℓ ≈ 10⁴ in the power spectrum for predicting Ωₘ, corresponding to scales sensitive to matter density.
  • The importance of these features increases with higher Ωₘ values, indicating that the model adapts its reliance on specific scales based on the underlying cosmological parameters.
  • In synthetic data with a known important frequency, contextual decomposition with TRIM achieved only 0.4% error on average, significantly outperforming DeepLift (3.6%), SHAP (4.0%), and Integrated Gradients (4.2%).
  • The model’s attribution pattern aligns with cosmological knowledge: structures at scales around ℓ ≈ 10⁴ correspond to galaxy clusters, which are highly sensitive to Ωₘ.
  • TRIM enables the detection of model reliance on physical features rather than simulation artifacts, enhancing trust in DNN-based cosmological inference.
  • The method is generalizable and can be applied to any invertible transformation (e.g., wavelets, PCA, Fourier) and combined with any local interpretation method.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.