[논문 리뷰] Investigating Data Contamination in Modern Benchmarks for Large Language Models
이 논문은 IR 기반 오염 감지와 TS-Guessing 프로토콜을 도입하여 LLM 벤치마크의 잠재적 데이터 누출을 평가하며, 상용 모델이 벤치마크의 누락 정보를 추측할 수 있음을 보여 주어 데이터 오염 가능성을 시사합니다.
Recent observations have underscored a disparity between the inflated benchmark scores and the actual performance of LLMs, raising concerns about potential contamination of evaluation benchmarks. This issue is especially critical for closed-source models and certain open-source models where training data transparency is lacking. In this paper we study data contamination by proposing two methods tailored for both open-source and proprietary LLMs. We first introduce a retrieval-based system to explore potential overlaps between evaluation benchmarks and pretraining corpora. We further present a novel investigation protocol named extbf{T}estset extbf{S}lot Guessing ( extit{TS-Guessing}), applicable to both open and proprietary models. This approach entails masking a wrong answer in a multiple-choice question and prompting the model to fill in the gap. Additionally, it involves obscuring an unlikely word in an evaluation example and asking the model to produce it. We find that certain commercial LLMs could surprisingly guess the missing option in various test sets. Specifically, in the TruthfulQA benchmark, we find that LLMs exhibit notable performance improvement when provided with additional metadata in the benchmark. Further, in the MMLU benchmark, ChatGPT and GPT-4 demonstrated an exact match rate of 52\% and 57\%, respectively, in guessing the missing options in benchmark test data. We hope these results underscore the need for more robust evaluation methodologies and benchmarks in the field.
연구 동기 및 목표
- 벤치마크 데이터가 사전 학습 데이터로 유출될 우려를 두고 견고한 평가 벤치마크를 제시한다.
- 오픈 소스 및 폐쇄 소스 LLM 모두에 대한 오염 탐지 방법을 개발한다.
- 사전 학습 말뭉치와 인기 벤치마크 간의 중복 정도를 정량화한다.
- 추가 벤치마크 메타데이터가 오염 테스트에서 모델의 성능에 미치는 영향을 평가한다.
제안 방법
- Pyserini 기반 BM25 검색 시스템을 구축하여 사전 학습 말뭉치(The Pile, C4)와 벤치마크(MMLU, TruthfulQA, HellaSwag, WindoGrande, OpenbookQA, PIQA) 간의 중 overlaps를 식별한다.
- TS-Guessing을 제안한다: (i) 핵심 단어를 마스킹하고 모델이 이를 채우도록 요청하는 질문 기반 추론; (ii) 잘못된 옵션을 마스킹하고 누락된 조각을 묻는 다중 선택 추론.
- 오버랩을 평가하기 위해 상위 k개 검색 설정(k=1,5,10)과 13-gram 토크나이제이션을 사용한다.
- 프롬프트 템플릿과 메타데이터 힌트(예: 유형, 카테고리, URL)를 활용하여 벤치마크 데이터를 모델이 악용하는지 테스트한다.
- 사소한 상관관계를 줄이기 위한 필터링을 적용한다(예: Yes/No 옵션, Rouge-L 유사도 임계값).
- BM25, Avg. F1, SacreBLEU, Rouge-L, BLEURT, GPTscore 기반 의미적 유사도 등의 지표를 사용하여 결과를 보고한다.
실험 결과
연구 질문
- RQ1현대 벤치마크가 사전 학습 말뭉치와 충분히 중첩되어 평가에 오염을 일으킬 수 있는가?
- RQ2오픈 소스 및 폐쇄 소스 LLM이 일반 벤치마크에서 TS-Guessing에서 오염을 보이는가?
- RQ3벤치마크 메타데이터(유형, 카테고리, URL)를 추가하는 것이 오염 시나리오에서 모델 성능에 도움을 주는가?
- RQ4TS-Guessing 결과가 다양한 모델 간 실제 벤치마크 과제 성능과 어떻게 상관되는가?
주요 결과
- 사전 학습 말뭉치와 벤치마크 간에 중 overlapped가 존재하며 n-그램 방법만으로는 완전히 포착되지 않는다.
- TS-Guessing은 상용 LLM이 누락된 벤치마크 요소를 종종 추론할 수 있음을 보여 주어 잠재적 오염을 시사한다.
- TruthfulQA에서 메타데이터가 모델의 추론 성능을 향상시켜 벤치마크가 풍부한 메타데이터를 노출할 때 누출 위험이 있음을 시사한다.
- MMLU에서 ChatGPT와 GPT-4는 특정 설정에서 누락된 옵션 추론에 대해 각각 57%와 57%의 Exact Match를 달성했다.
- GPTscore 기반 텍스트 유사도가 인간의 판단과 더 잘 일치하나 더 많은 자원이 필요하다.
- TS-Guessing 결과는 모델 버전 간 성능 차이가 작게 나타나 오염이 모델 규모에만 의존하지 않음을 시사한다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.