slic-data / standard /README.md
Yaney326's picture
SLIC release
d46904b
|
Raw History Blame Contribute Delete
4.59 kB
# standard task sets
Analog circuit optimization tasks for multi-turn LLM agents (65 nm bulk CMOS, open predictive model
card, ngspice). Each row is one episode start: a topology with an initial design and a goal with
four specifications (gain ≥, power ≤, bandwidth ≥, phase-margin window). The family of the paper's
training runs and main evaluation protocol (see the version note below); the code to run them is in the `slic-agent`
repository (`slic data --family standard`).
| file | rows | content |
|----------------------|-----:|--------------------------------------------------------------------------------------|
| `train.parquet` | 6442 | RL training pool, 34 in-distribution topologies (186-190 tasks each) |
| `validation.parquet` | 408 | the first half of `test_iid` (12 tasks per topology), evaluated during training for best-checkpoint selection: a subset, because simulating all 832 tasks at every validation is slow |
| `test_iid.parquet` | 832 | in-distribution test set, 24 tasks per topology (40 for `single_ended_telescopic_pmos_LG_pmos_biasn_LV`) |
| `test_ood.parquet` | 280 | 7 held-out topologies, 40 tasks each |
Each row has two columns, `data_source` and `extra_info`:
| field | content |
|---|---|
| `extra_info.task_id`, `split`, `index`, `goal_level` | task identity; `goal_level` is the goal's difficulty tier |
| `extra_info.initial_state_class` | `valid` / `invalid` class of the starting state (rule below) |
| `extra_info.env_kwargs.topology` | topology name |
| `extra_info.env_kwargs.target` | the goal: `gain_min` (dB), `power_max` (µW), `bandwidth_min` (MHz), `phase_margin_min_deg`, `phase_margin_max_deg` |
| `extra_info.env_kwargs.task_data.structure` | the circuit as `netlist` (simulated as stored) and `xml` (shown to the model) |
| `extra_info.env_kwargs.task_data.admissible_actions` | the action space (tunable devices and parameters, action format, step limits) as `xml` (devices by handle, `@10`) and `netlist` (by device id, `X0.MM0`), for `env.circuitop.representation` |
| `extra_info.env_kwargs.task_data.initial_state` | starting device parameters (`params`) and its simulated `metrics` (`gain_dB`, `power_uW`, `bandwidth_MHz`, `bandwidth_kind`, `inband_flatness_db`, `phase_margin_deg`, `phase_margin_status`); the environment re-simulates the start at reset and falls back to these values only if that fails |
| `extra_info.env_kwargs.task_data.metadata` | `complexity`, `signal_mode`, `circuit_kind` |
The files of one family share one schema, so the per-topology maps (`initial_state.params`, the action spaces' per-device
parameter lists) also carry the other topologies' keys with null values; ignore null entries (the environment does).
**Browse columns.** The released files also carry flat copies of the most-used fields as top-level columns for browsing and
filtering (the Hugging Face viewer filters top-level columns only): `task_id`, `topology`, `circuit_kind`, `held_out`,
`goal_level`, `start_class` (= `initial_state_class`), the five targets and `start_gain_dB`, `start_power_uW`,
`start_bandwidth_MHz`, `start_phase_margin_deg`, `start_inband_flatness_db`. The code reads `extra_info` only.
There is no prompt column: the environment writes every turn's prompt itself, from these fields and the reward preset
(which also sets the optimisation hint, tolerances and termination).
Power is the DC supply power of one amplifier and its bias block. The test bench of a complex topology simulates five
copies of the circuit (differential gain, common-mode gain, DC operating point, PSRR+ and PSRR-), each on its own supply
pair; only the differential-gain copy's supply is counted. Simple topologies are simulated as a single copy.
**Version.** The paper's results were computed on an earlier version of these task sets that contained errors in some
circuits and in the measurement; the sets here are the corrected ones, so numbers on them are not directly comparable to the
paper's tables.
`initial_state_class` is `valid` when simulating the initial design succeeds, its gain is finite and > 0 dB and its in-band
flatness is at most 6 dB; otherwise `invalid`. Whether an episode continues after the four
specifications are met is a setting of the reward configuration (`allow_further_exploration_after_goal`), not of the data.
`stats.json` summarises every file (per topology too) and `SHA256SUMS` lists the file checksums.