Privacy Meets Hierarchy: Differentially Private Distributed Trilevel Learning

Yang Jiao, Kai YangNeurIPS 2026

TL;DR

Trilevel optimization—solving three nested optimization problems simultaneously—powers complex tasks like robust hyperparameter tuning, yet doing it across distributed devices leaks a shocking amount of private data. This paper introduces DPDTO, the first framework to bring provable differential privacy to distributed trilevel learning. By flattening the nested hierarchy with a novel privacy-preserving "cutting plane" technique, it keeps local data safe without wrecking model performance or theoretical guarantees.

What Problem Does This Paper Address?

Imagine trying to tune hyperparameters (Level 1) for a model (Level 2) that is simultaneously defending itself against an adversarial attack (Level 3), all while your data is scattered across dozens of edge devices. This is distributed trilevel optimization.

Even though distributed learning leaves raw data on local devices, sharing gradients still leaks sensitive information—attackers can often reconstruct training images straight from transmitted updates. Worse yet, trilevel problems suffer from a compounding privacy tax. In standard single-level optimization, updating a variable takes $\mathcal{O}(1)$ gradient queries. If you approximate lower-level problems using $Q$ gradient steps, bilevel optimization requires $\mathcal{O}(Q)$ queries, and trilevel escalates to $\mathcal{O}(Q^2)$. More queries mean more opportunities for data leakage.

Furthermore, to untangle these nested hierarchies, researchers often use cutting plane methods (approximating a complex feasible region using simple geometric boundaries). However, updating these cutting planes requires sharing local information, making existing cutting plane methods surprisingly vulnerable to data reconstruction attacks. Naively slapping gradient clipping and noise onto existing trilevel methods breaks their mathematical convergence guarantees due to the bias introduced across dependent layers.

Figure 1: Comparison of the proposed method with state-of-the-art cutting plane methods. Ex- periments are conducted on the bilevel distributionally robust optimization problem [46], i.e., min{pi,∀i} −∑︁

Methods

To solve a three-story problem without leaking secrets, the authors propose DPDTO (Differentially Private Distributed Trilevel Optimization), which systematically flattens the hierarchy before optimizing it:

  1. Inner-Level Value Function Reformulation: Instead of solving the bottom (third) level to perfection at every step, the authors treat it as a soft constraint using a value function (requiring the third-level loss to be less than or equal to its optimal value). To save compute and privacy budget, workers approximate this optimal value every $K$ iterations using a single step of clipped, noisy (differentially private) gradient descent. This collapses the trilevel problem into a constrained bilevel problem.
  2. Outer-Level Privacy-Preserving Cutting Planes: Next, they tackle the second level. Whereas prior trilevel methods used nested cutting planes (accumulating approximation errors), DPDTO uses a single-layer cutting plane relaxation. Every $K$ iterations, workers compute clipped gradients and noisy local Hessian-vector products to generate new cutting planes on a master node, pruning inactive ones to keep the math lean.
  3. Gauss-Seidel Distributed Optimization: With the nested constraints transformed into a manageable Lagrangian function, workers update the three level variables sequentially (in a Gauss-Seidel manner—updating $x$, using the new $x$ to update $y$, and both to update $z$). Each step uses standard differential privacy mechanics—gradient clipping and calibrated Gaussian noise—before aggregating at the master node.

Datasets

The authors evaluate DPDTO on two tasks using standard public benchmarks (no new datasets are introduced):

  • Classification / Adversarial Robustness: MNIST, QMNIST, Fashion-MNIST, and USPS (with ECG200 also used for an introductory cutting-plane demonstration).
  • Regression / Hyperparameter Tuning: Diabetes, Boston, Iran, Productivity, QSAR, and Heart.

