LNPBench: code, caches, results and figures (part 2)
Browse filesFiles changed (8)
- results/schema_audit.csvAdded+16
- results/schema_bench2.csvAdded+61
- results/schema_bench_v2.csvAdded+21
- results/schema_paired.csvAdded+4
- results/schema_preds.tgzAdded+3
- results/schema_results.mdAdded+20
- results/schema_summary.csvAdded+5
- results/stack_probe.csvAdded+16
12345678910111213141516block,dim,balanced_acc,accuracy,chancebase+ctx,507,0.9971073031093077,0.9997348605366423,0.025ctx_only,109,0.9561678538706261,0.954873263336515,0.025base+spec,422,0.9528388504716766,0.9437374058754905,0.025onto_cross,20,0.9522090941303688,0.9459645773676955,0.025base+onto,621,0.9508676966255228,0.9337151341605685,0.025base,398,0.9499265027720949,0.9319121858097359,0.025base+onto+cb,696,0.9494556595884858,0.9304804327076042,0.025onto,223,0.9484255768878374,0.9380634213596352,0.025onto+cb,298,0.9483265358133288,0.9298440979955457,0.025base+cb,473,0.9470286652864915,0.9304274048149327,0.025base+onto+cb+spec,720,0.9462612151440413,0.9345105525506416,0.025spec,24,0.933581147242925,0.9356771661894157,0.025cb,75,0.932770791121936,0.9251246155477781,0.025onto_il,32,0.8626162032806981,0.9010499522748966,0.025onto_slots,171,0.6523269053050994,0.811220702089299,0.02512345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061config,task,study,fold,seed,spearmanbase+onto,LM_2019_fold0,LM_2019,0,0,0.2731466155535937base+onto,LM_2019_fold1,LM_2019,1,0,0.23932579514033872base+onto,LM_2019_fold2,LM_2019,2,0,0.19734300507445762base+onto,LM_2019_fold3,LM_2019,3,0,0.2596928359150481base+onto,LM_2019_fold4,LM_2019,4,0,0.22765319378718926base+onto,BL_2023_fold0,BL_2023,0,0,0.10262515520534284base+onto,BL_2023_fold1,BL_2023,1,0,0.15574056237535455base+onto,BL_2023_fold2,BL_2023,2,0,0.1799359642139527base+onto,BL_2023_fold3,BL_2023,3,0,0.19072740301008526base+onto,BL_2023_fold4,BL_2023,4,0,0.17623791923011078base+onto,SL_2020_fold0,SL_2020,0,0,0.6566357245528252base+onto,SL_2020_fold1,SL_2020,1,0,0.7023873543572628base+onto,SL_2020_fold2,SL_2020,2,0,0.6073050923361583base+onto,SL_2020_fold3,SL_2020,3,0,0.6813261399564948base+onto,SL_2020_fold4,SL_2020,4,0,0.612329933252247base+onto,ZC_2023_fold0,ZC_2023,0,0,0.3532052620814256base+onto,ZC_2023_fold1,ZC_2023,1,0,0.44044941520415287base+onto,ZC_2023_fold2,ZC_2023,2,0,0.44691643732889363base+onto,ZC_2023_fold3,ZC_2023,3,0,0.45941493618378454base+onto,ZC_2023_fold4,ZC_2023,4,0,0.3922472204585366base+cb,LM_2019_fold0,LM_2019,0,0,0.17998593119480702base+cb,LM_2019_fold1,LM_2019,1,0,0.2310602712355967base+cb,LM_2019_fold2,LM_2019,2,0,0.17343139978002392base+cb,LM_2019_fold3,LM_2019,3,0,0.2444214285331031base+cb,LM_2019_fold4,LM_2019,4,0,0.18555292434651655base+cb,BL_2023_fold0,BL_2023,0,0,0.006559005586363056base+cb,BL_2023_fold1,BL_2023,1,0,0.1698727394670514base+cb,BL_2023_fold2,BL_2023,2,0,0.13320110413820932base+cb,BL_2023_fold3,BL_2023,3,0,0.16217610970659543base+cb,BL_2023_fold4,BL_2023,4,0,0.13423891210519376base+cb,SL_2020_fold0,SL_2020,0,0,0.6299417519086372base+cb,SL_2020_fold1,SL_2020,1,0,0.6498172365222752base+cb,SL_2020_fold2,SL_2020,2,0,0.586384838819175base+cb,SL_2020_fold3,SL_2020,3,0,0.7051734047661832base+cb,SL_2020_fold4,SL_2020,4,0,0.5910780070675351base+cb,ZC_2023_fold0,ZC_2023,0,0,0.2554584003929431base+cb,ZC_2023_fold1,ZC_2023,1,0,0.36213669928694986base+cb,ZC_2023_fold2,ZC_2023,2,0,0.33164852166562336base+cb,ZC_2023_fold3,ZC_2023,3,0,0.15838966634413917base+cb,ZC_2023_fold4,ZC_2023,4,0,0.38157635829107234base+onto+cb,LM_2019_fold0,LM_2019,0,0,0.19088927716705298base+onto+cb,LM_2019_fold1,LM_2019,1,0,0.2460251503392263base+onto+cb,LM_2019_fold2,LM_2019,2,0,0.21002415151789322base+onto+cb,LM_2019_fold3,LM_2019,3,0,0.25363828789023996base+onto+cb,LM_2019_fold4,LM_2019,4,0,0.18590853544240465base+onto+cb,BL_2023_fold0,BL_2023,0,0,0.012384679009804011base+onto+cb,BL_2023_fold1,BL_2023,1,0,0.10463711947158247base+onto+cb,BL_2023_fold2,BL_2023,2,0,0.09697608268450982base+onto+cb,BL_2023_fold3,BL_2023,3,0,0.09897136761577714base+onto+cb,BL_2023_fold4,BL_2023,4,0,0.11852783591026891base+onto+cb,SL_2020_fold0,SL_2020,0,0,0.6587060640174024base+onto+cb,SL_2020_fold1,SL_2020,1,0,0.5976368340718687base+onto+cb,SL_2020_fold2,SL_2020,2,0,0.6156300762961469base+onto+cb,SL_2020_fold3,SL_2020,3,0,0.6906461419196693base+onto+cb,SL_2020_fold4,SL_2020,4,0,0.5475708448782323base+onto+cb,ZC_2023_fold0,ZC_2023,0,0,0.15907055060023934base+onto+cb,ZC_2023_fold1,ZC_2023,1,0,0.3144251822643532base+onto+cb,ZC_2023_fold2,ZC_2023,2,0,0.28918560230948287base+onto+cb,ZC_2023_fold3,ZC_2023,3,0,0.12022155537263042base+onto+cb,ZC_2023_fold4,ZC_2023,4,0,0.3495362056244649123456789101112131415161718192021config,task,study,fold,seed,spearmanbase+onto,LM_2019_fold0,LM_2019,0,0,0.2797718009756842base+onto,LM_2019_fold1,LM_2019,1,0,0.2317336184314433base+onto,LM_2019_fold2,LM_2019,2,0,0.19723246944891973base+onto,LM_2019_fold3,LM_2019,3,0,0.2653874418841688base+onto,LM_2019_fold4,LM_2019,4,0,0.2145099055060033base+onto,BL_2023_fold0,BL_2023,0,0,0.07998649129749388base+onto,BL_2023_fold1,BL_2023,1,0,0.15032675421253056base+onto,BL_2023_fold2,BL_2023,2,0,0.1781749434002015base+onto,BL_2023_fold3,BL_2023,3,0,0.21596074271703053base+onto,BL_2023_fold4,BL_2023,4,0,0.18165830040188807base+onto,SL_2020_fold0,SL_2020,0,0,0.663252620622343base+onto,SL_2020_fold1,SL_2020,1,0,0.7014420872542361base+onto,SL_2020_fold2,SL_2020,2,0,0.6108042389806954base+onto,SL_2020_fold3,SL_2020,3,0,0.6811188445391645base+onto,SL_2020_fold4,SL_2020,4,0,0.6098175127942027base+onto,ZC_2023_fold0,ZC_2023,0,0,0.33375457661161734base+onto,ZC_2023_fold1,ZC_2023,1,0,0.43066342690797665base+onto,ZC_2023_fold2,ZC_2023,2,0,0.4186941984060056base+onto,ZC_2023_fold3,ZC_2023,3,0,0.4548692757048002base+onto,ZC_2023_fold4,ZC_2023,4,0,0.372019169157877141234config,n,mean,ref_mean,delta,relative,wilcoxon_p,n_tasks_improvedbase+onto,20,0.36773229826086273,0.376108049123671,-0.008375750862808284,-0.022269533668114048,0.2773551940917969,8base+cb,20,0.31360523555789965,0.376108049123671,-0.06250281356577136,-0.16618313197870255,2.6702880859375e-05,3base+onto+cb,20,0.2930305772201624,0.376108049123671,-0.08307747190350862,-0.2208872479519609,0.0001678466796875,3123version https://git-lfs.github.com/spec/v1oid sha256:274c7a9a57888fc6ad6b8a44df908730bf73fa1ca6176fa8e22d9be0c6db3657size 1518341234567891011121314151617181920# Ontology / schema and global-representation experiments
All numbers are full runs: 4 fully held-out studies x 5 published folds = 20 external tasks, seed 0, identical estimator (random forest, 400 trees, `min_samples_leaf=2`), identical splits. Only the feature block changes.
## Per-study Spearman
| config | LM_2019 | BL_2023 | SL_2020 | ZC_2023 | mean | n ||---|---|---|---|---|---|---|| PhysChem-Tree (reference) | 0.209 | 0.174 | 0.683 | 0.439 | **0.376** | 20 || +ontology / schema | 0.239 | 0.161 | 0.652 | 0.418 | **0.368** | 20 || +global codebook | 0.203 | 0.121 | 0.632 | 0.298 | **0.314** | 20 || +ontology +codebook | 0.217 | 0.086 | 0.622 | 0.246 | **0.293** | 20 |
## Paired Wilcoxon against the reference (20 tasks)
| config | mean | reference | delta | relative | tasks improved | p ||---|---|---|---|---|---|---|| +ontology / schema | 0.368 | 0.376 | -0.008 | -2.2% | 8/20 | 0.2774 || +global codebook | 0.314 | 0.376 | -0.063 | -16.6% | 3/20 | 0.0000 || +ontology +codebook | 0.293 | 0.376 | -0.083 | -22.1% | 3/20 | 0.0002 |12345config,n_tasks,mean,std,LM_2019,BL_2023,SL_2020,ZC_2023base,20,0.3761080491236711,0.21165205425515116,0.2085815957623301,0.17445496846830638,0.6825516704637522,0.4388439618002956base+onto,20,0.36773229826086273,0.1968236600564582,0.23943228909412548,0.16105340080696917,0.6519968488909976,0.41844665425135863base+cb,20,0.31360523555789965,0.20783243012350092,0.20289039101800946,0.12120957420068254,0.6324790478167611,0.2978419291961455base+onto+cb,20,0.29303057722016246,0.21254071695337803,0.21729708047136337,0.08629941693838844,0.6220379922366639,0.2464878192342341312345678910111213141516setting,members,mean,delta,d_LM_2019,d_BL_2023,d_SL_2020,d_ZC_2023fixed,physchem_tree|physset_phys|randomforest|extratrees,0.3917526468757985,0.0,,,,fixed,physchem_tree|physset_phys|randomforest|extratrees|base_onto,0.3918061590144551,5.351213865656401e-05,0.011955419164678904,0.006090040902748589,-0.012588564486032405,-0.005242847026768693fixed,physchem_tree|physset_phys|randomforest|extratrees|base_cb,0.3827664357615791,-0.008986211114219433,0.004193939579396622,-0.001665977968891924,-0.01694131900600948,-0.02153148706137281fixed,physchem_tree|physset_phys|randomforest|extratrees|base_onto_cb,0.3784165884138901,-0.01333605846190844,0.008433425205502415,-0.011733517702553986,-0.014998287781346709,-0.03504585356923534fixed,physchem_tree|physset_phys|randomforest|extratrees|xgboost,0.3828026346436812,-0.008950012232117333,-0.008409090306864292,-0.011115536334290688,-0.00019187610911064468,-0.016083546178203456fixed,physchem_tree|physset_phys|randomforest|extratrees|agile,0.39581298519773245,0.004060338321933921,0.004961738814223987,-0.014980191092409306,0.01942998063053214,0.006829824935389361fixed,physchem_tree|physset_phys|randomforest|extratrees|lion,0.40582660531626236,0.01407395844046383,0.02937857917469608,0.007125495575620894,0.01894672971485689,0.0008450292966813433fixed,physchem_tree|physset_phys|randomforest|extratrees|phcausal_phys,0.38554257361102695,-0.006210073264771576,-0.010450700854172656,-0.015230325885367074,0.01121666055864412,-0.010375926878190556fixed,physchem_tree|physset_phys|randomforest|extratrees|probe_flat_rank,0.3952267443486989,0.003474097472900395,0.011364233076164743,-0.030041729688248142,0.03197440446390165,0.0005994820397836054fixed,physchem_tree|physset_phys|randomforest|extratrees|seqcausal,0.38184602471962337,-0.00990662215617516,-0.04304838203194761,-0.004564573356378637,0.02053012825747047,-0.012543661493844671greedy_in_sample,physchem_tree|physset_phys|randomforest|extratrees|lion,0.40582660531626236,0.01407395844046383,,,,loso_LM_2019,physchem_tree|physset_phys|randomforest|extratrees|lion,0.23671917857410377,0.02937857917469608,,,,loso_BL_2023,physchem_tree|physset_phys|randomforest|extratrees|lion|probe_flat_rank,0.14365664257953184,-0.020376918507419906,,,,loso_SL_2020,physchem_tree|physset_phys|randomforest|extratrees|lion,0.7483392332890266,0.01894672971485689,,,,loso_ZC_2023,physchem_tree|physset_phys|randomforest|extratrees|lion,0.46708895273934614,0.0008450292966813433,,,,results/schema_audit.csvAdded+16
results/schema_bench2.csvAdded+61
results/schema_bench_v2.csvAdded+21
results/schema_paired.csvAdded+4
results/schema_preds.tgzAdded+3
results/schema_results.mdAdded+20
results/schema_summary.csvAdded+5
results/stack_probe.csvAdded+16