{"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-2510-27497","title":"InertialAR: Autoregressive 3D Molecule Generation with Inertial Frames","arxiv_id":"2510.27497","date":"2025-10-31","proceeding":"ICML","authors":["Haorui Li","Weitao Du","Yuqiang Li","Hongyu Guo","Shengchao Liu"],"abstract":"Transformer-based autoregressive models have emerged as a unifying paradigm across modalities such as text and images, but their extension to 3D molecule generation remains underexplored. The gap stems from two fundamental challenges: (1) how to tokenize molecules into a canonical 1D sequence of tokens that is invariant to both SE(3) transformations and atom index permutations, and (2) how to design an architecture capable of modeling hybrid atom-based tokens that couple discrete atom types with continuous 3D coordinates. To address these challenges, we introduce InertialAR. It first performs generation-oriented canonical tokenization by aligning each molecule to a canonical inertial frame and reordering atoms, thereby converting arbitrary 3D structures into a unique, SE(3)- and permutation-invariant sequence of tokens for autoregressive generation. Built upon this canonical tokenization, we propose geometric positional encoding (GeoPE), which endows Transformer attention with 3D geometric awareness. Finally, InertialAR utilizes a hierarchical autoregressive paradigm to decode the next atom, consecutively predicting the atom type and 3D coordinates via Diffusion Loss. Experimentally, InertialAR achieves state-of-the-art performance on 8 of the 10 evaluation metrics for unconditional generation across QM9, GEOM-Drugs, and B3LYP. Moreover, it significantly outperforms baselines in controllable generation for targeted chemical functionality, attaining state-of-the-art results across all 5 metrics. Code is available at github.com/HaoruiLi46/InertialAR.","url_abs":"https://arxiv.org/abs/2510.27497","url_pdf":"https://arxiv.org/pdf/2510.27497","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":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2510.27497","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2510.27497"}},"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/HaoruiLi46/InertialAR","reach":{"status":"ok"}}],"summary":{"ran_violates":1,"ran_honours":1,"unverified":12},"by_repo_kind":{"found_in_text":{"samples":14,"ran":2,"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":14,"samples":[{"code_sha256_prefix":"294ba20b052bfbc7","entry":"gaussian","repo":"HaoruiLi46/InertialAR","repo_kind":"found_in_text","path":"InertialAR/layers.py","file_url":"https://github.com/HaoruiLi46/InertialAR/blob/HEAD/InertialAR/layers.py","link_basis":"plan_row","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"294ba20b052bfbc7"}},{"code_sha256_prefix":"62fcb3912a967a50","entry":"modulate","repo":"HaoruiLi46/InertialAR","repo_kind":"found_in_text","path":"InertialAR/diffusion_loss.py","file_url":"https://github.com/HaoruiLi46/InertialAR/blob/HEAD/InertialAR/diffusion_loss.py","link_basis":"plan_row","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"62fcb3912a967a50"}},{"code_sha256_prefix":"5410f612607c88fc","entry":"edm_sampler","repo":"HaoruiLi46/InertialAR","repo_kind":"found_in_text","path":"InertialAR/diffusion_loss.py","file_url":"https://github.com/HaoruiLi46/InertialAR/blob/HEAD/InertialAR/diffusion_loss.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":"5410f612607c88fc"}},{"code_sha256_prefix":"88df89a7ba95a984","entry":"edm_sampler_2_conditions","repo":"HaoruiLi46/InertialAR","repo_kind":"found_in_text","path":"InertialAR/diffusion_loss.py","file_url":"https://github.com/HaoruiLi46/InertialAR/blob/HEAD/InertialAR/diffusion_loss.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":"88df89a7ba95a984"}},{"code_sha256_prefix":"df922802567c315f","entry":"flatten_orders","repo":"HaoruiLi46/InertialAR","repo_kind":"found_in_text","path":"InertialAR/ema.py","file_url":"https://github.com/HaoruiLi46/InertialAR/blob/HEAD/InertialAR/ema.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":"df922802567c315f"}},{"code_sha256_prefix":"25d6d5385209908e","entry":"get_causal_mask","repo":"HaoruiLi46/InertialAR","repo_kind":"found_in_text","path":"InertialAR/attention.py","file_url":"https://github.com/HaoruiLi46/InertialAR/blob/HEAD/InertialAR/attention.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":"25d6d5385209908e"}},{"code_sha256_prefix":"e062cdaaece8f126","entry":"get_freqs","repo":"HaoruiLi46/InertialAR","repo_kind":"found_in_text","path":"InertialAR/rope.py","file_url":"https://github.com/HaoruiLi46/InertialAR/blob/HEAD/InertialAR/rope.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":"e062cdaaece8f126"}},{"code_sha256_prefix":"afdc84598c74bff9","entry":"normalize_model_name","repo":"HaoruiLi46/InertialAR","repo_kind":"found_in_text","path":"InertialAR/config.py","file_url":"https://github.com/HaoruiLi46/InertialAR/blob/HEAD/InertialAR/config.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":"afdc84598c74bff9"}},{"code_sha256_prefix":"31440bb09160a085","entry":"nystrom_prepare_landmark_multi_sigma","repo":"HaoruiLi46/InertialAR","repo_kind":"found_in_text","path":"InertialAR/config.py","file_url":"https://github.com/HaoruiLi46/InertialAR/blob/HEAD/InertialAR/config.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":"31440bb09160a085"}},{"code_sha256_prefix":"8aa19619e6dc5cd5","entry":"pad_numel","repo":"HaoruiLi46/InertialAR","repo_kind":"found_in_text","path":"InertialAR/ema.py","file_url":"https://github.com/HaoruiLi46/InertialAR/blob/HEAD/InertialAR/ema.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":"8aa19619e6dc5cd5"}},{"code_sha256_prefix":"df28cb826075df5c","entry":"pairwise_squared_distances","repo":"HaoruiLi46/InertialAR","repo_kind":"found_in_text","path":"InertialAR/model.py","file_url":"https://github.com/HaoruiLi46/InertialAR/blob/HEAD/InertialAR/model.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":"df28cb826075df5c"}},{"code_sha256_prefix":"3fd0b00c603cffdf","entry":"sample","repo":"HaoruiLi46/InertialAR","repo_kind":"found_in_text","path":"InertialAR/generate_b3lyp.py","file_url":"https://github.com/HaoruiLi46/InertialAR/blob/HEAD/InertialAR/generate_b3lyp.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":"3fd0b00c603cffdf"}},{"code_sha256_prefix":"a52839785d3d3ff5","entry":"separate_decay_params","repo":"HaoruiLi46/InertialAR","repo_kind":"found_in_text","path":"InertialAR/ema.py","file_url":"https://github.com/HaoruiLi46/InertialAR/blob/HEAD/InertialAR/ema.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":"a52839785d3d3ff5"}},{"code_sha256_prefix":"71a5b039296e865e","entry":"top_k_top_p_filtering","repo":"HaoruiLi46/InertialAR","repo_kind":"found_in_text","path":"InertialAR/generate_b3lyp.py","file_url":"https://github.com/HaoruiLi46/InertialAR/blob/HEAD/InertialAR/generate_b3lyp.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":"71a5b039296e865e"}}]},"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_api"},"syntology_extracted_results":null}