ps3020 commited on
Commit
dd84457
·
verified ·
1 Parent(s): 7ced627

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +46 -128
README.md CHANGED
@@ -5,8 +5,6 @@ task_categories:
5
  tags:
6
  - lidar
7
  - 3d-object-detection
8
- - autonomous-driving
9
- - adversarial-robustness
10
  - point-cloud
11
  - kitti
12
  size_categories:
@@ -52,53 +50,16 @@ configs:
52
 
53
  # ATLAS-KITTI
54
 
55
- Adversarial LiDAR point clouds for evaluating the robustness of 3D object
56
- detectors, generated by applying **physically-grounded spoofing attacks** to the
57
- KITTI 3D object detection validation split.
58
 
59
- Each config is a complete copy of the KITTI val set with one attack applied to
60
- every frame. Clouds are **self-contained** — no local KITTI copy is required — and
61
- each frame ships both the attack annotation and the clean KITTI ground truth, so
62
- the data supports attack-success-rate *and* standard detection metrics.
63
 
64
- > **Anonymous release.** This dataset is published anonymously to support the peer
65
- > review of a submission under review. Author and affiliation details are withheld
66
- > for the review period.
67
 
68
- Companion dataset: **ATLAS-nuScenes** (planned; not yet released).
69
-
70
- ## Attacks
71
-
72
- | family | configs | what it does |
73
- |---|---|---|
74
- | **Injection** | `inject_{easy,medium,hard}` | Adds a *phantom vehicle* that does not exist. Success = the detector reports an object overlapping `spoof_gt`. `easy`/`medium`/`hard` are decreasing phantom point densities (denser traces are easier to detect). |
75
- | **Removal** | `removal_az{10,20,30,40,50,60}` | Deletes points in an azimuth wedge aimed at a real vehicle, hiding it. Success = the detector *fails* to report the object at `spoof_gt`. The suffix is the wedge width in degrees. |
76
-
77
- Both are occlusion-consistent: injected phantoms are raycast against the scene, so
78
- points that would fall behind existing geometry are removed, and real points the
79
- phantom occludes are deleted. Phantom intensity is resampled from range-conditioned
80
- statistics measured on real KITTI returns.
81
-
82
- Removal follows the A-HFR (Adaptive High-Frequency Removal) model, with per-width
83
- removal probabilities calibrated against the physical measurements in Cao et al.,
84
- *"You Can't See Me: Physical Removal Attacks on LiDAR-based Autonomous Vehicles
85
- Driving Frameworks"* (USENIX Security 2023).
86
-
87
- ## ⚠️ Frame counts differ per config — read this before computing metrics
88
-
89
- Frames that could not be attacked were **not written**. Every frame present in a
90
- config *is* attacked; there are no clean frames.
91
-
92
- | config | frames | absent | reason |
93
- |---|---|---|---|
94
- | `inject_easy` | 3769 | 0 | the full val split |
95
- | `inject_medium` | 3767 | 2 | phantom entirely removed by occlusion |
96
- | `inject_hard` | 3649 | 120 | sparsest traces, most vulnerable to occlusion |
97
- | `removal_az10`…`az60` | 3384 | 385 | frame contains no suitable vehicle to erase |
98
-
99
- **The ASR denominator is the config's own frame count, not 3769.** Dividing by 3769
100
- understates removal ASR by ~10%. The 385 absent removal frames are identical across
101
- all six widths (same target-selection criteria).
102
 
103
  ## Usage
104
 
@@ -109,109 +70,66 @@ import numpy as np
109
  ds = load_dataset("ps3020/atlas-kitti", "removal_az20", split="train")
110
  ex = ds[0]
111
 
112
- # points are stored FLAT; reshape to recover the cloud
113
  pts = np.asarray(ex["points"], np.float32).reshape(ex["num_points"], ex["point_dim"])
114
- # -> (N, 4) = x, y, z, intensity
115
 
116
- attacked_box = np.asarray(ex["spoof_gt"], np.float32) # (7,)
117
- clean_boxes = np.asarray(ex["gt_boxes"], np.float32).reshape(ex["num_gt"], 7)
118
- clean_names = ex["gt_names"]
119
  ```
120
 
121
- Computing ASR:
122
 
123
  ```python
124
- n_success = 0
125
- for ex in ds:
126
- pred = my_detector(reshape_points(ex))
127
- hit = overlaps(pred, ex["spoof_gt"], iou_thresh=0.3)
128
- # injection: success = a detection appeared; removal: success = it vanished
129
- n_success += hit if "inject" in config else (not hit)
130
- asr = n_success / len(ds) # NOT / 3769
131
  ```
132
 
133
- ## Fields
134
 
135
- Common to all configs:
 
136
 
137
- | field | type | description |
138
- |---|---|---|
139
- | `frame_id` | string | KITTI frame id, e.g. `"000001"` |
140
- | `points` | list[float32] | attacked cloud, **flattened**; reshape with `num_points`/`point_dim` |
141
- | `num_points`, `point_dim` | int | cloud shape (`point_dim` = 4: x, y, z, intensity) |
142
- | `spoof_gt` | list[float32] | (7,) the attacked object: phantom box (injection) or erased box (removal), as `[x, y, z, dx, dy, dz, heading]` in LiDAR coords |
143
- | `gt_boxes` | list[float32] | clean KITTI GT, flattened `(num_gt, 7)`; `DontCare` excluded |
144
- | `gt_names` | list[string] | class per box, aligned with `gt_boxes` |
145
- | `num_gt` | int | object count |
146
- | `gt_difficulty`, `gt_num_points` | list[int] | KITTI difficulty, points-in-box |
147
 
148
- Injection configs add:
 
149
 
150
- | field | description |
151
  |---|---|
152
- | `atk_perturbation` | `"injection"` |
153
- | `atk_offset`, `atk_yaw` | phantom placement (x, y) and heading |
154
- | `atk_n_spoof_r` / `atk_n_spoof_k` | phantom points before / after occlusion filtering |
155
- | `atk_seed` | RNG seed |
156
 
157
- Removal configs add:
158
 
159
  | field | description |
160
  |---|---|
161
- | `atk_az_center_rad`, `atk_az_width_deg` | wedge bearing and width |
162
- | `atk_el_center_rad`, `atk_el_width_deg` | wedge elevation extent |
163
- | `atk_p_remove` | per-point removal probability for this width |
164
- | `atk_n_points_before` / `_in_sector` / `_removed` / `_after` | exact point accounting |
165
- | `atk_target_box`, `atk_target_range_m` | victim vehicle box and range |
166
- | `atk_active_this_frame` | whether the A-HFR firing gate fired |
167
- | `atk_range_gate_passed`, `atk_extrapolated_close_range`, `atk_inactive_reason` | gate diagnostics |
168
- | `atk_mode`, `atk_max_az_step_deg`, `atk_fix_elevation`, `atk_raw_target_*` | attack config |
169
-
170
- The realised removal rate for a frame is
171
  `atk_n_points_removed / atk_n_points_in_sector`.
172
 
173
- ## Notes and limitations
174
 
175
- - **KITTI 3D object has no sequences**, so there is no temporal dimension here:
176
- every frame is attacked independently, and `global` vs `ego-relative` phantom
177
- placement are equivalent (hence one injection family, not two).
178
- - Clouds are **camera-FOV cropped** (roughly |azimuth| ≤ 40°, x > 5 m), matching the
179
- standard KITTI 3D detection evaluation region. They are not full 360° sweeps.
180
  - Attacks target the **Car** class.
181
- - Intensity is sampled from the *diffuse* range-conditioned distribution rather than
182
- saturated. Real spoofers produce saturated returns; forcing saturation makes
183
- phantoms trivially detectable as out-of-distribution, so the diffuse choice is
184
- what isolates *geometric* robustness. See the paper for the ablation.
185
 
186
  ## License
187
 
188
- `cc-by-nc-sa-3.0`, inherited from KITTI. These are derived point clouds, so the
189
- non-commercial and share-alike terms of the original apply. Please cite KITTI
190
- alongside this dataset.
191
-
192
- ## Citation
193
-
194
- This dataset accompanies a paper currently **under review**. It is released
195
- anonymously for the review period; the citation below will be updated once the
196
- submission is de-anonymized.
197
-
198
- ```bibtex
199
- @inproceedings{atlas_anonymous,
200
- title = {ATLAS: Adversarial LiDAR Attack Splits for 3D Object Detection},
201
- author = {Anonymous},
202
- note = {Under review. Dataset released anonymously for peer review.},
203
- year = {2026}
204
- }
205
- @inproceedings{geiger2012kitti,
206
- title = {Are we ready for Autonomous Driving? The KITTI Vision Benchmark Suite},
207
- author = {Geiger, Andreas and Lenz, Philip and Urtasun, Raquel},
208
- booktitle = {CVPR},
209
- year = {2012}
210
- }
211
- @inproceedings{cao2023removal,
212
- title = {You Can't See Me: Physical Removal Attacks on LiDAR-based Autonomous Vehicles Driving Frameworks},
213
- author = {Cao, Yulong and Bhupathiraju, S. Hrushikesh and Naghavi, Pirouz and Sugawara, Takeshi and Mao, Z. Morley and Rampazzi, Sara},
214
- booktitle = {USENIX Security},
215
- year = {2023}
216
- }
217
- ```
 
5
  tags:
6
  - lidar
7
  - 3d-object-detection
 
 
8
  - point-cloud
9
  - kitti
10
  size_categories:
 
50
 
51
  # ATLAS-KITTI
52
 
53
+ Adversarial LiDAR point clouds derived from the KITTI 3D object detection
54
+ validation split. Anonymous release for peer review.
 
55
 
56
+ ## Configs
 
 
 
57
 
58
+ `inject_easy`, `inject_medium`, `inject_hard`,
59
+ `removal_az10`, `removal_az20`, `removal_az30`, `removal_az40`, `removal_az50`,
60
+ `removal_az60`
61
 
62
+ Every frame in a config is attacked; there are no clean frames.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
63
 
64
  ## Usage
65
 
 
70
  ds = load_dataset("ps3020/atlas-kitti", "removal_az20", split="train")
71
  ex = ds[0]
72
 
73
+ # points are stored FLAT -- reshape to recover the cloud
74
  pts = np.asarray(ex["points"], np.float32).reshape(ex["num_points"], ex["point_dim"])
75
+ # (N, 4) = x, y, z, intensity
76
 
77
+ spoof_gt = np.asarray(ex["spoof_gt"], np.float32) # (7,) attacked object
78
+ gt_boxes = np.asarray(ex["gt_boxes"], np.float32).reshape(ex["num_gt"], 7)
79
+ gt_names = ex["gt_names"]
80
  ```
81
 
82
+ Or use the bundled helper, which returns arrays directly:
83
 
84
  ```python
85
+ from load_atlas_kitti import load_atlas, to_arrays, removal_rate
86
+
87
+ ds = load_atlas("removal_az20") # add streaming=True to avoid download
88
+ pts, spoof_gt, gt_boxes, gt_names = to_arrays(ds[0])
 
 
 
89
  ```
90
 
91
+ ## Attack success rate
92
 
93
+ `spoof_gt` is the attacked object. Score each frame by whether a prediction
94
+ overlaps it at IoU >= 0.3:
95
 
96
+ - **injection** — success = a detection *appears* (false positive created)
97
+ - **removal** — success = the detection *is missing* (true positive destroyed)
98
+
99
+ ```python
100
+ asr = n_success / len(ds)
101
+ ```
 
 
 
 
102
 
103
+ **Use `len(ds)`, not 3769.** Frames that could not be attacked were never written,
104
+ so configs differ in length:
105
 
106
+ | config | frames |
107
  |---|---|
108
+ | `inject_easy` | 3769 |
109
+ | `inject_medium` | 3767 |
110
+ | `inject_hard` | 3649 |
111
+ | `removal_az10` … `removal_az60` | 3384 |
112
 
113
+ ## Fields
114
 
115
  | field | description |
116
  |---|---|
117
+ | `frame_id` | KITTI frame id, e.g. `"000001"` |
118
+ | `points`, `num_points`, `point_dim` | attacked cloud, flattened; reshape to `(N, 4)` |
119
+ | `spoof_gt` | (7,) attacked object `[x, y, z, dx, dy, dz, heading]`, LiDAR frame |
120
+ | `gt_boxes`, `gt_names`, `num_gt` | clean KITTI ground truth (`DontCare` excluded) |
121
+ | `gt_difficulty`, `gt_num_points` | KITTI difficulty, points per box |
122
+ | `atk_*` | attack parameters — 6 fields for injection, 20 for removal |
123
+
124
+ For removal, the realised removal rate is
 
 
125
  `atk_n_points_removed / atk_n_points_in_sector`.
126
 
127
+ ## Notes
128
 
129
+ - Clouds are camera-FOV cropped (roughly |azimuth| <= 40°, x > 5 m), not full 360°.
 
 
 
 
130
  - Attacks target the **Car** class.
131
+ - KITTI 3D object has no sequences, so frames are attacked independently.
 
 
 
132
 
133
  ## License
134
 
135
+ `cc-by-nc-sa-3.0`, inherited from KITTI. Please cite KITTI alongside this dataset.