{"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-14997","title":"AI Engram: In Search of Memory Traces in Artificial Intelligence","arxiv_id":"2606.14997","date":"2026-06-12","proceeding":"ICML","authors":["Jea Kwon","Dong-Kyum Kim","Jiwon Kim","Yonghyun Kim","Woong Kook","Meeyoung Cha"],"abstract":"Memory formation is fundamental to intelligence, yet whether deep neural networks preserve identifiable memory traces analogous to biological memory units remains an open question. This work introduces a geometric framework to identify such \"AI engrams\" by formalizing the neuroscientific criteria of specificity, reactivation, sufficiency, and necessity into a constrained inverse problem. We derive a closed-form estimator that isolates individual memory traces from globally entangled parameters, and show that this biologically-derived solution corresponds to a natural gradient update on the parameter manifold. AI engrams enable surgical manipulation of learned knowledge: any subset of memories can be composed or erased through linear arithmetic, without iterative optimization. Experiments ranging from simple MLPs to LLMs demonstrate the causal validity and substantial scalability of AI engrams. Together, these results bridge theories of biological memory and artificial representation learning and offer geometric insight into how deep networks simultaneously support functional specificity within distributed storage.","url_abs":"https://arxiv.org/abs/2606.14997","url_pdf":"https://arxiv.org/pdf/2606.14997","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.14997","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2606.14997"}},"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/jeakwon/ai-engram","reach":null}],"summary":{"ran":7,"ran_draft_wrong":6,"ran_violates":1,"ran_honours":2,"unverified":4},"by_repo_kind":{"found_in_text":{"samples":20,"ran":16,"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":"eb60ce658ba5e792","entry":"Conv1DHandler","repo":"jeakwon/ai-engram","repo_kind":"found_in_text","path":"src/engram/editor.py","file_url":"https://github.com/jeakwon/ai-engram/blob/HEAD/src/engram/editor.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":"eb60ce658ba5e792"}},{"code_sha256_prefix":"9513d6d34b610053","entry":"EditorConfig","repo":"jeakwon/ai-engram","repo_kind":"found_in_text","path":"src/engram/editor.py","file_url":"https://github.com/jeakwon/ai-engram/blob/HEAD/src/engram/editor.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":"9513d6d34b610053"}},{"code_sha256_prefix":"1cf900e527c6f540","entry":"EngramResult","repo":"jeakwon/ai-engram","repo_kind":"found_in_text","path":"src/engram/editor.py","file_url":"https://github.com/jeakwon/ai-engram/blob/HEAD/src/engram/editor.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":"1cf900e527c6f540"}},{"code_sha256_prefix":"67defdf96d2e54ea","entry":"LayerScaleInfo","repo":"jeakwon/ai-engram","repo_kind":"found_in_text","path":"src/engram/editor.py","file_url":"https://github.com/jeakwon/ai-engram/blob/HEAD/src/engram/editor.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":"67defdf96d2e54ea"}},{"code_sha256_prefix":"702e34756a13e666","entry":"LinearHandler","repo":"jeakwon/ai-engram","repo_kind":"found_in_text","path":"src/engram/editor.py","file_url":"https://github.com/jeakwon/ai-engram/blob/HEAD/src/engram/editor.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":"702e34756a13e666"}},{"code_sha256_prefix":"71ca2f580846202f","entry":"Statistics","repo":"jeakwon/ai-engram","repo_kind":"found_in_text","path":"src/engram/editor.py","file_url":"https://github.com/jeakwon/ai-engram/blob/HEAD/src/engram/editor.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":"71ca2f580846202f"}},{"code_sha256_prefix":"5dafb9612b59daac","entry":"_augment_ones","repo":"jeakwon/ai-engram","repo_kind":"found_in_text","path":"src/engram/editor.py","file_url":"https://github.com/jeakwon/ai-engram/blob/HEAD/src/engram/editor.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5dafb9612b59daac"}},{"code_sha256_prefix":"560641494e876ee1","entry":"_erank","repo":"jeakwon/ai-engram","repo_kind":"found_in_text","path":"src/engram/editor.py","file_url":"https://github.com/jeakwon/ai-engram/blob/HEAD/src/engram/editor.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"560641494e876ee1"}},{"code_sha256_prefix":"6b679398fd7c5a47","entry":"_layer_index_matches","repo":"jeakwon/ai-engram","repo_kind":"found_in_text","path":"src/engram/editor.py","file_url":"https://github.com/jeakwon/ai-engram/blob/HEAD/src/engram/editor.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6b679398fd7c5a47"}},{"code_sha256_prefix":"5c0281297b38bdc3","entry":"_module_name_matches","repo":"jeakwon/ai-engram","repo_kind":"found_in_text","path":"src/engram/editor.py","file_url":"https://github.com/jeakwon/ai-engram/blob/HEAD/src/engram/editor.py","link_basis":"first_harvest_node","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5c0281297b38bdc3"}},{"code_sha256_prefix":"d4e917244a3c46b4","entry":"_pack_symmetric","repo":"jeakwon/ai-engram","repo_kind":"found_in_text","path":"src/engram/editor.py","file_url":"https://github.com/jeakwon/ai-engram/blob/HEAD/src/engram/editor.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d4e917244a3c46b4"}},{"code_sha256_prefix":"14fd17031ba1b4f9","entry":"_unpack_symmetric","repo":"jeakwon/ai-engram","repo_kind":"found_in_text","path":"src/engram/editor.py","file_url":"https://github.com/jeakwon/ai-engram/blob/HEAD/src/engram/editor.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"14fd17031ba1b4f9"}},{"code_sha256_prefix":"17c1bacaf98aaea0","entry":"count_ratio","repo":"jeakwon/ai-engram","repo_kind":"found_in_text","path":"src/engram/editor.py","file_url":"https://github.com/jeakwon/ai-engram/blob/HEAD/src/engram/editor.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"17c1bacaf98aaea0"}},{"code_sha256_prefix":"0acf89592b3aca53","entry":"default_rtol","repo":"jeakwon/ai-engram","repo_kind":"found_in_text","path":"src/engram/editor.py","file_url":"https://github.com/jeakwon/ai-engram/blob/HEAD/src/engram/editor.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"0acf89592b3aca53"}},{"code_sha256_prefix":"a0cf3e1d0c88267c","entry":"get_conv1d_class","repo":"jeakwon/ai-engram","repo_kind":"found_in_text","path":"src/engram/editor.py","file_url":"https://github.com/jeakwon/ai-engram/blob/HEAD/src/engram/editor.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":"a0cf3e1d0c88267c"}},{"code_sha256_prefix":"32f9a69c11a3dcab","entry":"spectral_factors","repo":"jeakwon/ai-engram","repo_kind":"found_in_text","path":"src/engram/editor.py","file_url":"https://github.com/jeakwon/ai-engram/blob/HEAD/src/engram/editor.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"32f9a69c11a3dcab"}},{"code_sha256_prefix":"0d5c8ad11c502d74","entry":"CovarianceCollector","repo":"jeakwon/ai-engram","repo_kind":"found_in_text","path":"src/engram/editor.py","file_url":"https://github.com/jeakwon/ai-engram/blob/HEAD/src/engram/editor.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":"0d5c8ad11c502d74"}},{"code_sha256_prefix":"0fa7f6cd2ba4994f","entry":"EngramEditor","repo":"jeakwon/ai-engram","repo_kind":"found_in_text","path":"src/engram/editor.py","file_url":"https://github.com/jeakwon/ai-engram/blob/HEAD/src/engram/editor.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":"0fa7f6cd2ba4994f"}},{"code_sha256_prefix":"e427b414d08284d2","entry":"LayerHandler","repo":"jeakwon/ai-engram","repo_kind":"found_in_text","path":"src/engram/editor.py","file_url":"https://github.com/jeakwon/ai-engram/blob/HEAD/src/engram/editor.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":"e427b414d08284d2"}},{"code_sha256_prefix":"77963758178b06af","entry":"handler_for","repo":"jeakwon/ai-engram","repo_kind":"found_in_text","path":"src/engram/editor.py","file_url":"https://github.com/jeakwon/ai-engram/blob/HEAD/src/engram/editor.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":"77963758178b06af"}}]},"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}