{"id":174400,"date":"2025-10-02T04:26:18","date_gmt":"2025-10-02T04:26:18","guid":{"rendered":"https:\/\/www.newsbeep.com\/uk\/174400\/"},"modified":"2025-10-02T04:26:18","modified_gmt":"2025-10-02T04:26:18","slug":"deepseek-tests-sparse-attention-to-slash-ai-processing-costs","status":"publish","type":"post","link":"https:\/\/www.newsbeep.com\/uk\/174400\/","title":{"rendered":"DeepSeek tests \u201csparse attention\u201d to slash AI processing costs"},"content":{"rendered":"<p>The attention bottleneck<\/p>\n<p>In AI, &#8220;attention&#8221; is a term for a software technique that determines which words in a text are most relevant to understanding each other. Those relationships map out context, and context builds meaning in language. For example, in the sentence &#8220;The bank raised interest rates,&#8221; attention helps the model establish that &#8220;bank&#8221; relates to &#8220;interest rates&#8221; in a financial context, not a riverbank context. Through attention, conceptual relationships become quantified as numbers stored in a neural network. Attention also governs how AI language models choose what information &#8220;matters most&#8221; when generating each word of their response.<\/p>\n<p>Calculating context with a machine is tricky, and it wasn&#8217;t practical at scale until chips like GPUs that can calculate these relationships in parallel reached a certain level of capability. Even so, the original <a href=\"https:\/\/en.wikipedia.org\/wiki\/Transformer\" rel=\"nofollow noopener\" target=\"_blank\">Transformer<\/a> architecture from 2017 checked the relationship of each word in a prompt with every other word in a kind of brute force way. So if you fed 1,000 words of a prompt into the AI model, it resulted in 1,000 x 1,000 comparisons, or 1 million relationships to compute. With 10,000 words, that becomes 100 million relationships. The <a href=\"https:\/\/arstechnica.com\/ai\/2024\/12\/why-ai-language-models-choke-on-too-much-text\/\" rel=\"nofollow noopener\" target=\"_blank\">cost grows quadratically<\/a>, which creates a fundamental bottleneck for processing long conversations.<\/p>\n<p>Although it&#8217;s likely that OpenAI uses some sparse attention techniques in GPT-5, long conversations still suffer performance penalties. Every time you submit a new response to ChatGPT, the AI model at its core processes context comparisons for the entire conversation history all over again.<\/p>\n<p>Of course, the researchers behind the original Transformer model designed it for machine translation with relatively short sequences (maybe a few hundred tokens, which are chunks of data that represent words), where quadratic attention was manageable. It&#8217;s when people started scaling to thousands or tens of thousands of tokens that the quadratic cost became prohibitive.<\/p>\n","protected":false},"excerpt":{"rendered":"The attention bottleneck In AI, &#8220;attention&#8221; is a term for a software technique that determines which words in&hellip;\n","protected":false},"author":2,"featured_media":174401,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[554,733,4308,86,56,54,55],"class_list":["post-174400","post","type-post","status-publish","format-standard","has-post-thumbnail","category-artificial-intelligence","tag-ai","tag-artificial-intelligence","tag-artificialintelligence","tag-technology","tag-uk","tag-united-kingdom","tag-unitedkingdom"],"_links":{"self":[{"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/posts\/174400","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/comments?post=174400"}],"version-history":[{"count":0,"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/posts\/174400\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/media\/174401"}],"wp:attachment":[{"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/media?parent=174400"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/categories?post=174400"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/tags?post=174400"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}