Towards Building Non-Fine-Tunable Foundation Models
Ziyao Wang, Nizhang Li, Pingzhi Li, Guoheng Sun, Tianlong Chen, Ang Li
TL;DR
This work tackles the challenge of open-sourcing foundation models by introducing Private Mask Pre-Training (PMP), a pre-training paradigm that concentrates learning into a private sparse subnetwork defined by a binary mask $M$ with sparsity $\\rho$. The mask is discovered via an Early-Bird lottery ticket, kept private, and used to restrict updates to $\\theta_M$ during pre-training; only the final dense weights are released, forcing unauthorized fine-tuning to operate in a geometry misaligned with pre-training. The authors provide a theoretical argument showing an intrinsic optimization mismatch that destabilizes unauthorized updates, and they validate PMP empirically on LLM-scale models showing preserved base performance and degraded unauthorized fine-tuning across tasks, with a tunable non-fine-tunability via the mask ratio. Authorized fine-tuning with access to the mask improves adaptation relative to unauthorized tuning, while maintaining practical utility. Overall, PMP reframes non-fine-tunability as a pre-training-level property that enables safer open deployment of foundation models without requiring knowledge of downstream data.
Abstract
Open-sourcing foundation models (FMs) enables broad reuse but also exposes model trainers to economic and safety risks from unrestricted downstream fine-tuning. We address this problem by building non-fine-tunable foundation models: models that remain broadly usable in their released form while yielding limited adaptation gains under task-agnostic unauthorized fine-tuning. We propose Private Mask Pre-Training (PMP), a pre-training framework that concentrates representation learning into a sparse subnetwork identified early in training. The binary mask defining this subnetwork is kept private, and only the final dense weights are released. This forces unauthorized fine-tuning without access to the mask to update parameters misaligned with pretraining subspace, inducing an intrinsic mismatch between the fine-tuning objective and the pre-training geometry. We provide theoretical analysis showing that this mismatch destabilizes gradient-based adaptation and bounds fine-tuning gains. Empirical results on large language models demonstrating that PMP preserves base model performance while consistently degrading unauthorized fine-tuning across a wide range of downstream tasks, with the strength of non-fine-tunability controlled by the mask ratio.
