Integrated Gradients Feature Attribution
Integrated gradients explains a differentiable model's prediction by accumulating the model's gradient along a straight path from a baseline input to the actual input. Each feature's attribution is its distance from the baseline times the average gradient along the path, and the attributions add up exactly to the difference between the prediction and the baseline prediction.
적분 경사는 기준 입력에서 실제 입력까지 직선 경로를 따라 모형의 기울기를 누적해 미분 가능한 모형의 예측을 설명합니다. 각 특성의 기여는 기준점과의 차이에 경로상의 평균 기울기를 곱한 값이며, 모든 기여를 더하면 예측값과 기준 예측값의 차이와 정확히 같습니다.
How much does each input push a neural network's prediction for a case up or down compared with a reference case?
기준 사례와 비교해 각 입력이 신경망의 예측을 얼마나 올리거나 내립니까?
The method reports, for each feature, the mean absolute and mean signed attribution over the explained rows, its share of the total, the model's fit, and a completeness check showing that attributions sum to the change in output.
When to use Integrated Gradients Feature Attribution
- You want attributions for a neural network or other smooth model that add up to the prediction change.
- A meaningful reference input exists, such as the average case.
When to use something else
- The model is a tree ensemble or not differentiable: use SHAP (SHapley Additive exPlanations)
- You want a simple local surrogate explanation: use LIME
Assumptions and requirements
- The model is differentiable in its inputs
- The baseline represents absence of signal for the question asked
- Numeric features
What the analysis reports
- Mean absolute and signed attribution per feature
- Share of total attribution
- Completeness gap
- Model fit
How to report it
Integrated gradients for a one-hidden-layer perceptron attributed class [value] probability relative to the feature-mean baseline; [value] had the largest mean absolute attribution ([value], [value]% of the total).
Related methods
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with scikit-learn and direct computations (formulas, enumeration or simulation) at a stated tolerance of 1e-5.
독립 계산. scikit-learn·직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과(허용오차 1e-5).
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Integrated Gradients Feature Attribution on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable and predictor (feature) columns
- Price
- 600 credits for one analysis up to 10,000 rows (complexity level 4); larger or wider data costs more. Optional methodologist review: 2400 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.