Inside the Hidden Architecture of Claude
Researchers at Anthropic have identified a latent space within their flagship model that reveals how AI processes concepts before generating a response.

In the rapidly evolving world of artificial intelligence, the journey of crafting a Large Language Model (LLM) from scratch is akin to a modern-day technological odyssey.
Giles Thomas, a dedicated adventurer in this landscape, documents his experiences in a series of blog posts that are as enlightening as they are technical.
His latest entry delves into the world of batching—a concept that, while seemingly straightforward, reveals layers of complexity when applied to LLMs.
Batching, in its simplest form, is the process of processing multiple input sequences simultaneously through an LLM.
This parallel processing can significantly boost training and inference efficiency—a crucial factor given the computational demands of AI models today.
However, as Thomas discovered, the path to mastering batching in the context of LLMs is strewn with mathematical intricacies.
In traditional neural networks, batching is often handled using matrices.
The journey begins with an input vector that winds its way through layers of mathematical transformations, emerging as an output vector on the other side.
This vector-based approach is straightforward and has been the backbone of numerous machine learning applications.
Yet, when it comes to LLMs, Thomas points out that a mere matrix isn’t sufficient.
Enter the realm of higher-order tensors—a mathematical concept that extends beyond the capabilities of simple matrices and vectors.
Tensors allow for more complex data representations, catering to the nuanced requirements of LLMs, which must juggle vast amounts of linguistic data with precision and speed.
Thomas’s exploration into batching was initially intended to be a deep dive into the mathematical underpinnings of these tensors.
However, he quickly found himself entwined in a labyrinth of linear algebra and tensor operations, each more complex than the last.
Despite his initial plan to delve deeply, Thomas adopted a pragmatic approach, focusing on the fundamental aspects necessary to implement batching effectively without veering too far into the mathematical weeds.
His disciplined approach, eschewing “side quests” in favor of clarity and understanding, is a testament to the balance between theory and application.
This decision allows him to progress in his journey without getting bogged down by every mathematical nuance—a reminder that in the world of AI, sometimes good enough is better than perfect.
Thomas’s work is a valuable resource, offering insights not only into the technical challenges of building LLMs but also into the mindset required to tackle such an ambitious project.
His narrative underscores the importance of understanding the tools of the trade, such as tensors, while also recognizing the practical limits of one’s current knowledge.
In an era where AI promises to reshape industries and societies, the efforts of individuals like Giles Thomas are crucial.
They help demystify the complex processes behind the technology, making it more accessible to other developers and enthusiasts eager to contribute to this field.
As Thomas continues his exploration, we can only anticipate what revelations await in the next installment of his blog series.
For now, his reflections on batching remind us that every great journey is made of both small steps and giant leaps.
Researchers at Anthropic have identified a latent space within their flagship model that reveals how AI processes concepts before generating a response.
Google’s Gemini 3 launches with a “full stack” advantage, integrating directly into search to leverage its end-to-end control from research to applications. This move redefines the AI race, showcasing the company’s comprehensive ecosystem against agile rivals.
Google’s Gemini 3 aims to turn its search engine into an AI “thought partner,” a bold move in the high-stakes AI race. The new model faces ethical scrutiny while driving colossal investments across Big Tech.