Datasets:
image imagewidth (px) 64 64 | load array 3D | pf array 3D | disp array 3D | psl imagewidth (px) 64 64 | summary dict | id stringlengths 1 5 |
|---|---|---|---|---|---|---|
[[[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0(...TRUNCATED) | [[[0.46000000000000013,0.05065311085334681,0.24236710753189583],[0.46000000000000013,0.0213813110597(...TRUNCATED) | [[[0.4431701203238889],[0.7386545198698033],[0.9012604586826443],[1.0055885153974686],[1.08000534937(...TRUNCATED) | {"y_loads":[0.8660254037844387],"BC_conf":{"0":[[1],[65],[4161],[4225]],"1":[3,3,3,3]},"VF":0.460000(...TRUNCATED) | 0 | ||
[[[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0(...TRUNCATED) | [[[0.36000000000000004,0.03985506576265386,0.2707449739764345],[0.36000000000000004,0.03319821223786(...TRUNCATED) | [[[9.865184409571619],[10.118629195602347],[10.312799641474365],[10.424647469776277],[10.48515826049(...TRUNCATED) | {"y_loads":[0.49999999999999994],"BC_conf":{"0":[[1,2,64,65,4194],[4225]],"1":[1,2]},"VF":0.36000000(...TRUNCATED) | 1 | ||
[[[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.8660254037844387,0.49999999999999994],[0.0,0.(...TRUNCATED) | [[[0.38000000000000006,0.00040687362336114957,0.018969060573581276],[0.38000000000000006,0.003297356(...TRUNCATED) | [[[6.5038291514094],[6.348331322676549],[6.264110371540619],[6.295247539573748],[6.459374825899312],(...TRUNCATED) | {"y_loads":[0.49999999999999994],"BC_conf":{"0":[[33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49(...TRUNCATED) | 2 | ||
[[[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0(...TRUNCATED) | [[[0.38000000000000006,2.6500675467448273e-10,0.000015777640555568516],[0.38000000000000006,2.698211(...TRUNCATED) | [[[0.013539193714084906],[0.014539967540736087],[0.015678287305681046],[0.01695431454108254],[0.0183(...TRUNCATED) | {"y_loads":[1.0],"BC_conf":{"0":[[10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,(...TRUNCATED) | 3 | ||
[[[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0(...TRUNCATED) | [[[0.34,3.9986129892502994e-7,0.0006966103416530659],[0.34,5.961804894878388e-7,0.000927617328731839(...TRUNCATED) | [[[3.3374509705383293],[3.338021943151361],[3.3391643409144955],[3.3408790687040697],[3.343167483328(...TRUNCATED) | {"y_loads":[0.0],"BC_conf":{"0":[[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,(...TRUNCATED) | 4 | ||
[[[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0(...TRUNCATED) | [[[0.32,1.712021121684063e-8,0.0001432872792104253],[0.32,2.2464509475969447e-8,0.000171550300467131(...TRUNCATED) | [[[1.7044873755822434],[1.6733134145217097],[1.6420436539432914],[1.6103017607104766],[1.57778999411(...TRUNCATED) | {"y_loads":[1.0],"BC_conf":{"0":[[2081],[33],[2145],[4193]],"1":[3,2,3,2]},"VF":0.32,"load_nodes":[2(...TRUNCATED) | 5 | ||
[[[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0(...TRUNCATED) | [[[0.38000000000000006,2.934300880127413e-7,0.0005044373244566957],[0.38000000000000006,2.0719501021(...TRUNCATED) | [[[0.28574303526186146],[0.3014544739401612],[0.3188940977784251],[0.33774501987486],[0.357263848363(...TRUNCATED) | {"y_loads":[0.49999999999999994],"BC_conf":{"0":[[10,12,14,16],[4161,4162,4163,4164,4165,4166,4167,4(...TRUNCATED) | 6 | ||
[[[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0(...TRUNCATED) | [[[0.4200000000000001,2.370566764696124e-6,0.0016014217128362319],[0.4200000000000001,6.856859000256(...TRUNCATED) | [[[0.6235698730835764],[0.6248824006367113],[0.6247944900462795],[0.6225611888766638],[0.61806625488(...TRUNCATED) | {"y_loads":[1.2246467991473532e-16],"BC_conf":{"0":[[10,12,14,16],[2600,2665,2730]],"1":[3,2]},"VF":(...TRUNCATED) | 7 | ||
[[[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0(...TRUNCATED) | [[[0.4200000000000001,1.6638349389228794e-10,0.000013784490301052553],[0.4200000000000001,4.74451049(...TRUNCATED) | [[[1.6709245150877345],[1.668320018912255],[1.665855887646031],[1.6634973393411743],[1.6612080718246(...TRUNCATED) | {"y_loads":[0.49999999999999994],"BC_conf":{"0":[[2081],[33],[2145],[4193]],"1":[3,2,3,2]},"VF":0.42(...TRUNCATED) | 8 | ||
[[[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0],[0.0,0.0(...TRUNCATED) | [[[0.34,0.0019468944327791283,0.04879960637348031],[0.34,0.0007625176839718441,0.026000848890983225](...TRUNCATED) | [[[0.057494006550632866],[0.14906183375542476],[0.20314100472084967],[0.23592083725992824],[0.257622(...TRUNCATED) | {"y_loads":[0.49999999999999994],"BC_conf":{"0":[[1,2,64,65,4194],[1365,910,1105],[4161,4162,4163,41(...TRUNCATED) | 9 |
HPG-Diff
The dataset for HPG-Diff: Hierarchical Physics-Guided Diffusion with Differentiable Connectivity Constraints for Topology Optimization, published in Applied Soft Computing, 2026.
HPG-Diff uses displacement, principal stress lines, and strain energy density to guide topology generation. This dataset provides the structural examples, conditioning fields, and benchmark reference values used for training and evaluation.
Datasets
| Configuration | Split | Examples | Description |
|---|---|---|---|
train |
train |
30,000 | Training topologies with conditioning physics fields |
test |
test_level_1 |
1,800 | In-distribution boundary conditions |
test |
test_level_2 |
1,000 | Out-of-distribution boundary conditions |
The examples use a 64 × 64 grid. Training and evaluation have separate configurations because their fields differ.
Data Format
| Field | Shape / type | Description |
|---|---|---|
id |
string | Sample identifier |
image |
image, training only | Target topology |
load |
64 × 64 × 2 | Load field |
pf |
64 × 64 × 3 | Physical-field tensor used by the model |
disp |
64 × 64 × 1 | Displacement field |
psl |
RGB image | Principal stress line representation |
summary |
structured record | Loads, supports, coordinates, and volume fraction |
bc |
64 × 64 × 2, test only | Boundary-condition field |
compliance |
list of numbers, test only | Reference compliance values used by the evaluation code |
Usage
from datasets import load_dataset
train = load_dataset("scottyjb/HPGDiff", "train", split="train")
test_1 = load_dataset("scottyjb/HPGDiff", "test", split="test_level_1")
test_2 = load_dataset("scottyjb/HPGDiff", "test", split="test_level_2")
The training and evaluation scripts are available in the code repository.
Data Source
The SIMP topology examples come from TopoDiff by François Mazé and Faez Ahmed. HPG-Diff supplements them with displacement and principal stress line features.
Citation
@article{yang2026hpgdiff,
title = {{HPG-Diff}: Hierarchical physics-guided diffusion with differentiable connectivity constraints for topology optimization},
author = {Yang, Jinbo and Yuan, Mingyue and Zhang, Boyuan and Kitamura, Yoshifumi and Jing, Shikai},
journal = {Applied Soft Computing},
volume = {202},
pages = {115899},
year = {2026},
doi = {10.1016/j.asoc.2026.115899}
}
The compliance field in each test row contains the complete reference vector for that split. Evaluation reads it from the first row and matches values by the original row order; keep that order when computing compliance metrics.
License
This dataset is released under CC BY-NC 4.0. Source materials retain their original licenses.
- Downloads last month
- 44