atlas

Research map / Large language models / Language, safety and interpretability

DALD: Improving Logits-based Detector without Logits from Black-box LLMs

NeurIPS 2024 · Large language models › Language, safety and interpretability · approach: Zero-shot machine-text detection · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Fine-tunes a LoRA surrogate LLM on a small (about 5K) set of target-model outputs so logits-based zero-shot detectors (Fast-DetectGPT, DNA-GPT, DetectGPT) work on black-box LLM text without target logits.

Problem

Logits-based zero-shot detectors need a surrogate model whose distribution matches the black-box target LLM; mismatch and frequent closed-source model updates degrade detection accuracy.

Approach

Align the surrogate model's distribution with the target black-box LLM by self-supervised LoRA fine-tuning on a small corpus of publicly shared outputs (prompt-masked cross-entropy), then plug the aligned surrogate into existing logits-based detectors; a theorem bounds the curvature gap between surrogate and target after alignment.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Align the surrogate with GPT-4 outputs using DALD (ablation)Fast-DetectGPT · PubMed-GPT-4AUROC: 0.8179 -> 0.9785Helped
Add DALD surrogate fine-tuning (ablation)Detect-GPT · PubMed-GPT-4AUROC: 0.5291 -> 0.7034Helped
Add DALD surrogate fine-tuning (ablation)DNA-GPT · PubMed-GPT-4AUROC: 0.8947 -> 0.9879Helped
Add DALD surrogate fine-tuning (ablation)Fast-DetectGPT · PubMed-GPT-4AUROC: 0.8179 -> 0.9785Helped
Use a single GPT-4-trained DALD surrogate across target models instead of training separately (ablation)DALD · PubMed-ChatGPTAUROC: 0.9853 -> 0.9829Hurt
Train one DALD surrogate on two sources rather than one (ablation)DALD · XSum-GPT-4AUROC: 0.9954 -> 0.9981Helped
Train one DALD surrogate on three sources rather than two (ablation)DALD · XSum-Claude-3AUROC: 0.9994 -> 0.9996Helped
Fine-tune Llama2-7B as the surrogate with DALD (ablation)Fast-DetectGPT · PubMed-Claude-3AUROC: 0.8876 -> 0.9424Helped
Fine-tune Llama3-8B as the surrogate with DALD (ablation)Fast-DetectGPT · PubMed-Claude-3AUROC: 0.7764 -> 0.9102Helped
Fine-tune GPT-Neo-2.7B as the surrogate with DALD (ablation)Fast-DetectGPT · PubMed-Claude-3AUROC: 0.8900 -> 0.8997Helped
Train on more data sources, from one to three (ablation)DALD · PubMed-ChatGPTAUROC: 0.9829 -> 0.9827Hurt
Increase the test sample count from 150 to 300 (ablation)DALD · PubMed-ChatGPTAUROC: 0.9853 -> 0.9842Hurt

Surprising findings

Limitations

Experimental setup

Datasets: WildChat Claude-3-Opus-Instruct-15K XSum WritingPrompts WMT-2016 PubMedQA APPS RAID

Benchmarks: XSum WritingPrompts WMT-2016 PubMedQA APPS RAID

Metrics: AUROC AUPR

Baselines: RoBERTa-base RoBERTa-large Likelihood Entropy LogRank LRR NPR Detect-GPT DNA-GPT Fast-DetectGPT

Builds on: Fast-DetectGPT DetectGPT DNA-GPT LoRA

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy