# Embedding-Space Fingerprinting of LoRA Fine-Tunes: Recovering the Training-Data Domain from the Model Artifact Alone

LoRA fine-tuning 모델의 임베딩 공간 지문 분석: 모델 아티팩트만으로 학습 데이터 도메인 복원

Shivesh Rane · arXiv · 2026년 11월 5일

- **연구 문제** LoRA 어댑터만으로 학습 데이터의 도메인을 추론할 수 있는지를 묻는 연구입니다.
- **연구 방법** Qwen3.5-0.8B에 LoRA를 적용한 36개 fine-tuning에서 가중치, 활성화, 생성 출력 특징을 추출하고 데이터셋 단위 LODO로 도메인을 예측합니다.
- **주요 결과** 그레이박스 활성화(0.611)와 블랙박스 출력(0.639)은 우연 수준 0.20을 넘는 도메인 신호를 보였고, 화이트박스 가중치(0.417)는 군집 신뢰구간에서 우연과 구별되지 않았습니다.

## LoRA 산출물에서 학습 데이터 도메인을 읽을 수 있는가

LoRA로 미세조정한 모델을 배포할 때, 어댑터 파일만 주어졌을 때 그것이 어떤 종류의 데이터로 학습되었는지 알 수 있는지가 이 연구의 출발점입니다. 어댑터의 출처 감사나 학습 데이터 누출 탐지에 직접 관련되는 질문입니다.

기존 연구는 주로 데이터셋 소속 여부를 묻는 멤버십 추론이나 특정 데이터셋을 가정한 데이터셋 추론에 집중해 왔습니다. 본 논문은 후보 데이터가 없는 상태에서 도메인, 즉 의료·코드·수학·다국어·창작 같은 넓은 범주를 추론하는 것을 목표로 합니다.

핵심 질문은 세 가지입니다. RQ1은 어떤 데이터셋이 해당 fine-tuning을 만들었는지 재식별할 수 있는지를 묻고, RQ2는 학습에 쓰지 않은 데이터셋으로 만든 fine-tuning의 도메인을 맞힐 수 있는지, 즉 지문이 데이터셋 사이에서 일반화되는지를 묻습니다. RQ3은 접근 수준이 가중치, 활성화, 생성 출력 순으로 낮아질 때 이 신호가 얼마나 줄어드는지를 묻습니다.

## 기반 모델, fine-tuning 집단, 접근 수준별 특징

모든 fine-tuning은 하나의 기반 모델인 Qwen3.5-0.8B를 텍스트 전용으로 사용하며 4비트 NF4로 불러옵니다. 각 실행은 LoRA 랭크 16, α 32를 사용하고 고정 예산 1.5M 학습 토큰으로 한 에폭 학습하며, 데이터셋마다 시드 2개를 둡니다. 다섯 도메인에 속한 20개 예정 데이터셋 중 2개는 특징이 분류기에 전달되기 전에 제외되어 18개 데이터셋, 36회 fine-tuning이 남습니다. 저자들은 제외 이유를 계산 예산과 저장 형식으로 설명합니다.

특징은 접근 수준에 따라 나뉩니다. 화이트박스 특징은 LoRA 인자에서 계산합니다. 모듈별 ∆W의 노름과 상위 8개 특이값을 블록 유형별로 집계하고, 정규화된 층 프로파일과 전역 스칼라를 더합니다. 그레이박스 특징은 고정된 200개의 도메인 중립 프로브에 대해 층별 은닉 상태의 평균과 표준편차 곡선을 만든 뒤 고정 길이로 재표본합니다. 블랙박스 특징은 같은 프로브에 대한 탐욕 디코딩 결과에서 얻으며, 평균 예측 엔트로피와 응답 길이 통계, 해시 히스토그램, MiniLM 문장 임베딩의 중심을 포함합니다.

![Figure 2: t-SNE of the gray-box activation features, one point per fine-tune, colored by training-data domain](https://refivu.com/papers/041bf687-586c-4671-a7e3-1ae4d963ce84/figures/figure-ce1f6361cd040b13c05b4e74d8dc633a.png?thumb=512)

**Fig. 2** .t-SNE of the gray-box activation features, one point per fine-tune, colored by training-data domain.

[원문](https://arxiv.org/abs/2611.07610v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Shivesh Rane · Embedding-Space Fingerprinting of LoRA Fine-Tunes: Recovering the Training-Data Domain from the Model Artifact Alone · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

분류기는 각 접근 수준의 특징 위에 얹은 표준화 로지스틱 회귀이며, 기반 모델과 특징 추출 과정은 고정된 상태에서 LoRA 어댑터별 특징만 입력됩니다. 어댑터 학습과 분류기 학습은 서로 다른 단계이며, 분류기는 학습 데이터 자체에는 접근하지 않습니다.

## 데이터셋 단위 LODO 평가와 재식별 기준선

RQ2는 leave-one-dataset-out 프로토콜로 평가합니다. 한 데이터셋의 모든 실행을 제외하고 나머지 실행으로 분류기를 학습한 뒤, 제외된 데이터셋의 실행이 속한 도메인을 예측합니다. 이렇게 하면 같은 데이터셋의 시드가 학습과 평가에 함께 들어가지 않으므로, 예측은 같은 도메인의 다른 데이터셋에서 얻은 신호에만 의존합니다. 다섯 도메인의 우연 수준은 0.20입니다.

RQ1은 같은 데이터셋의 다른 시드를 제외하는 leave-one-seed-out으로 데이터셋 정체성을 예측합니다. 두 시드는 학습 부분표본을 공유하므로 예측이 독립적이지 않다는 점을 고려해, 데이터셋 단위로 전체를 재표본하는 군집 부트스트랩도 함께 보고합니다.

주요 결과에서 RQ2 정확도는 화이트박스 0.417, 그레이박스 0.611, 블랙박스 0.639입니다. 그레이박스와 블랙박스의 행 단위 및 군집 단위 신뢰구간은 모두 우연 수준을 넘지만, 화이트박스는 행 단위 구간만 우연 수준을 벗어나고 군집 구간 0.194–0.639는 우연 수준을 포함합니다. RQ1 재식별 정확도는 화이트박스와 그레이박스에서 1.000, 블랙박스에서 0.944입니다. 저자들은 이 높은 RQ1 정확도가 도메인 학습이 아니라 특정 학습 집합의 흔적을 보여 준다고 해석합니다.

![Table 2: Frozen LODO results (36 runs). RQ2 predicts the domain of a fine-tune from datasets never seen in training (chance = 0.20); the row CI resamples indi…](https://refivu.com/papers/041bf687-586c-4671-a7e3-1ae4d963ce84/figures/figure-c5289542348af24d74797c6cf5431d3d.png?thumb=512)

**Table 2** . Frozen LODO results (36 runs). RQ2 predicts the domain of a fine-tune from datasets never seen in training (chance = 0.20); the row CI resamples individual predictions and the clustered CI resamples whole datasets. RQ1 re-identifies the dataset across seeds (chance = 0.056).

[원문](https://arxiv.org/abs/2611.07610v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Shivesh Rane · Embedding-Space Fingerprinting of LoRA Fine-Tunes: Recovering the Training-Data Domain from the Model Artifact Alone · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.

## 접근 수준별 신호와 텍스트 전용 점검

그레이박스 활성화 특징과 블랙박스 출력 특징은 모두 우연 수준을 넘는 도메인 정보를 담고 있었습니다. 화이트박스 가중치 통계는 행 단위 구간에서만 우연을 넘었습니다. 따라서 가중치 중심의 가설이 예상한 단조 감쇠(white\>gray\>black)는 이 데이터에서 지지되지 않았고, 저자들은 손으로 설계한 가중치 특징이 특이 방향을 버리는 것이 원인일 가능성을 제시합니다.

![Figure 1: RQ2 leave-one-dataset-out domain accuracy by access level, with bootstrap 95% CIs. The dashed line is chance (0.20)](https://refivu.com/papers/041bf687-586c-4671-a7e3-1ae4d963ce84/figures/figure-3486341a794506da716c4af510c8305b.png?thumb=512)

**Fig. 1** .RQ2 leave-one-dataset-out domain accuracy by access level, with bootstrap 95% CIs. The dashed line is chance (0.20).

[원문](https://arxiv.org/abs/2611.07610v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Shivesh Rane · Embedding-Space Fingerprinting of LoRA Fine-Tunes: Recovering the Training-Data Domain from the Model Artifact Alone · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

혼동 행렬에서는 활성화 특징이 의료와 창작 도메인을 서로 자주 혼동했고, 출력 특징에서는 그 혼동이 줄어드는 대신 코드와 수학 사이의 혼동이 가장 큰 잔여 오류로 나타났습니다. 두 접근 수준은 서로 다른 도메인 쌍에서 실패하므로 보완적인 정보를 담는 것으로 해석됩니다.

![Figure 3: Pooled LODO confusion matrices for gray-box activations (left) and black-box outputs (right). Rows are true domains, columns predicted domains](https://refivu.com/papers/041bf687-586c-4671-a7e3-1ae4d963ce84/figures/figure-c4c067456b9749de92ec43eac2e13a15.png?thumb=512)

**Fig. 3** .Pooled LODO confusion matrices for gray-box activations (left) and black-box outputs (right). Rows are true domains, columns predicted domains.

[원문](https://arxiv.org/abs/2611.07610v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Shivesh Rane · Embedding-Space Fingerprinting of LoRA Fine-Tunes: Recovering the Training-Data Domain from the Model Artifact Alone · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

텍스트 전용 점검에서는 토큰 확률에서 얻는 엔트로피 3개 특징을 제외하고 452차원 특징만으로 계산했습니다. 같은 36회 실행에서 LODO 정확도는 0.639로 주요 블랙박스 결과와 같았고, 384차원 MiniLM 중심만 쓰면 0.611이었습니다. 이 점검은 블랙박스 신호가 생성 텍스트의 의미 내용에서 크게 나온다는 점을 보여 주지만, 토큰 확률 특징이 전혀 기여하지 않는다는 뜻은 아닙니다.

## 적용 범위와 남은 한계

이 결과는 하나의 0.8B 하이브리드 비전-언어 기반 모델과 LoRA에서 얻은 것입니다. 다른 아키텍처, 더 큰 규모, 전체 fine-tuning으로의 전이는 이 연구에서 검증하지 않았습니다. 36회 주요 실행의 신뢰구간은 넓으며, 특히 화이트박스 정확도는 군집 부트스트랩 기준으로 우연 수준과 구별되지 않습니다.

데이터셋 구성에도 제약이 있습니다. camel-ai/math는 계산 예산 안에서 로드할 수 없어 제외되었고, 일본어 데이터셋도 예산 때문에 제외되었습니다. 그 결과 수학과 다국어 도메인은 각각 3개 데이터셋으로 구성됩니다. 주요 실험에서 PubMedQA 시드 0은 1.5M 대신 2.0M 토큰으로 학습되었지만, 1.5M으로 재실행해도 RQ2 정확도는 같았다고 보고됩니다.

fine-tuning 집단 외에도 도메인은 의도적으로 잘 분리된 범주이므로, 의료 세부 분야처럼 더 미세한 구분은 더 어려울 가능성이 있습니다. 이 논문이 확인한 것은 넓은 다섯 도메인에 대한 데이터셋 단위 일반화입니다.

## 논문 정보

- **저자**: Shivesh Rane
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2026년 11월 5일
- **등록일**: 2026년 11월 6일
- **수정일**: 2026년 11월 5일
- **버전**: v1
- **arXiv**: 2611.07610
- **분류**: cs.AI · cs.CL · cs.LG
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2611.07610v1) · [원문 PDF ↗](https://arxiv.org/pdf/2611.07610v1)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

When a base language model is fine-tuned with Low-Rank Adaptation (LoRA), how much of the training data domain leaks into the resulting artifact? This paper studies whether a simple classifier can recover the domain of a fine-tune given only the model artifact (weight deltas, internal activations on a fixed probe set, or generated text) without ever observing the training data. Using one base model (Qwen3.5-0.8B), 36 LoRA fine-tunes are produced over 18 public datasets in five domains (medical, code, mathematics, non-English text, narrative prose), and three feature families are extracted at decreasing levels of access: white-box weights, gray-box activations, and black-box outputs. A leave-one-dataset-out (LODO) protocol, frozen before any result was seen, tests whether the domain of a fine-tune trained on a previously unseen dataset can be identified. The domain is recoverable well above chance (20%) from gray-box activations (61%) and black-box outputs (64%); white-box weight statistics reach 42%. Contrary to the pre-registered hypothesis that signal decays monotonically from weights to activations to outputs, activations and outputs were more informative than the weight-delta statistics. The black-box result holds unchanged (64%) when only generated text is used, without token probabilities. Domain accuracy is also stable when a third run per dataset is trained on an independently drawn data subsample, and black-box predictions are unaffected by the LoRA rank (8-64). All code and per-run feature vectors are released.

## 원문 인용

Shivesh Rane (2026). Embedding-Space Fingerprinting of LoRA Fine-Tunes: Recovering the Training-Data Domain from the Model Artifact Alone. arXiv:2611.07610v1. https://arxiv.org/abs/2611.07610v1

**BibTeX**

```
@misc{rane2026embedding,
  title = {{Embedding-Space Fingerprinting of LoRA Fine-Tunes: Recovering the Training-Data Domain from the Model Artifact Alone}},
  author = {Shivesh Rane},
  year = {2026},
  eprint = {2611.07610},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.07610v1}
}
```

## 이 논문의 용어

- [LoRA](https://refivu.com/terms/84da7a415b66-low-rank-adaptation-lora)
- [Macro-F1](https://refivu.com/terms/bac7d2670b4d-macro-f1)
- [Frobenius norm](https://refivu.com/terms/8b20cfffe432-frobenius-norm)
- [Sentence-BERT](https://refivu.com/terms/d6d621f36962-sentence-bert)
- [all-MiniLM-L6-v2](https://refivu.com/terms/c1e46ed7d7e4-all-minilm-l6-v2)
- [Qwen3.5-0.8B](https://refivu.com/terms/13dbb2c75207-qwen3-5-0-8b)
- [clustered bootstrap](https://refivu.com/terms/ec61dbad8e09-clustered-bootstrap)
- [leave-one-dataset-out](https://refivu.com/terms/e6f8e55ecc45-leave-one-dataset-out)
- [NF4 quantization](https://refivu.com/terms/7c944cc919e4-nf4-quantization)
- [White-Box](https://refivu.com/terms/f7a5e8528fd4-white-box)

## 다른 논문 해설

- [English Calibration Erodes Lithuanian in Expert-Pruned Mixture-of-Experts Language Models](https://refivu.com/papers/4969f6a5-ac8a-49dd-a0fa-6669fdc3a2c9-english-calibration-erodes-lithuanian-in-expert-pruned.md)
- [From What Is Used to What Is Missing: Rethinking Dynamic Rank in LoRA](https://refivu.com/papers/f1077c94-b406-4ccf-a0cb-a2c2eafb4034-from-what-is-used-to-what-is-missing.md)
- [Efficient Closure Learning in Dynamical Systems: A Comparison of Data-Assimilated and Embedded Approaches](https://refivu.com/papers/1111e81a-ea62-4c7c-95b6-311134d3988f-efficient-closure-learning-in-dynamical-systems-a-comparison.md)
- [Recursive Sparse Attention: Million-Token Length Extrapolation at Logarithmic Cost](https://refivu.com/papers/52b7aea9-2772-4644-a4cb-a6d6ac47343e-recursive-sparse-attention-million-token-length.md)
- [FedAUX: Leveraging Unlabeled Auxiliary Data in Federated Learning](https://refivu.com/papers/57a30769-7337-40d5-a893-ad0327399396-fedaux-leveraging-unlabeled-auxiliary-data-in-federated.md)
- [Opportunities of Federated Learning in Connected, Cooperative and Automated Industrial Systems](https://refivu.com/papers/89e8abf3-ce47-4c58-b573-96854872a424-opportunities-of-federated-learning-in-connected-cooperative.md)
- [Change the Funnel, Not Who May Submit: Engineering Peer Review for the Flood](https://refivu.com/papers/c4c6487e-433a-4b39-9a09-9335c1fedf98-change-the-funnel-not-who-may-submit-engineering.md)
- [Beneath the Surface: What We Overlook When We Talk About Agent Evolution](https://refivu.com/papers/5dad123f-9ec8-40d0-b769-0fed8bfce880-beneath-the-surface-what-we-overlook-when-we.md)
- [Evaluating Token Probabilities as Confidence Estimators in Human Behavior Simulations: A Case Study in Luxembourgish Next Like Prediction](https://refivu.com/papers/721697d6-a796-4857-b5eb-1a474366cd5c-evaluating-token-probabilities-as-confidence-estimators-in.md)
- [Different Corpora, Different Skills? A Paired Study of Small Language Models](https://refivu.com/papers/92415e72-d2fa-4387-aaaf-fa025de3e11c-different-corpora-different-skills-a-paired-study-of.md)
- [Estimating Spectrum-Free Information Bounds for Generative Surrogates Beyond Conditional Collapse](https://refivu.com/papers/cc8bbe44-c097-4cb8-aa2d-d619578120ae-estimating-spectrum-free-information-bounds-for-generative.md)
- [PhySA: Decoupling Aesthetic and Physical Rewards for Humanoid Locomotion](https://refivu.com/papers/9a5f3ed2-eecf-46bf-8945-7d2b6aee6e6f-physa-decoupling-aesthetic-and-physical-rewards-for-humanoid.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/041bf687-586c-4671-a7e3-1ae4d963ce84-embedding-space-fingerprinting-of-lora-fine-tunes-recovering)
