From Measurement to Mitigation: Quantifying and Reducing Identity Leakage in Image Representation Encoders with Linear Subspace Removal
Organizations: Persona Identities, USA
Abstract
Frozen visual embeddings (e.g., CLIP, DINOv2/v3, SSCD) power retrieval and integrity systems, yet their use on face-containing data is constrained by unmeasured identity leakage and a lack of deployable mitigations. We take an attacker-aware view and contribute: (i) a benchmark of visual embeddings that reports open-set verification at low false-accept rates, a calibrated diffusion-based template inversion check, and face-context attribution with equal-area perturbations; and (ii) propose a one-shot linear projector that removes an estimated identity subspace while preserving the complementary space needed for utility, which for brevity we denote as the identity sanitization projection ISP. Across CelebA-20 and VGGFace2, we show that these encoders are robust under open-set linear probes, with CLIP exhibiting relatively higher leakage than DINOv2/v3 and SSCD, robust to template inversion, and are context-dominant. In addition, we show that ISP drives linear access to near-chance while retaining high non-biometric utility, and transfers across datasets with minor degradation. Our results establish the first attacker-calibrated facial privacy audit of non-FR encoders and demonstrate that linear subspace removal achieves strong privacy guarantees while preserving utility for visual search and retrieval.
Figures & tables
| Dataset | Model | RAW | ISP-W | ISP-X | RAW | ISP-W | ISP-X | RAW | ISP-W | ISP-X |
|---|---|---|---|---|---|---|---|---|---|---|
| CelebA-20 | DINOv2 | 4.5% | 3.5% | 3.7% | 5.5% | 3.9% | 3.9% | 5.7% | 4.4% | 4.2% |
| DINOv3 | 4.5% | 2.1% | 1.9% | 6.7% | 2.4% | 2.2% | 6.8% | 2.8% | 2.5% | |
| CLIP | 16.4% | 11.9% | 10.9% | 19.7% | 15.4% | 10.6% | 19.8% | 13.0% | 10.2% | |
| SSCD | 6.6% | 3.6% | 3.4% | 8.4% | 3.9% | 3.9% | 9.8% | 4.4% | 4.5% | |
| ArcFace | 93.7% | — | — | 94.0% | — | — | 94.0% | — | — | |
| Model | -NN Top-1 | Linear Probe Top-1 | ||
|---|---|---|---|---|
| ISP | LEACE | ISP | LEACE | |
| DINOv2 | 100.1% | 100.0% | 99.2% | 99.3% |
| DINOv3 | 97.3% | 97.4% | 93.5% | 93.4% |
| CLIP | 98.3% | 98.5% | 100.7% | 105.6% |
| SSCD | 85.4% | 85.7% | 83.3% | 82.6% |
Appendix figures & tables9 assets
Supplementary material from the paper’s appendix.
Appendix
| Dataset | Test IDs | Mated | Impostor | Min. FAR |
|---|---|---|---|---|
| CelebA-20 | 80 | 15,200 | ||
| VGGFace2-20 | 80 | 15,200 | ||
| LFW-20 | 13 | 78 | 1,326 |
| RAW | ISP-W | |||||
|---|---|---|---|---|---|---|
| Model | =1 | =4 | =16 | =1 | =4 | =16 |
| DINOv2 | 19.5 | 6.4 | 9.5 | 0.0 | 0.0 | 0.0 |
| DINOv3 | 11.5 | 0.8 | 6.7 | 0.0 | 10.3 | 2.1 |
| CLIP | 55.6 | 40.8 | 9.0 | 10.8 | 15.4 | 0.0 |
| SSCD | 2.3 | 14.1 | 0.0 | 2.1 | 0.0 | 0.5 |
| ArcFace | 87.4 | 82.1 | 73.9 | — | — | — |
| Dataset | Model | |||||
|---|---|---|---|---|---|---|
| CelebA-20 | DINOv2 | 4.1 | 3.7 | 2.9 | 1.3 | 1.5 |
| DINOv3 | 6.2 | 2.3 | 1.4 | 1.0 | 1.5 | |
| SSCD | 2.9 | 1.4 | 1.5 | 0.6 | 1.0 | |
| CLIP | 7.3 | 6.6 | 6.7 | 5.7 | 3.5 | |
| VGGFace2-20 | DINOv2 | 3.1 | 3.5 | 3.1 | 2.7 | 2.2 |
| DINOv3 | 2.9 | 2.5 | 1.0 | 2.2 | 1.5 |
| Model | ||||
|---|---|---|---|---|
| DINOv2 | 1.5 | 1.9 | 2.9 | 2.7 |
| DINOv3 | 1.5 | 5.4 | 4.0 | 3.9 |
| SSCD | 1.0 | 1.3 | 1.7 | 1.7 |
| CLIP | 3.5 | 6.7 | 6.7 | 1.5 |
| Bob | Vec2Face | ALSUV | ||||
|---|---|---|---|---|---|---|
| Encoder | RAW | +ISP | RAW | +ISP | RAW | +ISP |
| CLIP | 6.0 | 6.5 | 5.0 | 5.0 | 7.0 | 2.0 |
| DINOv2 | 7.0 | 8.5 | 4.0 | 5.0 | 1.0 | 2.0 |
| DINOv3 | 8.5 | 7.5 | 5.0 | 5.0 | 1.0 | 0.0 |
| SSCD | 9.0 | 5.5 | 3.0 | 3.0 | 1.0 | 0.0 |
| Type | Model | Pre-ISP | Post-ISP | ||||
|---|---|---|---|---|---|---|---|
| Non-FR | DINOv2 | 1.4 | 2.2 | 3.8 | 0.0 | 0.8 | 0.4 |
| DINOv3 | 2.2 | 3.4 | 5.9 | 0.5 | 0.3 | 0.9 | |
| SSCD | 2.4 | 3.9 | 5.8 | 0.8 | 1.1 | 0.7 | |
| CLIP | 18.3 | 22.9 | 26.9 | 1.6 | 1.8 | 0.5 | |
| FR | ArcFace | 91.9 | 90.9 | 92.8 | — | ||
| Type | Model | Pre-ISP | Post-ISP | ||||
|---|---|---|---|---|---|---|---|
| Non-FR | DINOv2 | 0.2 | 0.4 | 0.9 | 0.0 | 0.0 | 0.0 |
| DINOv3 | 0.2 | 0.7 | 0.9 | 0.0 | 0.0 | 0.0 | |
| SSCD | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | |
| CLIP | 1.3 | 2.4 | 2.3 | 0.0 | 0.0 | 0.0 | |
| FR | ArcFace | 89.3 | 89.3 | 89.3 | — | ||
| Metric | ISP | LEACE |
|---|---|---|
| Recall@1 | 95.0% | 95.1% |
| Recall@5 | 96.5% | 96.4% |
| Recall@10 | 96.0% | 96.1% |
| System | Direction | Accept | Flip | Joint |
|---|---|---|---|---|
| DINOv2 | 96.8% | 14.6% | 14.0% | |
| + ISP ( ) | 96.2% | 30.2% | 28.8% | |
| DINOv2 | 98.4% | 14.6% | 14.4% | |
| + ISP ( ) | 98.2% | 26.6% | 26.2% | |
| DINOv3 | 99.6% | 13.0% | 12.8% | |
| + ISP ( ) | 100.0% | 17.8% | 17.8% |
Privacy-Preserving ML
Privacy-preserving machine learning develops methods to learn, share, and run models while limiting exposure of sensitive data.
See all 432 papers