Data Reconstruction: Identifiability and Optimization with Sample Splitting

Yujie Shen, Zihan Wang, Jian Qian, Qi Lei

The ability to reconstruct training data directly from the weights of a trained neural network represents a profound privacy vulnerability. While researchers have successfully used Karush-Kuhn-Tucker (KKT) conditions to "invert" models and recover data, two fundamental questions have remained unresolved: identifiability (does the model's state uniquely point to one specific dataset?) and optimization (how can we reliably navigate the difficult reconstruction landscape to recover these images?).

Presented at ICML 2024, the paper "Data Reconstruction: Identifiability and Optimization with Sample Splitting" tackles these complementary challenges. The authors provide theoretical conditions under which data reconstruction is mathematically guaranteed and introduce a novel optimization technique to make empirical reconstruction significantly more effective.

The Theoretical Threshold of Identifiability

Recent research highlights that neural networks trained with gradient descent exhibit an "implicit bias," converging toward solutions that satisfy specific mathematical criteria known as KKT conditions. But do these conditions uniquely identify the original training data?

By analyzing two-layer networks with polynomial activations, the authors discovered a distinct "threshold of secrecy" based on the degree of the activation function:

  • Linear and Quadratic ($x^2$) Networks: These architectures are relatively secure against exact reconstruction. The KKT conditions only reveal aggregate statistics (moments) of the data, rather than individual samples.
  • Cubic ($x^3$) and Higher Networks: Higher-degree nonlinearities fundamentally change the privacy landscape. The authors prove that these activations encode the training data into a higher-order symmetric tensor. Using a Jennrich-style algorithm, they demonstrate that this tensor can be uniquely decomposed to reveal the exact original training samples.

This theoretical framework confirms that for moderately wide networks with sufficient non-linearity, the training data is uniquely recoverable from the model's parameters.

Overcoming Optimization Plateaus with Sample Splitting

Even when data is theoretically identifiable, the optimization landscape for data reconstruction is notoriously difficult, riddled with flat plateaus where standard gradient descent stalls, yielding blurry or merged images.

To solve this, the authors introduce Sample Splitting, a curvature-aware refinement step applicable to general reconstruction objectives. Instead of relying solely on gradients, the algorithm calculates a "splitting matrix" that acts as a proxy for the Hessian, capturing the curvature of the optimization space.

If the optimizer detects a direction of "negative curvature"—indicating that the loss could decrease if the sample moves in a new direction—it splits a candidate image into two slightly perturbed "offspring" images. This process injects new degrees of freedom into the optimization, allowing the algorithm to break out of local minima and refine the reconstructed images.

Experimental Validation

The authors evaluated sample splitting as an augmentation to three existing state-of-the-art reconstruction methods (Haim et al., Buzaglo et al., and Loo et al.) using standard benchmarks like MNIST and CIFAR-10.

The results demonstrate that sample splitting consistently improves reconstruction performance across the board:

  • Visual Clarity: Reconstructed images from CIFAR-10 exhibited significantly better background uniformity and sharper object edges compared to standard gradient descent methods.
  • Quantitative Gains: On CIFAR-10, 21 out of 25 top reconstructed samples achieved higher Structural Similarity Index (SSIM) scores after splitting. On MNIST, 21 out of 25 samples achieved lower L2 distances, indicating they were mathematically closer to the original pixels.
  • Adaptive Robustness: The method proved effective even when the exact number of training samples was unknown to the attacker, as the splitting process allows the candidate set to grow adaptively.

Limitations and Future Directions

While the findings are a significant step forward in understanding AI privacy risks, the authors note a few limitations. The rigorous identifiability proofs are currently constrained to two-layer networks; extending these guarantees to deep, multi-layer architectures remains a theoretical challenge. Additionally, calculating curvature for sample splitting is computationally more expensive than simple gradient descent, despite optimizations like the Lanczos method. Finally, in "under-determined" regimes where a network is too narrow (having fewer parameters than data points), full reconstruction may be impossible, though the recovery of spectrally isolated samples remains an open question.

Ultimately, this research serves as a critical reminder for the machine learning community: the very mathematical properties that enable deep learning to succeed—implicit bias and complex nonlinearities—are the same properties that make training data vulnerable to extraction.

Summary updated

BibTeX
@inproceedings{shen2026data,
  author = {Yujie Shen and Zihan Wang and Jian Qian and Qi Lei},
  title = {{Data Reconstruction: Identifiability and Optimization with Sample Splitting}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=9LoNh2EZ2g},
}
Figure