{"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-2602-06923","title":"From Kepler to Newton: Inductive Biases Guide Learned World Models in Transformers","arxiv_id":"2602.06923","date":"2026-02-06","proceeding":"ICML","authors":["Ziming Liu","Sophia Sanborn","Surya Ganguli","Andreas Tolias"],"abstract":"Can general-purpose AI architectures go beyond prediction to discover the physical laws governing the universe? True intelligence relies on \"world models\" -- causal abstractions that allow an agent to not only predict future states but understand the underlying governing dynamics. While previous \"AI Physicist\" approaches have successfully recovered such laws, they typically rely on strong, domain-specific priors that effectively \"bake in\" the physics. Conversely, Vafa et al. recently showed that generic Transformers fail to acquire these world models, achieving high predictive accuracy without capturing the underlying physical laws. We bridge this gap by systematically introducing three minimal inductive biases. We show that ensuring spatial smoothness (by formulating prediction as continuous regression) and stability (by training with noisy contexts to mitigate error accumulation) enables generic Transformers to surpass prior failures and learn a coherent Keplerian world model, successfully fitting ellipses to planetary trajectories. However, true physical insight requires a third bias: temporal locality. By restricting the attention window to the immediate past -- imposing the simple assumption that future states depend only on the local state rather than a complex history -- we force the model to abandon curve-fitting and discover Newtonian force representations. Our results demonstrate that simple architectural choices determine whether an AI becomes a curve-fitter or a physicist, marking a critical step toward automated scientific discovery.","url_abs":"https://arxiv.org/abs/2602.06923","url_pdf":"https://arxiv.org/pdf/2602.06923","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=2602.06923","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2602.06923"}},"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/KindXiaoming/newton-kepler","reach":null}],"summary":{"unverified":15},"by_repo_kind":{"found_in_text":{"samples":15,"ran":0,"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":15,"samples":[{"code_sha256_prefix":"7aa5533e52e4ba12","entry":"add_common_args","repo":"KindXiaoming/newton-kepler","repo_kind":"found_in_text","path":"fig2_vafa_spatial_map/train_utils.py","file_url":"https://github.com/KindXiaoming/newton-kepler/blob/HEAD/fig2_vafa_spatial_map/train_utils.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":"7aa5533e52e4ba12"}},{"code_sha256_prefix":"1b8a43106c1a4c26","entry":"bin_trajectories","repo":"KindXiaoming/newton-kepler","repo_kind":"found_in_text","path":"generate_dataset.py","file_url":"https://github.com/KindXiaoming/newton-kepler/blob/HEAD/generate_dataset.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":"1b8a43106c1a4c26"}},{"code_sha256_prefix":"17b190041a876f73","entry":"bin_trajectories","repo":"KindXiaoming/newton-kepler","repo_kind":"found_in_text","path":"sine.py","file_url":"https://github.com/KindXiaoming/newton-kepler/blob/HEAD/sine.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":"17b190041a876f73"}},{"code_sha256_prefix":"89a461bd7bbca0ec","entry":"chop_trajectories_into_sequences","repo":"KindXiaoming/newton-kepler","repo_kind":"found_in_text","path":"kepler_cv_blocksize.py","file_url":"https://github.com/KindXiaoming/newton-kepler/blob/HEAD/kepler_cv_blocksize.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":"89a461bd7bbca0ec"}},{"code_sha256_prefix":"d20b160c467fd33e","entry":"compute_bins_and_tokenize","repo":"KindXiaoming/newton-kepler","repo_kind":"found_in_text","path":"kepler.py","file_url":"https://github.com/KindXiaoming/newton-kepler/blob/HEAD/kepler.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":"d20b160c467fd33e"}},{"code_sha256_prefix":"ce2e54426b296095","entry":"generate_data_inline","repo":"KindXiaoming/newton-kepler","repo_kind":"found_in_text","path":"sine.py","file_url":"https://github.com/KindXiaoming/newton-kepler/blob/HEAD/sine.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":"ce2e54426b296095"}},{"code_sha256_prefix":"fc8d22f673cacc8e","entry":"generate_kepler_trajectory","repo":"KindXiaoming/newton-kepler","repo_kind":"found_in_text","path":"generate_kepler_cv.py","file_url":"https://github.com/KindXiaoming/newton-kepler/blob/HEAD/generate_kepler_cv.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":"fc8d22f673cacc8e"}},{"code_sha256_prefix":"2b6930bb8f77d523","entry":"generate_kepler_trajectory_euler","repo":"KindXiaoming/newton-kepler","repo_kind":"found_in_text","path":"generate_kepler_cv.py","file_url":"https://github.com/KindXiaoming/newton-kepler/blob/HEAD/generate_kepler_cv.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":"2b6930bb8f77d523"}},{"code_sha256_prefix":"e65dd229c75a7bbe","entry":"generate_sine_wave_data","repo":"KindXiaoming/newton-kepler","repo_kind":"found_in_text","path":"generate_dataset.py","file_url":"https://github.com/KindXiaoming/newton-kepler/blob/HEAD/generate_dataset.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":"e65dd229c75a7bbe"}},{"code_sha256_prefix":"980b906765e0aae2","entry":"get_sequential_batch","repo":"KindXiaoming/newton-kepler","repo_kind":"found_in_text","path":"fig2_vafa_spatial_map/train_utils.py","file_url":"https://github.com/KindXiaoming/newton-kepler/blob/HEAD/fig2_vafa_spatial_map/train_utils.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":"980b906765e0aae2"}},{"code_sha256_prefix":"703cab57e803be11","entry":"kepler_orbit","repo":"KindXiaoming/newton-kepler","repo_kind":"found_in_text","path":"generate_kepler_cv.py","file_url":"https://github.com/KindXiaoming/newton-kepler/blob/HEAD/generate_kepler_cv.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":"703cab57e803be11"}},{"code_sha256_prefix":"e75836153ab7e442","entry":"load_trajectories","repo":"KindXiaoming/newton-kepler","repo_kind":"found_in_text","path":"kepler.py","file_url":"https://github.com/KindXiaoming/newton-kepler/blob/HEAD/kepler.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":"e75836153ab7e442"}},{"code_sha256_prefix":"f06d7888d73cea85","entry":"load_trajectories","repo":"KindXiaoming/newton-kepler","repo_kind":"found_in_text","path":"kepler_cv_blocksize.py","file_url":"https://github.com/KindXiaoming/newton-kepler/blob/HEAD/kepler_cv_blocksize.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":"f06d7888d73cea85"}},{"code_sha256_prefix":"e3e2a1f1061a9341","entry":"print_gpu_memory_stats","repo":"KindXiaoming/newton-kepler","repo_kind":"found_in_text","path":"kepler.py","file_url":"https://github.com/KindXiaoming/newton-kepler/blob/HEAD/kepler.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":"e3e2a1f1061a9341"}},{"code_sha256_prefix":"d51bf3b9c3bf2b15","entry":"setup_training_environment","repo":"KindXiaoming/newton-kepler","repo_kind":"found_in_text","path":"fig2_vafa_spatial_map/train_utils.py","file_url":"https://github.com/KindXiaoming/newton-kepler/blob/HEAD/fig2_vafa_spatial_map/train_utils.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":"d51bf3b9c3bf2b15"}}]},"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":{"kind":"leaderboard_placements","source":"Syntology's leaderboard-shaped extractor over the paper's own arXiv-HTML tables: a model pointed at a cell, the number was read from that cell and checked against the board's metric, dataset, split and scale, and an independent check accepted the entry; not reviewed by the paper's authors or the archive's editors","extractor_model":"global.anthropic.claude-sonnet-4-5-20250929-v1:0","verifier_model":null,"prompt_sha":"fa63d4bb9d755694","coverage":{"sentence":"Syntology has checked 6,264 of the 9,581 papers on this site that are newer than the archive; results from the others appear after they are checked.","papers_newer_than_archive":9581,"papers_checked":6264},"entries":[],"not_placed":{"boards":0,"rejected_by_independent_check":0,"refused_by_a_rule":0,"check_did_not_answer":0,"proposed_without_a_cell":0,"declined_by_site":0}}}