lemousehunter commited on
Commit
ef4b441
Β·
verified Β·
1 Parent(s): 9736443

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +49 -0
README.md ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # ASCAD V1 Models
2
+
3
+ Unified repository for all trained models, rank curves, and training metadata from the ASCAD side-channel analysis experiments.
4
+
5
+ ## Overview
6
+
7
+ This repository contains models trained on the [ASCAD fixed-key dataset](https://github.com/ANSSI-FR/ASCAD) for profiled side-channel attacks targeting all 16 AES key bytes simultaneously.
8
+
9
+ ## Directory Structure
10
+
11
+ ```
12
+ desync{0,50,100}/
13
+ β”œβ”€β”€ mlp/byte{0..15}/ # Single-byte MLP models (200 epochs, batch=100)
14
+ β”œβ”€β”€ cnn/byte{0..15}/ # Single-byte CNN models (150 epochs, batch=200)
15
+ β”œβ”€β”€ lmic_tsbn_v4/ # MTL: LMIC-TSBN baseline (256-class, focal+cosine)
16
+ β”œβ”€β”€ lmic_tsbn_v5e/ # MTL: DTP gamma=2.0
17
+ β”œβ”€β”€ lmic_tsbn_v5f/ # MTL: DTP gamma=5.0
18
+ β”œβ”€β”€ lmic_tsbn_v5g/ # MTL: DTP gamma=5.0 + EMA smoothing
19
+ β”œβ”€β”€ lmic_tsbn_v6/ # MTL: Sigmoid gates + DTP EMA
20
+ └── lmic_tsbn_v7b/ # MTL: Multi-bit (Wu et al.) + DTP (16/16 rank 0!)
21
+ metrics/
22
+ β”œβ”€β”€ experiment_summary.json # Aggregated results across all experiments
23
+ └── comparison_table.csv # Quick-reference comparison table
24
+ ```
25
+
26
+ ## Per-Model Artifacts
27
+
28
+ Each model directory contains:
29
+ - `model.h5` β€” Trained Keras model weights
30
+ - `results.json` β€” Training configuration, hyperparameters, and rank metrics
31
+ - `rank_curve.npy` (single-byte) or `rank_curve_byte{0..15}.npy` (MTL) β€” Guessing entropy rank evolution curves
32
+
33
+ ## Experiment Configuration
34
+
35
+ All experiments use:
36
+ - **Seed:** 42 (fixed for reproducibility and cross-model fairness)
37
+ - **Dataset:** ASCAD fixed-key (50K profiling, 10K attack traces)
38
+ - **Evaluation:** 2000 attack traces, 100 random key shuffles
39
+ - **W&B Project:** `ASCAD_TRAINING_FINAL`
40
+
41
+ ## Key Result
42
+
43
+ The **LMIC-TSBN V7b** (multi-bit + DTP) model achieves **rank 0 for all 16 AES key bytes** on desync=0, using a single multi-task model with 1M parameters trained for ~40 minutes on an A100 GPU.
44
+
45
+ ## Citation
46
+
47
+ If you use these models, please cite the ASCAD dataset paper and the Wu et al. (2023) multi-bit approach:
48
+ - Benadjila et al., "Deep learning for side-channel analysis and introduction to ASCAD", IACR ePrint 2018
49
+ - Wu et al., "Breaking the Barrier: Multi-bit Model for Side-Channel Analysis", IACR ePrint 2023/1110