# Neural Network Attribution Methods for Problems in Geoscience: A Novel Synthetic Benchmark Dataset

지구과학 문제를 위한 신경망 기여도 분석 방법: 새로운 합성 벤치마크 데이터셋

Antonios Mamalakis, Imme Ebert-Uphoff, Elizabeth A. Barnes · arXiv · 2021년 3월 18일

- **연구 문제** 회귀 문제에서 기여도의 참값이 없는 기존 XAI 평가를 보완하기 위해, 가법 분리 가능 함수로 입력 기여도의 정답이 알려진 합성 벤치마크를 만들고 여러 XAI 방법을 비교합니다.
- **연구 방법** 입력 SST 격자 벡터를 다변량 정규분포에서 생성하고, 격자점별 PWL 지역 함수의 합으로 응답을 정의합니다. 완전연결 신경망을 학습한 뒤 여덟 가지 XAI 방법의 히트맵을 기준 참값과 상관계수로 비교합니다.
- **주요 결과** 신경망의 결정계수는 99%보다 약간 높았고, Input\*Gradient, Integrated Gradients, LRPz, Occlusion-1은 평균 상관이 약 0.8이었습니다. Gradient와 Smooth Gradient는 거의 0이었고, LRPα=1,β=0은 음의 기여를 구분하지 못했습니다.

## 회귀 문제에서 XAI 평가의 한계

기존 XAI 방법은 MNIST나 ImageNet 같은 분류 벤치마크에서 히트맵을 사람이 눈으로 보고 판단하는 방식으로 주로 평가됩니다. 이 방식은 기여도의 참값이 없어서 평가가 주관적이고 선택 편향에 취약합니다. 삭제·삽입 기법도 어떤 특징이 실제로 가장 중요한지 증명하지 못합니다.

지구과학 분야에는 이런 평가에 쓸 벤치마크가 드물며, 특히 연속값을 예측하는 회귀 문제용 데이터셋은 매우 드뭅니다. 이 논문은 입력 변수별 기여도의 참값이 사전에 알려진 비선형 회귀 데이터셋을 만드는 틀을 제시합니다. 예시로 전 지구 해수면온도(SST) 격자 입력에서 지역 기후 변수를 예측하는 문제를 사용하며, 저자들은 이 틀이 다른 지구과학 문제로도 확장될 수 있다고 봅니다.

## 가법 분리 가능 함수로 기여도 참값을 정의하는 방법

입력 X는 월별 전 지구 SST 편차를 10도 격자로 나눈 d=458차원 벡터입니다. 이 벡터는 공분산 Σ를 가진 다변량 정규분포 MVN(0,Σ)에서 N=10^6개의 표본으로 생성됩니다. Σ는 실제 SST 관측에서 추정한 표본 상관행렬로 설정되며, 공간 의존성을 없애려면 σ²I를 쓸 수 있다고 제시됩니다.

응답은 \\\\(F(\\\\mathbf{X})=C\_1(X\_1)+C\_2(X\_2)+\\\\cdots+C\_d(X\_d)\\\\) 형태의 가법 분리 가능 함수로 정의됩니다. 여기서 \\\\(C\_i\\\\)는 격자점 i의 지역 함수입니다. 기준점을 0으로 두는 zero baseline 조건에서 변수 i의 기여도는 \\\\(R\_{i,n}=C\_i(x\_{i,n})\\\\)이므로 지역 함수의 값과 같습니다. 따라서 전체 응답이 비선형이어도 각 변수의 기여도 참값은 표본마다 계산할 수 있습니다.

지역 함수는 조각별 선형(PWL) 함수로 정의되며 조건은 \\\\(C\_i(0)=0\\\\)입니다. 중단점 수는 K=5이고, 중단점은 X\_i의 경험적 분위수로 정하며 점 x=0은 항상 중단점에 포함됩니다. 기울기는 MVN(0,Σ)에서 K+1개를 뽑아 정하므로 인접한 격자점의 지역 함수가 서로 비슷해집니다. 이 구성은 ReLU가 PWL 함수의 한 예라는 점에 근거한 선택입니다.

## 합성 데이터로 학습한 신경망의 근사 성능

연구는 합성 데이터의 900,000개 표본으로 완전연결 신경망을 학습하고 나머지 100,000개로 테스트합니다. 은닉층은 512, 256, 128, 64, 32, 16개 뉴런의 여섯 층이며 활성화 함수는 ReLU입니다. 출력층은 뉴런 하나의 선형 출력이고 손실 함수는 평균제곱오차입니다. 입력이 평균 0, 분산 1의 정규분포를 따르므로 별도의 표준화는 하지 않았습니다.

테스트 표본에서 신경망의 결정계수는 99%보다 약간 높았고, 같은 데이터로 학습한 선형 회귀는 65%였습니다. 이 결과는 신경망이 F를 충분히 근사한다는 점을 보여 주며, 기여도 참값을 벤치마크로 쓰는 전제가 됩니다. 저자들은 이 구조가 최적이라고 주장하지 않으며, 목표는 XAI 비교가 공정할 만큼 높은 성능을 얻는 것이라고 설명합니다.

## 여덟 가지 XAI 방법의 계산 방식

비교 대상은 Gradient, Smooth Gradient, Input\*Gradient, Integrated Gradients, LRPz, LRPα=1,β=0, Deep Taylor, Occlusion-1입니다. Gradient는 출력의 입력 변수에 대한 편미분을 구하는 민감도 방법으로, 기여도가 아니라 민감도를 나타냅니다. Smooth Gradient는 잡음을 더한 여러 입력에서 기울기를 평균합니다.

Input\*Gradient는 입력값과 기울기를 곱해 \\\\(R\_{i,n}=x\_{i,n}\\\\cdot\\\\partial \\\\hat F/\\\\partial X\_i\\\\)를 구합니다. Integrated Gradients는 기준점에서 입력까지의 경로를 따라 기울기를 평균하고 그 값에 \\\\(x-x\_0\\\\)를 곱합니다. LRP 계열은 예측을 하위 층으로 역전파합니다. LRPz는 사전 활성화의 비율로 기여도를 나누고, LRPα=1,β=0은 양의 사전 활성화만 고려합니다. Deep Taylor는 뿌리점을 이용해 기여도를 재분배하며, ReLU 신경망에서는 LRPα=1,β=0과 유사한 결과를 준다고 설명됩니다. Occlusion-1은 특징을 0으로 설정했을 때 예측의 차이로 기여도를 추정합니다.

저자들은 Input\*Gradient와 LRPz가 ReLU 활성화 함수를 쓰는 이 설정에서 동등하다고 설명합니다. 또한 Deep Taylor는 예측이 양수인 경우에만 정의된다고 밝혀져 있어 음수 예측 문제에는 직접 적용되지 않습니다.

## 테스트 표본 전체에서의 상관 비교

기준 참값과 추정 히트맵 사이의 상관계수를 테스트 표본 100,000개 전체에서 비교합니다. Gradient와 Smooth Gradient의 평균 상관은 거의 0이었고, Input\*Gradient, Integrated Gradients, Occlusion-1은 평균 0.8 정도였습니다. LRPz도 이들과 비슷하게 평균 0.8 정도의 상관을 보였습니다.

같은 Input\*Gradient를 선형 모델에 적용하면 평균 상관은 0.55 정도로 낮아집니다. 이는 신경망 쪽의 근사가 더 정확하기 때문이라고 저자들은 해석합니다. LRPα=1,β=0에서는 음의 기여도를 0으로 설정한 참값과의 상관보다 절댓값 참값과의 상관이 모든 표본에서 체계적으로 높았습니다. 이는 이 규칙이 양의 기여와 음의 기여를 구분하지 못한다는 해석을 뒷받침합니다. 두 상관값 모두 예측이 음수인 표본에서는 -1을 곱해 예측의 부호 전파를 반영합니다.

## 단일 표본 히트맵과 비양수 기여도 문제

첫 번째 예시 표본(n=979,476)은 응답이 0.0660이고 신경망 예측은 0.0802입니다. 이 표본에서 Gradient의 상관은 -0.08이고 Smooth Gradient는 -0.10으로 참값과 맞지 않았습니다. Input\*Gradient, Integrated Gradients, LRPz, Occlusion-1은 0.8 정도의 상관을 보였습니다. Deep Taylor와 LRPα=1,β=0은 음수가 아닌 기여도만 반환하므로 절댓값 참값과 비교했으며, 그 상관은 0.58 정도였습니다.

