{"id":230898,"date":"2026-02-09T02:20:14","date_gmt":"2026-02-09T08:20:14","guid":{"rendered":"https:\/\/lifeboat.com\/blog\/2026\/02\/view-a-pdf-of-the-paper-titled-when-models-manipulate-manifolds-the-geometry-of-a-counting-task-by-wes-gurnee-and-6-other-authors"},"modified":"2026-02-09T02:20:14","modified_gmt":"2026-02-09T08:20:14","slug":"view-a-pdf-of-the-paper-titled-when-models-manipulate-manifolds-the-geometry-of-a-counting-task-by-wes-gurnee-and-6-other-authors","status":"publish","type":"post","link":"https:\/\/lifeboat.com\/blog\/2026\/02\/view-a-pdf-of-the-paper-titled-when-models-manipulate-manifolds-the-geometry-of-a-counting-task-by-wes-gurnee-and-6-other-authors","title":{"rendered":"View a PDF of the paper titled When Models Manipulate Manifolds: The Geometry of a Counting Task, by Wes Gurnee and 6 other authors"},"content":{"rendered":"<p>When you look at text, you subconsciously track how much space remains on each line. If you\u2019re writing \u201cHappy Birthday\u201d and \u201cBirthday\u201d won\u2019t fit, your brain automatically moves it to the next line. You don\u2019t calculate this\u2014you *see* it. But AI models don\u2019t have eyes. They receive only sequences of numbers (tokens) and must somehow develop a sense of visual space from scratch.<\/p>\n<p>Inside your brain, \u201cplace cells\u201d help you navigate physical space by firing when you\u2019re in specific locations. Remarkably, Claude develops something strikingly similar. The researchers found that the model represents character counts using low-dimensional curved manifolds\u2014mathematical shapes that are discretized by sparse feature families, much like how biological place cells divide space into discrete firing zones.<\/p>\n<p>The researchers validated their findings through causal interventions\u2014essentially \u201cknocking out\u201d specific neurons to see if the model\u2019s counting ability broke in predictable ways. They even discovered visual illusions\u2014carefully crafted character sequences that trick the model\u2019s counting mechanism, much like optical illusions fool human vision.<\/p>\n<p>2. Attention mechanisms are geometric engines: The \u201cattention heads\u201d that power modern AI don\u2019t just connect related words\u2014they perform sophisticated geometric transformations on internal representations.<\/p>\n<p>1. What other \u201csensory\u201d capabilities have models developed implicitly? Can AI develop senses we don\u2019t have names for?<\/p>\n<hr>\n<p>Language models can perceive visual properties of text despite receiving only sequences of tokens-we mechanistically investigate how Claude 3.5 Haiku accomplishes one such task: linebreaking in fixed-width text. We find that character counts are represented on low-dimensional curved manifolds discretized by sparse feature families, analogous to biological place cells. Accurate predictions emerge from a sequence of geometric transformations: token lengths are accumulated into character count manifolds, attention heads twist these manifolds to estimate distance to the line boundary, and the decision to break the line is enabled by arranging estimates orthogonally to create a linear decision boundary. We validate our findings through causal interventions and discover visual illusions\u2014character sequences that hijack the counting mechanism.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When you look at text, you subconsciously track how much space remains on each line. If you\u2019re writing \u201cHappy Birthday\u201d and \u201cBirthday\u201d won\u2019t fit, your brain automatically moves it to the next line. You don\u2019t calculate this\u2014you *see* it. But AI models don\u2019t have eyes. They receive only sequences of numbers (tokens) and must somehow [\u2026]<\/p>\n","protected":false},"author":709,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,2229,6,8],"tags":[],"class_list":["post-230898","post","type-post","status-publish","format-standard","hentry","category-biological","category-mathematics","category-robotics-ai","category-space"],"_links":{"self":[{"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/posts\/230898","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/users\/709"}],"replies":[{"embeddable":true,"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/comments?post=230898"}],"version-history":[{"count":0,"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/posts\/230898\/revisions"}],"wp:attachment":[{"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/media?parent=230898"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/categories?post=230898"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/tags?post=230898"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}