Scalable shared model governance through model splittingScaling shared model governance via model splitting
DeepMind proposes using model splitting to achieve shared model governance and empirically studies its security upper bound—the model completion problem: on ImageNet, Atari, and DeepMind Lab, recovering 100% performance requires about 40% of the original training cost.
Under model splitting, the adversary (the party holding the model) can access everything except the missing parameters held by the other party, including the entire training dataset or environment simulator; the adversary's goal is to retrain the missing part and recover the model's original performance. The security guarantee is upper-bounded by the difficulty of the model completion problem.
- Multiple parties want to jointly govern a deep learning model so that every forward and backward pass requires the consent of all parties, but homomorphic encryption and secure multi-party computation have overheads too large to be used for large-model training. The authors propose model splitting as a scalable alternative, whose security depends on how hard it is for an adversary to retrain the missing parameters.
- The authors formally define the model completion problem: given all training data or the environment simulator and some trained parameters, how much training is needed to retrain the missing layers and recover the original performance; they propose the MC-hardness metric (the ratio of the fastest retraining cost to the original training cost) and use four retraining procedures T1–T4 to estimate its upper bound in SL and RL.
- Experiments on AlexNet, ResNet50 (ImageNet) and A3C, Rainbow (Atari), IMPALA (DeepMind Lab): restoring 100% performance takes about 40% of the original training cost in many settings; residual networks are easier to complete than non-residual networks; RL models are harder to complete than SL models; the absolute number of parameters has little effect; Rainbow is easier to complete when the replay buffer is retained.
- The authors note that the results are only an upper bound on difficulty and that faster retraining procedures may exist; the adversary may also access historical activations or inject their own training data, and the security properties of model splitting require further study; several phenomena (such as the layer-position effect being weaker on Rainbow and AlexNet, and why the number of parameters is not critical) remain unexplained.
- Evaluated models
- AlexNetResNet50A3CRainbowIMPALA
- Benchmarks
- ImageNetAtari 2600DeepMind Lab
- Metrics
- MC-hardness(α)top-1 error rateepisodic return
The researchers propose splitting a deep learning model among multiple parties as a scalable technique for shared model governance, and note that homomorphic encryption and secure multi-party computation are unsuitable for training large neural networks due to excessive computation and communication overhead. The paper defines the model completion problem as a measure of the security guarantee: given the complete training dataset or an environment simulator and a subset of the parameters of a trained model, how much training is needed to recover the model's original performance. Experiments on ImageNet supervised learning and Atari and DeepMind Lab reinforcement learning show that model completion is harder in reinforcement learning than in supervised learning, because trajectories of the trained agent cannot be obtained; its difficulty depends mainly not on the number of missing parameters, but more on the types and locations of those parameters. The results indicate that in some scenarios where training cost is very high, model splitting may be a feasible technique for shared model governance.
Paper analysis
What problem does this paper attempt to solve?
How to achieve shared model governance in a scalable way; the authors propose model splitting and reduce its security to the difficulty of the model completion problem.
Core question: how can two or more parties jointly govern a deep learning model so that every forward (inference) and backward (training) pass requires the consent of all parties, and the method can scale to large-model training.
- Problem setting and motivation: The authors state that as models are trained on more data, especially in continual learning over months or even years, models accumulate value and become easier to steal, requiring technical means to monitor and enforce control over the model.
- Shortcomings of existing methods: The authors state that currently shared model governance has only two classes of techniques, homomorphic encryption (HE) and secure multi-party computation (MPC), but the overhead per multiplication is too large—HE computational overhead >1000x, MPC >24x, plus space and communication overhead—so they are not applicable to training large neural networks.
- Method proposed in the paper: model splitting, distributing model parameters among multiple parties, each holding a disjoint subset; the authors state its computational overhead is small and communication overhead is controllable, but the security guarantee is upper-bounded by the difficulty of the model completion problem.
- Core research question (model completion): given the entire training dataset or environment simulator, and a subset of the parameters of a trained model, how much training is needed to recover the model's original performance? The paper formally defines this problem, proposes a difficulty metric, and studies it empirically in SL and RL.
- Threat model:
- Adversary's goal: recover the missing parameter portion held by the other party so that the model recovers its original performance.
- Adversary's knowledge: the authors assume the adversary can access everything except the missing parameters, including the entire training dataset or environment simulator.
- Adversary's capability: retrain the missing part using available retraining procedures.
- Victim system: a deep learning model distributed among multiple parties via model splitting (e.g., Alice holds the first layer, Bob holds the remaining layers).
What related research exists?
Related work falls into two lines: phenomena related to model completion (pretraining, pruning, transfer, distillation) and shared model governance techniques (HE, MPC).
Phenomena related to model completion
- Unsupervised pretraining (Hinton et al., 2006; Erhan et al., 2010): first train the lower layers with an unsupervised reconstruction loss, then do a second pass of training with a supervised loss; the authors state the second pass can be viewed as model completion.
- Pruning (LeCun et al., 1990; Changpinyo et al., 2017; Molchanov et al., 2017): can be viewed as the inverse operation of model completion; the paper notes that these works consider only removing parts of the model laterally, and their finding that "lower layers are more important" is consistent with this paper. The lottery ticket hypothesis of Frankle and Carbin (2018) holds that only a small subnetwork is critical, and the authors state that the completion problem for that subnetwork is trivial by definition.
- Transfer learning and distillation: model completion can be viewed as transfer learning to the same task sharing only some parameters (Parisotto et al., 2015; Teh et al., 2017); some experimental settings in Yosinski et al. (2014) are the same as this paper's and the results are consistent, but they did not measure completion difficulty. Distillation (Bucilua et al., 2006; Hinton et al., 2015, etc.) can be understood as the "reverse" of model completion.
Shared model governance
- Homomorphic encryption (HE) (Rivest et al., 1978): allows computation on encrypted numbers, enabling a model to be trained in encrypted form by an untrusted third party; has been applied on small datasets such as MNIST and Wisconsin Breast Cancer (Gilad-Bachrach et al., 2016; Graepel et al., 2012). The authors point out its high computational overhead.
- Secure multi-party computation (MPC) (Yao, 1982; Damgård et al., 2012): values are split into shares distributed among multiple parties, each party computes on its shares, and the results are combined and reconstructed; has been used on MNIST and others (Mohassel and Zhan, 2017; Dahl, 2017; Wagh et al., 2018). The authors point out its lower computational overhead but greater communication overhead.
- Security properties of the two: the authors state that HE provides cryptographic security based on hard problems, and MPC provides information-theoretic guarantees when the participating parties (3 or more) do not collude.
Positioning of this paper
The authors state that HE and MPC cannot scale to training large neural networks due to excessive overhead; model splitting provides shared governance with minimal computation and controllable communication overhead, but does not provide the strong security guarantees of HE/MPC, and its security guarantee is upper-bounded by the difficulty of the model completion problem studied in this paper. The paper has no baseline comparison experiments; the comparison is made at the conceptual level.
How does the paper address this problem?
Formally define the model completion problem and the MC-hardness metric, and empirically estimate an upper bound on completion difficulty on multiple models using four retraining procedures.
Overall idea: reduce the security of model splitting to the difficulty of the model completion problem—the ratio of the training amount an adversary needs to retrain the missing parameters and recover the original performance to the original training cost—and empirically estimate an upper bound on this difficulty using a small number of retraining procedures.
Problem setting and formalization
- Two settings: in supervised learning the model is evaluated by the test loss L(θ); in reinforcement learning the agent maximizes episode return in an environment, and the unified notation sets L(θ) equal to the negative expected episode return.
- Training cost: assume training consists of discrete steps (one minibatch for SL, one environment step for RL), with the cost per step approximately constant, and measure cost in training steps. The training cost is CT(ℓ) := argmini∈ℕ {L(θi) ≤ ℓ}, i.e., the number of steps needed for the loss to first fall below the threshold ℓ.
- Model completion: after training for N steps, split the parameters θN into two disjoint subvectors θN₁ and θN₂ (e.g., θN₂ is all the parameters of one layer); given θN₁ but not θN₂, recover a model with loss no greater than L(θN) (Figure 1).
Difficulty metric MC-hardness
- Retraining starting point: θ0′ = [θ0′₁, θ0′₂], where θ0′₁ are the retained trained parameters and θ0′₂ are the reinitialized parameters; a procedure T′ is chosen from the set of available retraining procedures T and executed.
- Partial completion threshold: ℓα = αℓ + (1−α)L(θ0), α ∈ [0,1], representing the relative progress from the untrained loss to the best loss ℓ*; α=1 means recovering the original best performance.
- Core definition: MC-hardnessT(α) := infT′∈𝒯 E[(CT′(ℓ∗α))/(CT(ℓ∗α))], i.e., the ratio of the expected completion cost of the fastest retraining procedure to the cost of the original training to reach the same threshold. The value lies between 0 and 1; it is a relative quantity, so results such as MC-hardness(0.8) being less than MC-hardness(0.5) can occur.
Retraining procedures (set T)
- T1 joint optimization: repeat the original training procedure T on the retained parameters θ0′₁ and the reinitialized parameters θ0′₂, optimizing all trainable variables; hyperparameters such as the learning rate can be adjusted, and the model architecture is fixed.
- T2 train only the missing part: freeze θ0′₁ and train only the reinitialized θ0′₂.
- T3 overparameterize the missing layer: on top of T1, give the missing layer more parameters (e.g., replace one convolutional layer with two), based on the idea that overparameterization speeds up learning, consistent with the lottery ticket hypothesis.
- T4 different initialization scheme: same as T1, but θ0′₂ uses glorot normal, msra, or caffe initialization (T1 defaults to glorot uniform).
- The authors emphasize that this is only an empirical estimate: all retraining procedures cannot be enumerated, so the results are only an upper bound on model completion difficulty, and faster retraining procedures very likely exist.
Experimental procedure
- First train the model to the target performance (not necessarily SOTA), then reinitialize the specified layer, execute the retraining procedure, and measure the number of steps needed to reach each α threshold.
- Each experiment uses 3 seeds, with 5 seeds for IMPALA and 10 seeds for A3C; to reduce noise, Atari games and DeepMind Lab levels on which the original trained agent performed poorly are filtered out.
What experiments did the paper conduct?
Measure MC-hardness after reinitializing each layer on AlexNet, ResNet50 (ImageNet) and A3C, Rainbow (Atari), IMPALA (DeepMind Lab).
Experimental setup
- Models tested: AlexNet, ResNet50 (supervised learning); A3C, Rainbow, IMPALA (reinforcement learning), 5 in total.
- Datasets/environments: ImageNet (SL); Atari 2600 (A3C on average 44 games, Rainbow on average 54 games, both excluding games on which the original agent performed poorly); DeepMind Lab (IMPALA trained jointly on 28 levels, 2 excluded).
- Metric: MC-hardness(α), with α taking 1.0, 0.9 (some models), 0.8, 0.5; the test loss for SL is the test-set top-1 error rate, and for RL the negative expected episode return.
- Retraining procedures: T1 and T2 for all models; T3 and T4 additionally for A3C. SL retraining used a different learning rate schedule (the AlexNet retraining schedule is 50% faster than training, Appendix A Table 1–2), and RL hyperparameters were the same as in training.
- Training amounts and seeds: AlexNet trained for 120e3 batches (batch 256); ResNet50 trained for 60e3 batches (batch 64); A3C 5e7 steps per game, 10 seeds; Rainbow 20e6 frames per game, 3 seeds; IMPALA 1 billion steps in total, 5 seeds, using population based training (population 12).
- Reporting of results: Figures 2–6 in the main text are bar charts (error bars are standard deviation across seeds), and the specific values are in Appendix C (Median/Mean/SD/Min/Max).
Main results
Median MC-hardness of each model when recovering 100% of the original performance (α=1.0) (from Appendix C, T1 procedure):
Swipe horizontally to read the table
Model (environment) Layers T1 T2 AlexNet (ImageNet) Conv 1–Linear 2 0.39–0.44 all 1.00 ResNet50 (ImageNet) Conv 1–Logits 0.34–0.36 all 1.00 A3C (Atari) Conv 1 / Conv 2 / Conv 3 / Linear / P / V 0.92 / 0.65 / 0.39 / 0.33 / 0.29 / 0.11 0.66 / 0.47 / 0.42 / 0.42 / 0.39 / 0.25 Rainbow (Atari, buffer reset) Conv 1 / Conv 2 / Conv 3 0.71 / 0.70 / 0.70 1.00 / 1.00 / 0.88 Rainbow (Atari, buffer kept) Conv 1 / Conv 2 / Conv 3 0.52 / 0.39 / 0.39 0.90 / 0.63 / 0.59 IMPALA (DeepMind Lab) S1C1 / S2C1 / S3C1 / Linear / LSTM 0.44 / 0.41 / 0.51 / 0.49 / 0.39 0.65 / 0.65 / 0.51 / 0.67 / 0.41 - T1 is best in most cases: the authors report that T1 outperforms T2 in most settings, with two exceptions: for A3C, from the third convolutional layer onward T2 is lower at all thresholds (Figure 4); for ResNet50, at α ≤ 0.9 T2 is better at every layer, with the difference most pronounced at α=0.9 (Figure 3).
- Residual networks are easier to complete: the authors report that at α=0.5 and α=0.8, ResNet50's MC-hardness is lower than AlexNet's (e.g., at α=0.8, ResNet50's per-layer medians are 0.02–0.10 and AlexNet's are 0.08–0.22, Appendix C.1–C.2), but at α=1 both require about 40% of the original training cost.
- RL is harder to complete than SL: the authors report that at α=1 the completion difficulty of the RL settings is overall higher than that of SL; the authors believe the reason is that after resetting a layer the agent loses the ability to produce useful experience and needs to re-explore the environment.
Effect of the replay buffer on RL completion
- What was tested: whether the replay buffer filled with experience from the trained policy is kept during Rainbow retraining (Figure 5, T1).
- Results: when the buffer is kept, MC-hardness is lower at every layer and every α than when the buffer is reset, e.g., at α=1.0, Conv 1 median 0.52 (kept) vs. 0.71 (reset) (Appendix C.4).
- Authors' interpretation: whether suitable experience can be obtained is critical when completing RL models; the authors state this is consistent with the benefits of kickstarting (Schmitt et al., 2018) and adding expert trajectories to the replay buffer (Hester et al., 2018).
Layer position and number of parameters
- A3C's lower layers are harder to complete: in Figure 4, MC-hardness decreases from lower to higher layers at every α (at α=1.0, T1, from 0.92 for Conv 1 down to 0.11 for V, Appendix C.3.1); the authors report that this effect is much smaller on Rainbow (Figure 5) and AlexNet (Figure 2), and in the Discussion list "why the difference is weaker on Rainbow and AlexNet" as an open problem.
- The absolute number of parameters has little effect: increasing or decreasing each of AlexNet's per-layer feature maps and fully connected units by 50% (parameter counts differ by about an order of magnitude, Appendix B Table 3), the authors report no significant difference in MC-hardness at any threshold; Appendix B shows that the lower convolutional layers have 2–3 orders of magnitude fewer parameters than the higher fully connected layers and the LSTM.
Other ablations and analyses
- T3 overparameterization (A3C): replacing the first convolutional layer with two convolutional layers with different kernels, or replacing the fully connected layer with two fully connected layers of different sizes, gives worse results than the same architecture and often fails to recover 100% of the original performance.
- T4 initialization schemes (A3C): there is no statistically significant difference in retraining time among the three initializations glorot normal, msra, and caffe.
- S4 B1 -W (ResNet50): when the skip connection is kept without reinitialization, it helps retraining at α ≤ 0.9 under T1, but has no such effect under T2 (Figure 3).
- Outlier: S4 B1 at α=0.9 is a clear outlier (T1 median 0.39, far above the other layers at the same threshold, Appendix C.2); the authors state the reason is unknown, but it reproduces on every rerun.
What are some points that can be further explored?
The authors list several open problems and note that the results are only an upper bound on difficulty and that adversaries may have more means; the experiments cover 5 models and 3 domains.
Limitations and future directions noted by the authors
- Retraining procedures may be far from optimal (Section 3.3, Discussion): the authors state that they tried only a few retraining procedures, that the results are only an upper bound on model completion difficulty, and that much faster retraining procedures very likely exist; the Discussion lists "whether there exists a retraining procedure faster than T1" as an open problem.
- Adversaries may have more means (Discussion): the authors note that besides more effective retraining procedures, the adversary may also access historical activations or inject its own training data, and the security properties of model splitting as a shared governance method require further study.
- Several phenomena are unexplained (Discussion): why the MC-hardness difference between lower and higher layers is less pronounced on Rainbow and AlexNet than on A3C; why the absolute number of parameters is not critical.
- The 40% figure should be treated with caution (Discussion): the authors state that the figure of about 40% of the original training cost to recover 100% performance "should be discounted", because many retraining procedures have not been tried.
- Completion difficulty can be actively tuned (Discussion): the authors propose designing architectures that make model completion easier (enhancing robustness) or harder (enhancing the security of splitting-based governance), and state that MC-hardness can be evaluated automatically and combined with architecture search (Zoph and Le, 2017).
Scope of the experiments
- The models tested are AlexNet, ResNet50, A3C, Rainbow, and IMPALA, 5 in total; the domains are ImageNet, Atari 2600, and DeepMind Lab, 3 in total.
- The retraining procedures cover T1 and T2 (all models) and T3 and T4 (A3C only); the splitting method is vertical splitting by layer, and horizontal splitting was not experimented with (the paper only infers from dropout that it should be easy).
- Number of seeds: 3 each for AlexNet/ResNet50/Rainbow, 5 for IMPALA, 10 for A3C; in Atari and DeepMind Lab, several games/levels on which the original agent performed poorly were excluded.
- The threat model assumes the adversary has all the training data or the environment simulator; attacks in which the adversary exploits historical activations or injects data were not experimented with (listed as a future direction in the Discussion).
- The paper does not report wall-clock time or computational resource consumption for retraining; costs are always measured in training steps.
Summarize the main content of the paper
Model splitting is a low-overhead shared-model governance approach whose security depends on model completion difficulty; experiments show that restoring full performance takes about 40% of the original training cost.
An empirical study on shared model governance: the authors propose using model splitting (multiple parties each holding a disjoint subset of the model's parameters) to replace the overly expensive homomorphic encryption and secure multi-party computation, and formalize its security as the model completion problem—when the adversary has all the training data or the environment simulator but lacks some parameters, how much training is needed to retrain and recover the model's original performance.
- Method and metric: define MC-hardness(α), i.e., the ratio of the expected cost for the fastest retraining procedure to reach a relative progress α toward the original performance to the original training cost (values 0–1); use four procedures T1 (joint retraining), T2 (train only the missing layers), T3 (overparameterization), T4 (different initialization) to estimate the upper bound.
- Cost of recovering 100% performance: at α=1.0, T1, the medians per layer are 0.39–0.44 for AlexNet, 0.34–0.36 for ResNet50, and 0.39–0.51 for IMPALA (Appendix C); the authors summarize this as requiring about 40% of the original training cost in many settings, and caution that this number should be discounted because more retraining procedures were not tried.
- Structural effects: residual networks are easier to complete than AlexNet at α=0.5 and 0.8; A3C's lower layers are clearly harder to complete than higher layers (at α=1.0, Conv 1 is 0.92 and the V head is 0.11), but this effect is weaker on Rainbow and AlexNet; the absolute number of parameters has little effect on difficulty.
- RL is harder to complete and depends on experience: RL models are overall harder to complete than SL; Rainbow is easier to complete when the replay buffer retaining the trained policy is kept (at α=1.0, Conv 1 median 0.52 vs. 0.71 with the buffer reset).
- Authors' conclusion: model splitting may be a feasible shared governance approach in settings where training cost is very high, and its advantage over MPC and HE is that its cost is comparable to ordinary training and inference; however, the security guarantee is only an upper bound on completion difficulty, and attacks such as the adversary exploiting historical activations or injecting data are left for future work.