Joosep Pata commited on
Commit
fa6f423
·
2 Parent(s): ace09e1 73af006

Merge branch 'main' of hf.co:jpata/particleflow into main

Browse files
Files changed (1) hide show
  1. clic/clusters/v1.9.0/README.md +37 -6
clic/clusters/v1.9.0/README.md CHANGED
@@ -4,6 +4,26 @@ This model reconstructs particles in a detector, based on the tracks and calorim
4
 
5
  ## Model Details
6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  ### Model Description
8
 
9
  - **Developed by:** Joosep Pata, Eric Wulff, Farouk Mokhtar, Mengke Zhang, David Southwick, Maria Girone, David Southwick, Javier Duarte, Michael Kagan
@@ -54,10 +74,11 @@ The following datasets were used:
54
  /eos/user/j/jpata/mlpf/tensorflow_datasets/clic/clic_edm_ww_fullhad_pf/2.2.0
55
  ```
56
 
57
- The truth and target definition was updated in [jpata/particleflow#345](https://github.com/jpata/particleflow/pull/345) have an updated truth and target definition with respect to [Pata, J., Wulff, E., Mokhtar, F. et al. Improved particle-flow event reconstruction with scalable neural networks for current and future particle detectors. Commun Phys 7, 124 (2024)](https://doi.org/10.1038/s42005-024-01599-5).
58
 
59
- In particular, target particles for MLPF reconstruction are based on status=1 particles.
60
- For non-interacting status=1, nearby (dR<0.2) interacting status=0 are used instead.
 
61
 
62
  The datasets were generated using Key4HEP with the following scripts:
63
  - https://github.com/HEP-KBFI/key4hep-sim/releases/tag/v1.0.0
@@ -65,6 +86,9 @@ The datasets were generated using Key4HEP with the following scripts:
65
 
66
  ## Training Procedure
67
 
 
 
 
68
  ```bash
69
  #!/bin/bash
70
  #SBATCH --job-name=mlpf-train
@@ -111,7 +135,13 @@ singularity exec \
111
  --train --gpu-batch-multiplier 128 --num-workers 8 --prefetch-factor 100 --checkpoint-freq 1 --conv-type attention --dtype bfloat16 --lr 0.0001 --num-epochs 30
112
  ```
113
 
 
 
114
  ## Evaluation
 
 
 
 
115
  ```bash
116
  #!/bin/bash
117
  #SBATCH --partition gpu
@@ -128,10 +158,11 @@ singularity exec -B /scratch/persistent --nv \
128
  --env KERAS_BACKEND=torch \
129
  $IMG python3 mlpf/pyg_pipeline.py --dataset clic --gpus 1 \
130
  --data-dir /scratch/persistent/joosep/tensorflow_datasets --config parameters/pytorch/pyg-clic.yaml \
131
- --test --make-plots --gpu-batch-multiplier 100 --load $WEIGHTS --dtype bfloat16 --prefetch-factor 10 --num-workers 8 --load $WEIGHTS --ntest 50000
132
- ~
133
  ```
134
 
 
 
135
  ## Citation
136
 
137
  ## Glossary
@@ -142,4 +173,4 @@ singularity exec -B /scratch/persistent --nv \
142
 
143
  ## Model Card Contact
144
 
145
- Joosep Pata, joosep.pata@cern.ch
 
4
 
5
  ## Model Details
6
 
7
+ The performance is measured with respect to generator-level jets and MET computed from Pythia particles, i.e. the truth-level jets and MET.
8
+
9
+ <details>
10
+ <summary>Jet performance</summary>
11
+
12
+ <img src="plots_checkpoint-26-2.004527/clic_edm_ttbar_pf/jet_response_iqr_over_med_pt.png" alt="ttbar jet resolution" width="300"/>
13
+ <img src="plots_checkpoint-26-2.004527/clic_edm_qq_pf/jet_response_iqr_over_med_pt.png" alt="qq jet resolution" width="300"/>
14
+ <img src="plots_checkpoint-26-2.004527/clic_edm_ww_fullhad_pf/jet_response_iqr_over_med_pt.png" alt="ttbar jet resolution" width="300"/>
15
+
16
+ </details>
17
+
18
+ <details>
19
+ <summary>MET performance</summary>
20
+
21
+ <img src="plots_checkpoint-26-2.004527/clic_edm_ttbar_pf/met_response_iqr_over_med.png" alt="ttbar MET resolution" width="300"/>
22
+ <img src="plots_checkpoint-26-2.004527/clic_edm_qq_pf/met_response_iqr_over_med.png" alt="qq MET resolution" width="300"/>
23
+ <img src="plots_checkpoint-26-2.004527/clic_edm_ww_fullhad_pf/met_response_iqr_over_med.png" alt="ttbar MET resolution" width="300"/>
24
+
25
+ </details>
26
+
27
  ### Model Description
28
 
29
  - **Developed by:** Joosep Pata, Eric Wulff, Farouk Mokhtar, Mengke Zhang, David Southwick, Maria Girone, David Southwick, Javier Duarte, Michael Kagan
 
74
  /eos/user/j/jpata/mlpf/tensorflow_datasets/clic/clic_edm_ww_fullhad_pf/2.2.0
75
  ```
76
 
77
+ The truth and target definition was updated in [jpata/particleflow#345](https://github.com/jpata/particleflow/pull/345) with respect to [Pata, J., Wulff, E., Mokhtar, F. et al. Improved particle-flow event reconstruction with scalable neural networks for current and future particle detectors. Commun Phys 7, 124 (2024)](https://doi.org/10.1038/s42005-024-01599-5).
78
 
79
+ In particular, target particles for MLPF reconstruction are based on `status=1` particles.
80
+ For non-interacting `status=1`, nearby (dR<0.2) interacting `status=0` are used instead.
81
+ It's important to note that truth and target jets are defined in the center of mass frame, whereas PF particles are defined in the lab frame: https://github.com/key4hep/k4geo/issues/399#issuecomment-2381714391.
82
 
83
  The datasets were generated using Key4HEP with the following scripts:
84
  - https://github.com/HEP-KBFI/key4hep-sim/releases/tag/v1.0.0
 
86
 
87
  ## Training Procedure
88
 
89
+ <details>
90
+ <summary>Training script</summary>
91
+
92
  ```bash
93
  #!/bin/bash
94
  #SBATCH --job-name=mlpf-train
 
135
  --train --gpu-batch-multiplier 128 --num-workers 8 --prefetch-factor 100 --checkpoint-freq 1 --conv-type attention --dtype bfloat16 --lr 0.0001 --num-epochs 30
136
  ```
137
 
138
+ </details>
139
+
140
  ## Evaluation
141
+
142
+ <details>
143
+ <summary>Evaluation script</summary>
144
+
145
  ```bash
146
  #!/bin/bash
147
  #SBATCH --partition gpu
 
158
  --env KERAS_BACKEND=torch \
159
  $IMG python3 mlpf/pyg_pipeline.py --dataset clic --gpus 1 \
160
  --data-dir /scratch/persistent/joosep/tensorflow_datasets --config parameters/pytorch/pyg-clic.yaml \
161
+ --test --make-plots --gpu-batch-multiplier 100 --load $WEIGHTS --dtype bfloat16 --prefetch-factor 10 --num-workers 8 --load $WEIGHTS --ntest 50000
 
162
  ```
163
 
164
+ </details>
165
+
166
  ## Citation
167
 
168
  ## Glossary
 
173
 
174
  ## Model Card Contact
175
 
176
+ Joosep Pata, joosep.pata@cern.ch