{"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-2605-10395","title":"Sharp feature-learning transitions and Bayes-optimal neural scaling laws in extensive-width networks","arxiv_id":"2605.10395","date":"2026-05-11","proceeding":null,"authors":["Minh-Toan Nguyen","Jean Barbier"],"abstract":"We study the information-theoretic limits of learning a one-hidden-layer teacher network with hierarchical features from noisy queries, in the context of knowledge transfer to a smaller student model. We work in the high-dimensional regime where the teacher width $k$ scales linearly with the input dimension $d$ -- a setting that captures large-but-finite-width networks and has only recently become analytically tractable. Using a heuristic leave-one-out decoupling argument, validated numerically throughout, we derive asymptotically sharp characterizations of the Bayes-optimal generalization error and individual feature overlaps via a system of closed fixed-point equations. These equations reveal that feature learnability is governed by a sequence of sharp phase transitions: as data grows, teacher features become recoverable sequentially, each through a discontinuous jump in overlap. This sequential acquisition underlies a precise notion of \\textit{effective width} $k_c$ -- the number of learnable features at a given data budget $n$ -- which unifies two distinct scaling regimes: a feature-learning regime in which the Bayes-optimal generalization error $\\varepsilon^{\\rm BO}$ scales as $ n^{1/(2β)-1}$, and a refinement regime in which it scales as $n^{-1}$, where $β>1/2$ is the exponent of the power-law feature hierarchy. Both laws collapse to the single relation $\\varepsilon^{\\rm BO}=Θ(k_c d/n)$. We further show empirically that a student trained with \\textsc{Adam} near the effective width $k_c$ achieves these optimal scaling laws (up to a small algorithmic gap), and provide an information-theoretic account of the associated scaling in model size.","url_abs":"https://arxiv.org/abs/2605.10395","url_pdf":"https://arxiv.org/pdf/2605.10395","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=2605.10395","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2605.10395"}},"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/Minh-Toan/scaling-laws","reach":null}],"summary":{"ran":9,"unverified":1},"by_repo_kind":{"found_in_text":{"samples":10,"ran":9,"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":10,"samples":[{"code_sha256_prefix":"c824e0279152aeb9","entry":"Ez","repo":"Minh-Toan/scaling-laws","repo_kind":"found_in_text","path":"func.py","file_url":"https://github.com/Minh-Toan/scaling-laws/blob/HEAD/func.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c824e0279152aeb9"}},{"code_sha256_prefix":"40e335956fcd0f92","entry":"align","repo":"Minh-Toan/scaling-laws","repo_kind":"found_in_text","path":"func.py","file_url":"https://github.com/Minh-Toan/scaling-laws/blob/HEAD/func.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"40e335956fcd0f92"}},{"code_sha256_prefix":"19c7b5d0d567c56e","entry":"data_generate","repo":"Minh-Toan/scaling-laws","repo_kind":"found_in_text","path":"hmc.py","file_url":"https://github.com/Minh-Toan/scaling-laws/blob/HEAD/hmc.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"19c7b5d0d567c56e"}},{"code_sha256_prefix":"5701f568e8733ced","entry":"ortho_mat","repo":"Minh-Toan/scaling-laws","repo_kind":"found_in_text","path":"data_sgd_varying_widths_1.py","file_url":"https://github.com/Minh-Toan/scaling-laws/blob/HEAD/data_sgd_varying_widths_1.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"5701f568e8733ced"}},{"code_sha256_prefix":"49ec732ebddf2b27","entry":"ortho_rows","repo":"Minh-Toan/scaling-laws","repo_kind":"found_in_text","path":"hmc.py","file_url":"https://github.com/Minh-Toan/scaling-laws/blob/HEAD/hmc.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"49ec732ebddf2b27"}},{"code_sha256_prefix":"a1741ebdbf77adc8","entry":"train","repo":"Minh-Toan/scaling-laws","repo_kind":"found_in_text","path":"sgd.py","file_url":"https://github.com/Minh-Toan/scaling-laws/blob/HEAD/sgd.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a1741ebdbf77adc8"}},{"code_sha256_prefix":"eaedd1e312ffacf8","entry":"train2","repo":"Minh-Toan/scaling-laws","repo_kind":"found_in_text","path":"sgd.py","file_url":"https://github.com/Minh-Toan/scaling-laws/blob/HEAD/sgd.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"eaedd1e312ffacf8"}},{"code_sha256_prefix":"ddedd1a47204769a","entry":"train2_fast","repo":"Minh-Toan/scaling-laws","repo_kind":"found_in_text","path":"sgd.py","file_url":"https://github.com/Minh-Toan/scaling-laws/blob/HEAD/sgd.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ddedd1a47204769a"}},{"code_sha256_prefix":"a68b002ed9b45e43","entry":"v_generate","repo":"Minh-Toan/scaling-laws","repo_kind":"found_in_text","path":"func.py","file_url":"https://github.com/Minh-Toan/scaling-laws/blob/HEAD/func.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a68b002ed9b45e43"}},{"code_sha256_prefix":"277a0cb38d3f0dbb","entry":"pre_activation","repo":"Minh-Toan/scaling-laws","repo_kind":"found_in_text","path":"hmc.py","file_url":"https://github.com/Minh-Toan/scaling-laws/blob/HEAD/hmc.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"277a0cb38d3f0dbb"}}]},"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}