Key Insights and Ideas

  • Hierarchy amplifies privacy risk: Recognizing that query complexity scales as $\mathcal{O}(Q^2)$ in trilevel settings explains why multilevel learning is uniquely fragile under differential privacy—you burn through your privacy budget quadratically faster than in standard learning.
  • The Tripartite Trade-off: The authors uncover and prove a fundamental तीन-way tug-of-war between privacy ($\epsilon$), utility (accuracy/loss), and communication complexity (governed by $K$, how often cutting planes are updated). Updating planes frequently (small $K$) sharpens the mathematical approximation and boosts accuracy, but costs more communication bits and requires injecting more noise to maintain the same privacy level.
  • The Clipping "Goldilocks" Zone: Under fixed privacy budgets, clipping gradients too aggressively truncates useful signal and introduces bias; clipping too loosely increases sensitivity, forcing the algorithm to inject massive amounts of privacy-preserving noise.
Figure 3: The impact of various clipping thresholds with the setting ϵ = 4.

Key Results

DPDTO consistently outperforms single-level, bilevel, and naively privatized trilevel baselines across tasks:

  • Distributed Distributionally Robust Optimization (DDRO): Measuring the worst-case worker's accuracy under adversarial attack with a strict privacy budget ($\epsilon = 4$), DPDTO achieves 65.91% on MNIST (beating the naive trilevel baseline DP+AFTO at 61.64% and bilevel LDPDSBO at 58.12%) and 62.57% on Fashion-MNIST (vs. 57.81% for DP+AFTO). Relaxing privacy to $\epsilon = 8$ pushes DPDTO to 68.96% on MNIST and 66.36% on Fashion-MNIST.
  • Distributed Robust Hyperparameter Optimization (DRHO): Across the six regression datasets, DPDTO converges reliably even under tight privacy ($\epsilon = 0.5$). Adjusting the update interval $K$ cleanly demonstrates the tripartite trade-off: on the Boston dataset ($\epsilon = 2.0$), updating planes every step ($K=1$) yields a low Mean Squared Error (MSE) of 0.3817, while updating every $K=10$ steps cuts communication overhead but nudges MSE up to 0.3916.
Figure 2: The impact of various privacy budget ϵ on test loss in various datasets.

Limitations and Future Work

While the main text does not feature a dedicated limitations section, several constraints are apparent from the theoretical setup:

  • Theoretical Assumptions: The convergence and relaxation guarantees rely on standard but strict mathematical assumptions: all level functions must have $L$-Lipschitz continuous gradients (smoothness), optimization variables and gradients must remain bounded throughout training, and local gradient estimators must be unbiased.
  • Centralized Master Node: DPDTO relies on a master-worker architecture to aggregate parameters and broadcast cutting planes, leaving fully decentralized (peer-to-peer) differentially private trilevel optimization an open avenue.
  • Hyperparameter Sensitivity: Achieving peak performance requires carefully tuning level-specific clipping thresholds ($c_x, c_y, c_z$) and the cutting-plane update frequency $K$ to balance bias, noise variance, and communication overhead.

Summary updated

Abstract

Trilevel learning has emerged as a powerful paradigm across various domains in machine learning and networking. In practical scenarios, data is frequently generated and distributed across multiple decentralized nodes. While existing distributed trilevel learning methods circumvent the transmission of raw data, they remain susceptible to privacy leakage. Furthermore, cutting plane methods, which are widely adopted in bilevel and trilevel learning, exhibit analogous intrinsic privacy risks. To address these critical issues, we propose a Differentially Private Distributed Trilevel Optimization (DPDTO) framework. In DPDTO, we first develop a value-function-embedded privacy-preserving cutting plane method for trilevel optimization problems, comprising an inner-layer value function reformulation and an outer-layer cutting plane relaxation. Building upon this, a distributed optimization algorithm is introduced to effectively address trilevel optimization while preserving privacy. Theoretically, we provide a comprehensive analysis for the proposed framework, including asymptotic convergent relaxation, non-asymptotic convergence rate, privacy guarantees, and communication complexity, uncovering a tripartite trade-off among privacy, utility, and complexity in trilevel optimization. Extensive experimental results on two distributed trilevel optimization problems further demonstrate the effectiveness and superiority of the proposed DPDTO.
BibTeX
@inproceedings{jiao2026privacy,
  author = {Yang Jiao and Kai Yang},
  title = {{Privacy Meets Hierarchy: Differentially Private Distributed Trilevel Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=0nBv2qUf8C},
}
Figure