Skip to main content
QUICK REVIEW

[논문 리뷰] Time Travel in LLMs: Tracing Data Contamination in Large Language Models

Shahriar Golchin, Mihai Surdeanu|arXiv (Cornell University)|2023. 08. 16.
Natural Language Processing TechniquesComputer Science인용 수 22
한 줄 요약

이 논문은 guided prompts의 인스턴스 수준 복제 신호를 일반 프롬프트와 대조하고, GPT-4 ICL 또는 BLEURT/ROUGE-L 지표를 통해 파티션 수준 오염으로 외삽하여 GPT-3.5와 GPT-4 전반에 걸쳐 데이터 오염을 감지하는 비용 효율적인 방법을 제시합니다.

ABSTRACT

Data contamination, i.e., the presence of test data from downstream tasks in the training data of large language models (LLMs), is a potential major issue in measuring LLMs' real effectiveness on other tasks. We propose a straightforward yet effective method for identifying data contamination within LLMs. At its core, our approach starts by identifying potential contamination at the instance level; using this information, our approach then assesses wider contamination at the partition level. To estimate contamination of individual instances, we employ "guided instruction:" a prompt consisting of the dataset name, partition type, and the random-length initial segment of a reference instance, asking the LLM to complete it. An instance is flagged as contaminated if the LLM's output either exactly or nearly matches the latter segment of the reference. To understand if an entire partition is contaminated, we propose two ideas. The first idea marks a dataset partition as contaminated if the average overlap score with the reference instances (as measured by ROUGE-L or BLEURT) is statistically significantly better with the completions from guided instruction compared to a "general instruction" that does not include the dataset and partition name. The second idea marks a dataset partition as contaminated if a classifier based on GPT-4 with few-shot in-context learning prompt marks multiple generated completions as exact/near-exact matches of the corresponding reference instances. Our best method achieves an accuracy between 92% and 100% in detecting if an LLM is contaminated with seven datasets, containing train and test/validation partitions, when contrasted with manual evaluation by human experts. Further, our findings indicate that GPT-4 is contaminated with AG News, WNLI, and XSum datasets.

연구 동기 및 목표

  • LLM의 테스트 데이터가 학습 데이터에 포함될 수 있다는 점 때문에 데이터 오염 평가의 필요성을 제시합니다.
  • 부분 데이터 세트 인스턴스를 완료하도록 LLM을 유도하는 가이드된 지시를 통해 인스턴스 수준 오염 신호를 제시합니다.
  • 데이터 세트 분할(train/test/validation)에 대한 누수를 유추하기 위한 파티션 수준 오염 휴리스틱을 개발합니다.
  • 여러 데이터셋과 두 LLM에 걸친 방법을 인간 전문가 검증과 함께 평가합니다.
  • 제시된 방법의 효과를 입증하고 특정 데이터셋(AG News, WNLI, XSum)에서 오염 신호를 드러냅니다.

제안 방법

  • 데이터세트 이름, 파티션, 참조 인스턴스의 임의의 초기 일부를 포함한 가이드된 지시를 사용하여 LLM의 완성을 이끌어냅니다.
  • 가이드된 지시와 일반 지시를 비교하여 BLEURT와 ROUGE-L로 인스턴스 수준 오염을 측정합니다. 또한 GPT-4 소수 샷 인-컨텍스트 학습을 사용하여 정확한/근사 정확한 매치를 탐지합니다.
  • Algorithm 1: 가이드 지시하에서 평균 중첩이 일반 지시하에서보다 통계적으로 유의하게 높으면 해당 파티션을 오염으로 라벨링합니다(부트스트랩 비모수 검정).
  • Algorithm 2: GPT-4 ICL이 정확한 매치 최소 1건 또는 근사 정확한 매치 최소 2건을 10개의 인스턴스 완성 중에 표시하면 해당 파티션을 오염으로 라벨링합니다.
  • 실제 예시를 의도적으로 오염시켜 GPT-3.5를 대상으로 한 제어된 인스턴스 복제 연구를 수행하고 GPT-4를 GSM8k에 대해 테스트하여 정확한/근사 정확한 매치 기준을 검증합니다.
  • ChatGPT-Cheat?와 비교하고 인간 평가를 수행하여 자동 신호를 전문가 판단과 일치시키도록 합니다.

실험 결과

연구 질문

  • RQ1사전 학습 데이터가 알려지지 않은 상태에서 가이드된 지시가 LLM에서 오염 신호를 인스턴스 수준에서 드러낼 수 있나요?
  • RQ2중첩 점수 또는 GPT-4 ICL에 기반한 파티션 수준 휴리스틱이 오염된 데이터 세트 파티션을 신뢰할 수 있게 식별하나요?
  • RQ3제시된 방법에 따라 현대 LLM(GPT-4, GPT-3.5)에서 어떤 데이터셋에 오염 증거가 나타나나요?
  • RQ4자동 신호와 인간 판단이 train/test 분할 전반에서 오염 탐지에 있어 어떻게 비교되나요?
  • RQ5연구가 강조하는 데이터 오염의 실질적인 한계점과 원천은 무엇인가요?

주요 결과

  • 최고 방법(Algorithm 2 with GPT-4 ICL)이 14/14 GPT-4 설정 및 13/14 GPT-3.5 설정에서 인간 라벨과의 정확도 92%–100%를 달성했습니다.
  • GPT-4는 AG News, WNLI, XSum 데이터셋에서 오염 신호를 보였습니다.
  • Algorithm 1의 성능은 지표와 모델에 따라 달랐으며 BLEURT/ROUGE-L은 혼합된 결과를 보였습니다.
  • ChatGPT-Cheat?는 많은 파티션을 의심스럽다고 표시했지만 종종 엄격한 오염 판단과 일치하지 않아 인스턴스 수준에서 파티션 수준으로의 추론 필요성을 강조합니다.
  • 인간 평가에서 GPT-4의 AG News 및 WNLI 노출과 XSum 노출이 확인되었고, GPT-3.5의 노출은 XSum 테스트에 한정되었습니다.

이 논문 읽기

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

누빈트에서 이 논문 읽기

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