Machine Learning Security Projects — Attacks, Defenses & Privacy
ML security studies how models fail under adversarial inputs, leak training data, or degrade when data is poisoned. Final-year projects that implement attacks and defenses, report attack success rate and robust accuracy, and evaluate on standard datasets produce clear, research-relevant results.
Below are 80+ topics across adversarial attacks, defenses, privacy attacks, poisoning, robustness metrics and applications, with tools (PyTorch, ART, TensorFlow) and datasets (MNIST, CIFAR-10, Fashion-MNIST).
| # | Machine Learning Security Project Topic | Tools · Datasets |
|---|---|---|
| ⚔️ Adversarial Attacks | ||
| 01 | AtkFGSM Adversarial Attack on Image Classifiers | PyTorch, MNIST/CIFAR |
| 02 | AtkProjected Gradient Descent (PGD) Attack Pipeline | PyTorch, ART, CIFAR-10 |
| 03 | AtkCarlini–Wagner (C&W) Attack Concepts | PyTorch, constrained optim |
| 04 | AtkBlack-Box Transferability of Adversarial Examples | Source/target models |
| 05 | AtkUniversal Adversarial Perturbations | Single noise, many images |
| 06 | AtkAdversarial Patch Attack Demo | Localised patch, visual |
| 07 | AtkDecision-Based Black-Box Attacks (Boundary) | Query-efficient methods |
| 08 | AtkScore-Based Black-Box Attacks | Zeroth-order optim |
| 09 | AtkAdversarial Examples for NLP Text Models | TextFooler-style, IMDB |
| 10 | AtkAdversarial Audio / Speech Recognition Concepts | Literature + simple demo |
| 11 | AtkAttack Success Rate vs Perturbation Budget Study | ε-sweeps, plots |
| 12 | AtkTargeted vs Untargeted Attack Comparison | Success metrics |
| 13 | AtkPhysical-World Attack Awareness (Print / Camera) | Literature + simulation |
| 14 | AtkAdversarial Examples Visualisation Dashboard | Side-by-side originals |
| 15 | AtkEnsemble Attacks Across Multiple Models | Multi-model gradients |
| 🛡️ Defenses Against Adversarial Attacks | ||
| 16 | DefAdversarial Training with FGSM/PGD | PyTorch, robust accuracy |
| 17 | DefInput Preprocessing Defenses (JPEG, Bit-Depth) | Preprocess + evaluate |
| 18 | DefFeature Squeezing Defense Evaluation | Detection rates |
| 19 | DefDefensive Distillation Concepts | Soft labels, temperature |
| 20 | DefRandomized Smoothing for Certified Robustness | Smoothing, radius |
| 21 | DefEnsemble Defenses and Diversity | Multi-model voting |
| 22 | DefDetection of Adversarial Inputs (Statistical Tests) | Detectors, ROC |
| 23 | DefTrade-off: Clean Accuracy vs Robust Accuracy | Pareto-style curves |
| 24 | DefAdaptive Attacks Against Defenses | White-box on defended |
| 25 | DefART Library Defense Implementation Survey | IBM ART toolkit |
| 26 | DefGradient Masking Pitfalls and Evaluation | Obfuscation checks |
| 27 | DefCertified Defenses Overview and Limitations | Literature + demo |
| 🔒 Privacy Attacks · Membership · Extraction | ||
| 28 | PrivMembership Inference Attack on Classifiers | Shadow models, CIFAR |
| 29 | PrivAttribute Inference from Model Predictions | Sensitive attribute recovery |
| 30 | PrivModel Extraction / Stealing Attack Pipeline | Query API, substitute model |
| 31 | PrivModel Inversion Attack Concepts | Gradient-based recovery |
| 32 | PrivTraining Data Reconstruction Risks | Literature + small demo |
| 33 | PrivDifferential Privacy: DP-SGD Implementation | Opacus / TF Privacy |
| 34 | PrivPrivacy Budget (ε) vs Utility Trade-off | ε-sweeps, accuracy |
| 35 | PrivFederated Learning Privacy Leakage Awareness | Gradient leakage concepts |
| 36 | PrivHomomorphic Encryption / Secure Inference Overview | Literature survey |
| 37 | PrivMembership Inference on Tabular Models | scikit-learn, Adult/UCI |
| 38 | PrivOutput Perturbation for Privacy | Noise calibration |
| 39 | PrivPrivacy Risk Assessment Report Template | Checklist + metrics |
| ☠️ Data Poisoning · Backdoors | ||
| 40 | PoisLabel-Flipping Poisoning Attack | Controlled fraction, accuracy drop |
| 41 | PoisClean-Label Poisoning Concepts | Feature collision methods |
| 42 | PoisBackdoor / Trojan Attack with Trigger Patterns | Patch trigger, ASR |
| 43 | PoisDetection of Poisoned Training Samples | Activation clustering |
| 44 | PoisMitigation: Data Sanitisation and Filtering | Outlier / influence |
| 45 | PoisFederated Learning Poisoning (Byzantine) | Malicious clients sim |
| 46 | PoisInfluence Functions for Poison Analysis | Approx influence scores |
| 47 | PoisBackdoor Defense: Fine-Pruning Concepts | Prune + fine-tune |
| 48 | PoisPoisoning Success vs Poison Ratio Study | Parametric curves |
| 📏 Robustness Evaluation · Metrics · Benchmarks | ||
| 49 | RobRobust Accuracy Under Multiple Attacks | FGSM/PGD/C&W suite |
| 50 | RobAttack Success Rate (ASR) Reporting Standards | Metric definitions |
| 51 | RobCertified Robustness Radius Estimation | Smoothing / linear bounds |
| 52 | RobRobustness Benchmark on CIFAR-10 / MNIST | Standard leaderboard setup |
| 53 | RobTransfer Robustness Across Architectures | ResNet / VGG / CNN |
| 54 | RobNatural Robustness: Common Corruptions | CIFAR-C style corruptions |
| 55 | RobOut-of-Distribution Detection Linked to Security | OOD scores, AUROC |
| 56 | RobCalibration and Confidence Under Attack | ECE, reliability diagrams |
| 57 | RobReproducible Evaluation Protocol Package | Seeds, configs, logging |
| 58 | RobComparison of White-Box vs Black-Box Robustness | Threat model matrix |
| 🏭 Applications · Domains · Research Practices | ||
| 59 | AppAdversarial Robustness for Autonomous Driving Perception | Detection models, patches |
| 60 | AppMedical Imaging Model Security Case Study | X-ray/CT classifiers |
| 61 | AppMalware Detection Model Evasion Awareness | Feature-space attacks |
| 62 | AppFace Recognition Spoofing / Adversarial Makeup | Literature + simulation |
| 63 | AppNLP Content Moderation Robustness | Text attacks, toxicity models |
| 64 | AppIoT / Edge Model Security Constraints | Resource-limited defenses |
| 65 | AppSupply-Chain Risk: Pretrained Model Trust | Backdoor scanning concepts |
| 66 | ResearchThreat Model Design for a Student Project | Assets, adversaries, metrics |
| 67 | ResearchEthical Disclosure and Responsible Attack Research | Guidelines report |
| 68 | ResearchOpen-Source ML Security Tool Survey (ART, etc.) | Feature comparison |
| 69 | ResearchEducational Lab: Attack → Defend → Evaluate Loop | Curriculum package |
| 70 | ResearchCommon Pitfalls in Student Adversarial Experiments | Checklist design |
| 71 | ResearchReproducibility of Published Attack Numbers | Reproduction attempt |
| 72 | ResearchMachine Learning Security for Tabular Data | UCI datasets, ART |
| 73 | ResearchGraph Neural Network Adversarial Attacks Overview | Literature + small graph |
| 74 | ResearchFederated Learning Security Full Pipeline Demo | FL + attack + defense |
| 75 | ResearchRegulatory and Compliance Angles for ML Security | Policy overview |
| 76 | ResearchCost of Robustness: Training Time and Accuracy | Resource profiling |
| 77 | ResearchVisualization of Decision Boundaries Under Attack | 2D toy models, plots |
| 78 | ResearchBenchmark Suite Assembly for Course Projects | Fixed seeds, models |
| 79 | ResearchFrom Clean Model to Hardened Model Report | End-to-end narrative |
| 80 | ResearchStudent Portfolio: Attack Success + Defense Gain Figures | Figure pipeline |
| 81 | ResearchLarge Language Model Security Awareness Survey | Prompt injection concepts |
| 82 | ResearchThesis Package: Hypothesis → Attack → Defense → Discussion | Full documentation |
Topics use PyTorch, TensorFlow, ART, scikit-learn and datasets MNIST, Fashion-MNIST, CIFAR-10. Contact us for reference material, attack/defense code, evaluation metrics, university-format report, PPT and viva Q&A for any topic above.
Machine Learning Cyber Security Projects Github
Why Choose Us for ML Security Projects?Bangalore-based guidance for BE, BTech and MTech students working on adversarial ML, privacy and robustness.
Adversarial Attacks
FGSM, PGD, C&W, transferability and black-box attacks with clear success-rate reporting.
Defenses
Adversarial training, preprocessing, detection and certified robustness concepts.
Privacy
Membership inference, model extraction, DP-SGD and privacy–utility trade-offs.
Poisoning
Label flipping, backdoors, detection and mitigation strategies for training data.
Frequently Asked Questions — ML Security
ML Security Lab — Bangalore
Attack, defense and privacy evaluation support for BE, BTech and MTech ML security projects.
Attacks
Training
Inference
& Stealing
& Backdoors
Privacy Budget
Benchmarks
Preparation