atlas

Research map / Large language models / Instruction and fine-tuning

REEF: Representation Encoding Fingerprints for Large Language Models

ICLR 2025 · Large language models › Instruction and fine-tuning · approach: Safety alignment after fine-tuning · 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 REEF, a training-free LLM fingerprinting method that uses linear or RBF centered kernel alignment (CKA) between a suspect and victim model's representations on the same samples to detect whether the suspect derives from the victim.

Problem

Identifying whether a suspect LLM is a subsequent development (fine-tuned, pruned, merged, permuted) of a victim open-source LLM, in a way that is robust to pruning, permutations, extensive fine-tuning, and merging and does not impair model capabilities.

Approach

Compare representations of suspect and victim models on the same inputs using CKA, which is invariant to column permutations and scaling and works across different representation dimensions, rather than training classifiers or comparing weights/logits.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use REEF representation CKA instead of weight-based PCSLlama-2-7b fingerprinting under permutation · Llama-2-7b (permutation)similarity: 0.0000 -> 1.0000Helped
Use REEF representation CKA instead of ICSLlama-2-7b fingerprinting under permutation · Llama-2-7b (permutation)similarity: 0.1918 -> 1.0000Helped
Use REEF representation CKA instead of LogitsLlama-2-7b fingerprinting under distribution merging · Fusechat-7b: Internlm2-chat-20bsimilarity: 0.0000 -> 0.9278Helped
Use REEF representation CKA instead of PCSLlama-2-7b fingerprinting under distribution merging · Fusellm-7b: Openllama-2-7bsimilarity: 0.0194 -> 0.6713Helped
Use REEF representation CKA instead of LogitsLlama-2-7b fingerprinting after extensive fine-tuning · Llemma-7b (700B tokens fine-tuning)similarity: 0.6367 -> 0.9962Helped
Use a single layer's CKA similarity for fingerprint identificationREEF on Llama-2-7b · TruthfulQA, layer 18 (derived models vs unrelated models)similarity: 0.9973 and 0.2223Mixed
Use linear CKA rather than RBF CKAREEF model fingerprinting · TruthfulQAsimilarity: > 0.95No clear effect
Increase sample count until approximately 200-300 samples (ablation)REEF · TruthfulQAsimilarity stability: 200-300Helped
Use TruthfulQA rather than ToxiGen (ablation)REEF · TruthfulQA and ToxiGensimilarity gap: approximately 0.8 on TruthfulQA and about 0.5 on ToxiGenHelped

Surprising findings

Limitations

Experimental setup

Datasets: TruthfulQA SST2 ConfAIde PKU-SafeRLHF ToxiGen

Benchmarks: TruthfulQA SST2 ConfAIde PKU-SafeRLHF ToxiGen

Metrics: CKA similarity classification accuracy perplexity

Baselines: PCS ICS Logits

Builds on: centered kernel alignment Hilbert-Schmidt Independence Criterion ICS LLM-Pruner

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