ForgetMark: Fingerprinting via Targeted Unlearning
- The paper introduces ForgetMark, a framework that replaces fixed trigger backdoors with targeted unlearning to embed ownership in language models.
- It uses a two-stage, uncertainty-driven key-value selection process, where highly confident responses are identified and adapted via lightweight LoRA adapters.
- Ownership is verified through a probabilistic forgetting trace that detects significant likelihood suppression, ensuring stealth and limited performance degradation.
Searching arXiv for the primary paper and closely related watermarking/fingerprinting work. ForgetMark is a fingerprinting framework for LLMs that encodes provenance through targeted unlearning rather than through a fixed trigger–response backdoor. Introduced in "ForgetMark: Stealthy Fingerprint Embedding via Targeted Unlearning in LLMs" (Xu et al., 13 Jan 2026), it constructs a compact set of human-readable KeyValue pairs, identifies those pairs on which the base model is maximally confident, and then trains lightweight LoRA adapters to suppress the original values on their keys while preserving general capabilities. Ownership is subsequently verified from a probabilistic forgetting trace: for the selected pairs, the fingerprinted model assigns very low likelihood to the original values or generates semantically different completions, under gray-box or black-box access.
1. Conceptual position within model provenance
ForgetMark is explicitly framed against traditional invasive fingerprinting based on backdoors. In the backdoor formulation summarized for the method, a rare trigger sequence is implanted so that deterministically yields a response . The reported weaknesses of that design are threefold: the triggers are high-perplexity and thus easy to filter, the responses are fixed and therefore exposed by heuristic detectors, and the triggers can spuriously activate on benign inputs (Xu et al., 13 Jan 2026). ForgetMark replaces this template with selective forgetting of naturally phrased prompts that the base model originally answers with high confidence.
The mechanism is therefore not response synthesis but response suppression. A small set of KeyValue pairs is first chosen so that the target model already exhibits low-variance, high-likelihood behavior on them. A lightweight adaptation step then reduces for those pairs while leaving the rest of the distribution largely intact. This makes provenance detectable not by observing an anomalous answer pattern, but by measuring whether a suspect model has retained a stable negative trace on a carefully chosen prompt set.
This design suggests a different stealth regime from classical trigger-based fingerprints. The trigger surface is human-readable rather than synthetically rare, and the ownership signal is probabilistic rather than deterministic. A plausible implication is that detection methods tuned to high-perplexity triggers or fixed outputs are structurally mismatched to the signal that ForgetMark embeds.
2. Construction of the fingerprint set
ForgetMark begins with a two-stage selection procedure for the fingerprint set. An auxiliary assistant model, specified as GPT-4, is prompted to generate 500 human-readable, single-turn prompts of length 10–40 tokens that elicit specific factual answers. After manual filtering for safety and diversity, these form the candidate key set
For each candidate key , the target model is queried to sample independent continuations,
0
with 1 in the main experiments, while recording token-level generation probabilities 2. ForgetMark then ranks keys by a predictive-entropy proxy
3
Small 4 indicates that the model is highly confident and low-variance on key 5. Keys are sorted by ascending 6, and the top 7 are retained, with 8 in the main configuration. For each selected key, the retained value is the sampled continuation with highest total likelihood,
9
The resulting fingerprint set is
0
The reported ablation makes the role of this uncertainty-driven selection explicit. On non-unlearned Qwen2.5 and LLaMA3 models, random selection yields average 1 and ROUGE-L 2, whereas uncertainty-driven selection yields 3 and ROUGE-L 4 (Xu et al., 13 Jan 2026). This indicates that entropy-based selection concentrates the fingerprint on behaviors that are already stable in the base model, thereby enlarging the pre/post-unlearning gap and reducing false alarms on untouched models.
3. Targeted unlearning as the embedding mechanism
The embedding stage freezes the base parameters 5 and inserts a low-rank adapter
6
so that the adapted model defines the next-token distribution
7
The training objective is a signed-likelihood loss that simultaneously increases the NLL on the fingerprint pairs and decreases the NLL on a retention set:
8
In the reported setup, 9.
The retention set 0 is drawn from Alpaca and sized so that 1. The optimization updates only 2 and 3, with reported hyperparameters including rank 4, AdamW, learning rate 5, and approximately 6 training steps (Xu et al., 13 Jan 2026). The operational intent is selective forgetting: the model should sharply suppress the original values 7 on keys 8 while maintaining general utility on ordinary instructions.
This formulation distinguishes ForgetMark from fingerprints that directly encode a recognizably artificial behavior. The provenance signal is stored as a localized likelihood depression over naturally phrased prompts. That choice also explains why the framework emphasizes retention data: without an explicit counterweight, an unlearning-based fingerprint could collapse into general degradation rather than targeted suppression.
4. Probabilistic forgetting trace and verification
After adaptation, ForgetMark defines ownership through what it calls a probabilistic forgetting trace. For every fingerprint pair 9, the adapted model is expected to assign dramatically reduced probability to the original continuation:
0
Verification is supported under two access regimes. In the gray-box protocol, the verifier queries each key 1 and directly reads out 2 from the suspect model 3. In the black-box protocol, the verifier samples a continuation 4 from 5 and computes 6. These signals are aggregated into the Fingerprint Success Rate:
7
The reported thresholds are 8 and 9, calibrated to yield approximately zero false positives. Ownership is declared if 0, with 1 given as an example (Xu et al., 13 Jan 2026).
The gray-box and black-box variants are also reported separately as 2 and 3. The central point is that verification does not require the suspect model to emit a specific string. It is sufficient that the model consistently fails, in either likelihood or semantics, to reproduce the original high-confidence continuation on the selected keys.
5. Reported empirical properties
The main experiments use Mistral-7B-v0.3, LLaMA-3-8B, and Qwen2.5-7B as target models; GPT-4 as the assistant model; 4 candidate keys; 5 continuations per key; 6 final fingerprint pairs; and an Alpaca retention set of size 7 (Xu et al., 13 Jan 2026). Evaluation spans effectiveness, harmlessness, input-level stealth, output stealth, and robustness under model merging and incremental fine-tuning.
| Aspect | ForgetMark result | Context |
|---|---|---|
| Clean fingerprinted models | 8, 9 | Compared with IF-SFT and Chain·Hash |
| Qwen2.5-7B harmlessness | 0 | Original model: 1 |
| Input stealth, GPT-2 PPL | 2 | IF-SFT: 3, Chain·Hash: 4 |
| Input stealth, LLaMA3 estimator PPL | 5 | IF-SFT: 6, Chain·Hash: 7 |
| Output stealth | Token-Forcing detection rate 8 | IF-SFT: 9, Chain·Hash: 0 |
On clean fingerprinted models, ForgetMark reports 1 and 2, matching IF-SFT on raw success rate and exceeding Chain·Hash, which reports 3 on both metrics. On Qwen2.5-7B, the zero-shot accuracy averaged over 18 benchmarks declines from 4 for the original model to 5 after ForgetMark embedding. The benchmarks listed are ANLI, ARC, OpenBookQA, Winogrande, QC, BoolQ, CB, RTE, WiC, WSC, CoPA, MultiRC, and LAMBADA within the reported 18-benchmark average (Xu et al., 13 Jan 2026).
The stealth metrics are particularly central to the method’s positioning. Input-level stealth, measured by external perplexity estimators, yields 6 under GPT-2 and 7 under LLaMA3-Instruct, compared with IF-SFT at 8 and 9, and Chain·Hash at 0 and 1. Output-level stealth, measured by Token-Forcing detection, is reported as 2 for ForgetMark, compared with 3 for IF-SFT and 4 for Chain·Hash. This supports the claim that the forgetting trace is substantially less exposed to detector heuristics aimed at trigger-based fingerprints.
Robustness under model merging is reported with MergeKit under the Task merge strategy. For 5, 6, and 7, ForgetMark retains 8; at 9 it reports 0; and at 1 it reports 2. The accompanying summary states that ForgetMark sustains near-perfect FSR down to 3 (Xu et al., 13 Jan 2026). Under incremental fine-tuning on UltraChat using Mistral-7B, the reported trajectory is: at step 4, 5; at 6, 7; at 8, 9; and at 00, 01.
A second ablation studies the key-set size 02 on Qwen2.5. The reported values are:
- 03: harmlessness 04, average 05, ROUGE-L 06
- 07: harmlessness 08, average 09, ROUGE-L 10
- 11: harmlessness 12, average 13, ROUGE-L 14
- 15: harmlessness 16, average 17, ROUGE-L 18
The authors’ interpretation is that 19 offers a clear verification margin with only negligible utility drop. This suggests that the framework’s operating point depends not only on adapter capacity but also on the concentration of the selected behavioral manifold.
6. Relation to watermarking, removal, and terminological ambiguity
ForgetMark belongs to the broader provenance literature for generative models, but it occupies a distinct niche. In the language-model setting, it differs from statistical watermarking schemes such as the green-token/red-token formulation associated with "A Watermark for LLMs" (Kirchenbauer et al., 2023), and it also differs from recovery or stealing attacks such as "Watermark Stealing in LLMs" (Jovanović et al., 2024). A particularly direct contrast is "De-mark: Watermark Removal in LLMs" (Chen et al., 2024), which targets n-gram watermarks by estimating the red list, green list, watermark strength, and prefix length through random selection probing, then inverting the green-token boost to form a removal distribution. ForgetMark does not remove a watermark; it embeds ownership via targeted unlearning.
There is also a terminological ambiguity in contemporaneous image-provenance literature. In the MarkCleaner description, “ForgetMark” is used as a summary label for a watermark-removal capability that exploits micro-geometric perturbations to break the phase alignment of semantic watermarks (Kong et al., 2 Feb 2026). In the MarkSweep description, “ForgetMark” similarly denotes the capability to erase invisible image watermarks through edge-aware noise intensification and frequency-aware denoising (Cao et al., 17 Feb 2026). These usages are conceptually separate from the arXiv work titled "ForgetMark" (Xu et al., 13 Jan 2026). One concerns fingerprint embedding in LMs; the others concern watermark erasure in AI-generated images.
The principal limitations reported for ForgetMark are also different from those in watermark-removal systems. Its trace degrades under sufficient downstream fine-tuning, as shown by the UltraChat experiment, and its durability under extreme merge ratios is finite. The stated future directions are anti-recovery regularizers and rotating or refreshable fingerprints (Xu et al., 13 Jan 2026). This suggests that ForgetMark should be understood less as an immutable watermark and more as a stealth-oriented ownership signal whose persistence depends on post-deployment adaptation.