Datasets:
Add GeneralizedCapNInterdigital universal-geometry-v1 embeddings
Browse filesAdds the deterministic 512-dimensional universal-geometry-v1 release, frozen schema, auditable parameter control map, and release manifest alongside static-embedding-v0.
README.md
CHANGED
|
@@ -5,6 +5,10 @@ configs:
|
|
| 5 |
data_files:
|
| 6 |
- split: train
|
| 7 |
path: "metadata/static-embedding-v0.parquet"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
tags:
|
| 9 |
- quantum
|
| 10 |
- superconducting
|
|
@@ -50,15 +54,45 @@ centered without distortion, supersampled at 4×, and reduced to 96×96. The
|
|
| 50 |
large simulation-domain ground rectangle on layer `(1, 0)` is excluded so it
|
| 51 |
does not hide the component shape.
|
| 52 |
|
| 53 |
-
This is a deterministic static embedding, not a learned model. It
|
| 54 |
-
|
| 55 |
-
`v1` may use a compact learned raster or geometry-graph encoder, but will be
|
| 56 |
-
published as a separate model rather than changing `v0` in place.
|
| 57 |
|
| 58 |
The exact block offsets, moment order, raster semantics, normalization
|
| 59 |
statistics, and source schema are frozen in
|
| 60 |
`metadata/static-embedding-v0.schema.json`.
|
| 61 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 62 |
## Coverage and links
|
| 63 |
|
| 64 |
| Component | Embeddings |
|
|
@@ -80,16 +114,20 @@ complete catalogue.
|
|
| 80 |
## Access
|
| 81 |
|
| 82 |
```python
|
| 83 |
-
from squadds.layouts import StaticEmbeddingClient
|
|
|
|
|
|
|
|
|
|
| 84 |
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
```
|
| 90 |
|
| 91 |
SQuADDS_DB rows can resolve the same vector directly with
|
| 92 |
-
`SQuADDS_DB.get_layout_embedding(row)`.
|
|
|
|
| 93 |
`get_layout_embedding` and `find_similar_layouts`.
|
| 94 |
|
| 95 |
## Provenance
|
|
|
|
| 5 |
data_files:
|
| 6 |
- split: train
|
| 7 |
path: "metadata/static-embedding-v0.parquet"
|
| 8 |
+
- config_name: universal-geometry-v1
|
| 9 |
+
data_files:
|
| 10 |
+
- split: train
|
| 11 |
+
path: "metadata/universal-geometry-v1.parquet"
|
| 12 |
tags:
|
| 13 |
- quantum
|
| 14 |
- superconducting
|
|
|
|
| 54 |
large simulation-domain ground rectangle on layer `(1, 0)` is excluded so it
|
| 55 |
does not hide the component shape.
|
| 56 |
|
| 57 |
+
This is a deterministic static embedding, not a learned model. It remains a
|
| 58 |
+
transparent baseline and a stable input for similarity search.
|
|
|
|
|
|
|
| 59 |
|
| 60 |
The exact block offsets, moment order, raster semantics, normalization
|
| 61 |
statistics, and source schema are frozen in
|
| 62 |
`metadata/static-embedding-v0.schema.json`.
|
| 63 |
|
| 64 |
+
## Universal geometry model `v1`
|
| 65 |
+
|
| 66 |
+
`universal-geometry-v1` is an additive 512-dimensional standard built from only
|
| 67 |
+
a GDS file, a functional layer-role mapping, and the native design-parameter
|
| 68 |
+
dictionary. Simulation targets are never embedded.
|
| 69 |
+
|
| 70 |
+
| Block | Dimensions | Contents |
|
| 71 |
+
| --- | ---: | --- |
|
| 72 |
+
| Geometry metrics | 64 | 32 physical and morphological metrics plus their availability mask |
|
| 73 |
+
| Multiscale shape | 320 | Five functional 64×64 channels compressed to the lowest 8×8 orthonormal 2D DCT coefficients |
|
| 74 |
+
| Parameter controls | 128 | Stable signed feature hashing of canonical parameter paths and unit-normalized values |
|
| 75 |
+
|
| 76 |
+
The five shape channels represent conductor, etch, ports, signed functional
|
| 77 |
+
material, and signed distance to the functional boundary. The metric block
|
| 78 |
+
retains physical scale; the shape block captures topology without storing a
|
| 79 |
+
dense pixel tensor. Each block is normalized independently.
|
| 80 |
+
|
| 81 |
+
Parameter identity is retained on every row through `parameter_names`,
|
| 82 |
+
`parameter_values`, `parameter_hash_indices`, and `parameter_hash_signs`.
|
| 83 |
+
`models/universal-geometry-v1/control-map.parquet` provides the global,
|
| 84 |
+
auditable bridge back to the originating layout controls.
|
| 85 |
+
|
| 86 |
+
This first v1 configuration contains all **20,062**
|
| 87 |
+
`GeneralizedCapNInterdigital` designs. The encoder accepts foreign GDS layouts
|
| 88 |
+
when their `(layer, datatype)` pairs are mapped to `conductor`, `etch`, or
|
| 89 |
+
`port`; the cross-component reference normalization will be frozen in a later
|
| 90 |
+
release after it is calibrated on the full SQuADDS catalogue.
|
| 91 |
+
|
| 92 |
+
The complete input contract, block offsets, transforms, normalization
|
| 93 |
+
statistics, and invariances are frozen in
|
| 94 |
+
`models/universal-geometry-v1/schema.json`.
|
| 95 |
+
|
| 96 |
## Coverage and links
|
| 97 |
|
| 98 |
| Component | Embeddings |
|
|
|
|
| 114 |
## Access
|
| 115 |
|
| 116 |
```python
|
| 117 |
+
from squadds.layouts import LayoutEmbeddingClient, StaticEmbeddingClient
|
| 118 |
+
|
| 119 |
+
v0 = StaticEmbeddingClient() # Backward-compatible alias
|
| 120 |
+
v1 = LayoutEmbeddingClient(version="v1")
|
| 121 |
|
| 122 |
+
record = v1.get("layout:sha256:<layout hash>")
|
| 123 |
+
neighbors = v1.nearest(record["layout_id"], limit=10)
|
| 124 |
+
schema = v1.schema()
|
| 125 |
+
controls = v1.control_map()
|
| 126 |
```
|
| 127 |
|
| 128 |
SQuADDS_DB rows can resolve the same vector directly with
|
| 129 |
+
`SQuADDS_DB.get_layout_embedding(row, embedding_version="v1")`. Omitting the
|
| 130 |
+
version preserves the v0 default. The SQuADDS MCP server also provides
|
| 131 |
`get_layout_embedding` and `find_similar_layouts`.
|
| 132 |
|
| 133 |
## Provenance
|
metadata/universal-geometry-v1.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a4f2a2d93b0760b435afbd614ede1c08c7119660bf4064748c6ac080c9d50cb7
|
| 3 |
+
size 39337228
|
models/universal-geometry-v1/control-map.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2534beae04ac8855db7cd0586c7a45e78a7244da5ec8f254b5964de4038341a3
|
| 3 |
+
size 6136
|
models/universal-geometry-v1/release-manifest.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "universal-geometry-v1",
|
| 3 |
+
"embedding_schema_version": "1.0.0",
|
| 4 |
+
"component_name": "GeneralizedCapNInterdigital",
|
| 5 |
+
"rows": 20062,
|
| 6 |
+
"dimensions": 512,
|
| 7 |
+
"files": {
|
| 8 |
+
"metadata/universal-geometry-v1.parquet": {
|
| 9 |
+
"sha256": "a4f2a2d93b0760b435afbd614ede1c08c7119660bf4064748c6ac080c9d50cb7"
|
| 10 |
+
},
|
| 11 |
+
"models/universal-geometry-v1/schema.json": {
|
| 12 |
+
"sha256": "043b14226a32777bba5ceaf078162c9bd1fe4e9d2be61b4151052a116aca4ac3"
|
| 13 |
+
},
|
| 14 |
+
"models/universal-geometry-v1/control-map.parquet": {
|
| 15 |
+
"sha256": "2534beae04ac8855db7cd0586c7a45e78a7244da5ec8f254b5964de4038341a3"
|
| 16 |
+
}
|
| 17 |
+
}
|
| 18 |
+
}
|
models/universal-geometry-v1/schema.json
ADDED
|
@@ -0,0 +1,159 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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apping"
|
| 9 |
+
],
|
| 10 |
+
"layer_roles": [
|
| 11 |
+
"conductor",
|
| 12 |
+
"etch",
|
| 13 |
+
"port"
|
| 14 |
+
],
|
| 15 |
+
"foreign_layouts": "provide a (layer, datatype) to role mapping; unspecified non-domain layers fall back to conductor",
|
| 16 |
+
"simulation_results_used": false
|
| 17 |
+
},
|
| 18 |
+
"blocks": {
|
| 19 |
+
"geometry_metrics": {
|
| 20 |
+
"offset": 0,
|
| 21 |
+
"dimensions": 64,
|
| 22 |
+
"values": [
|
| 23 |
+
"log1p_total_area_um2",
|
| 24 |
+
"log1p_total_perimeter_um",
|
| 25 |
+
"log1p_bbox_width_um",
|
| 26 |
+
"log1p_bbox_height_um",
|
| 27 |
+
"log_bbox_aspect_ratio",
|
| 28 |
+
"total_occupancy",
|
| 29 |
+
"conductor_occupancy",
|
| 30 |
+
"etch_occupancy",
|
| 31 |
+
"port_occupancy",
|
| 32 |
+
"centroid_x",
|
| 33 |
+
"centroid_y",
|
| 34 |
+
"mu20",
|
| 35 |
+
"mu02",
|
| 36 |
+
"mu11",
|
| 37 |
+
"eccentricity",
|
| 38 |
+
"horizontal_symmetry",
|
| 39 |
+
"vertical_symmetry",
|
| 40 |
+
"log1p_polygon_count",
|
| 41 |
+
"log1p_vertex_count",
|
| 42 |
+
"log1p_layer_count",
|
| 43 |
+
"log1p_conductor_area_um2",
|
| 44 |
+
"log1p_etch_area_um2",
|
| 45 |
+
"log1p_port_area_um2",
|
| 46 |
+
"log1p_conductor_perimeter_um",
|
| 47 |
+
"log1p_etch_perimeter_um",
|
| 48 |
+
"log1p_port_perimeter_um",
|
| 49 |
+
"conductor_centroid_x",
|
| 50 |
+
"conductor_centroid_y",
|
| 51 |
+
"etch_centroid_x",
|
| 52 |
+
"etch_centroid_y",
|
| 53 |
+
"port_centroid_x",
|
| 54 |
+
"port_centroid_y"
|
| 55 |
+
],
|
| 56 |
+
"availability_mask_offset": 32
|
| 57 |
+
},
|
| 58 |
+
"multiscale_shape": {
|
| 59 |
+
"offset": 64,
|
| 60 |
+
"dimensions": 320,
|
| 61 |
+
"channels": [
|
| 62 |
+
"conductor_occupancy",
|
| 63 |
+
"etch_occupancy",
|
| 64 |
+
"port_occupancy",
|
| 65 |
+
"signed_functional_material",
|
| 66 |
+
"signed_distance_to_functional_boundary"
|
| 67 |
+
],
|
| 68 |
+
"raster_resolution": [
|
| 69 |
+
64,
|
| 70 |
+
64
|
| 71 |
+
],
|
| 72 |
+
"transform": "orthonormal 2D DCT, lowest 8x8 frequencies"
|
| 73 |
+
},
|
| 74 |
+
"parameter_controls": {
|
| 75 |
+
"offset": 384,
|
| 76 |
+
"dimensions": 128,
|
| 77 |
+
"transform": "signed SHA-256 feature hashing of canonical parameter paths and bounded unit-normalized values"
|
| 78 |
+
}
|
| 79 |
+
},
|
| 80 |
+
"normalization": {
|
| 81 |
+
"metric_mean": [
|
| 82 |
+
7.210742950439453,
|
| 83 |
+
6.113616943359375,
|
| 84 |
+
3.9702649116516113,
|
| 85 |
+
3.9913642406463623,
|
| 86 |
+
-0.026997758075594902,
|
| 87 |
+
0.35339194536209106,
|
| 88 |
+
0.3414205014705658,
|
| 89 |
+
0.0,
|
| 90 |
+
0.028204241767525673,
|
| 91 |
+
0.0015409087063744664,
|
| 92 |
+
0.0015228398842737079,
|
| 93 |
+
0.04125984013080597,
|
| 94 |
+
0.02960149385035038,
|
| 95 |
+
-0.00023443327518180013,
|
| 96 |
+
0.7440722584724426,
|
| 97 |
+
0.9873098731040955,
|
| 98 |
+
0.9764003157615662,
|
| 99 |
+
1.609380841255188,
|
| 100 |
+
6.365771770477295,
|
| 101 |
+
1.3865816593170166,
|
| 102 |
+
7.178265571594238,
|
| 103 |
+
0.0,
|
| 104 |
+
3.7552435398101807,
|
| 105 |
+
5.992464542388916,
|
| 106 |
+
0.0,
|
| 107 |
+
3.95912504196167,
|
| 108 |
+
0.0015714558539912105,
|
| 109 |
+
0.001217356650158763,
|
| 110 |
+
0.0,
|
| 111 |
+
0.0,
|
| 112 |
+
3.5006228245038074e-06,
|
| 113 |
+
0.01940816082060337
|
| 114 |
+
],
|
| 115 |
+
"metric_std": [
|
| 116 |
+
0.7585511803627014,
|
| 117 |
+
0.528323233127594,
|
| 118 |
+
0.6801108717918396,
|
| 119 |
+
0.1944226771593094,
|
| 120 |
+
0.700084924697876,
|
| 121 |
+
0.11266354471445084,
|
| 122 |
+
0.11057130992412567,
|
| 123 |
+
1.0,
|
| 124 |
+
0.006893015466630459,
|
| 125 |
+
0.0015560229076072574,
|
| 126 |
+
0.002335186814889312,
|
| 127 |
+
0.020330235362052917,
|
| 128 |
+
0.014305170625448227,
|
| 129 |
+
0.0004206009325571358,
|
| 130 |
+
0.19937275350093842,
|
| 131 |
+
0.013714355416595936,
|
| 132 |
+
0.010770258493721485,
|
| 133 |
+
5.709873585146852e-05,
|
| 134 |
+
0.39415380358695984,
|
| 135 |
+
0.0002872950572054833,
|
| 136 |
+
0.7625589966773987,
|
| 137 |
+
1.0,
|
| 138 |
+
0.6700751185417175,
|
| 139 |
+
0.5267505049705505,
|
| 140 |
+
1.0,
|
| 141 |
+
0.5407248139381409,
|
| 142 |
+
0.0015863721491768956,
|
| 143 |
+
0.002265754621475935,
|
| 144 |
+
1.0,
|
| 145 |
+
1.0,
|
| 146 |
+
0.00012021147267660126,
|
| 147 |
+
0.024989088997244835
|
| 148 |
+
],
|
| 149 |
+
"metrics": "available values z-scored and clipped to [-6, 6], then concatenated with availability mask",
|
| 150 |
+
"shape": "each DCT channel L2 normalized",
|
| 151 |
+
"controls": "signed-log bounded values accumulated by stable parameter-name hash",
|
| 152 |
+
"blocks": "each block L2 normalized; concatenation divided by sqrt(3)"
|
| 153 |
+
},
|
| 154 |
+
"invariances": {
|
| 155 |
+
"translation": "geometry is cropped to functional bounds and centered",
|
| 156 |
+
"scale": "shape block is scale invariant; metric block retains physical dimensions",
|
| 157 |
+
"parameter_order": "sorted traversal and commutative hashed accumulation"
|
| 158 |
+
}
|
| 159 |
+
}
|