Skip to main content
QUICK REVIEW

[논문 리뷰] ConStat: Performance-Based Contamination Detection in Large Language Models

Jasper Dekoninck, Mark Niklas Müller|arXiv (Cornell University)|2024. 05. 25.
Topic ModelingComputer Science인용 수 3
한 줄 요약

ConStat은 대규모 언어 모델에서 성능 기반의 데이터 오염을 정의하며, 원본 벤치마크와 기준 벤치마크 간의 통계적 비교를 통해 오염을 탐지하고 정량화한다. 이는 미스트랄, 라마, 이 등 주요 모델과 오픈 소스 LLM 리더보드 상위 모델들에서 비일반화 성능 향상의 증거를 측정함으로써 심각한 오염을 식별한다.

ABSTRACT

Public benchmarks play an essential role in the evaluation of large language models. However, data contamination can lead to inflated performance, rendering them unreliable for model comparison. It is therefore crucial to detect contamination and estimate its impact on measured performance. Unfortunately, existing detection methods can be easily evaded and fail to quantify contamination. To overcome these limitations, we propose a novel definition of contamination as artificially inflated and non-generalizing benchmark performance instead of the inclusion of benchmark samples in the training data. This perspective enables us to detect any model with inflated performance, i.e., performance that does not generalize to rephrased samples, synthetic samples from the same distribution, or different benchmarks for the same task. Based on this insight, we develop ConStat, a statistical method that reliably detects and quantifies contamination by comparing performance between a primary and reference benchmark relative to a set of reference models. We demonstrate the effectiveness of ConStat in an extensive evaluation of diverse model architectures, benchmarks, and contamination scenarios and find high levels of contamination in multiple popular models including Mistral, Llama, Yi, and the top-3 Open LLM Leaderboard models.

연구 동기 및 목표

  • 공개 벤치마크의 신뢰성 문제를 해결하기 위해 데이터 오염이 모델 성능을 과대평가하게 되는 현상에 대응한다.
  • 학습 데이터 포함 여부에 의존하는 기존 오염 탐지 방법의 한계를 극복하여 쉽게 회피당하는 문제를 해결한다.
  • 벤치마크 간 성능 일반화 기반으로 신뢰할 수 있고 정량화 가능한 오염 탐지 방법을 개발한다.
  • 다양한 모델 아키텍처와 벤치마크 시나리오에서 오염 수준을 평가한다.
  • 고성능 모델이 비일반화 행동을 보이며 오염의 징후를 보일 수 있음을 입증한다.

제안 방법

  • 데이터 포함 여부가 아니라 원본 벤치마크에서 인위적으로 과대평가된 비일반화 성능에 의해 오염을 정의한다.
  • 성능 기반 기준선을 확립하기 위해 기준 모델과 기준 벤치마크(다시 표현된, 합성 또는 유사 작업)를 선정한다.
  • 기준 벤치마크와 원본 벤치마크 간의 성능 관계를 모델링하기 위해 곤란도 보정 함수 $ H_{D_{\text{ref}}} $ 를 피팅한다.
  • 대상 모델이 기준 벤치마크에서 기록한 성능을 바탕으로 원본 벤치마크에서 예상되는 성능을 예측한다.
  • 예측된 성능과 실제 성능 간의 성능 차이 $ \delta $ 를 계산하며, 부트스트래핑을 사용하여 $ \delta $ 와 p-value 를 추정한다.
  • p-value 를 사용하여 모델이 오염되지 않았다는 귀무가설을 검정함으로써 통계적 탐지 및 정량화를 가능하게 한다.
Figure 2 : Estimated $\hat{\delta}$ as a function of the true $\delta$ for the finetuned models. $2$ -sigma intervals are shown.
Figure 2 : Estimated $\hat{\delta}$ as a function of the true $\delta$ for the finetuned models. $2$ -sigma intervals are shown.

실험 결과

연구 질문

  • RQ1학습 데이터 포함 여부를 가정하지 않고도 대규모 언어 모델의 오염을 신뢰성 있게 탐지할 수 있는가?
  • RQ2벤치마크에서의 성능가 재작성되거나 합성적으로 생성된 동일 작업의 변형으로 일반화되는 정도는 어느 정도인가?
  • RQ3인기 있는 오픈소스 및 전문 소유 모델들 사이에서 오염은 얼마나 널리 퍼져 있는가?
  • RQ4기존 기법들이 회피하는 오염도 통계적 방법으로 탐지할 수 있는가?
  • RQ5라마, 미스트랄, 이와 같은 최신 모델들에서 오염의 정도는 어느 정도인가?

주요 결과

  • ConStat은 미스트랄-7b-v0.1에서 높은 수준의 오염을 탐지하였으며, 오염 정도 $ \hat{\delta} = 35.1\% $ 와 p-value $ 0.01\% $ 를 기록하여 비일반화 성능에 대한 강력한 통계적 증거를 제시한다.
  • 라마-3-70b와 라마-2-Instruct-70b는 여러 벤치마크에서 심각한 오염을 보이며, $ \hat{\delta} $ 값이 20% 이상을 초과한다.
  • 이-34b는 ARC에서 $ \hat{\delta} = -20.29\% $ 를 기록하여 기준 벤치마크로의 일반화되지 않는 상당한 성능 과대평가를 보여준다.
  • 스테이블엠-2-Instruct-12b와 팔콘 모델들은 여러 벤치마크에서 오염을 보이며, 특정 벤치마크 오염에 대해 p-value 가 95% 이상을 기록한다.
  • 오픈 소스 LLM 리더보드 상위 3개 모델들은 강력한 오염 신호를 보이며, $ \hat{\delta}_{0.95} $ 값이 일반화에 대한 높은 불확실성을 나타낸다.
  • 기존 방법이 실패할 경우에도 이 방법은 오염을 성공적으로 탐지하여 회피 시도에 대한 강건성을 입증한다.
((a)) A simple scenario where all tests should return a CDF close to the identity line.
((a)) A simple scenario where all tests should return a CDF close to the identity line.

이 논문 읽기

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

누빈트에서 이 논문 읽기

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