Coder Social home page Coder Social logo

js-yoo / xai_kimst2020 Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 7.31 MB

"XAI를 위한 Attribution Method 접근법 분석 및 동향 Analysis and Trend of Attribution Methods for XAI" 에서 사용한 코드와 예시를 공개

Jupyter Notebook 100.00%
xai xai-attribution smoothgrad captum

xai_kimst2020's Introduction

Analysis and Trend of Attribution Methods for XAI

한국군사과학기술학회 Korea Institute of Military Science and Technology 에서 주관하는 2020 한국군사과학기술학회 종합학술대회에 센서신호 session에 제출한 "XAI를 위한 Attribution Method 접근법 분석 및 동향 Analysis and Trend of Attribution Methods for XAI" 중 3절 실험 파트에서 사용한 코드와 예시를 공개하기 위해 만들었습니다.

Models & Techniques

해당 논문에서는 Image Classification에서의 XAI 예시를 보기위해 아래의 기법을 사용했습니다.

Model : Resnet18 (pretrained)
XAI : Integrated Gradient, SmoothGrad
demo에서는 위의 두가지 기법만 다루었지만, 이외의 다른 기법도 가능합니다. 그리고 Captum을 사용했습니다.

Installation

Installation Requirements

  • Python >= 3.6
  • PyTorch >= 1.2
  • conda == 4.9.2

Installing the latest release

The latest release of Captum is easily installed either via Anaconda (recommended):

conda install captum -c pytorch

or via pip:

pip install captum

Sample Outputs

sample.png

Reference

XAI를 위한 Attribution Method 접근법 분석 및 동향
Axiomatic Attribution for Deep Networks
SmoothGrad: removing noise by adding noise

Author


Joonsang Yoo / @js-yoo

xai_kimst2020's People

Contributors

js-yoo avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.