File size: 5,324 Bytes
3f8e99e
2a236a8
 
 
 
 
 
 
 
 
3f8e99e
2a236a8
 
 
5f2e5b1
 
2a236a8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5f2e5b1
 
 
 
2a236a8
 
 
 
 
 
 
 
 
 
5f2e5b1
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
---
pretty_name: TopoBox-3D
language:
  - en
tags:
  - neural-operators
  - partial-differential-equations
  - scientific-machine-learning
  - topology
  - hodge-laplacian
---

# TopoBox-3D

[Paper (arXiv:2609.05860)](https://arxiv.org/abs/2609.05860) | [Code (GitHub)](https://github.com/asmld/TopoBox-3D)

TopoBox-3D is the dataset accompanying **Beyond Arbitrary Geometry: Topology
Generalization in Neural PDE Operators**. It is a controlled three-dimensional
benchmark for separating fixed-topology geometry shift from generalization to
unseen homological support.

The benchmark contains 5,280 connected box-minus-void geometries and 63,360
fixed-time Hodge-heat instances. Through-tunnels and enclosed cavities control
the first and second Betti numbers. Every geometry is represented by a
tetrahedral mesh, geometry features, a regular-grid signed-distance field, and
an oriented simplicial complex. Hodge-heat data are provided for vertex, edge,
and face cochains (`k = 0, 1, 2`) under four initial-condition configurations.

## Scope

| Item | Count |
|---|---:|
| Protocols | 4 |
| Geometries per protocol | 1,320 |
| Geometries in total | 5,280 |
| Degrees per geometry | 3 |
| Initial conditions per degree | 4 |
| PDE instances in total | 63,360 |
| Geometry HDF5 shards | 108 |
| Hodge-heat HDF5 shards | 212 |

Each protocol has 800 training, 120 validation, 200 Test-IID, and 200 Test-OOD
geometries. Geometry IDs are the atomic split unit.

| Protocol | In-support topology | Test-OOD topology | Shift |
|---|---|---|---|
| A | `(beta1, beta2) = (1, 1)`, family A | `(1, 1)`, family B | fixed-topology geometry |
| B | `beta1 in {0,1,2}, beta2 = 0` | `(3, 0)` | unseen tunnel support |
| C | `beta1 = 0, beta2 in {0,1,2}` | `(0, 3)` | unseen cavity support |
| D | `(beta1, beta2) in {0,1,2}^2` | `(3, 3)` | mixed topology |

## Directory layout

```text
TopoBox-3D/
├── DATASET.md                 detailed geometry schema
├── dataset_config.json        generation and protocol configuration
├── manifest.csv               one row per geometry
├── packed/                    training-ready geometry HDF5 shards
│   ├── index.csv
│   ├── index.json
│   └── protocol_{A,B,C,D}/...
└── protocol_{A,B,C,D}/...     raw per-geometry mesh data

TopoBox-3D-HodgeHeat/
├── manifest.json              equation and generation configuration
├── index.csv
├── index.json                 geometry-to-shard lookup
├── COMPLETION.json            completion and adapter checks
├── audit_report.json          deep numerical audit
└── protocol_{A,B,C,D}/...     Hodge-heat HDF5 shards

examples/
└── TopoBox-3D-HodgeHeat-representatives/
                                lightweight topology and field previews

RELEASE.json                   release-level counts and provenance
SHA256SUMS.txt                 checksums for all published files
```

The raw geometry layer contains `mesh.npz`, `mesh.msh`, `mesh.vtu`, and
`metadata.json` for every geometry. The packed layer stores the same numerical
content in HDF5 shards optimized for training. Both layers are included so the
release supports efficient experiments, per-sample inspection, and independent
repacking. The small `TopoBox-3D-mini` development subset is not duplicated in
this repository because it is derived from the complete release. The
`examples/` directory contains only lightweight previews referenced by the
saved completion record; it is not an additional data split.

## Hodge-heat task

The supervised target is the fixed-time solution of

```text
partial_t omega + kappa Delta_k omega = 0,
k in {0,1,2}, kappa = 1, T = 0.1.
```

Targets use homogeneous absolute boundary conditions and 100
Crank--Nicolson steps. The four initial-condition configurations are
`non_harmonic`, `weak_harmonic`, `balanced`, and `strong_harmonic`. Geometry and
PDE records are joined by `geometry_id`.

## Loading with the accompanying code

After placing this dataset under the code repository's `data/` directory, the
expected roots are:

```text
data/TopoBox-3D/packed/
data/TopoBox-3D-HodgeHeat/
```

```python
from topobox3d.pde_dataset import TopoBoxPDEDataset

dataset = TopoBoxPDEDataset(
    geometry_packed_root="data/TopoBox-3D/packed",
    solution_root="data/TopoBox-3D-HodgeHeat",
    protocol="B",
    split="train",
    degrees=(1,),
    configs=("balanced",),
)

sample = dataset[0]
print(sample.geometry_id, sample.w0.shape, sample.wT.shape)
dataset.close()
```

The accompanying [code repository](https://github.com/asmld/TopoBox-3D)
contains the generators, validators, model adapters, training entry points,
and complete schema documentation. See the
[paper](https://arxiv.org/abs/2609.05860) for the benchmark and reported results.

## Integrity and validation

The geometry manifest and both HDF5 indices contain 5,280 unique geometry IDs.
The Hodge-heat release contains 212 shards and 63,360 PDE instances. The saved
deep audit reports zero errors. `SHA256SUMS.txt` can be used to verify the local
copy after download.

## License and citation

Dataset license metadata has not yet been specified.

For the paper, see [Beyond Arbitrary Geometry: Topology Generalization in Neural PDE Operators (arXiv:2609.05860)](https://arxiv.org/abs/2609.05860).