두 번째 예시 표본(n=995,903)은 응답이 -0.1474이고 예측은 -0.1383입니다. 여기서 LRPα=1,β=0의 기여도는 모두 음수 이하로 나타났습니다. 이는 예측의 부호가 하위 층으로 전파되기 때문이라고 설명됩니다. 이 두 예시는 단일 표본이므로 전체 평균을 대신하지 않습니다.

## 적용 범위와 한계

신경망은 F의 근사일 뿐이므로 추정 히트맵과 참값의 상관계수 1은 달성될 수 없습니다. 저자들은 이 차이가 항상 존재한다고 밝힙니다. 따라서 상관값의 절대 크기는 근사 오차와 함께 읽어야 합니다.

실험은 하나의 완전연결 신경망과 하나의 PWL 설정(K=5, SST 기반 공분산)에서 수행되었습니다. 합성 연쇄 분석과 선형 모델에서의 LRPα=1,β=0 결과는 본문에서 보이지 않는 분석으로 언급됩니다. 합성 데이터의 한 설정에서 얻은 결과를 다른 네트워크 구조나 실제 관측 데이터로 옮기지 않습니다. 합성 벤치마크가 다른 구조의 신경망에서도 같은 순위를 보일지는 이 논문이 확인하지 않았으며, 저자들은 합성곱·순환 신경망과 다른 지역 함수 형태로 확장하는 것을 향후 과제로 남깁니다.

## 논문 정보

