Benjamin Nachman, Wahid Bhimji, Ibrahim Elsharkawy, Vinicius Mikuni, Joschka Birk, Gregor Kasieczka
We lifted 12 functions out of this paper's own repositories and ran 7 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.
| Repository | Role | Ran |
|---|---|---|
| ibrahimEls/PretrainingForScience | canonical | 7 of 12 |
| Function | Status | Where it lives |
|---|---|---|
| get_all_gen_finetuned_ckpt_paths_from_json | Ran | ibrahimEls/PretrainingForScience/omnilearn_lightning/utils_lightweight.py pointer only (licence: NONE) · get_code("4209b2f5d999847e") |
| get_latest_checkpoint_dir | Ran | ibrahimEls/PretrainingForScience/omnilearn_lightning/utils.py pointer only (licence: NONE) · get_code("946d37f965a8d510") |
| get_logs | Ran | ibrahimEls/PretrainingForScience/omnilearn_lightning/model.py pointer only (licence: NONE) · get_code("2e746a832c2463ff") |
| get_numerical_label_from_name | Ran | ibrahimEls/PretrainingForScience/omnilearn_lightning/utils_lightweight.py pointer only (licence: NONE) · get_code("b71b7033b296eee1") |
| get_pretrained_ckpts | Ran | ibrahimEls/PretrainingForScience/omnilearn_lightning/utils_lightweight.py pointer only (licence: NONE) · get_code("9a1857e8940e1d96") |
| preprocess_tensor | Ran | ibrahimEls/PretrainingForScience/omnilearn_lightning/array_utils.py pointer only (licence: NONE) · get_code("bab721fa5bb999ac") |
| quantiled_kl_divergence | Ran | ibrahimEls/PretrainingForScience/omnilearn_lightning/generation_eval_utils.py pointer only (licence: NONE) · get_code("4f87624bfae31f21") |
| eval_quark_gluon | Not yet run | ibrahimEls/PretrainingForScience/omnilearn_lightning/eval_tasks.py pointer only (licence: NONE) · get_code("36b8b561512735d0") |
| eval_top_tagging | Not yet run | ibrahimEls/PretrainingForScience/omnilearn_lightning/eval_tasks.py pointer only (licence: NONE) · get_code("7a9389fe179307ef") |
| load_partial_checkpoint | Not yet run | ibrahimEls/PretrainingForScience/omnilearn_lightning/utils.py pointer only (licence: NONE) · get_code("5eece5350c781508") |
| network_wrapper | Not yet run | ibrahimEls/PretrainingForScience/omnilearn_lightning/diffusion.py pointer only (licence: NONE) · get_code("e0fd13a1c684c9ff") |
| sum_reduce | Not yet run | ibrahimEls/PretrainingForScience/omnilearn_lightning/utils.py pointer only (licence: NONE) · get_code("8ba3dfe8f1993a47") |
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Foundation models (FMs) trained on large datasets and fine-tuned on downstream tasks have emerged as a powerful paradigm in AI for science. Industrial FMs are typically trained using selfsupervision with masking due to the lack of labels. In many scientific domains, accurate simulations are plentiful and facilitate large, labeled datasets. This opens up new possibilities for pre-training. We present a systematic comparison of pre-training methods using the OmniLearned High Energy Physics FM framework. We test supervised classification, flow-matching generation, and selfsupervised masked particle modeling. All models are pre-trained on the JetClass dataset and finetuned on two representative downstream tasks, top jet classification and JetNet conditional generation. Among other observations, for classification tasks, we find that pure classifier pre-training is optimal when downstream labels and model capacity are plentiful, but combining it with selfsupervised masked particle modeling (MPM) is uniquely powerful in the low-finetuning label regime. Flow matching-based generative pre-training seems to provide little benefit for downstream classification, and interestingly, for downstream generation, we find that flow matching must be in the pre-training objective to see a significant finetuning advantage, hinting at the orthogonality of classification and generation tasks. That is, for a model to transfer to both generative and classification downstream tasks, it must be pre-trained on both. This study provides a template for controlled scaling analysis of pre-training objectives for foundation models in simulation-based sciences.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2606.14870")
get_code_for_paper("2606.14870")
have("2606.14870")
Connect an agent — have() is free.