{"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-2604-08816","title":"Loom: A Scalable Analytical Neural Computer Architecture","arxiv_id":"2604.08816","date":"2026-04-09","proceeding":null,"authors":["Mehmet Kerem Turkcan"],"abstract":"We present Loom, a computer architecture that executes programs compiled from C inside a looped transformer whose weights are derived analytically. The architecture implements a 22-opcode instruction set in 8 transformer layers. Each forward pass executes one instruction; the model is applied iteratively until the program counter reaches zero. The full machine state resides in a single tensor $X \\in \\mathbb{R}^{d \\times n}$ of fixed size, and every step has fixed cost for fixed $d$ and $n$, independent of program length or execution history. The default configuration uses $d = 155$ and $n = 1024$, yielding 4.7 million parameters and 928 instruction slots. A compact configuration at $d = 146$ and $n = 512$ suffices for a 9$\\times$9 Sudoku solver (284 instructions). The weights are program-independent: programs live in the state tensor, and the same fixed-weight model executes any compiled program. We make Loom source code publicly available at https://github.com/mkturkcan/Loom.","url_abs":"https://arxiv.org/abs/2604.08816","url_pdf":"https://arxiv.org/pdf/2604.08816","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=2604.08816","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2604.08816"}},"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/mkturkcan/Loom","reach":null}],"summary":{"unverified":9},"by_repo_kind":{"found_in_text":{"samples":9,"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":0,"samples":[{"code_sha256_prefix":"aa122b39b53a2510","entry":"bias_to_compact","repo":"mkturkcan/Loom","repo_kind":"found_in_text","path":"demos/export_doom_model.py","file_url":"https://github.com/mkturkcan/Loom/blob/HEAD/demos/export_doom_model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"aa122b39b53a2510"}},{"code_sha256_prefix":"579f916c8d863cc8","entry":"create_bipolar_value","repo":"mkturkcan/Loom","repo_kind":"found_in_text","path":"loom_v1.py","file_url":"https://github.com/mkturkcan/Loom/blob/HEAD/loom_v1.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"579f916c8d863cc8"}},{"code_sha256_prefix":"22e416159a1ea845","entry":"export_sparse","repo":"mkturkcan/Loom","repo_kind":"found_in_text","path":"demos/export_doom_model.py","file_url":"https://github.com/mkturkcan/Loom/blob/HEAD/demos/export_doom_model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"22e416159a1ea845"}},{"code_sha256_prefix":"e7a07098302a42c1","entry":"from_bipolar","repo":"mkturkcan/Loom","repo_kind":"found_in_text","path":"subleq.py","file_url":"https://github.com/mkturkcan/Loom/blob/HEAD/subleq.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"e7a07098302a42c1"}},{"code_sha256_prefix":"3654b7fc91f57880","entry":"lex","repo":"mkturkcan/Loom","repo_kind":"found_in_text","path":"c_compiler.py","file_url":"https://github.com/mkturkcan/Loom/blob/HEAD/c_compiler.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"3654b7fc91f57880"}},{"code_sha256_prefix":"c32edcb6fabf4b9f","entry":"opcode_pattern","repo":"mkturkcan/Loom","repo_kind":"found_in_text","path":"loom_v1.py","file_url":"https://github.com/mkturkcan/Loom/blob/HEAD/loom_v1.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"c32edcb6fabf4b9f"}},{"code_sha256_prefix":"06afd410f4e98645","entry":"signed_to_bipolar","repo":"mkturkcan/Loom","repo_kind":"found_in_text","path":"subleq.py","file_url":"https://github.com/mkturkcan/Loom/blob/HEAD/subleq.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"06afd410f4e98645"}},{"code_sha256_prefix":"d5382757ef0f4676","entry":"sparse_to_coo","repo":"mkturkcan/Loom","repo_kind":"found_in_text","path":"demos/export_doom_model.py","file_url":"https://github.com/mkturkcan/Loom/blob/HEAD/demos/export_doom_model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"d5382757ef0f4676"}},{"code_sha256_prefix":"3e06807efdec95c1","entry":"to_bipolar","repo":"mkturkcan/Loom","repo_kind":"found_in_text","path":"subleq.py","file_url":"https://github.com/mkturkcan/Loom/blob/HEAD/subleq.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"3e06807efdec95c1"}}]},"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}