New dp_gan_trainer() function for training GANs with formal differential privacy
guarantees using DP-SGD (Differentially Private Stochastic Gradient Descent)
Privacy mechanisms include:
New secure_rng parameter to choose between cryptographically secure RNG (OpenDP)
for production use or fast torch RNG for development/testing
Privacy budget pre-calculation with compute_max_steps() for efficient training
New calibrate_noise_multiplier() to find optimal noise for target epsilon
New vignette: "Training GANs with Differential Privacy"
apply_post_gan_boosting() wrapper for easy post-processing of GAN samplescompute_discriminator_scores() for evaluating samples across checkpointsgan_trainer() and dp_gan_trainer():
checkpoint_epochs parameter to save model states at intervalscheckpoint_path for disk-based storage of large training runsdata_transformer class including:
track_loss parameter in gan_trainer() and dp_gan_trainer() to
record training losses for analysistrained_gan$losses$g_loss and $d_losssample_synthetic_data() compatibility with dp_gan_trainer() outputtrack_loss parameter to gan_trainer() and gan_update_step()NEWS.md file to track changes to the package.