{"id":10867,"date":"2026-11-23T20:10:58","date_gmt":"2026-11-23T17:10:58","guid":{"rendered":"https:\/\/semantico.com.br\/blog\/?p=10867"},"modified":"2026-11-23T20:10:58","modified_gmt":"2026-11-23T17:10:58","slug":"what-the-brain-of-an-ai-taught-me","status":"publish","type":"post","link":"https:\/\/semantico.com.br\/blog\/en\/what-the-brain-of-an-ai-taught-me\/","title":{"rendered":"What the brain of an AI taught me"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">This is the first article in a series of writings that I am producing with the help of one of my agents created using the same strategy used in <a href=\"https:\/\/semantico.com.br\/en\/semantic-agent.html\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>agente+Sem\u00e2ntico<\/strong><\/a>, which is the specialized research and content cocreation agent creation service that <a class=\"wl-entity-page-link\"  href=\"https:\/\/semantico.com.br\/blog\/Vocabulario\/semantico-seo-2\/\" data-id=\"http:\/\/data.wordlift.io\/wl0221\/entity\/semantico-seo-2\" >Sem\u00e2ntico SEO<\/a> offers to all those who want to create real <a class=\"wl-entity-page-link\" title=\"Conte\u00fado\" href=\"https:\/\/semantico.com.br\/blog\/Vocabulario\/conteudo\/\" data-id=\"http:\/\/data.wordlift.io\/wl0221\/entity\/conteudo\" >content<\/a> with the help of AI.<\/p>\n\n\n<figure class=\"wp-block-image alignwide size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1408\" height=\"708\" src=\"https:\/\/semantico.com.br\/blog\/wp-content\/uploads\/2025\/09\/topo-agente-mais-semantico.webp\" alt=\"CTA Agente+Sem\u00e2ntico\" class=\"wp-image-9094\" title=\"\" srcset=\"https:\/\/semantico.com.br\/blog\/wp-content\/uploads\/2025\/09\/topo-agente-mais-semantico.webp 1408w, https:\/\/semantico.com.br\/blog\/wp-content\/uploads\/2025\/09\/topo-agente-mais-semantico-600x302.webp 600w, https:\/\/semantico.com.br\/blog\/wp-content\/uploads\/2025\/09\/topo-agente-mais-semantico-768x386.webp 768w\" sizes=\"auto, (max-width: 1408px) 100vw, 1408px\" \/><\/figure>\n\n\n\n<div class=\"wp-block-columns are-vertically-aligned-center is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\">\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button has-custom-width wp-block-button__width-100\"><a class=\"wp-block-button__link has-white-color has-text-color has-background wp-element-button\" href=\"https:\/\/semantico.com.br\/contato.html\" style=\"background-color:#590050\" target=\"_blank\" rel=\"noreferrer noopener\">Entre em Contato<\/a><\/div>\n<\/div>\n<\/div>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">In this article, my agent and I investigated a series of videos from the &#8220;<a href=\"https:\/\/www.youtube.com\/c\/3blue1brown\" data-type=\"link\" data-id=\"https:\/\/www.youtube.com\/c\/3blue1brown\" target=\"_blank\" rel=\"noreferrer noopener\">3Blue1Brown<\/a>&#8221; channel, which were very important to me in my quest to understand how LLMs work. The video series called Neural networks offers us a very deep insight into the core mechanisms of neural networks and large language models (LLMs), such as GPT-3.<\/p>\n\n\n<p class=\"wp-block-paragraph\">A significant part of the video content focuses on the structure and operation of Transformers, detailing the Attention mechanism, which is a process that allows term vectors to adjust their meanings based on context through weight matrices, <a class=\"wl-entity-page-link\" title=\"Pesquisa\" href=\"https:\/\/semantico.com.br\/blog\/Vocabulario\/pesquisa\/\" data-id=\"http:\/\/data.wordlift.io\/wl0221\/entity\/pesquisa\">query<\/a>, key, and value. When I understood how this works, it opened up a world of <a class=\"wl-entity-page-link\" title=\"Compreens\u00e3o\" href=\"https:\/\/semantico.com.br\/blog\/Vocabulario\/compreensao\/\" data-id=\"http:\/\/data.wordlift.io\/wl0221\/entity\/compreensao\">understanding<\/a> and possibilities regarding how to interact with these models to obtain <a class=\"wl-entity-page-link\" title=\"contexto\" href=\"https:\/\/semantico.com.br\/blog\/Vocabulario\/informacao\/\" data-id=\"http:\/\/data.wordlift.io\/wl0221\/entity\/informacao;http:\/\/data.wordlift.io\/wl0221\/entity\/otimizacao_para_motores_de_busca\">information<\/a>, <a class=\"wl-entity-page-link\" title=\"Aprendizado\" href=\"https:\/\/semantico.com.br\/blog\/Vocabulario\/aprendizagem\/\" data-id=\"http:\/\/data.wordlift.io\/wl0221\/entity\/aprendizagem\">learn<\/a>, generate content, and share knowledge with them.<\/p>\n\n\n<p class=\"wp-block-paragraph\"><strong>And this spark is where agente+Sem\u00e2ntico and this article series originated.<\/strong><\/p>\n\n\n<p class=\"wp-block-paragraph\">In this first text, I started by asking the model about the core concepts of Transformer attention mechanisms, and after a few interactions, I decided to focus on the progressive embedding adjustment mechanism and the richer contextual meaning that this process generates. I know, it sounds complicated, and it really is, but I will try to make things easier.<\/p>\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_90 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Conte\u00fados<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/semantico.com.br\/blog\/en\/what-the-brain-of-an-ai-taught-me\/#a_response_mechanism_that_has_no_ready-made_answers\" >A response mechanism that has no ready-made answers?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/semantico.com.br\/blog\/en\/what-the-brain-of-an-ai-taught-me\/#my_6_surprising_findings\" >My 6 surprising findings<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/semantico.com.br\/blog\/en\/what-the-brain-of-an-ai-taught-me\/#finding_no_1_a_term_does_not_have_one_meaning_it_has_a_starting_point\" >Finding no. 1: a term does not have one meaning, it has a starting point<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/semantico.com.br\/blog\/en\/what-the-brain-of-an-ai-taught-me\/#finding_no_2_models_ask_questions_and_find_answers_all_the_time\" >Finding no. 2: models ask questions and find answers all the time<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/semantico.com.br\/blog\/en\/what-the-brain-of-an-ai-taught-me\/#finding_no_3_%e2%80%9cmeaning%e2%80%9d_is_just_a_direction_in_space\" >Finding no. 3: &#8220;meaning&#8221; is just a direction in space<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/semantico.com.br\/blog\/en\/what-the-brain-of-an-ai-taught-me\/#finding_no_4_a_fact_can_be_a_simple_%e2%80%9conoff%e2%80%9d_switch\" >Finding no. 4: a fact can be a simple &#8220;On\/Off&#8221; switch<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/semantico.com.br\/blog\/en\/what-the-brain-of-an-ai-taught-me\/#finding_no_5_the_model_stores_more_concepts_than_it_has_space_for\" >Finding no. 5: the model stores more concepts than it has space for<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/semantico.com.br\/blog\/en\/what-the-brain-of-an-ai-taught-me\/#finding_no_6_learning_is_literally_just_rolling_downhill\" >Finding no. 6: learning is, literally, just rolling downhill<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/semantico.com.br\/blog\/en\/what-the-brain-of-an-ai-taught-me\/#so_the_question_remains_what_does_an_llm_mean_by_%e2%80%9cunderstanding%e2%80%9d\" >So the question remains: what does an LLM mean by &#8220;understanding&#8221;?<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"a_response_mechanism_that_has_no_ready-made_answers\"><\/span>A response mechanism that has no ready-made answers?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n<p class=\"wp-block-paragraph\">If you have interacted with any chatbot in the last 2 years, you might have had the feeling that it looks like magic. You ask a complex question and, in seconds, receive a coherent and creative response. Not that it is always right, but there is text there that makes <a class=\"wl-entity-page-link\" title=\"sentido\" href=\"https:\/\/semantico.com.br\/blog\/Vocabulario\/sentido\/\" data-id=\"http:\/\/data.wordlift.io\/wl0221\/entity\/sentido\">sense<\/a>.<\/p>\n\n\n<p class=\"wp-block-paragraph\">We might be tempted to imagine that what was generated came from an almost unintelligible confusion of terms, but in fact, it is much more coherent than that. There is an internal mechanics within Large Language Models (LLMs); in reality, it is a system with principles that echo concepts from information science, leaning toward my own field, though not exclusively.<\/p>\n\n\n<p class=\"wp-block-paragraph\">However, to understand how all this works and somehow relate it to our SEO work, I had to hold back my curiosity and take it step by step. During the question-and-answer series with my agent, I learned that we can divide our understanding into six parts. That said, I bring you my notes on what I found.<\/p>\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"my_6_surprising_findings\"><\/span>My 6 surprising findings<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"finding_no_1_a_term_does_not_have_one_meaning_it_has_a_starting_point\"><\/span>Finding no. 1: a term does not have <em>one<\/em> meaning, it has a starting point<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n<div class=\"wp-block-image is-style-default\">\n<figure class=\"alignleft size-thumbnail is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"300\" src=\"https:\/\/semantico.com.br\/blog\/wp-content\/uploads\/2025\/07\/vetor-3d-300x300.jpg\" alt=\"word embedding 3d vector space\" class=\"wp-image-8773\" style=\"object-fit:cover;width:216px;height:auto\" title=\"\"><\/figure>\n<\/div>\n\n<p class=\"wp-block-paragraph\">At the beginning of the Transformer process, each term (or &#8220;<a class=\"wl-entity-page-link\" href=\"https:\/\/semantico.com.br\/blog\/Vocabulario\/token\/\" data-id=\"http:\/\/data.wordlift.io\/wl0221\/entity\/token\">token<\/a>&#8220;) of the text to be generated receives a numerical vector, which is a long list of numbers called an &#8220;<a class=\"wl-entity-page-link\" href=\"https:\/\/semantico.com.br\/blog\/Vocabulario\/embedding\/\" data-id=\"http:\/\/data.wordlift.io\/wl0221\/entity\/embedding-8781\">embedding<\/a>&#8220;. Heard that term before, right? Well, that is what it means. But the discovery here is knowing that this initial embedding is identical for the same term, regardless of the context in which it appears. Did you know that? I didn&#8217;t.<\/p>\n\n\n<p class=\"wp-block-paragraph\">An example my agent gave me was this:<\/p>\n\n\n<p class=\"wp-block-paragraph\"><em>Think of the term &#8220;mole&#8221;. In the sentences &#8220;the true American mole&#8221; and &#8220;take a biopsy of the mole&#8221;, the term has two semantically distinct meanings. However, in the first step of the model, the numerical vector for &#8220;mole&#8221; is exactly the same in both cases.<\/em><\/p>\n\n\n<p class=\"wp-block-paragraph\">So I can understand that the initial embedding is not a definition; it is merely a <strong>generic<\/strong> starting point in a gigantic space of meanings. This strongly reminded me of the concept of a semantic field and I kept wondering about the size of the fields that models create for each term they will generate.<\/p>\n\n\n<p class=\"wp-block-paragraph\">But the true job of a Transformer is to <em>progressively adjust<\/em> these embeddings, layer by layer, moving them in this high-dimensional space so that they incorporate a rich, contextual meaning specific to that sentence.<\/p>\n\n\n<p class=\"wp-block-paragraph\">This completely changed my perception of this process. Since the model does not &#8220;look up&#8221; a definition in an internal dictionary, I understood that it <em>constructs<\/em> the meaning in real time, in a continuous refinement process.<\/p>\n\n\n<p class=\"wp-block-paragraph\">Another example the agent gave me was even more impactful:<\/p>\n\n\n<p class=\"wp-block-paragraph\"><em>Imagine that, at the end of a long mystery novel that ends with &#8220;therefore, the murderer was&#8230;&#8221;, the final vector for the term &#8220;was&#8221; must have absorbed and encoded all relevant information of the story to be able to correctly predict the murderer&#8217;s name.<\/em><\/p>\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"finding_no_2_models_ask_questions_and_find_answers_all_the_time\"><\/span>Finding no. 2: models ask questions and find answers all the time<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n<p class=\"wp-block-paragraph\">I discovered that LLMs talk to themselves, just like humans do. There is an &#8220;attention&#8221; mechanism, which is the heart of a Transformer, and it can be understood as a constant internal dialogue. Remember that as the Transformer works, the terms gain more specific meanings, right? Well, each term generates a &#8220;Query&#8221; (<a class=\"wl-entity-page-link\" title=\"Consultas ou Buscas\" href=\"https:\/\/semantico.com.br\/blog\/Vocabulario\/consultas\/\" data-id=\"http:\/\/data.wordlift.io\/wl0221\/entity\/consultas\">Query<\/a>) vector, which is a process that asks a question about the rest of the sentence.<\/p>\n\n\n<p class=\"wp-block-paragraph\">Let&#8217;s look at an example again:<\/p>\n\n\n<p class=\"wp-block-paragraph\"><em>Imagine a noun like &#8220;creature&#8221;, the search for its meaning can generate a <strong>query<\/strong> that, in essence, asks a question like this: &#8220;hey, is there any adjective around here that describes me?&#8221;.<\/em><\/p>\n\n<div class=\"wp-block-image\">\n<figure class=\"alignleft size-thumbnail\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"300\" src=\"https:\/\/semantico.com.br\/blog\/wp-content\/uploads\/2025\/09\/criatura-azul-fofa-300x300.jpeg\" alt=\"Cute blue creature\" class=\"wp-image-9098\" title=\"\" srcset=\"https:\/\/semantico.com.br\/blog\/wp-content\/uploads\/2025\/09\/criatura-azul-fofa-300x300.jpeg 300w, https:\/\/semantico.com.br\/blog\/wp-content\/uploads\/2025\/09\/criatura-azul-fofa-600x600.jpeg 600w, https:\/\/semantico.com.br\/blog\/wp-content\/uploads\/2025\/09\/criatura-azul-fofa-768x768.jpeg 768w, https:\/\/semantico.com.br\/blog\/wp-content\/uploads\/2025\/09\/criatura-azul-fofa.jpeg 1024w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/figure>\n<\/div>\n\n<p class=\"wp-block-paragraph\">Other terms in the sentence, in turn, generate &#8220;Key&#8221; vectors, which serve as potential answers. The adjectives &#8220;cute&#8221; and &#8220;blue&#8221; would have keys that &#8220;respond&#8221; affirmatively to the &#8220;creature&#8217;s&#8221; question.<\/p>\n\n\n<p class=\"wp-block-paragraph\">The strength of the match between a term <strong>Query<\/strong> and another <strong>Key<\/strong> (measured by a mathematical operation called <em>dot product<\/em>) determines how relevant one term is to the other in that specific context.<\/p>\n\n\n<p class=\"wp-block-paragraph\">Once relevance is established, the &#8220;relevant&#8221; term sends its &#8220;Value&#8221;, a package of information, to update the embedding of the term that asked the question. Yes, I was confused by that part too.<\/p>\n\n\n<p class=\"wp-block-paragraph\">But &#8220;attention&#8221; is not a foreign process to us, since the models emulate our way of thinking. Imagine that this conversation takes place between two areas of your brain. The language part needs to reproduce in speech what the other thinks. They exchange <a class=\"wl-entity-page-link\" title=\"Dado\" href=\"https:\/\/semantico.com.br\/blog\/Vocabulario\/dado-2\/\" data-id=\"http:\/\/data.wordlift.io\/wl0221\/entity\/dado-2\">data<\/a> between them in real time. As soon as the part that needs to speak finds what it needs to say, the sentence will be spoken.<\/p>\n\n\n<p class=\"wp-block-paragraph\">This is a dynamic process where terms ask each other questions, and when they find the most relevant answers, they exchange information to build a contextualized meaning.<\/p>\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"finding_no_3_%e2%80%9cmeaning%e2%80%9d_is_just_a_direction_in_space\"><\/span>Finding no. 3: &#8220;meaning&#8221; is just a direction in space<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n<p class=\"wp-block-paragraph\">This blew my mind the first time I heard about it. How can meaning be a direction in space? And what&#8217;s more: multidimensional!<\/p>\n\n\n<p class=\"wp-block-paragraph\">Let&#8217;s take it easy, though. Think of term embeddings not just as lists of random numbers; they exist in a very high-dimensional vector space (12,288 dimensions in GPT-3 and GPT-4, with estimates suggesting around 1.5 trillion). The most fascinating part is that directions in this space correspond to semantic concepts and meanings.<\/p>\n\n\n<p class=\"wp-block-paragraph\">Let&#8217;s use the image below as a mental base. Notice that it does not have all dimensions, it is on a plane and uses two others. Each of these colored arrows is a possible meaning for a term. The models use these vectors to calculate the possible meanings we discussed in the previous finding.<\/p>\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1408\" height=\"768\" src=\"https:\/\/semantico.com.br\/blog\/wp-content\/uploads\/2025\/07\/vetor-3d2.jpg\" alt=\"word embedding 3d vector space\" class=\"wp-image-8772\" title=\"\" srcset=\"https:\/\/semantico.com.br\/blog\/wp-content\/uploads\/2025\/07\/vetor-3d2.jpg 1408w, https:\/\/semantico.com.br\/blog\/wp-content\/uploads\/2025\/07\/vetor-3d2-600x327.jpg 600w, https:\/\/semantico.com.br\/blog\/wp-content\/uploads\/2025\/07\/vetor-3d2-768x419.jpg 768w\" sizes=\"auto, (max-width: 1408px) 100vw, 1408px\" \/><\/figure>\n\n\n<p class=\"wp-block-paragraph\">Let&#8217;s look at an example my agent gave me:<\/p>\n\n\n<p class=\"wp-block-paragraph\"><em>The classic example is &#8220;vector arithmetic&#8221; with terms. It was discovered that the direction in space going from the &#8220;man&#8221; vector to the &#8220;woman&#8221; vector is very similar to the direction going from &#8220;king&#8221; to &#8220;queen&#8221;. Conceptually, this can be expressed as: <code>vector(king) - vector(man) + vector(woman) \u2248 vector(queen)<\/code>. This demonstrates that the model, during training, learned to encode an abstract concept like &#8220;gender&#8221; as a specific geometric direction.<\/em><\/p>\n\n\n<p class=\"wp-block-paragraph\">This concept is very complicated to explain in writing, so I will recommend this video to you. It was through it that I finally learned this:<\/p>\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Attention in transformers, step-by-step | Deep Learning Chapter 6\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/eMlx5fFNoYc?feature=oembed&#038;enablejsapi=1&#038;origin=https:\/\/semantico.com.br\/blog\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n<p class=\"wp-block-paragraph\">But the most important idea I want to convey to you is how directions in this high-dimensional space of all possible embeddings can correspond to semantic meaning.<\/p>\n\n\n<p class=\"wp-block-paragraph\">The depth of this makes your head spin endlessly, come with me!<\/p>\n\n\n<p class=\"wp-block-paragraph\">Concepts are not stored in a dictionary, but as <strong>geometric relations<\/strong>. For anyone coming from Information Science, this is a fascinating echo of the pillars of knowledge organization, such as <a class=\"wl-entity-page-link\" title=\"Taxonom\u00eda\" href=\"https:\/\/semantico.com.br\/blog\/Vocabulario\/taxonomia__trashed\/\" data-id=\"http:\/\/data.wordlift.io\/wl0221\/entity\/taxonomia__trashed\">taxonomy<\/a> and <a class=\"wl-entity-page-link\" title=\"ci\u00eancia da computa\u00e7\u00e3o\" href=\"https:\/\/semantico.com.br\/blog\/Vocabulario\/ontologia-ciencia-da-computacao\/\" data-id=\"http:\/\/data.wordlift.io\/wl0221\/entity\/ontologia-ciencia-da-computacao;http:\/\/data.wordlift.io\/wl0221\/entity\/ontologia_ciencia_da_computacao\">ontology<\/a>, except that here the structure emerges in a purely mathematical way, without any human curation. This has strengths and weaknesses.<\/p>\n\n\n<p class=\"wp-block-paragraph\">This is why using tools such as <a class=\"wl-entity-page-link\" title=\"Grafo\" href=\"https:\/\/semantico.com.br\/blog\/Vocabulario\/teoria-dos-grafos\/\" data-id=\"http:\/\/data.wordlift.io\/wl0221\/entity\/teoria-dos-grafos\">Knowledge graphs<\/a> and Ontologies as model guides has shown such encouraging results: they act as prior guides so that models do not have to converse as much before finding the most relevant meanings.<\/p>\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"finding_no_4_a_fact_can_be_a_simple_%e2%80%9conoff%e2%80%9d_switch\"><\/span>Finding no. 4: a fact can be a simple &#8220;On\/Off&#8221; switch<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n<p class=\"wp-block-paragraph\">One of the dozens of questions I asked my agent was whether models store these conclusions about the best meanings of terms somewhere. If I ask a question like this: Does Michael Jordan play basketball?<\/p>\n\n\n<p class=\"wp-block-paragraph\">Where does an LLM store these concrete facts? I discovered that the most recent research suggests that these facts &#8220;live&#8221; in the <a class=\"wl-entity-page-link\" title=\"rede neural\" href=\"https:\/\/semantico.com.br\/blog\/Vocabulario\/rede-neural\/\" data-id=\"http:\/\/data.wordlift.io\/wl0221\/entity\/rede-neural\">neural network<\/a> blocks called Multi-Layer Perceptrons (MLPs). And the way they do this is very simple.<\/p>\n\n\n<p class=\"wp-block-paragraph\">I will, once again, transcribe the example I received:<\/p>\n\n\n<p class=\"wp-block-paragraph\"><em>Imagine that one of the &#8220;rows&#8221; of the first matrix of an MLP was trained specifically to detect the simultaneous presence of the embeddings of &#8220;<strong>Michael<\/strong>&#8221; AND &#8220;<strong>Jordan<\/strong>&#8221; in an input vector. If both concepts are present and aligned with that row, a specific &#8220;neuron&#8221; is activated (its value becomes positive). If not, it remains inactive (value zero). Essentially, it works like an &#8220;AND&#8221; logic gate, which only triggers a &#8220;true&#8221; signal when both conditions are met.<\/em><\/p>\n\n\n<p class=\"wp-block-paragraph\">It is like an electrical switch that, when contact is made on both sides, turns on a light.<\/p>\n\n\n<p class=\"wp-block-paragraph\">And what happens when this neuron fires is even more interesting. Imagine a corresponding &#8220;column&#8221; in the second matrix (<em>I imagined an Excel spreadsheet to make it easier<\/em>) of the MLP, which in turn was trained to represent the direction of the concept &#8220;basketball&#8221;. When the embeddings are created (remember: that giant line of numbers), this information is added to the original vector.<\/p>\n\n\n<p class=\"wp-block-paragraph\">The result of this interaction is that now, when passing through this block, the embedding representing &#8220;Michael Jordan&#8221; also contains the information &#8220;basketball&#8221;. As if adding the attribute &#8220;basketball player&#8221; to the Michael Jordan entity, gaining context.<\/p>\n\n\n<p class=\"wp-block-paragraph\">This is counterintuitive mechanics for me, but at the same time brilliant. Something from the real world (an entity) is broken down into an almost mechanical operation: a conditional trigger that, when activated, adds a new vector of meaning to the flow of information. This happens in milliseconds.<\/p>\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"finding_no_5_the_model_stores_more_concepts_than_it_has_space_for\"><\/span>Finding no. 5: the model stores more concepts than it has space for<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n<p class=\"wp-block-paragraph\">Here is something that defies my three-dimensional intuition: in an <code><em>n<\/em><\/code>-dimensional space, I think I can only store <code><em>n<\/em><\/code> independent concepts or features (that is, perpendicular to each other). If I have a 1000-dimensional world, I can only store 1000 concepts, my mind says. But that is not how it works.<\/p>\n\n\n<p class=\"wp-block-paragraph\">This is true in our 3-dimensional world, but this rule is broken in very, very high dimensions.<\/p>\n\n\n<p class=\"wp-block-paragraph\">This phenomenon is called &#8220;superposition&#8221;. In high-dimensional spaces, such as the embedding space of an LLM, it is possible to fit an exponentially larger number of vectors that are &#8220;almost perpendicular&#8221; to each other (for example, all with angles between 89 and 91 degrees).<\/p>\n\n\n<p class=\"wp-block-paragraph\">Remember the image of the vectors on the graph? Imagine they are close to each other by distances smaller than a hair&#8217;s breadth, to take a physical example.<\/p>\n\n\n<p class=\"wp-block-paragraph\">I mentioned GPT-3, which has a 12,288-dimensional space. It is not limited to storing only 12,288 distinct features, but can store orders of magnitude more. This means that a single conceptual feature, such as &#8216;plays basketball&#8217; or &#8216;is a famous athlete&#8217;, may not be represented by a single artificial neuron, returning to our brain example.<\/p>\n\n\n<p class=\"wp-block-paragraph\">Instead, the model can represent millions of features as specific combinations (superpositions) of many neurons, allowing for a density of information that defies our way of thinking (mine at least).<\/p>\n\n\n<p class=\"wp-block-paragraph\">This is perhaps the strangest aspect of the &#8220;intelligence&#8221; inherent in Machine Learning. It operates in a geometry that our minds struggle to comprehend, and allows for an information density that seems to violate our rules of space and information organization.<\/p>\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"finding_no_6_learning_is_literally_just_rolling_downhill\"><\/span>Finding no. 6: learning is, literally, just rolling downhill<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n<p class=\"wp-block-paragraph\">At the start of training, all 175 billion parameters of a model like GPT-3 are random. If you asked it to generate text, it would produce only incomprehensible &#8220;rubbish&#8221;. The process of &#8220;learning&#8221; is nothing more than a method to correct this initial mess.<\/p>\n\n\n<p class=\"wp-block-paragraph\">To do this, we define a &#8220;cost function&#8221; \u2014 a single number that measures &#8220;how bad&#8221; the network is at its task (for example, predicting the next term correctly). This number is the average of the model&#8217;s error across tens of thousands of training examples. The goal of training is singular: to minimize this number.<\/p>\n\n<div class=\"wp-block-image\">\n<figure class=\"alignleft size-medium\"><img loading=\"lazy\" decoding=\"async\" width=\"327\" height=\"600\" src=\"https:\/\/semantico.com.br\/blog\/wp-content\/uploads\/2025\/09\/descida-do-gradiente-327x600.jpeg\" alt=\"gradient descent\" class=\"wp-image-9106\" title=\"\" srcset=\"https:\/\/semantico.com.br\/blog\/wp-content\/uploads\/2025\/09\/descida-do-gradiente-327x600.jpeg 327w, https:\/\/semantico.com.br\/blog\/wp-content\/uploads\/2025\/09\/descida-do-gradiente.jpeg 768w\" sizes=\"auto, (max-width: 327px) 100vw, 327px\" \/><\/figure>\n<\/div>\n\n<p class=\"wp-block-paragraph\">The technique used is called &#8220;gradient descent&#8221;, and the best analogy is visual. I will leave you with the example I received:<\/p>\n\n\n<p class=\"wp-block-paragraph\"><em>Imagine the cost function as a mountainous landscape, full of hills and valleys. The training process is like placing a ball at the top of a hill and simply letting it roll into the nearest valley. At each step, an algorithm (backpropagation) calculates the direction of the &#8220;steepest descent&#8221; and slightly adjusts all 175 billion parameters in that direction to reduce the cost, that is, to make the ball roll a little further downhill.<\/em><\/p>\n\n\n<p class=\"wp-block-paragraph\">This metaphor demystifies machine &#8220;learning&#8221;. There is no conscious <a class=\"wl-entity-page-link\" title=\"compreens\u00e3o\" href=\"https:\/\/semantico.com.br\/blog\/Vocabulario\/compreensao-2\/\" data-id=\"http:\/\/data.wordlift.io\/wl0221\/entity\/compreensao-2\">comprehension<\/a> taking place, merely a mathematical optimization process repeated trillions of times over a massive volume of data. The algorithm tirelessly adjusts parameters to find a &#8220;valley&#8221; (a local minimum) where the model&#8217;s performance on the training data is good.<\/p>\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"so_the_question_remains_what_does_an_llm_mean_by_%e2%80%9cunderstanding%e2%80%9d\"><\/span>So the question remains: what does an LLM mean by &#8220;understanding&#8221;?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n<p class=\"wp-block-paragraph\">We started this article by discussing static vectors, which are mere starting points, and arrived at a dynamic process of meaning construction. I brought information on how AI &#8220;thinks&#8221; through an exchange of questions and answers, vector additions, and logical triggers, all orchestrated and tuned by an optimization process that looks like a ball rolling downhill.<\/p>\n\n\n<p class=\"wp-block-paragraph\">If at the end of writing this article I manage to have a few more certainties, some ideas still spin around my head: if &#8220;meaning&#8221; can be constructed through geometric operations in a high-dimensional space, and if &#8220;learning&#8221; is merely the mathematical way to minimize an error function on a bizarrely colossal scale, are we one miscalculation away from a complete disaster?<\/p>\n\n\n<p class=\"wp-block-paragraph\">Is this what we call hallucinating? If so, is hallucinating a mistake or simply something expected in the gradient descent process?<\/p>\n\n\n<p class=\"wp-block-paragraph\">I conclude this text promising you a second part, perhaps bringing answers to these questions of mine.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">What the brain of an AI taught me<\/p>\n\n{&#8220;error&#8221;: &#8220;The provided input text fragment is incomplete or malformed JSON metadata, containing only entity annotation arrays rather than the actual Gutenberg HTML block content. Please provide the complete HTML block content for translation.&#8221;}\n{&#8220;error&#8221;: &#8220;Invalid input structure provided. No translatable Gutenberg block elements or valid HTML fragment found in the snippet payload.&#8221;}\n&#8220;http:\/\/sl.dbpedia.org\/resource\/Informacija&#8221;,&#8221;http:\/\/sq.dbpedia.org\/resource\/Informacioni&#8221;,&#8221;http:\/\/sr.dbpedia.org\/resource\/\u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0458\u0430&#8221;,&#8221;http:\/\/sv.dbpedia.org\/resource\/Information&#8221;,&#8221;http:\/\/tr.dbpedia.org\/resource\/Enformasyon&#8221;,&#8221;http:\/\/uk.dbpedia.org\/resource\/\u0406\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0456\u044f&#8221;],&#8221;types&#8221;:[&#8220;creative-work&#8221;]}] \/&#8211;>","protected":false},"excerpt":{"rendered":"<p>This is the first article in a series written with the help of one of my custom agents, built using the same strategy as agent+Sem\u00e2ntico.<\/p>\n","protected":false},"author":2,"featured_media":10742,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"googlesitekit_rrm_CAowhc7hCw:productID":"","wl_entities_gutenberg":"","footnotes":""},"categories":[3459],"tags":[],"wl_entity_type":[51],"class_list":["post-10867","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-artificial-intelligence","wl_entity_type-article"],"_wl_alt_label":[],"wl:entity_url":"http:\/\/data.wordlift.io\/wl0221\/post\/what-the-brain-of-an-ai-taught-me","_links":{"self":[{"href":"https:\/\/semantico.com.br\/blog\/wp-json\/wp\/v2\/posts\/10867","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/semantico.com.br\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/semantico.com.br\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/semantico.com.br\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/semantico.com.br\/blog\/wp-json\/wp\/v2\/comments?post=10867"}],"version-history":[{"count":1,"href":"https:\/\/semantico.com.br\/blog\/wp-json\/wp\/v2\/posts\/10867\/revisions"}],"predecessor-version":[{"id":10868,"href":"https:\/\/semantico.com.br\/blog\/wp-json\/wp\/v2\/posts\/10867\/revisions\/10868"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/semantico.com.br\/blog\/wp-json\/wp\/v2\/media\/10742"}],"wp:attachment":[{"href":"https:\/\/semantico.com.br\/blog\/wp-json\/wp\/v2\/media?parent=10867"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/semantico.com.br\/blog\/wp-json\/wp\/v2\/categories?post=10867"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/semantico.com.br\/blog\/wp-json\/wp\/v2\/tags?post=10867"},{"taxonomy":"wl_entity_type","embeddable":true,"href":"https:\/\/semantico.com.br\/blog\/wp-json\/wp\/v2\/wl_entity_type?post=10867"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}