Skip to content

Review tabular example#402

Closed
fazelehh wants to merge 6 commits into
mainfrom
review_tabular_example
Closed

Review tabular example#402
fazelehh wants to merge 6 commits into
mainfrom
review_tabular_example

Conversation

@fazelehh
Copy link
Copy Markdown
Collaborator

@fazelehh fazelehh commented Mar 31, 2026

Summary

This PR adds tabular model inversion (MINV) examples and extends the PLGMI attack to support tabular data modalities.

New examples

  • examples/minv/celebA_attributes/ — MINV example on CelebA tabular attributes, supporting both PyTorch (ResNet) and XGBoost target models
  • examples/minv/mimic/ — MINV example on MIMIC-III clinical data using CTGAN-based generator and PyTorch Tabular target model

Core changes

  • leakpro/attacks/minv_attacks/plgmi.py — Extended PLGMI to support tabular data: new differentiable tabular optimization path (optimize_z_grad), per-sample multi-restart optimization (optimize_z_grad_per_sample), and reference model support (load_reference_model, compute_total_loss)
  • leakpro/input_handler/modality_extensions/tabular_metrics.py — New tabular-specific metrics for evaluating MINV attacks
  • leakpro/attacks/utils/gan_handler.py / generator_handler.py — Extended GAN handler to support tabular CTGAN generators
  • leakpro/input_handler/minv_handler.py — Extended MINV handler for tabular data format
  • leakpro/attacks/minv_attacks/abstract_minv.py / leakpro/schemas.py / leakpro/input_handler/user_imports.py — Schema and import updates to support new modality

Data privacy

  • No sensitive data is included. MIMIC data and trained model checkpoints are excluded via .gitignore.

@review-notebook-app
Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@fazelehh fazelehh force-pushed the review_tabular_example branch from a496c7c to a7ba96a Compare April 1, 2026 11:24
@fazelehh fazelehh mentioned this pull request Apr 1, 2026
1 task
@fazelehh fazelehh closed this Apr 7, 2026
@fazelehh
Copy link
Copy Markdown
Collaborator Author

fazelehh commented Apr 7, 2026

Is taking care of in two PRs #404, and #405

@fazelehh fazelehh deleted the review_tabular_example branch April 7, 2026 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant