Datasets:
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,116 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
task_categories:
|
| 4 |
+
- other
|
| 5 |
+
tags:
|
| 6 |
+
- point-cloud
|
| 7 |
+
- geometry
|
| 8 |
+
- topology
|
| 9 |
+
- benchmark
|
| 10 |
+
- higher-dimensions
|
| 11 |
+
- synthetic
|
| 12 |
+
pretty_name: HyperShadow
|
| 13 |
+
size_categories:
|
| 14 |
+
- 10K<n<100K
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
# HyperShadow
|
| 18 |
+
|
| 19 |
+
A benchmark for one question: given a 3D point cloud, can you tell whether
|
| 20 |
+
it is an ordinary 3D object or the 3D projection (the "shadow") of an
|
| 21 |
+
object from a higher spatial dimension?
|
| 22 |
+
|
| 23 |
+
Most datasets that say "4D" mean 3D plus time. Here the extra dimensions
|
| 24 |
+
are spatial: label 1 clouds are projections of objects living in R^4, R^5
|
| 25 |
+
or R^6 (hyperspheres, tesseracts, Clifford tori, duocylinders, hypertori,
|
| 26 |
+
random smooth manifolds), rotated randomly in their ambient space before
|
| 27 |
+
projection. Label 0 clouds are native 3D shapes given the same rotation
|
| 28 |
+
and corruption treatment, so nothing in the preprocessing separates the
|
| 29 |
+
classes.
|
| 30 |
+
|
| 31 |
+
## Why this is an interesting task
|
| 32 |
+
|
| 33 |
+
A shadow is still at most 3-dimensional data, so intrinsic-dimension
|
| 34 |
+
estimation cannot solve this. On this benchmark, TwoNN and the
|
| 35 |
+
Levina-Bickel MLE reach about 71-73% accuracy. What actually separates
|
| 36 |
+
the classes are the traces the projection map leaves behind: density
|
| 37 |
+
folds, volumes filled with a particular radial profile, changed topology.
|
| 38 |
+
A small PointNet (190k parameters) picks these up at 96.6%, and still
|
| 39 |
+
detects shape families it was never trained on (79-91%).
|
| 40 |
+
|
| 41 |
+
The temporal track has the strongest result, and it needs no learning at
|
| 42 |
+
all. A rigid 3D object in rigid motion can be aligned frame to frame by a
|
| 43 |
+
rigid 3D transform with near-zero residual. The shadow of a rigidly
|
| 44 |
+
rotating 4D object cannot: no rigid 3D motion explains it. The mean
|
| 45 |
+
Kabsch alignment residual, one number per sequence, separates the classes
|
| 46 |
+
at AUROC 0.982.
|
| 47 |
+
|
| 48 |
+
## Files
|
| 49 |
+
|
| 50 |
+
| file | contents |
|
| 51 |
+
|---|---|
|
| 52 |
+
| `static.npz` | `points`: float32 (10800, 1024, 3); `labels`: int64 (10800,) |
|
| 53 |
+
| `static_meta.json` | per-sample shape name, ambient dimension, corruption tier, projection type |
|
| 54 |
+
| `temporal.npz` | `points`: float32 (1800, 16, 512, 3), rigid-rotation sequences; `labels` |
|
| 55 |
+
| `temporal_meta.json` | per-sequence metadata |
|
| 56 |
+
|
| 57 |
+
Labels: 0 = native 3D, 1 = projection of a higher-dimensional object.
|
| 58 |
+
Classes are balanced across corruption tiers. All clouds are centred,
|
| 59 |
+
scaled to unit mean radius, and resampled to a fixed point count.
|
| 60 |
+
|
| 61 |
+
Corruption tiers (cumulative): 0 clean; 1 Gaussian jitter (2% of scale);
|
| 62 |
+
2 plus random half-space occlusion; 3 plus heavier jitter and
|
| 63 |
+
distance-dependent dropout.
|
| 64 |
+
|
| 65 |
+
## Loading
|
| 66 |
+
|
| 67 |
+
```python
|
| 68 |
+
import numpy as np
|
| 69 |
+
|
| 70 |
+
d = np.load("static.npz")
|
| 71 |
+
x, y = d["points"], d["labels"] # (10800, 1024, 3), (10800,)
|
| 72 |
+
|
| 73 |
+
t = np.load("temporal.npz")
|
| 74 |
+
seq = t["points"] # (1800, 16, 512, 3)
|
| 75 |
+
```
|
| 76 |
+
|
| 77 |
+
## Baseline numbers to beat
|
| 78 |
+
|
| 79 |
+
| Method | Accuracy (static) |
|
| 80 |
+
|---|---|
|
| 81 |
+
| intrinsic dimension, best threshold | 0.732 |
|
| 82 |
+
| persistent homology + GBT | 0.904 |
|
| 83 |
+
| geometric features + GBT | 0.956 |
|
| 84 |
+
| PointNet-lite, 190k params | 0.966 |
|
| 85 |
+
|
| 86 |
+
Temporal track: Kabsch rigidity residual threshold, AUROC 0.982.
|
| 87 |
+
|
| 88 |
+
## Reproducing or extending
|
| 89 |
+
|
| 90 |
+
The generator is plain seeded NumPy, no GPU needed. Code, tests, and all
|
| 91 |
+
baseline implementations are in the GitHub repository (link in the
|
| 92 |
+
citation section once the paper is up). Regenerating with the published
|
| 93 |
+
seeds reproduces these exact files. New shape families can be added with
|
| 94 |
+
a single sampler function.
|
| 95 |
+
|
| 96 |
+
## Limitations
|
| 97 |
+
|
| 98 |
+
Everything here is simulated, under specific choices of sampling measure,
|
| 99 |
+
projection model and noise. Results on this data say nothing about
|
| 100 |
+
physical reality. The intended uses are: benchmarking point-cloud models
|
| 101 |
+
on a task where the ground truth is known and the shortcut routes have
|
| 102 |
+
been closed off, studying out-of-distribution detection with a
|
| 103 |
+
mathematically defined "out", and comparing machine performance against
|
| 104 |
+
the human 4D-rigidity perception results reported by He, Bi and Zaidi
|
| 105 |
+
(2023).
|
| 106 |
+
|
| 107 |
+
## Citation
|
| 108 |
+
|
| 109 |
+
```bibtex
|
| 110 |
+
@misc{hypershadow2026,
|
| 111 |
+
title = {HyperShadow: A Benchmark for Detecting 3D Projections of
|
| 112 |
+
Higher-Dimensional Spatial Objects},
|
| 113 |
+
author = {Sasi, Akshay},
|
| 114 |
+
year = {2026},
|
| 115 |
+
}
|
| 116 |
+
```
|