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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- text-classification
|
| 5 |
+
- tabular-classification
|
| 6 |
+
- zero-shot-classification
|
| 7 |
+
- text-generation
|
| 8 |
+
size_categories:
|
| 9 |
+
- 10K<n<100K
|
| 10 |
+
language:
|
| 11 |
+
- en
|
| 12 |
+
tags:
|
| 13 |
+
- chemistry
|
| 14 |
+
- molecular-properties
|
| 15 |
+
- hazard-prediction
|
| 16 |
+
- GHS
|
| 17 |
+
- safety
|
| 18 |
+
- cheminformatics
|
| 19 |
+
- llm-evaluation
|
| 20 |
+
- multi-label-classification
|
| 21 |
+
---
|
| 22 |
+
|
| 23 |
+
# Dataset Card for SafeChem
|
| 24 |
+
|
| 25 |
+
## Dataset Summary
|
| 26 |
+
|
| 27 |
+
SafeChem is a regulatory-grounded benchmark dataset of 32,614
|
| 28 |
+
chemical substances for multi-label GHS (Globally Harmonized System)
|
| 29 |
+
hazard prediction and LLM safety reliability evaluation. Unlike prior
|
| 30 |
+
molecular benchmarks constructed by querying pharmaceutical databases,
|
| 31 |
+
SafeChem is seeded from a curated hazardous materials registry,
|
| 32 |
+
ensuring coverage of real-world industrial and safety-critical chemicals
|
| 33 |
+
including solvents, reactive gases, agrochemicals, and heavy metal
|
| 34 |
+
compounds underrepresented in drug-focused benchmarks.
|
| 35 |
+
|
| 36 |
+
Each substance is annotated with molecular structure representations
|
| 37 |
+
(canonical SMILES, InChI, InChI key), eight physicochemical descriptors,
|
| 38 |
+
free-text physical descriptions, and 30 binary GHS hazard classification
|
| 39 |
+
labels spanning toxicological, physical, and environmental hazard
|
| 40 |
+
categories derived from European regulatory sources (CLP Regulation and
|
| 41 |
+
ECHA C&L Inventory as aggregated by PubChem).
|
| 42 |
+
|
| 43 |
+
The dataset supports two benchmark tasks:
|
| 44 |
+
- **Task 1 — Multi-label hazard prediction**: Scaffold-split evaluation
|
| 45 |
+
of GHS hazard classification from molecular structure across 17 retained
|
| 46 |
+
hazard classes with sufficient test-set support.
|
| 47 |
+
- **Task 2 — LLM safety hallucination benchmark**: Evaluation of omission
|
| 48 |
+
hallucination rate, commission hallucination, and silent abstention
|
| 49 |
+
behavior across LLMs on a curated 500-substance high-hazard subset.
|
| 50 |
+
|
| 51 |
+
## Dataset Details
|
| 52 |
+
|
| 53 |
+
### Dataset Description
|
| 54 |
+
|
| 55 |
+
- **Curated by:** Anonymous (camera-ready version will include full
|
| 56 |
+
author and institution information)
|
| 57 |
+
- **License:** CC BY 4.0
|
| 58 |
+
- **Language:** English
|
| 59 |
+
- **Size:** 32,614 unique substances (deduplicated by PubChem CID)
|
| 60 |
+
|
| 61 |
+
### Dataset Sources
|
| 62 |
+
|
| 63 |
+
- **Primary source:** Hazardous Materials Management Information System
|
| 64 |
+
(HMMIS) regulatory registry (anonymized for double-blind review)
|
| 65 |
+
- **Molecular enrichment:** PubChem Compound and GHS Classification
|
| 66 |
+
databases (https://pubchem.ncbi.nlm.nih.gov)
|
| 67 |
+
- **GHS annotations:** ECHA CLP Regulation submissions and C&L Inventory,
|
| 68 |
+
Japan NITE, and other national regulatory bodies as aggregated by PubChem
|
| 69 |
+
- **Paper:** Anonymous submission to NeurIPS 2026 Datasets and Benchmarks
|
| 70 |
+
Track (link to be added in camera-ready version)
|
| 71 |
+
|
| 72 |
+
## Dataset Structure
|
| 73 |
+
|
| 74 |
+
### Files
|
| 75 |
+
|
| 76 |
+
| File | Description | Size |
|
| 77 |
+
|---|---|---|
|
| 78 |
+
| `full_dataset.csv` | Complete 32,614-substance master file with all 57 columns | 32,614 rows |
|
| 79 |
+
| `split_train.csv` | Training partition (70%, scaffold split) | ~22,829 rows |
|
| 80 |
+
| `split_val.csv` | Validation partition (15%, scaffold split) | ~4,892 rows |
|
| 81 |
+
| `split_test.csv` | Test partition (15%, scaffold split) | ~4,893 rows |
|
| 82 |
+
|
| 83 |
+
### Column Groups
|
| 84 |
+
|
| 85 |
+
**Molecular identifiers**
|
| 86 |
+
- `cas_number`, `cid`, `inchi`, `inchi_key`, `canonical_smiles`,
|
| 87 |
+
`isomeric_smiles`, `iupac_name`, `molecular_formula`
|
| 88 |
+
|
| 89 |
+
**Molecular descriptors** (pre-computed via RDKit and PubChem)
|
| 90 |
+
- `molecular_weight`, `xlogp`, `tpsa`, `complexity`,
|
| 91 |
+
`h_bond_donor_count`, `h_bond_acceptor_count`,
|
| 92 |
+
`rotatable_bond_count`, `heavy_atom_count`
|
| 93 |
+
|
| 94 |
+
**Physical properties**
|
| 95 |
+
- `boiling_point`, `flash_point`, `physical_description`
|
| 96 |
+
|
| 97 |
+
**GHS hazard labels** (30 binary columns, 1 = hazard applies, 0 = not classified)
|
| 98 |
+
- Health: `acute_toxicity_oral`, `acute_toxicity_dermal`,
|
| 99 |
+
`acute_toxicity_inhalation`, `carcinogenicity`,
|
| 100 |
+
`germ_cell_mutagenicity`, `reproductive_toxicity`,
|
| 101 |
+
`skin_corrosion_irritation`, `skin_sensitization`,
|
| 102 |
+
`eye_damage_irritation`, `respiratory_sensitization`,
|
| 103 |
+
`aspiration_hazard`, `stot_single_exposure`,
|
| 104 |
+
`stot_repeated_exposure`
|
| 105 |
+
- Physical: `flammable_liquids`, `flammable_gases`, `flammable_solids`,
|
| 106 |
+
`flammable_aerosols`, `explosives`, `oxidizing_liquids`,
|
| 107 |
+
`oxidizing_solids`, `oxidizing_gases`, `organic_peroxides`,
|
| 108 |
+
`self_reactive_substances`, `pyrophoric_substances`,
|
| 109 |
+
`self_heating_substances`, `water_reactive_substances`,
|
| 110 |
+
`gases_under_pressure`, `metal_corrosion`
|
| 111 |
+
- Environmental: `acute_aquatic_toxicity`, `chronic_aquatic_toxicity`
|
| 112 |
+
|
| 113 |
+
### Dataset Splits
|
| 114 |
+
|
| 115 |
+
Splits were generated using **Bemis-Murcko scaffold splitting** to
|
| 116 |
+
prevent structural data leakage between train and test, combined with
|
| 117 |
+
**iterative stratification** to preserve per-label positive rates across
|
| 118 |
+
partitions. This is the standard evaluation protocol for molecular ML
|
| 119 |
+
benchmarks. A 70/15/15 train/validation/test ratio was applied.
|
| 120 |
+
|
| 121 |
+
**Task 1 benchmark uses 17 of the 30 labels** — those with at least 10
|
| 122 |
+
positive instances in the test partition after scaffold splitting. The
|
| 123 |
+
remaining 13 labels are retained in the full dataset and used in Task 2.
|
| 124 |
+
|
| 125 |
+
## Dataset Creation
|
| 126 |
+
|
| 127 |
+
### Curation Rationale
|
| 128 |
+
|
| 129 |
+
Existing molecular ML benchmarks (MoleculeNet, Tox21) are populated
|
| 130 |
+
primarily from pharmaceutical and bioassay databases, biasing their
|
| 131 |
+
chemical space toward drug-like molecules. Real-world chemical safety
|
| 132 |
+
workflows involve industrial solvents, reactive gases, agrochemicals,
|
| 133 |
+
and heavy metal compounds that are systematically underrepresented in
|
| 134 |
+
these benchmarks. SafeChem was created to fill this gap by
|
| 135 |
+
grounding the substance population in a regulatory hazardous materials
|
| 136 |
+
registry rather than database availability.
|
| 137 |
+
|
| 138 |
+
### Data Collection and Processing
|
| 139 |
+
|
| 140 |
+
1. **Seed corpus**: Substance identifiers (CAS numbers) were extracted
|
| 141 |
+
from a regulatory hazardous materials management information system
|
| 142 |
+
(HMMIS).
|
| 143 |
+
2. **PubChem enrichment**: CAS numbers were resolved to PubChem CIDs
|
| 144 |
+
via the PubChem identifier exchange service. Records were retained
|
| 145 |
+
only if they had a valid canonical SMILES and at least one GHS
|
| 146 |
+
hazard classification entry.
|
| 147 |
+
3. **Descriptor retrieval**: Molecular descriptors were retrieved from
|
| 148 |
+
PubChem's computed properties endpoint and cross-validated against
|
| 149 |
+
RDKit recomputation; discrepancies exceeding 5% used the RDKit value.
|
| 150 |
+
4. **Deduplication**: Records were deduplicated by PubChem CID. Label
|
| 151 |
+
conflicts across duplicate records (20 CIDs, 23 label-level conflicts)
|
| 152 |
+
were resolved by union — a hazard class was assigned positive if any
|
| 153 |
+
source record carried a positive classification.
|
| 154 |
+
5. **Filtering**: Substances with no positive GHS labels were excluded.
|
| 155 |
+
The final corpus contains 32,614 unique substances.
|
| 156 |
+
|
| 157 |
+
### Source Data Producers
|
| 158 |
+
|
| 159 |
+
GHS hazard annotations are regulatory submissions from government
|
| 160 |
+
bodies and industry to ECHA, NITE, and other national authorities,
|
| 161 |
+
as aggregated by PubChem. Molecular structure data is sourced from
|
| 162 |
+
PubChem's Compound database.
|
| 163 |
+
|
| 164 |
+
### Annotations
|
| 165 |
+
|
| 166 |
+
GHS hazard labels are binary indicators derived from regulatory
|
| 167 |
+
classification submissions rather than manual annotation by the dataset
|
| 168 |
+
authors. Zero values indicate the absence of a positive GHS
|
| 169 |
+
classification in PubChem's aggregated records; this predominantly
|
| 170 |
+
reflects a regulatory determination that the hazard does not apply,
|
| 171 |
+
though absence of data cannot be fully excluded for all substances.
|
| 172 |
+
|
| 173 |
+
### Personal and Sensitive Information
|
| 174 |
+
|
| 175 |
+
The dataset contains only chemical substance data (molecular structures,
|
| 176 |
+
physicochemical properties, regulatory classifications). No personal or
|
| 177 |
+
sensitive information about individuals is included.
|
| 178 |
+
|
| 179 |
+
## Bias, Risks, and Limitations
|
| 180 |
+
|
| 181 |
+
- **Jurisdictional scope**: GHS annotations are aggregated by PubChem
|
| 182 |
+
from multiple regulatory bodies. The majority derive from ECHA
|
| 183 |
+
submissions (CLP Regulation and C&L Inventory), with a minority from
|
| 184 |
+
Japan's NITE and other national authorities. The precise jurisdictional
|
| 185 |
+
distribution cannot be fully characterised as PubChem does not expose
|
| 186 |
+
per-record source provenance. Classifications may not align with US
|
| 187 |
+
OSHA HazCom 2012 or other national GHS implementations for all
|
| 188 |
+
substances.
|
| 189 |
+
- **Label noise**: A subset of annotations derives from industry
|
| 190 |
+
self-notifications in the ECHA C&L Inventory, which are self-reported
|
| 191 |
+
and may exhibit inter-submitter inconsistency not fully resolved by
|
| 192 |
+
union merging.
|
| 193 |
+
- **Scaffold clustering**: Four labels exhibit train/test prevalence
|
| 194 |
+
deviations due to scaffold clustering (`stot_repeated_exposure`,
|
| 195 |
+
`flammable_solids`, `metal_corrosion`, `stot_single_exposure`);
|
| 196 |
+
per-label metrics for these should be interpreted with caution.
|
| 197 |
+
- **Single compounds only**: All substances are single compounds;
|
| 198 |
+
mixture toxicology is not captured.
|
| 199 |
+
- **Temporal snapshot**: Labels reflect the state of regulatory
|
| 200 |
+
knowledge at the time of PubChem data collection and may not reflect
|
| 201 |
+
subsequent regulatory updates.
|
| 202 |
+
|
| 203 |
+
|
| 204 |
+
|
| 205 |
+
## Glossary
|
| 206 |
+
|
| 207 |
+
- **GHS**: Globally Harmonized System of Classification and Labelling
|
| 208 |
+
of Chemicals — the international standard for chemical hazard
|
| 209 |
+
communication.
|
| 210 |
+
- **CLP Regulation**: EU Regulation (EC) No 1272/2008 on classification,
|
| 211 |
+
labelling and packaging of substances and mixtures, which implements
|
| 212 |
+
GHS in the European Union.
|
| 213 |
+
- **ECHA C&L Inventory**: European Chemicals Agency Classification and
|
| 214 |
+
Labelling Inventory — a database of GHS classifications notified by
|
| 215 |
+
industry.
|
| 216 |
+
- **Scaffold split**: A dataset partitioning strategy that separates
|
| 217 |
+
molecules by their Bemis-Murcko core ring system, preventing
|
| 218 |
+
structurally similar molecules from appearing in both train and test.
|
| 219 |
+
- **OHR (Omission Hallucination Rate)**: The fraction of true positive
|
| 220 |
+
hazard labels that an LLM fails to predict — the safety-critical
|
| 221 |
+
false-negative rate.
|
| 222 |
+
- **EPR (Empty Prediction Rate)**: The fraction of LLM responses that
|
| 223 |
+
return no hazard labels, indistinguishable from a confirmed negative
|
| 224 |
+
classification in automated pipelines.
|
| 225 |
+
- **SMILES**: Simplified Molecular Input Line Entry System — a string
|
| 226 |
+
notation for representing molecular structures.
|
| 227 |
+
- **AUPRC**: Area Under the Precision-Recall Curve — the primary
|
| 228 |
+
evaluation metric for Task 1, preferred over AUROC under class
|
| 229 |
+
imbalance.
|