{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/arxiv-2606-03938","title":"q0: Primitives for Hyper-Epoch Pretraining","arxiv_id":"2606.03938","date":"2026-06-02","proceeding":null,"authors":["Bishwas Mandal","Shmuel Berman","Akshay Vegesna","Samip Dahal"],"abstract":"Multi-epoch training is becoming the standard now that compute is growing faster than the supply of high-quality text. But pretraining a single model saturates within a few passes, long before the compute budget is exhausted. We argue this calls for a conceptual shift from training a single model toward exploring a population of models and aggregating their predictions. We introduce hyper-epoch pretraining (q0), which turns a multi-epoch budget into a population of diverse models whose combined predictions reach a lower validation loss than a single refined model. q0 reduces to three core primitives. A cyclic schedule with anti-correlated learning rate and weight decay collects diverse models from a few parallel trajectories. Chain distillation trains each model against its predecessor so that model quality compounds across the population. A learned prior, fit on a held out set, selects and weights members for any inference budget. On a 1.8B-parameter model trained on 100M FineWeb tokens, q0 matches a strong 256-epoch ensemble baseline using only ~56 epochs (~4.6x fewer), or ~67 epochs (~3.8x fewer) when matched to the baseline's ensemble size, and continues to improve beyond it. These gains reach cumulative ~12.9x data efficiency under the Slowrun setting and transfer to downstream benchmarks. Crucially, the optimal allocation shifts with the budget, so we give prescriptive recipes for how to spend a given epoch budget to maximize generalization, from a single epoch up to the largest budgets.","url_abs":"https://arxiv.org/abs/2606.03938","url_pdf":"https://arxiv.org/pdf/2606.03938","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2606.03938","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2606.03938"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/qlabs-eng/slowrun","reach":null}],"summary":{"ran":6,"unverified":1},"by_repo_kind":{"found_in_text":{"samples":7,"ran":6,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"0dff35cd3b495d19","entry":"optimize_alpha","repo":"qlabs-eng/slowrun","repo_kind":"found_in_text","path":"unlimited/gradient_select.py","file_url":"https://github.com/qlabs-eng/slowrun/blob/HEAD/unlimited/gradient_select.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"0dff35cd3b495d19"}},{"code_sha256_prefix":"7c9ee1871f3b8ac9","entry":"parse_n_layer_schedule","repo":"qlabs-eng/slowrun","repo_kind":"found_in_text","path":"research/universal_transformer/train_unlimited.py","file_url":"https://github.com/qlabs-eng/slowrun/blob/HEAD/research/universal_transformer/train_unlimited.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"7c9ee1871f3b8ac9"}},{"code_sha256_prefix":"91e337d4b7b8293c","entry":"rms_norm","repo":"qlabs-eng/slowrun","repo_kind":"found_in_text","path":"research/universal_transformer/train_unlimited.py","file_url":"https://github.com/qlabs-eng/slowrun/blob/HEAD/research/universal_transformer/train_unlimited.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"91e337d4b7b8293c"}},{"code_sha256_prefix":"b3f4d8cf48999af4","entry":"run_gradient_selection","repo":"qlabs-eng/slowrun","repo_kind":"found_in_text","path":"unlimited/gradient_select.py","file_url":"https://github.com/qlabs-eng/slowrun/blob/HEAD/unlimited/gradient_select.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b3f4d8cf48999af4"}},{"code_sha256_prefix":"5569e16cd0139606","entry":"sha256_file","repo":"qlabs-eng/slowrun","repo_kind":"found_in_text","path":"prepare_data.py","file_url":"https://github.com/qlabs-eng/slowrun/blob/HEAD/prepare_data.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5569e16cd0139606"}},{"code_sha256_prefix":"46f85d911174eff4","entry":"tokenize_documents","repo":"qlabs-eng/slowrun","repo_kind":"found_in_text","path":"prepare_data.py","file_url":"https://github.com/qlabs-eng/slowrun/blob/HEAD/prepare_data.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"46f85d911174eff4"}},{"code_sha256_prefix":"5a657f70b0431103","entry":"flash_attn_func","repo":"qlabs-eng/slowrun","repo_kind":"found_in_text","path":"research/universal_transformer/train_unlimited.py","file_url":"https://github.com/qlabs-eng/slowrun/blob/HEAD/research/universal_transformer/train_unlimited.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5a657f70b0431103"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.LG","source":"arxiv_2026.jsonl"},"syntology_extracted_results":null}