xiaojie06's picture
Publish verified DrugResearchBench task files
0caf2aa verified
Raw History Blame Contribute Delete
13 kB
{
"schema": "neutral-paper-reproduction-v101",
"paper_id": "P249",
"title": "Chemprop: A Machine Learning Package for Chemical Property Prediction",
"question": "Reproduce the Chemprop paper’s own full-split reaction-barrier and molecular-property learning, checkpoint predictions, tuning, ensembles and method experiments. Distinguish actual partial training from original full HPO/epoch/ensemble conditions. Random-test labels are withheld in every input view, including production data; preserve all row identities and report the resulting production-data limitation.",
"inputs": [
"docs/",
"inputs/"
],
"scientific_outputs": {
"predictions": "predictions.json map e2,sn2,logp,sampl6,sampl7,sampl9 to orderedlistfloat (onlyactuallytrainedendpoints). Same schema for predict_only checkpointreplay. No testlabels mounted.",
"checkpoint": "checkpoint_bundle.pt, exact ownPyTorch state dictionaries+scalers+hyperparameters; predict_only loads/input/checkpoint_bundle.pt and infers fromrawquerystructures, no train.",
"results": "experiment_results.json mapendpoint to {train_rows,val_rows,epochs,hpo_trials,ensemble_size,hidden_size,depth,aggregation,seed,target_mean,target_std,best_epoch,conditions,validation_RMSE}; samplefullscopeclaim_results.json+report.md classifyallclaims.",
"history": "training_history.json mapendpointto orderedper-epoch {epoch,train_loss,val_RMSE,learning_rate}; gradientsrealtraining, checkpointselectedbyvalidation only. SAMPLproduction fullfit fixed40epochs separatefromrandomtestfit.",
"provenance": "input_provenance.json mapinputnames->sha256 or{sha256,bytes}, basename/manifest/input aliases accepted; optionalfiles wrapper. Query hashchangesaudited.",
"calculation_results.json": "Object keyed by supplied calculation ID, each containing {value: the computed scientific value}. Use the named fields and units specified below; harmless extra annotations are allowed."
},
"scientific_details": {
"experiment_spec": {
"original_counts": {
"e2_train": 800,
"e2_val": 200,
"e2_test": 264,
"sn2_train": 1440,
"sn2_val": 360,
"sn2_test": 561,
"logp_train": 18776,
"logp_val": 2347,
"logp_test": 2346,
"logp_production": 23469,
"sampl6": 11,
"sampl7": 22,
"sampl9": 16
},
"original_source_version": "chemprop1.6.1 (not softwarev2); timing special benchmark_timing branch",
"original_archive_sha256": "43cbe41194784f4cb4c4d82a376be4227362bb7afa0e390f4a2916d4954819bf",
"license": "Zenodo data CC-BY4.0; softwareMIT; manuscriptCC-BY; source hidden fromA",
"original_conditions": {
"small": {
"threshold": "<10000",
"hpo_trials": 100,
"epochs": 200
},
"large": {
"threshold": ">10000",
"hpo_trials": 30,
"epochs": 50
},
"final_ensemble": 5,
"aggregation": "norm",
"aggregation_norm": 100,
"loss": "MSE, train-only target normalization (population SD), val selects best checkpoint",
"reaction_mode": "reac_diff",
"reaction_explicit_h": true,
"SAMPL_production_epochs": 40,
"SAMPL_production": "Full23469 labels, same tuned hyperparameters, five models; benchmark script40epochs rather than simply SI50; no blind challenge labels used."
},
"feature_convention": "RDKit molecules; for reactions preserve explicit H from atom-mapped SMILES, do not add missing H; atom union ordered reactant then product-only, map by atom-map number. Atom onehots: atomic_num-1 choices0..99(+unknown),totaldegree0..5(+unknown),formalcharge[-1,-2,1,2,0](+unknown),chiral0..3(+unknown),totalHs0..4(+unknown),hybridizationSP,SP2,SP3,SP3D,SP3D2(+unknown),aromatic,mass/100 ->133. Bond14: absent flag, single,double,triple,aromatic,conjugated,inring,stereo0..5(+unknown). CGR atom = reactant133 + (product-reactant)[101:] ->165; absent atoms retain atomic-numberonehot and zero otherfeatures. Bond = reactant14 + product-reactant14 ->28. Directed input cat(sourceatom,CGRbond), reverse excluded. Molecularatom133,bond14. ReLU(Wi directedfeature); repeated depth-1 updates ReLU(initial + Wh sum(nonreverseincoming)); atom=ReLU(Wo cat(atomfeatures, allincoming)); molecular sum/norm100; FFN2hidden300 and bias bydefault. Allmodel weights updated endtoend withAdam. Defaultdepth3hidden300batch50, warmup2epochsLR1e-4->1e-3 then exponential to1e-4; disclosed new budget branches may alter these but must identify deviations.",
"scientific_contract": "Raw original train/val/test ordering and all molecules, no demo/subset substitution for original endpoint claims. Public test andblind files haveSMILESonly; truths administratorprivate. logp_production includes literature random test labels solely for separatefullproduction branch; literature randomtestmodel must exclusivelyfitlogp_train andselectlogp_val. Do not train randomtestmodel on productionfile. Save trained checkpoint_bundle.pt, per-epoch trainloss/valRMSE, selectedepoch, per-query predictions, architecture/hyperparameters/trials/ensemble/rows/seed/full_input_SHA provenance. At least one original smallreaction endpoint real training strongly encouraged before claiming fullscope.",
"hidden_interface": "Program must read evaluation_mode.json each invocation. Default mode train requests chosen original endpoints; epoch_cap=null. predict_only mode loads /input/checkpoint_bundle.pt (exact own sealed artifact, no remodification), rereads same schemas possibly altered SMILES, and producespredictions.json without training. hidden train mode usesoriginal E2 rows with shiftedtraining labels, changedquerystructures andnewfixtures; epoch_cap=2 limits only audit replay, explicitly newconditions, nevercountsoriginalepochclaim. Exact sealedsource bytes, no injected functions. Source must handle both modes independently; hiddenmethodper-item required. Originalscientific claims independent of hiddentraining diagnostic; predictionclaimrequires actualcheckpointreplay.",
"method_rules": "directed: for each edgeu->v sum incomingmessagesk->u excludingv->u, returnincoming. message: ReLU(initial+incoming@W.T), returnupdated. pool: sum(atomembeddings)/norm, returnembedding. lr: linearwarmupsteps0..warmup; maximum*(final/maximum)**((s-warmup)/(total-warmup))afterwarmup, returnlr. scale: populationtrainingmean/std, unscale predictions, argminfirst validationepoch zero-based. metrics: excludeNone truths, MAE/RMSE/R2 using validtruthmean. ensemble: populationmean/variance acrossmodels perquery. CGR: sortednodeunion, sortedcanonicalundirectededgeunion, concatreactantfeatures+(product-reactant), returnnodes,edges,features. NLL: mean.5*(log(2pi*variance)+(truth-mean)^2/variance). SID: normalize bothpositivearrays tosum1, sum p*log(p/q)+q*log(q/p). No fabricated knownfixtureanswers."
}
},
"entrypoint": "reproduce.py --input-dir /input --output-dir /work/output",
"rules": [
"All raw inputs are under /input/inputs and paper materials are under /input/docs.",
"Use current input values and retain complete record identities and denominators.",
"Report actual scientific outputs and honest scope limits; printed paper totals alone are not new computations.",
"Original-author algorithm source and mirrors are hidden. Other open-source tools and opaque binaries may be used; record their provenance."
],
"runtime": "Frozen CPU-only Python3.12/RDKit2024.09.6/NumPy1.26.4 runtime. Historical version differences must be reported.",
"resources": {
"cpu_cores": 1,
"memory_bytes": 2147483648,
"cpu_seconds": 6000,
"wall_seconds": 7200,
"max_versions": 3,
"max_actions": 12
},
"public_calculation_output_formats": {
"calc_001": {
"type": "object",
"properties": {
"incoming": {
"type": "array",
"items": [
{
"items": [
{
"type": "number"
}
],
"length": "variable unless the public input fixes it",
"type": "array"
}
],
"length": "variable unless the public input fixes it"
}
},
"extra_annotations_allowed": true
},
"calc_002": {
"type": "object",
"properties": {
"updated": {
"type": "array",
"items": [
{
"items": [
{
"type": "number"
}
],
"length": "variable unless the public input fixes it",
"type": "array"
}
],
"length": "variable unless the public input fixes it"
}
},
"extra_annotations_allowed": true
},
"calc_003": {
"type": "object",
"properties": {
"embedding": {
"type": "array",
"items": [
{
"type": "number"
}
],
"length": "variable unless the public input fixes it"
}
},
"extra_annotations_allowed": true
},
"calc_004": {
"type": "object",
"properties": {
"lr": {
"type": "array",
"items": [
{
"type": "number"
}
],
"length": "variable unless the public input fixes it"
}
},
"extra_annotations_allowed": true
},
"calc_005": {
"type": "object",
"properties": {
"mean": {
"type": "number"
},
"std": {
"type": "number"
},
"predictions": {
"type": "array",
"items": [
{
"type": "number"
}
],
"length": "variable unless the public input fixes it"
},
"best_epoch": {
"type": "number"
}
},
"extra_annotations_allowed": true
},
"calc_006": {
"type": "object",
"properties": {
"MAE": {
"type": "number"
},
"RMSE": {
"type": "number"
},
"R2": {
"type": "number"
}
},
"extra_annotations_allowed": true
},
"calc_007": {
"type": "object",
"properties": {
"mean": {
"type": "array",
"items": [
{
"type": "number"
}
],
"length": "variable unless the public input fixes it"
},
"variance": {
"type": "array",
"items": [
{
"type": "number"
}
],
"length": "variable unless the public input fixes it"
}
},
"extra_annotations_allowed": true
},
"calc_008": {
"type": "object",
"properties": {
"nodes": {
"type": "array",
"items": [
{
"type": "number"
}
],
"length": "variable unless the public input fixes it"
},
"edges": {
"type": "array",
"items": [
{
"items": [
{
"type": "number"
}
],
"length": "variable unless the public input fixes it",
"type": "array"
}
],
"length": "variable unless the public input fixes it"
},
"features": {
"type": "array",
"items": [
{
"type": "number"
}
],
"length": "variable unless the public input fixes it"
}
},
"extra_annotations_allowed": true
},
"calc_009": {
"type": "object",
"properties": {
"NLL": {
"type": "number"
}
},
"extra_annotations_allowed": true
},
"calc_010": {
"type": "object",
"properties": {
"SID": {
"type": "number"
}
},
"extra_annotations_allowed": true
}
},
"checkpoint_numeric_contract": {
"endpoints": [
"e2",
"sn2",
"logp",
"sampl"
],
"member_fields": [
"state",
"mean",
"std",
"hidden_size",
"depth",
"atom_dim",
"bond_dim"
],
"canonical_state_keys": [
"wi.weight",
"wh.weight",
"wo.weight",
"ff.0.weight",
"ff.0.bias",
"ff.2.weight",
"ff.2.bias"
],
"parameter_map": "Optional canonical key to actual tensor key map. Multiple members may be stored as members:list. Provide aggregation sum/mean/norm, aggregation_norm default100. Preserve the declared original molecular/CGR feature convention.",
"prediction_validation": "Independent numeric inference must match all submitted ordered query predictions within1e-5; nonconstant predictions have population SD>1e-4."
}
}