Skip to main content
QUICK REVIEW

[논문 리뷰] Dataset Interfaces: Diagnosing Model Failures Using Controllable Counterfactual Generation

Joshua Vendrow, Saachi Jain|arXiv (Cornell University)|2023. 02. 15.
Explainable Artificial Intelligence (XAI)Computer Science인용 수 11
한 줄 요약

본 논문은 주어진 분포에서 대조 가능한 counterfactual 예제를 생성하기 위한 데이터셋 인터페이스를 정의하고, 단순 구현이 혼란스러운 편향(confounding) 변화를 도입하는 방법을 보여주며, 입력 분포에 맞춘 counterfactual를 생성하기 위한 Textual Inversion과 Stable Diffusion을 이용한 데이터셋 인터페이스를 제안한다. ImageNet *를 이용한 시연으로 분포 변화(distribution shifts)를 연구한다.

ABSTRACT

Distribution shift is a major source of failure for machine learning models. However, evaluating model reliability under distribution shift can be challenging, especially since it may be difficult to acquire counterfactual examples that exhibit a specified shift. In this work, we introduce the notion of a dataset interface: a framework that, given an input dataset and a user-specified shift, returns instances from that input distribution that exhibit the desired shift. We study a number of natural implementations for such an interface, and find that they often introduce confounding shifts that complicate model evaluation. Motivated by this, we propose a dataset interface implementation that leverages Textual Inversion to tailor generation to the input distribution. We then demonstrate how applying this dataset interface to the ImageNet dataset enables studying model behavior across a diverse array of distribution shifts, including variations in background, lighting, and attributes of the objects. Code available at https://github.com/MadryLab/dataset-interfaces.

연구 동기 및 목표

  • 분포 변화에 대한 견고한 평가의 필요성과 counterfactual 예제의 필요성을 고무한다
  • counterfactual 생성의 통합 프레임워크로 데이터셋 인터페이스를 도입하다
  • 분포 불일치로 인한 기존 counterfactual 생성 방법의 한계를 식별하다
  • 입력 데이터셋 분포에 맞춘 생성을 가능하게 하는 Textual Inversion을 이용한 데이터셋 인터페이스를 제안하다
  • ImageNet *를 시프트-강건성 벤치마크로 시연하고 미세한 모델 디버깅을 가능하게 하다

제안 방법

  • 입력 데이터셋에서 분포-시프트된 인스턴스를 반환하는 원시(primitives)로서 데이터셋 인터페이스를 정의하다
  • 기존 구현을 검토하다: 수동 수집, 텍스트-투-이미지 검색, 합성 생성
  • 입력 분포에 맞게 확산 모델 텍스트 공간으로 각 클래스를 Textual Inversion 기반 인코딩으로 도입하다
  • 각 클래스 c를 클래스 이미지로부터 Textual Inversion으로 학습된 토큰 S_c로 인코딩하고, S_c를 포함하는 프롬프트로 counterfactual를 생성하다
  • 생성된 이미지가 대상 객체를 포함하고 원하는 변화를 보이도록 CLIP 기반 필터링을 사용하다
  • 위 내용을 ImageNet *에 적용하여 Token을 공개하고 시프트 벤치마크를 제공하여 ImageNet *를 생성하다

실험 결과

연구 질문

  • RQ1데이터셋 인터페이스가 입력 분포를 충실히 일치시키면서도 지정된 시프트를 나타내는 counterfactual 예제를 생성할 수 있는가?
  • RQ2데이터셋 인터페이스의 서로 다른 구현은 confounding shifts 및 평가 신뢰도 측면에서 어떻게 비교되는가?
  • RQ3Textual Inversion 기반 데이터셋 인터페이스가 text-to-image retrieval 또는 수동 방법보다 시프트-특정 counterfactual의 품질이 더 높은가?
  • RQ4ImageNet *가 모델 계열과 훈련 방식에 걸친 포괄적이고 시프트-중심의 강건성 벤치마크를 지원하는가?
  • RQ5데이터셋 인터페이스가 분포 변화 하에서의 모델 실패에 대한 미세한 디버깅에 어떻게 도움을 줄 수 있는가?

주요 결과

  • 단순한 인터페이스 구현은 종종 confounding shifts를 도입하여 실제 시프트 효과를 가리곤 한다
  • Textual Inversion 기반 인터페이스는 입력 분포와 원하는 시프트에 맞춰 생성된 counterfactual를 조정할 수 있다
  • ImageNet *는 작업자 연구에서 Bing 또는 LAION 기반 검색보다 입력 분포와 더 밀접하게 일치하는 counterfactual를 생성한다
  • CLIP로 생성된 counterfactual를 필터링하면 인간 평가에서 대상 객체의 존재 여부와 시프트 정확도 모두 향상시킨다
  • ImageNet *는 23개의 distribution shifts 전반에 걸쳐 모델 성능을 평가하고 아키텍처 및 사전 학습에 따른 시프트 강건성을 분석하게 한다
  • 인터페이스는 접시의 비어있음과 같은 특정 혼란(confounds)을 분리하여 미세한 디버깅을 가능하게 하며 실제 실패 모드를 드러낸다

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.