- **저자**: Antonios Mamalakis, Imme Ebert-Uphoff, Elizabeth A. Barnes
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2021년 3월 18일
- **등록일**: 2026년 11월 6일
- **수정일**: 2022년 6월 10일
- **버전**: v2
- **arXiv**: 2103.10005
- **DOI**: 10.1017/eds.2022.7
- **분류**: physics.geo-ph · cs.LG
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2103.10005v2) · [원문 PDF ↗](https://arxiv.org/pdf/2103.10005v2)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

Despite the increasingly successful application of neural networks to many problems in the geosciences, their complex and nonlinear structure makes the interpretation of their predictions difficult, which limits model trust and does not allow scientists to gain physical insights about the problem at hand. Many different methods have been introduced in the emerging field of eXplainable Artificial Intelligence (XAI), which aim at attributing the network s prediction to specific features in the input domain. XAI methods are usually assessed by using benchmark datasets (like MNIST or ImageNet for image classification). However, an objective, theoretically derived ground truth for the attribution is lacking for most of these datasets, making the assessment of XAI in many cases subjective. Also, benchmark datasets specifically designed for problems in geosciences are rare. Here, we provide a framework, based on the use of additively separable functions, to generate attribution benchmark datasets for regression problems for which the ground truth of the attribution is known a priori. We generate a large benchmark dataset and train a fully connected network to learn the underlying function that was used for simulation. We then compare estimated heatmaps from different XAI methods to the ground truth in order to identify examples where specific XAI methods perform well or poorly. We believe that attribution benchmarks as the ones introduced herein are of great importance for further application of neural networks in the geosciences, and for more objective assessment and accurate implementation of XAI methods, which will increase model trust and assist in discovering new science.

## 원문 인용

Antonios Mamalakis, Imme Ebert-Uphoff, Elizabeth A. Barnes (2021). Neural Network Attribution Methods for Problems in Geoscience: A Novel Synthetic Benchmark Dataset. arXiv:2103.10005v2. https://doi.org/10.1017/eds.2022.7

**BibTeX**

```
@article{mamalakis2021neural,
  title = {{Neural Network Attribution Methods for Problems in Geoscience: A Novel Synthetic Benchmark Dataset}},
  author = {Antonios Mamalakis and Imme Ebert-Uphoff and Elizabeth A. Barnes},
  year = {2021},
  eprint = {2103.10005},
  archivePrefix = {arXiv},
  doi = {10.1017/eds.2022.7},
  url = {https://arxiv.org/abs/2103.10005v2}
}
```

## 이 논문의 용어

- [ReLU](https://refivu.com/terms/7b22f5612f6c-relu)
- [신경망](https://refivu.com/terms/cc23dda6dc72-neural-network)
- [Integrated Gradients](https://refivu.com/terms/7ea02692192e-integrated-gradients)
- [coefficient of determination](https://refivu.com/terms/348eb31e6d7f-coefficient-of-determination)
- [Layer-wise Relevance Propagation](https://refivu.com/terms/8f88b1c3f79a-layer-wise-relevance-propagation)
- [Deep Taylor decomposition](https://refivu.com/terms/cf23867e2db3-deep-taylor-decomposition)
- [correlation coefficient](https://refivu.com/terms/1d09d4cf4560-correlation-coefficient)
- [additively separable function](https://refivu.com/terms/76b1100316e3-additively-separable-function)
- [Gradient](https://refivu.com/terms/a75c0f81abe7-gradient)
- [Input\*Gradient](https://refivu.com/terms/bfab029d1184-input-gradient)
- [LRPz](https://refivu.com/terms/7cc9a4485160-lrpz)
- [Smooth Gradient](https://refivu.com/terms/7b7a24e88feb-smooth-gradient)

## 다른 논문 해설

- [Neural Architecture Search as Multiobjective Optimization Benchmarks: Problem Formulation and Performance Assessment](https://refivu.com/papers/38cf19f6-661f-4fc6-8022-3bbdae52fbae-neural-architecture-search-as-multiobjective-optimization.md)
- [Real-Time Decision-Making for Digital Twin in Additive Manufacturing with Model Predictive Control using Time-Series Deep Neural Networks](https://refivu.com/papers/ae99845c-d624-42b5-87a9-16e72268e370-real-time-decision-making-for-digital-twin-in.md)
- [GeoNet++: Iterative Geometric Neural Network with Edge-Aware Refinement for Joint Depth and Surface Normal Estimation](https://refivu.com/papers/6ed40cba-0444-47e5-bbb5-2d811c73ac32-geonet-iterative-geometric-neural-network-with-edge-aware.md)
- [Looking Beyond Two Frames: End-to-End Multi-Object Tracking Using Spatial and Temporal Transformers](https://refivu.com/papers/1c731743-dc92-4752-a4a0-fc22264e4511-looking-beyond-two-frames-end-to-end-multi.md)
- [Effective Class-Imbalance learning based on SMOTE and Convolutional Neural Networks](https://refivu.com/papers/a37b2d43-84bb-4ae2-9675-8892cbd66095-effective-class-imbalance-learning-based-on-smote-and.md)
- [The Heidelberg spiking datasets for the systematic evaluation of spiking neural networks](https://refivu.com/papers/7d72dab0-39a2-41ec-8bd7-e822a01c939b-the-heidelberg-spiking-datasets-for-the-systematic.md)
- [Playing for 3D Human Recovery](https://refivu.com/papers/ddcd96e9-88f2-4ed1-88cb-e65a0c10ce17-playing-for-3d-human-recovery.md)
- [Flow control of three-dimensional cylinders transitioning to turbulence via multi-agent reinforcement learning](https://refivu.com/papers/f246bf91-86c2-41f1-bc93-d429a472a431-flow-control-of-three-dimensional-cylinders-transitioning-to.md)
- [ExplainableDetector: Exploring Transformer-based Language Modeling Approach for SMS Spam Detection with Explainability Analysis](https://refivu.com/papers/5c46a5e9-4f6d-44cf-801f-7a5074c8573d-explainabledetector-exploring-transformer-based-language.md)
- [DIJIT: A Robotic Head for an Active Observer](https://refivu.com/papers/300f1b49-d802-4a19-a4ef-e2ce6384fe4a-dijit-a-robotic-head-for-an-active-observer.md)
- [Deep Learning-based Patient Re-identification Is able to Exploit the Biometric Nature of Medical Chest X-ray Data](https://refivu.com/papers/e060b53c-8614-4bbb-8efd-bdb0cebc8fd4-deep-learning-based-patient-re-identification-is-able.md)
- [CNN based Multistage Gated Average Fusion (MGAF) for Human Action Recognition Using Depth and Inertial Sensors](https://refivu.com/papers/25d4b58c-9aa6-4203-9c42-0f2730eb3acf-cnn-based-multistage-gated-average-fusion-mgaf-for.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/dd139034-12ac-4c31-80b7-a2a864fb4ed3-neural-network-attribution-methods-for-problems-in)
