atlas

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

MIA-Tuner: Adapting Large Language Models as Pre-training Text Detector

AAAI 2025 · Large language models › Language, safety and interpretability · approach: Data and hallucination detection · 3 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.

Proposes MIA-Tuner, which instruction- and soft-prompt-tunes LLMs to act as their own pre-training data detectors, and introduces WIKIMIA-24 (March 2024 cutoff) as an updated membership inference benchmark, plus two defensive safeguards.

Problem

Detecting whether a text was in an LLM's pre-training data (membership inference) is hard for recent LLMs and especially for aligned models, where existing score-based attacks degrade and the WikiMIA benchmark (pre-2023 cutoff) is outdated.

Approach

Instead of designing external MIA score functions, fine-tune a soft prompt plus LoRA-free SFT so the LLM itself answers "Yes"/"No" on whether a text is in its training set (aligned models), or amplifies member/non-member loss gaps via a contrastive loss (unaligned models); also reverse the objectives to defend against MIAs.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
instruct aligned and unaligned LLMs with MIA-Tuner rather than use the strongest corresponding baselineLLMs evaluated on WIKIMIA-24 · WIKIMIA-24, aligned LLMs (average)AUC: 0.633 -> 0.971Helped
instruct aligned and unaligned LLMs with MIA-Tuner rather than use the strongest corresponding baselineLLMs evaluated on WIKIMIA-24 · WIKIMIA-24, unaligned LLMs (average)AUC: 0.775 -> 0.980Helped
apply the privacy-preserving safeguard before releaseLLaMA-2 · pre-training data detection, baselines averageAUC: 0.626 to 0.570Hurt
apply the privacy-preserving safeguard before releaseLLaMA-2 · MMLUaccuracyNo clear effect
fine-tune with only 60 labeled samples, 30 member and 30 non-memberMIA-Tuner · LLaMA-2, aligned and unalignedAUC: exceeding 0.95Helped
increase pending text lengthMIA-Tuner · WIKIMIA-24, text lengths 32, 64, 128, and 256AUCHelped
increase target model parameter scaleMIA-Tuner and baselines · WIKIMIA-24, varying model scalesAUCHelped
apply the fine-tuning-stage safeguard after a malicious user's fine-tuningMIA-Tuner · pre-training data detectionAUCHurt
apply the fine-tuning-stage safeguard after a benign user's fine-tuningbenign fine-tuning users · customized fine-tuning datasetPPLHurt

Surprising findings

Limitations

Experimental setup

Datasets: WikiMIA WIKIMIA-24

Benchmarks: WIKIMIA-24 WikiMIA MMLU

Metrics: AUC accuracy fine-tuning PPL

Baselines: PPL Min-K% Min-K%++ Zlib Lowercase Neighbor Smaller Ref

Builds on: Min-K%++ Min-K% prompt tuning instruction tuning NT-Xent

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