Carleton University
Can LLMs Leak Secrets? A Controlled Assessment of Memorization Risks in Enterprise and Government Fine-Tuning
Abstract
dc:description.abstractLarge language models are increasingly deployed in enterprise and government operations, where fine-tuning on internal data introduces risks of unintended memorization and disclosure of sensitive information. This thesis provides a controlled empirical study of memorization under Low-Rank Adaptation (LoRA), examining how exposure frequency and model scale influence extraction of structured secrets. Two Qwen2 models (1.5B and 7B parameters) were fine-tuned on parallel clean and secret-augmented corpora, with 144 synthetic secrets injected at 1×, 10×, and 100× exposure levels. Across twelve fine-tuning runs, memorization followed a sharp, exposure-dependent pattern: no model reproduced a secret seen once (0%), memorization emerged at 10× (~60%), and high-frequency secrets approached universal extraction (>99%). Model scale had negligible effect compared with exposure frequency, and false positives remained zero across all conditions. These findings indicate that confidentiality risk in LoRA fine-tuning can be managed upstream through dataset design.
Degree
thesis:*- Name thesis:degree_name
- Master of Arts (M.A.)
- Level thesis:degree_level
- Master's
- Discipline thesis:degree_discipline
- FLAG
- Grantor dc:publisher
- Carleton University
- Year dc:date.issued
- 2026
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Navoiy, Ori
Rights
dc:rights- Statement dc:rights
-
- Copyright © 2026 the author(s). Theses may be used for non-commercial research, educational, or related academic purposes only. Such uses include personal study, distribution to students, research and scholarship. Theses may only be shared by linking to the Carleton University Institutional Repository and no part may be copied without proper attribution to the author; no part may be used for commercial purposes directly or indirectly via a for-profit platform; no adaptation or derivative works are permitted without consent from the copyright owner.
- Language dc:language.iso
- en