Deconstructing LLM Mechanics: Teresa Torres Explores Transformer Complexity

T

Teresa Torres

LinkedIn Author

Author, Speaker, Product Discovery Coach @ ProductTalk.org

In a recent LinkedIn post, Teresa Torres dives deep into the intricate workings of Large Language Models (LLMs), specifically focusing on the transformer architecture. Torres shares her journey of understanding the research behind ‘context rot’ and the fundamental concepts that underpin LLM capabilities, such as tokenization and attention mechanisms.

Torres’s exploration began with a desire to grasp the nuances of ‘context window size’ and its dependencies beyond mere computational power. This led her down a rabbit hole of learning about how LLMs process information, moving from raw words to tokens, and the mathematical underpinnings involved.

“I learned why LLMs use tokens and not whole words. I learned how we go from tokens to embeddings (and had a quick detour relearning vector and matrices math), visualized sand in a really large multi-dimensional space, I learned about attention (like in how it’s computed with query, key, value vectors), how the attention layer embeds context into each token, so that when each token is sent through a neural net in isolation it brings context with it.”

The post details Torres’s discovery of key concepts like attention, query, key, and value vectors, and how these elements enable tokens to carry context even when processed individually. She highlights the iterative nature of modern LLMs, which repeatedly apply these processes for both input and output tokens.

Understanding Attention and its Enhancements

Torres further elaborates on the significance of attention heads, explaining why an increase in their number is beneficial and how this differs from simply extending the embedding vector’s dimensions. She also touches upon the practicalities of KV caching, clarifying its specific application in generating new tokens rather than processing input tokens.

“I learned about attention heads and why more are better and that it’s not the same as just lengthening the embedding vector. I learned about KV caching and why it only works when generating new tokens and not when processing input tokens.”

This detailed breakdown, as shared by Torres, aims to demystify complex AI terminology that is frequently discussed but not always fully understood. Her personal learning process underscores a broader need for accessible explanations of advanced AI concepts.

The Drive for Accessible Explanations

Beyond the technical details, Torres expresses a personal satisfaction in understanding complex systems and a passion for simplifying explanations. This realization has prompted her to consider writing an article that breaks down these LLM concepts.

A Proposed Accessible Article

Torres outlines her vision for such an article, aiming to make the core ideas accessible at a conceptual level, with a secondary dive into basic mathematical operations, while leaving advanced mathematics to experts.

“My goal would be to make it accessible to everyone at the conceptual level and then dive a little bit into the math at an addition/multiplication level, and then leave the more advanced math to folks who are more qualified.”

She concludes by engaging her audience, asking for their interest in such a piece, indicating a desire to share her newfound understanding in a digestible format. As Torres notes, the ultimate goal is to bridge the gap between complex AI research and broader comprehension.

📝 About This Content

This article is based on insights shared by Teresa Torres on LinkedIn.

📅 Originally posted on January 15, 2026 | View original post on LinkedIn →