Skip to main content
QUICK REVIEW

[논문 리뷰] Multiscale Positive-Unlabeled Detection of AI-Generated Texts

Yuchuan Tian, Hanting Chen|arXiv (Cornell University)|2023. 05. 29.
Natural Language Processing TechniquesComputer Science인용 수 13
한 줄 요약

본 논문은 Multiscale Positive-Unlabeled (MPU) 학습 프레임워크를 도입하여 짧은 길이와 긴 길이 모두에서 AI가 생성한 텍스트를 탐지하고, 길이에 민감한 PU 손실과 Short 텍스트 탐지 성능을 향상시키되 긴 텍스트 성능을 희생하지 않는 Text Multiscaling 모듈을 활용한다.

ABSTRACT

Recent releases of Large Language Models (LLMs), e.g. ChatGPT, are astonishing at generating human-like texts, but they may impact the authenticity of texts. Previous works proposed methods to detect these AI-generated texts, including simple ML classifiers, pretrained-model-based zero-shot methods, and finetuned language classification models. However, mainstream detectors always fail on short texts, like SMSes, Tweets, and reviews. In this paper, a Multiscale Positive-Unlabeled (MPU) training framework is proposed to address the difficulty of short-text detection without sacrificing long-texts. Firstly, we acknowledge the human-resemblance property of short machine texts, and rephrase AI text detection as a partial Positive-Unlabeled (PU) problem by regarding these short machine texts as partially ``unlabeled". Then in this PU context, we propose the length-sensitive Multiscale PU Loss, where a recurrent model in abstraction is used to estimate positive priors of scale-variant corpora. Additionally, we introduce a Text Multiscaling module to enrich training corpora. Experiments show that our MPU method augments detection performance on long AI-generated texts, and significantly improves short-text detection of language model detectors. Language Models trained with MPU could outcompete existing detectors on various short-text and long-text detection benchmarks. The codes are available at https://github.com/mindspore-lab/mindone/tree/master/examples/detect_chatgpt and https://github.com/YuchuanTian/AIGC_text_detector.

연구 동기 및 목표

  • 다양한 길이에서 AI 생성 텍스트를 탐지하는 동기를 제시하고 특히 탐지하기 어려운 짧은 텍스트에 집중한다.
  • 짧은 기계 텍스트를 비표지로 취급하는 부분 PU 문제로 전환하여 AI 텍스트 탐지를 부분 PU 문제로 다룬다.
  • 텍스트 길이에 따라 양성 우선순위를 조정하는 길이 민감한 Multiscale PU 손실을 개발한다.
  • 길이별로 데이터 코퍼스를 다양화하는 Text Multiscaling 모듈을 도입한다.
  • MPU가 짧은 텍스트 탐지를 개선하는 동시에 긴 텍스트 성능을 유지하거나 향상시키는 것을 보인다.

제안 방법

  • 모델 학습은 짧은 기계 텍스트를 PU 손실 계산에서 비표지로 처리하는 부분 PU 프레임워크를 사용한다.
  • 길이에 따라 다른 길이의 텍스트에 대해 길이 의존적 양성 우선순위를 추정하는 순환 추상 판별기를 도입한다(Eq. 5–9).
  • 다양한 길이에 걸친 우선순위 벡터를 사용해 양성 및 비표지 손실에 가중치를 주는 Multiscale PU Loss(Eq. 10)를 정의한다.
  • 문장을 무작위로 삭제하여 다중 스케일 학습 텍스트를 생성하는 Text Multiscaling 모듈을 통합한다(Eqs. 12–14).
  • 최종 목적식에서 PN 손실과 MPU 손실을 결합한다(Eq. 11).
  • Text Multiscaling과 MPU 손실 구성요소의 영향을 평가하기 위한 어블레이션을 제공한다(Tables 6–11).

실험 결과

연구 질문

  • RQ1AI 생성 텍스트 탐지를 부분 PU 문제로 프레이밍하여 짧은 텍스트의 비표지를 다룰 수 있는가?
  • RQ2길이 민감 PU 손실이 긴 텍스트 성능을 해치지 않으면서 다양한 텍스트 길이에서 탐지를 개선하는가?
  • RQ3Text Multiscaling이 전체 텍스트 및 짧은 텍스트에서 탐지 성능에 어떤 영향을 미치는가?
  • RQ4MPU를 적용한 탐지기가 HC3-English-Sent, TweepFake와 같은 짧은 텍스트 벤치마크 및 긴 텍스트 벤치마크에서 강력한 베이스라인과 비교해 어떤 성능을 보이는가?

주요 결과

  • RoBERTa-MPU가 HC3-En-Full에서 98.40 ± 0.31, HC3-En-Sent에서 85.31 ± 1.80을 달성하여 여러 베이스라인보다 우수하다.
  • RoBERTa-MPU가 HC3-Ch-Sent(중국어)에서도 89.37 ± 1.94를 달성하며 중국어 베이스라인보다 우수하다.
  • TweepFake에서 RoBERTa-MPU가 91.4 정확도를 달성하여 짧은 텍스트 탐지에서 RoBERTa-Finetuned 및 기타 베이스라인을 능가한다.
  • Text Multiscaling과 MPU 손실을 함께 사용하면 문장 단위 탐지가 크게 개선되며, MPU 손실은 전체 텍스트 성능 하락을 완화하는 데 기여한다.
  • Multiscale PU 손실은 HC3-English에서 Ordinary PU 손실보다 우수한 성능을 보여준다(Full: 98.40 ± 0.31 vs. 97.05 ± 2.15; Sent: 85.31 ± 1.80 vs. 83.53 ± 3.14).
  • 어블레이션 결과 토큰 양성 신호의 p를 0.2–0.25, p_sent를 약 0.25, 최종 손실 균형을 위한 감마를 약 0.4로 설정할 때 전반적으로 최적의 성능을 보인다.

이 논문 읽기

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

누빈트에서 이 논문 읽기

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