{"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-01495","title":"CART: Context-Anchored Recurrent Transformer -- A Parameter-Efficient Architecture with Learned Stability","arxiv_id":"2606.01495","date":"2026-05-31","proceeding":null,"authors":["Chad A. Capps"],"abstract":"We present CART (Context-Anchored Recurrent Transformer), a parameter-efficient language model that reuses a single shared core block R times across depth. Unlike prior looped transformers that recompute key-value tensors at every iteration, CART computes K and V once from a multi-layer prelude and has the recurrent core cross-attend to those frozen tensors via multi-head latent attention. A learned Linear Time-Invariant (LTI) gate keeps the recurrence stable: its spectral radius settles in a narrow band (rho in [0.79, 0.83]) across all 36 fully-trained configurations. We evaluate CART on single consumer GPUs in two stages: a 64-configuration screen at 3,000 steps, then 36 configurations (P=6, R in {6,8,10}, three seeds) trained for 30,500 steps (~1B tokens). Two patterns hold across widths d in {256,512,768,1024}: prelude depth P dominates loop count R, and the Stage-1 ranking of R reverses at full training (R=6 becomes best at d>=512). At the binding d=1024 parameter-parity test, CART does not beat a parameter-matched dense baseline, losing by 1-2% at stored-parameter parity and by ~10% at effective-parameter parity. Diagnostic ablations split the effective-parameter gap into ~5% from weight sharing and a residual ~5% from the heterogeneous prelude/anchor/core/coda framing; the recurrent-core machinery (hyper-connections, LTI gate, loop-index embedding) is individually vestigial. Variable-R inference degrades on both sides of the trained R, a negative result for test-time depth scaling under this recipe.","url_abs":"https://arxiv.org/abs/2606.01495","url_pdf":"https://arxiv.org/pdf/2606.01495","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.01495","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2606.01495"}},"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/ccapps42/CART","reach":null}],"summary":{"ran":6,"ran_draft_wrong":1,"unverified":9},"by_repo_kind":{"found_in_text":{"samples":16,"ran":7,"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":"e70ccca8c4433ab8","entry":"HyperConnection","repo":"ccapps42/CART","repo_kind":"found_in_text","path":"model/cart.py","file_url":"https://github.com/ccapps42/CART/blob/HEAD/model/cart.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":"e70ccca8c4433ab8"}},{"code_sha256_prefix":"34d128600564fc2a","entry":"LTIInjection","repo":"ccapps42/CART","repo_kind":"found_in_text","path":"model/cart.py","file_url":"https://github.com/ccapps42/CART/blob/HEAD/model/cart.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"34d128600564fc2a"}},{"code_sha256_prefix":"85330cf0bbe2d9e8","entry":"LoopIndexEmbedding","repo":"ccapps42/CART","repo_kind":"found_in_text","path":"model/cart.py","file_url":"https://github.com/ccapps42/CART/blob/HEAD/model/cart.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"85330cf0bbe2d9e8"}},{"code_sha256_prefix":"b175bb6a99225d0b","entry":"MLACrossAttention","repo":"ccapps42/CART","repo_kind":"found_in_text","path":"model/cart.py","file_url":"https://github.com/ccapps42/CART/blob/HEAD/model/cart.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":"b175bb6a99225d0b"}},{"code_sha256_prefix":"a21a4d06f59f6f55","entry":"MLAKVProjection","repo":"ccapps42/CART","repo_kind":"found_in_text","path":"model/cart.py","file_url":"https://github.com/ccapps42/CART/blob/HEAD/model/cart.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a21a4d06f59f6f55"}},{"code_sha256_prefix":"5e72e01b3a174cc0","entry":"RMSNorm","repo":"ccapps42/CART","repo_kind":"found_in_text","path":"model/cart.py","file_url":"https://github.com/ccapps42/CART/blob/HEAD/model/cart.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5e72e01b3a174cc0"}},{"code_sha256_prefix":"4da1a1beab34982c","entry":"rotate_half","repo":"ccapps42/CART","repo_kind":"found_in_text","path":"model/cart.py","file_url":"https://github.com/ccapps42/CART/blob/HEAD/model/cart.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"4da1a1beab34982c"}},{"code_sha256_prefix":"9da26ca8855b57eb","entry":"CART","repo":"ccapps42/CART","repo_kind":"found_in_text","path":"model/cart.py","file_url":"https://github.com/ccapps42/CART/blob/HEAD/model/cart.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":"9da26ca8855b57eb"}},{"code_sha256_prefix":"c74c69070494a0c6","entry":"CARTConfig","repo":"ccapps42/CART","repo_kind":"found_in_text","path":"model/cart.py","file_url":"https://github.com/ccapps42/CART/blob/HEAD/model/cart.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":"c74c69070494a0c6"}},{"code_sha256_prefix":"3be28e5f513e072b","entry":"CodaLayer","repo":"ccapps42/CART","repo_kind":"found_in_text","path":"model/cart.py","file_url":"https://github.com/ccapps42/CART/blob/HEAD/model/cart.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":"3be28e5f513e072b"}},{"code_sha256_prefix":"a41c55d1f28a5a54","entry":"CoreBlock","repo":"ccapps42/CART","repo_kind":"found_in_text","path":"model/cart.py","file_url":"https://github.com/ccapps42/CART/blob/HEAD/model/cart.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":"a41c55d1f28a5a54"}},{"code_sha256_prefix":"f9264024bf7be927","entry":"CoreBlockSelfAttn","repo":"ccapps42/CART","repo_kind":"found_in_text","path":"model/cart.py","file_url":"https://github.com/ccapps42/CART/blob/HEAD/model/cart.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":"f9264024bf7be927"}},{"code_sha256_prefix":"b01f021350a0198e","entry":"MLASelfAttention","repo":"ccapps42/CART","repo_kind":"found_in_text","path":"model/cart.py","file_url":"https://github.com/ccapps42/CART/blob/HEAD/model/cart.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":"b01f021350a0198e"}},{"code_sha256_prefix":"e3a8d7c1a3006108","entry":"PreludeLayer","repo":"ccapps42/CART","repo_kind":"found_in_text","path":"model/cart.py","file_url":"https://github.com/ccapps42/CART/blob/HEAD/model/cart.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":"e3a8d7c1a3006108"}},{"code_sha256_prefix":"97fbea8bac3c5277","entry":"RotaryEmbedding","repo":"ccapps42/CART","repo_kind":"found_in_text","path":"model/cart.py","file_url":"https://github.com/ccapps42/CART/blob/HEAD/model/cart.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":"97fbea8bac3c5277"}},{"code_sha256_prefix":"f8acf5fe0065d80e","entry":"apply_rotary","repo":"ccapps42/CART","repo_kind":"found_in_text","path":"model/cart.py","file_url":"https://github.com/ccapps42/CART/blob/HEAD/model/cart.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":"f8acf5fe0065d80e"}}]},"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}