[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-85862-en":3,"doc-seo-85862-105":30,"detail-sidebar-cat-0-en-105":91},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":20,"is_deleted":4,"is_public":21,"is_downloadable":21,"audit_status":21,"page_count":22,"language":23,"language_code":24,"site_id":25,"html_lang":24,"table_of_contents":26,"faqs":27,"seo_title":13,"seo_description":14,"update_tm":28,"read_time":29},85862,1099514068035,"Ezra","https://ap-avatar.wpscdn.com/davatar_276721f389ce27ea32af1340a28f341c",8,"Research & Report","One mechanism for many mental spaces: a shared router over a value slot in language models","Language models can express discourse contexts beyond the actual world—such as portraits, beliefs, memories, and hypotheticals—where one entity takes different values. Formal semantics separates these contexts by differing logics, while mental-space theory treats them as a single space-building operation. This work asks which organization a transformer implements, and finds a mechanistic unification: a shared router/slot format, where a low-rank space index selects which attributed content is read. The mechanism transfers across space types, supports inference, and composes new routers when new spaces are built, without special separation for belief.","One mechanism for many mental spaces: a shared router over a value slot in language models  \nOliver Steele  \n[steele@osteele.com](steele@osteele.com)[ ](steele@osteele.com)Tsinghua University NYU Shanghai  \nJiangtao Wen  \n[jw9263@nyu.edu](jw9263@nyu.edu)[ ](jw9263@nyu.edu)NYU Shanghai  \nYuxing Han  \n[yuxinghan@sz.tsinghua.edu.cn](yuxinghan@sz.tsinghua.edu.cn)[ ](yuxinghan@sz.tsinghua.edu.cn)Tsinghua University  \n2026-06-29  \nAbstract  \nLanguage builds discourse contexts other than the actual: a painting, a belief, a memory, a hypothetical. Each is a mental space in which the same entity can take a different value, as when a flower is red in reality but purple in a portrait.  \nFormal semantics keeps these contexts apart because their logics differ (modal, temporal, doxastic, depictive); Fauconnier’s mental-space theory treats them as one space-building operation. We ask which of these a transformer language model implements, and find a mechanistic version of Fauconnier’s unification. The model uses one router/slot format across the inventory: a reusable value slot stores attributed content, and a causally manipulable router (the space index) selects which space is read. A subspace trained with Distributed Alignment Search to control one space type, counterfactual, belief, fictional, or temporal, also controls the others, well above a random floor, on three model families; belief, which formal semantics marks as a distinct case, is not specially separated. The router is low-rank, composes additively with entity identity, and acts through a few late-layer heads. Two further results show the mechanism drives inference and composes: a subspace trained on a rule-derived conclusion flips what the model infers while dissociating from what it reports, and composing space-builders mints a fresh router over the shared slot. This paper establishes the cross-type generality. A companion paper develops belief in depth, because of its special status in philosophy, psychology, and linguistics (epistemology, theory of mind, and propositional attitude reports) .  \nKeywords mental spaces · binding · counterfactual · theory of mind · mechanistic interpretability · distributed alignment search  \n1 Introduction  \nA capable language model keeps a flower’s real color apart from its color in a portrait, its present apart from its past, and what is true apart from what a character believes. We show it does so with a single, causally manipulable space index: a low-rank subspace that tags which discourse space a value belongs to. Formal semantics keeps these contexts apart because their logics differ; Fauconnier’s mental-space theory unifies them as one space-building operation.  \nThe model implements a mechanistic version of that unification: a subspace trained on one space type controls the others (transfer index 0.71–0.89 across model families, § 4.8), while the semantic distinctions survive as a coarse taxonomy inside the shared subspace (§ 4.11) . This is evidence for a shared representational format in LMs, not an adjudication of the semantics of English.  \nFigure 1: One entity (the flower) takes a different value in each discourse space, and a single shared low-rank subspace, the space index (router), tags which space each value belongs to. A query names a space and the router selects its value for the output. We show this one router is causally shared across space types (§ 4.8), used in reasoning (§ 4.7), and minted afresh when a  \nsentence builds a new space (§ 4.10) .  \nPut plainly: whenever a sentence opens a non-actual context, a portrait, a belief, a memory, a hypothetical, the model files each value with a tag for which context it belongs to, and one kind of tag serves them all. The tag is separate from the value it marks, and the same tagging machinery is reused whether the context is a painting, a belief, or yesterday. The rest of the paper localizes that tag, shows it is one shared subspace across context types, and shows the model mints","cbCaid0RhSCJsyUC","https://ap.wps.com/l/cbCaid0RhSCJsyUC","pdf",1249484,2,1,25,"English","en",105,"# Introduction\n## Mental spaces and why contexts differ\n## Organization of the local context\n## Mechanistic representation in language models","[{\"question\":\"What discourse contexts does the paper focus on?\",\"answer\":\"The paper focuses on non-actual contexts like portraits, beliefs, memories, and hypotheticals, where a shared entity can take different values depending on the context.\"},{\"question\":\"How does the proposed mechanism unify multiple mental-space types?\",\"answer\":\"It uses a shared router/slot format: one reusable value slot stores attributed content, while a causally manipulable space index selects which space’s value is read.\"},{\"question\":\"Does the mechanism treat belief as a special case?\",\"answer\":\"No. Although formal semantics marks belief as distinct, the model’s performance shows belief is not specially separated within the shared representational format.\"}]",1784206772,63,{"code":4,"msg":31,"data":32},"ok",{"site_id":25,"language":24,"slug":33,"title":13,"keywords":34,"description":14,"schema_data":35,"social_meta":86,"head_meta":88,"extra_data":90,"updated_unix":28},"one-mechanism-for-many-mental-spaces-a-shared-router-over-a-value-slot-in-language-models","",{"@graph":36,"@context":85},[37,53,68],{"@type":38,"itemListElement":39},"BreadcrumbList",[40,44,47,50],{"item":41,"name":42,"@type":43,"position":21},"https://docshare.wps.com","Home","ListItem",{"item":45,"name":46,"@type":43,"position":20},"https://docshare.wps.com/document/","Document",{"item":48,"name":12,"@type":43,"position":49},"https://docshare.wps.com/document/research-report/",3,{"item":51,"name":13,"@type":43,"position":52},"https://docshare.wps.com/document/one-mechanism-for-many-mental-spaces-a-shared-router-over-a-value-slot-in-language-models/85862/",4,{"url":51,"name":13,"@type":54,"author":55,"headline":13,"publisher":57,"fileFormat":60,"inLanguage":24,"description":14,"dateModified":61,"datePublished":62,"encodingFormat":60,"isAccessibleForFree":63,"interactionStatistic":64},"DigitalDocument",{"name":9,"@type":56},"Person",{"url":41,"name":58,"@type":59},"DocShare","Organization","application/pdf","2026-07-25","2026-07-16",true,{"@type":65,"interactionType":66,"userInteractionCount":20},"InteractionCounter",{"@type":67},"ViewAction",{"@type":69,"mainEntity":70},"FAQPage",[71,77,81],{"name":72,"@type":73,"acceptedAnswer":74},"What discourse contexts does the paper focus on?","Question",{"text":75,"@type":76},"The paper focuses on non-actual contexts like portraits, beliefs, memories, and hypotheticals, where a shared entity can take different values depending on the context.","Answer",{"name":78,"@type":73,"acceptedAnswer":79},"How does the proposed mechanism unify multiple mental-space types?",{"text":80,"@type":76},"It uses a shared router/slot format: one reusable value slot stores attributed content, while a causally manipulable space index selects which space’s value is read.",{"name":82,"@type":73,"acceptedAnswer":83},"Does the mechanism treat belief as a special case?",{"text":84,"@type":76},"No. Although formal semantics marks belief as distinct, the model’s performance shows belief is not specially separated within the shared representational format.","https://schema.org",{"og:url":51,"og:type":87,"og:title":13,"og:site_name":58,"og:description":14},"article",{"robots":89,"canonical":51},"index,follow",{"doc_id":7,"site_id":25},{"code":4,"msg":5,"data":92},[93,97,101,105,110,115,120,123,128,131,135],{"id":21,"doc_module":4,"doc_module_name":46,"category_name":94,"show_sort_weight":95,"slug":96},"Story & Novel",90,"story-novel",{"id":20,"doc_module":4,"doc_module_name":46,"category_name":98,"show_sort_weight":99,"slug":100},"Literature",80,"literature",{"id":52,"doc_module":4,"doc_module_name":46,"category_name":102,"show_sort_weight":103,"slug":104},"Exam",70,"exam",{"id":106,"doc_module":4,"doc_module_name":46,"category_name":107,"show_sort_weight":108,"slug":109},5,"Comic",60,"comic",{"id":111,"doc_module":4,"doc_module_name":46,"category_name":112,"show_sort_weight":113,"slug":114},6,"Technology",50,"technology",{"id":116,"doc_module":4,"doc_module_name":46,"category_name":117,"show_sort_weight":118,"slug":119},7,"Healthcare",40,"healthcare",{"id":11,"doc_module":4,"doc_module_name":46,"category_name":12,"show_sort_weight":121,"slug":122},30,"research-report",{"id":124,"doc_module":4,"doc_module_name":46,"category_name":125,"show_sort_weight":126,"slug":127},9,"Religion & Spirituality",20,"religion-spirituality",{"id":126,"doc_module":4,"doc_module_name":46,"category_name":129,"show_sort_weight":126,"slug":130},"World Cup","world-cup",{"id":132,"doc_module":4,"doc_module_name":46,"category_name":133,"show_sort_weight":132,"slug":134},10,"Lifestyle","lifestyle",{"id":136,"doc_module":4,"doc_module_name":46,"category_name":137,"show_sort_weight":106,"slug":138},19,"General","general"]