Posts in Ai (20 found)

Crocosmia

Maya sits beneath an enormous red petaled flower, 700 meters tall, impossible and behemoth. She thinks of her mother, Jane, whose disappearance presaged the arrival of the skyscraper-sized crocosmia, a moment known as the “great turning.” Jane’s art is mysteriously connected to that huge shift in global politics, the surprising and simultaneous decapitation of seven world leaders. The book is a kind of parable of revolution, told through the lives of mother and daughter, as they move from commune to isolation, always carrying both experiences with them. For to be with others is also to be alone, and to be alone is not to be apart. View this post on the web , reply via email , or become a supporter .

0 views
Stratechery Yesterday

Obituaries

Listen to this post: Dearly beloved, we are gathered here today to get through this thing called life. ―  Prince Jensen Huang resigned as CEO of Nvidia on Thursday, November 12, 2026. He had been CEO of the company ever since he founded it on April 5, 1993. Nvidia started out as a graphics card company; Huang’s exit — nominally because of affairs with a buyer who may or may not have been a Chinese spy, as well as at least two company employees — was ultimately because Nvidia was, by the powers that be, considered a defense contractor, and Huang never adjusted. In this, Huang was the ultimate victim of his own success. Nvidia’s first graphics cards simply translated triangles into pixels. The 2001 GeForce 3 introduced a programmable pixel shader, which meant a video card’s functionality was no longer pre-defined. The killer move, however — which almost killed the company — was the 2006 introduction of CUDA, which was an API for programming those shaders. For much of the next 16 years Huang sold the gospel of CUDA , convinced it was the platform for a future of accelerated computing; then, in 2022, came ChatGPT. ChatGPT made clear what GPUs were most useful for: large language models, and Nvidia made the best GPUs. More than that, Huang had realized that the future of accelerated computing was not just chips, but rather systems; that drove the purchase of Mellanox in 2019, which provided the technology for Nvidia to scale out from chips, setting it down the road to being the best option for the sort of large scale training that made large language models possible. For this Nvidia charged very high prices, with margins exceeding 70%, because they could: they had the platform, the technology, and, over the past few years as others sought to make their own chips, the supply chain. Huang’s impact on the Asian supply chain in particular cannot be overstated. Byrne Hobart, in his book Boom: Bubbles and the End of Stagnation , notes that one of the benefits of bubbles is that they provide a coordination function, as the fear of missing out incentivizes multiple entities with interlocking dependencies to all commit to building at the same time; Huang was, in many respects, a one-person coordination function. Huang gave multiple keynotes a year, which he explained as how he communicated with the ecosystem broadly, and was famous for eating and drinking his way across Asia in particular, convincing reluctant suppliers that the AI boom was real, and locking up the lion’s share of their output for Nvidia and its stunning commitment to a yearly release cycle. Huang, who had toiled for decades in relative obscurity, known primarily to gamers, and only barely to the tech industry, became a rock star, swarmed wherever he went, always in his black leather jacket. He also, to his ultimate detriment, became a political figure. Nvidia had long had no presence in either Washington D.C. or Beijing , and was blindsided by the Biden administration’s imposition of chip controls in 2022. Nvidia’s immediate reaction to those initial controls, which restricted exports based on interconnect speed, was to immediately release the A800 in China, which was an A100 with a third of its interconnects disabled. That set the tone for the conflict that I believe was the true cause of Huang’s downfall: Huang strenuously disagreed with the various iterations of the chip ban, and Nvidia only bothered to do the bare minimum to abide by the letter of the law, never the spirit. That approach, in all likelihood, extended to Nvidia’s oversight (or lack thereof) of Singaporean entities that were alleged to be fronts for chips for China. Some of these were legal: Chinese companies are allowed to access cloud computing facilities outside of China that house leading edge Nvidia chips, although chip control advocates are seeking to close that loophole; some were not legal, in that the chips were ultimately ferried to China. Megaspeed, whose executive, Alice Huang, was the first person Huang was alleged to have an affair with, was officially in the former business, and alleged to actually be in the latter. There are whispers that Megaspeed’s ultimate customer was not, or not just, Alibaba, but also the Chinese military. These are whispers, to be clear; it was the affairs that were enough, at least publicly, to lead to Huang’s resignation. Nvidia’s durability — at least that of their margins — was already an open question. Start with CUDA: when the market was software written for GPUs, a platform — including not just an API but a huge set of libraries targeting every conceivable market for accelerated computing — was a nearly impenetrable moat. That is why LLMs like GPT were written using CUDA. LLMs, though, both brought Nvidia its incredible success, and also seeded its greatest risks. The first is that the vast majority of developer energy moved up the stack, using the LLM’s API as a platform; for most companies, CUDA didn’t matter. The second is that Anthropic, which found funding from Amazon and Google, originally also-rans to the Microsoft-OpenAI partnership, had to learn how to use Trainium chips from Amazon and TPUs from Google; this was difficult, but ultimately meant that the leading LLM did not have any Nvidia dependency at all (Anthropic runs on Nvidia chips, because they learned how to run on anything). The third is the most devastating: LLMs are so effective at writing software that any software-based moat will inevitably dry up. Nvidia’s second moat, its networking and systems approach, is more durable, although challenged by Google (and by extension, Anthropic) in particular. Nvidia’s systems approach is also the easy answer for enterprises and governments seeking to own their own hardware, and neoclouds seeking to build data centers that are independent of the hyperscalers. The latter market rents chips to both hyperscalers and frontier labs, as well as individual companies, but is challenged as obvious sources of power and political permission disappear. They also need money to afford Nvidia’s systems, which has increasingly come from Nvidia itself. Nvidia’s third moat is its mastery of the supply chain, and this is the moat that suddenly looks much more tenuous. Huang has bragged about the fact that he has never signed a contract with TSMC over their three decades of partnership; it’s a relationship built on a handshake and mutual trust with Huang specifically. This is, per the point above, a very Asian way of doing business, and Huang was the master of that. It’s questionable whether or not that trust and willingness to commit will persist when the handshake is no longer there. Nvidia’s most important moat, however, was the degree to which it was not a normal company. Huang organized Nvidia as an exoskeleton around one man: himself. There is very little management at Nvidia — Huang famously has 60 direct reports — for the same reason that there was no succession plan: Nvidia could move so quickly and so aggressively because the company still behaved as if it were a startup. Indeed, lots of established companies — including those still led by founders — claim to still be a startup, but only one, Nvidia, really was organized that way. That paid off with all of those successful bets; it also created an environment where there were no checks on Huang. And, now that he is gone, the exoskeleton is much more poised to collapse than you might expect. The first part of the AI buildout was funded by free cash flow, particularly from the hyperscalers. Then, during the second half of last year, nearly everyone started turning to debt. Now — starting with Google this past summer — the primary funding mechanism is equity. In the long run, this should come full circle, and future build-outs will once again be funded by free cash flow, generated from the infrastructure that is being built now. The problem for Nvidia is that the companies most able to navigate this progression are the hyperscalers, which have the resources to challenge Nvidia’s hold on the chip market. To that end, Nvidia has been very eager to ensure that it is selling not only to the hyperscalers, but to other would-be competitors, like the neoclouds; there will likely, at some point, be serious questions raised about exactly how Nvidia went about allocating compute in pursuit of this goal. The neoclouds, however, are at a meaningful disadvantage when it comes to funding. First, their debt is significantly more expensive, given that their only business is renting GPUs (as opposed to, say, running the most valuable advertising businesses in the world, or the world’s largest e-commerce platform, or dominating enterprise software). Second, their equity is increasingly worthless, given the significant risks attached to that credit. If a neocloud can’t pay, it’s the equity holders that get wiped out first. This led to what I termed Nvidia’s Risky Business : Nvidia increasingly used its cash flow and credit rating to backstop and fund the companies who were buying its chips. Bears called this circular financing; bulls called it a necessary bridge to a future where AI revenue paid down these companies’ debt and drove massive upside. What is undoubtedly true is that this was the sort of risky business that is uniquely possible for a multi-trillion dollar company that is completely controlled by one man, who has made an entire career of pushing the limits and making risky bets — and seeing them pay off. It’s also a series of bets that are unlikely to continue. The neoclouds should be very nervous about losing their patron, along with their creditors and equity holders. The other problem is that the revenue necessary to make all of this build-out work is something on the order of a trillion dollars industry-wide, and it needs to materialize sooner rather than later; if it falls short, it’s the hyperscalers who will prioritize their own compute first, and they will likely be seen as a safe haven for everyone committing to spending. In that world, Nvidia’s neocloud hedge — absent Huang’s willingness to shore the ecosystem up — is liable to turn into a millstone, with their assets flooding the market even as the supply chain ramp-up brings ever more supply to market. Perhaps because he had been preaching the gospel of accelerated computing for so long, Huang was the leading figure pushing back against the doomer narrative surrounding AI. Yes, AI was a massive business opportunity, but it was still normal technology; the safety issues presented were engineering challenges to be solved. What required consideration was not just the next five years, but the next fifty. It’s a view that I am, in full disclosure, generally aligned with. Many others are not. On one hand there are the aforementioned doomers, certain that fast takeoff is imminent — or has already started — as AI increasingly builds better AI in a recursive loop. The end state is an AI that is massively more capable than humans, and uncontrollable by them; the only hope is to ensure that AI is aligned with humanity, by which adherents to this viewpoint mean aligned with them and their view of the world. This contingent is, broadly speaking, represented by Anthropic. And, in this view, actively working to enable and accelerate uncontrollable open weights models is a threat to humanity. On the other hand there are the China hawks, who view AI as a national security issue, and the key to U.S. military dominance in a world where China owns the means of production of most militarily relevant hardware. In this world giving China access to chips is effectively treason against the United States. For both of these groups, Huang was public enemy number one, because of his determination to do what was best for Nvidia’s business, which was to sell chips to China. This made sense for Nvidia for multiple reasons: This last point is worth dwelling on. The chief objection that China hawks in particular make to the idea that it is a good idea to sell China chips in order to prevent them from surpassing the U.S. is that China is already heavily invested in building their own ecosystem. This is certainly true, but I think it underplays the complexity of chips and what is necessary to actually compete with the West. Specifically, the Chinese government can only control the supply side, by spending money and making top-down imperatives; building an ecosystem, however, whether that be for AI specifically, or semiconductors broadly, requires demand as well. Progress in models and systems and chips depends on a feedback loop between the user and the developer, or the customer and the manufacturer. The demand side, however, is much more short-term oriented than the Chinese government might prefer. The model companies’ concern is the other model companies: that means if they are distilling, we must distill too. If they are using Nvidia chips, then we must too. This matters up and down the stack, just as it has always mattered in technology, which really is different in this regard from almost every other industry. A useful analogy is to consider the Internet. Why is it that country after country can profess a desire to have an indigenous alternative to the American tech giants, yet miserably fail in every attempt to generate it? It’s because the tech giants are only a click away! In this regard, China’s Great Firewall was one of the most brilliant geostrategic moves ever: by virtue of cutting off access to the American tech companies, China created the demand that pulled China’s own tech giants into existence. You need demand, not just desire. This is why China itself is currently banning the import of Nvidia’s two-generations-behind H20 chips, after the Trump administration foolishly banned their import, only to reverse themselves while bragging about the reason to do so — i.e. keep China addicted to Nvidia. China is replaying the Great Firewall playbook: force its internal demand to use its much worse alternatives, because that is the only way those alternatives become better. And, in the long run, those alternatives, and the entire ecosystem that supports them, will flood the world. Huang was, to be perfectly clear, talking his book when it came to his insistence on selling chips to China, or, in the case of the current controversy, allegedly turning a blind eye towards nominally legal buyers who were intent on violating the chip ban; that doesn’t mean, however, that he was wrong about the long-term effects, at least if AI is a normal technology (and I haven’t gotten to the risks this imposes on the Taiwan Strait ). What is clear now, however, is that the doomers and the hawks have won: AI, at least in terms of policy, will be treated as anything but normal, and in the fullness of time, it is the U.S. chip ecosystem that will pay the ultimate price. The birth date for the last obituary was the invention of the transistor; the birth date for this one is the founding of Intel. Robert Noyce and co-founders had spent the last decade at Fairchild Semiconductor, but were constrained by their parent company’s fundamental conservatism and chafed at their lack of upside. Arthur Rock effectively created the venture capital industry in Silicon Valley through his financing of Intel; Noyce created the concept of the commercial-market-led technology company that made it up in volume. At that time the largest single purchaser of chips was the U.S. government; Noyce realized that the fastest way to progress was to make chips for everyone, including the government, and on his terms, not theirs. From that point on, tech as an industry operated with the assumption that the world was its customer, and that their own executives defined the route to progress. Government was free to buy their products, but not to define them, and if they wanted the best products, then they best not restrict who they could sell them to either. That’s how important volume was, and, over time, it became clear how powerful and essential ecosystems were. Other industries operate differently; I thought this article in the Financial Times was striking, and not just because of the headline: Bessent says Nvidia needs ‘shake-up’ with external CEO : Bessent said that it is important “to examine whether Nvidia had a culture of compliance around the US export restrictions” and whether its top executives knew they were being skirted. “Was it a low-level fail? Was it in the middle, or was it up in the C-suite? And who knew? These shell companies were obvious, they were being investigated, and did Nvidia use them as a workaround to sell chips to the Chinese?” he said. “Were they pressing these seemingly illicit sales to goose their revenues and their earnings?” The Treasury secretary added that Nvidia needs to provide answers within a matter of days: “I think we need answers in the next 10 days from the board and from the outside counsel”. He added that “we will see if Nvidia intentionally ignored the warning signs of these shell companies, many of them in Singapore”. Bessent has pointed the spotlight on Howard Lutnick’s commerce department for failing to ban exports of Nvidia’s chips to Megaspeed, the Singaporean company linked to the alleged Chinese spy who had an affair with Huang. US authorities have been investigating whether Megaspeed, which builds AI data centres in Asia, has been involved in smuggling high-end Nvidia chips, which are powering the AI boom, into China. Bessent has blamed the commerce department more than once this week for failing to ban exports of Nvidia’s chips to Megaspeed. Commerce delayed efforts to add Megaspeed to Washington’s blacklist of companies the US considers a risk to national security. “Many other departments were pushing for this, and commerce had the pen,” Bessent repeated on Sunday. “We have all the rules we need. We just need them enforced.” Lutnick is under mounting pressure from within the administration and from Congress, which has demanded that he explain how he allowed chips to be exported to a company linked to an alleged Chinese spy. US lawmakers are also accelerating efforts to crack down on advanced AI chips reaching China. If Nvidia “were a bank and they hadn’t complied like this, the [Treasury’s Office of the Comptroller of the Currency] would be in there right now, and a lot of the executives would be removed”, Bessent said. Scott Bessent is the Treasury Secretary, which is to say that he operates an apparatus that is arguably just as, if not more, powerful than the U.S. military. Treasury controls the flow of money around the world, and its soldiers are the banks; if Treasury has sanctioned an entity, then it is up to banks to ensure those sanctions are enforced. They need to know their customers, and they need to analyze every dollar flowing through their systems; if they do not, they are breaking the law. Ignorance is not a defense. Ignorance, on the other hand, has been tech’s defense basically forever. Yes, there are bad people in the world, which means that if the whole world is using your products, they will be used to do bad things. That was considered an acceptable trade-off, however, because most people are good and the benefits that come from scale — and an avoidance of the friction that comes from trying to track the activities of billions of people — were worth the risk. This was certainly what Huang believed, and, to his detriment, he aggressively belittled anyone who dared disagree (the extent to which Huang is despised in Washington D.C., as evidenced by the giddiness and bloodlust online last week, is extraordinary). In Huang’s view, as long as the Commerce Department said that it was ok to sell to Megaspeed, then it was ok to sell to Megaspeed — and to sleep with one of its executives. Bessent views the matter entirely differently: he thinks that Nvidia should operate like a bank. It’s not just their job to abide by the letter of the law, but the spirit of it. It’s not the government’s job to enforce the chip ban, but the company’s. An attestation from a Singaporean customer that chips aren’t going to China isn’t worth anything; actually putting boots on the ground and ensuring compliance is the only way Nvidia cannot be in violation of the U.S. government’s dictates. Again, for tech, this is extraordinary, even if it is normal in banking. Extraordinary enough, in fact, that Huang is being labeled by many — not just in Washington, but also in the finance world — as a traitor. Huang, in my estimation, is just a businessman who cares about nothing else other than Nvidia; that worked out great when he made GPUs for gaming that no one in government cared about or understood. That’s just a normal technology; when AI was deemed to be anything but normal, however, business as usual wasn’t just over: it was a crime, and it cost Huang his job — and maybe more. It’s worth pointing out that while this episode was shocking, I should not, in retrospect, have been surprised. Earlier this year, when Anthropic faced off against the U.S. government, I wrote in Anthropic and Alignment : At the same time, what is the standard by which it should be decided what is allowed and not allowed if not laws, which are passed by an elected Congress? Anthropic’s position is that Amodei — who I am using as a stand-in for Anthropic’s management and its board — ought to decide what its models are used for, despite the fact that Amodei is not elected and not accountable to the public. And, on the second point, who decides when and in what way American military capabilities are used? That is the responsibility of the Department of War, which ultimately answers to the President, who also is elected. Once again, however, Anthropic’s position is that an unaccountable Amodei can unilaterally restrict what its models are used for. My point in that Article was that if AI is as exceptional as claimed, then the government will demand a say in how it is used, whether or not private company executives agree; moreover, that was a good thing, or at least a least-bad thing. The same analysis applies to Nvidia and Huang: Huang may have fundamentally disagreed with the chip ban, but at the end of the day, it was his duty to accept that it was the law of the land. To the extent he did not do so is ultimately his responsibility. Perhaps the most tragic aspect of the Huang affair is the extent to which he was the personification of The American Dream. Huang was sent to America as a nine year old who didn’t speak a lick of English, and somehow ended up at a boarding school in rural Kentucky for misbehaving youth, where he would trade help on homework for protection from bullies. From there he went to a state school in Oregon, became an engineer, before famously ending up at a Denny’s diner where he and his co-founders decided to start Nvidia. Then, over the following 33 years, he took risk after risk, created innovation after innovation, until he became a hero not just in the United States, but across the world. And then, you might say, he flew too close to the sun. Certainly he did so in his private life: it’s not just the affairs, which may be par for the course for rich and powerful men; rather, it’s notable just how reckless the affairs were. The ones that were revealed last week were with a customer and potential Chinese spy, and two of his own employees; both are fireable offenses. Meanwhile, the way in which Huang treated his opponents — including actively seeking to get people fired who he felt stood in the way of getting his way — bore the marks of a man who has constructed a life, and a company, where no one can or will stand up to him. That is a recipe for disaster, and here we are. At the same time, it really does bum me out that what ultimately doomed Huang was a set of rules that really are a big departure from the status quo — and, in my opinion, misguided. Huang’s actions — or lack of actions, in terms of enforcing compliance with the chip ban — are treated as if they are an obvious crime, when in fact this is a dramatic shift in expectations from a short time ago (although there is certainly a callback to previous controversies around selling advanced computing to adversaries). Huang should have adjusted and accepted the new reality, make no mistake; I’m sympathetic to the fact he couldn’t, and recognize the failure in not having structures in place that could have warned him about the dangerous road he was embarking on, even as I realize Huang’s willingness to navigate dangerous roads is precisely why he was an American success story. Beyond Huang, however, there is the question of how we compete with China, and I am disappointed, although not surprised, that we are pursuing the route of bans and forced compliance, instead of innovation and openness. Make no mistake, I am no China dove, and I have been very early to the argument that we erred greatly in willingly exporting entire industries to the communist state. That, however, makes it even more imperative that we sprint in the opposite direction of China, towards more freedom in a bet on inventing new industries, not more control and a focus on gatekeeping what we have. I get the logic, particularly in the case of AI, which is extraordinary; I lament the implications of what it says about our belief in ourselves and our ability to stay ahead. Presented by As AI models improve, you might expect the market will consolidate around a handful of providers. But user data tells a different story. Among OpenRouter customers spending at least $100 a month, the median number of AI model families in use has doubled over the past year , from three to six. Even as AI models become more capable, businesses are using more models, not fewer. This makes sense when you consider that intelligence isn’t one-dimensional. A model that’s exceptional at writing code may not be the fastest at answering customer questions, or the most economical at processing millions of documents. The question is shifting from “which AI model should we build on?” to “which model should handle each task?” The answer, increasingly, is ‘it depends.’ Which is great for flexibility, less great for simplicity. OpenRouter, which recently joined Stripe , allows businesses to access and govern hundreds of models with the flexibility to optimize for cost, performance, and reliability as the market evolves. Learn more at openrouter.ai . The first and most obvious reason is that it is good for a company to be able to sell to everyone, including the second largest market in the world (China has traditionally made up about a quarter of Nvidia’s sales, long before AI was even a thing). The second is that China is a large enough market, with sufficiently motivated and capable developers, that it can actually create a meaningful CUDA alternative; furthermore, such an alternative would, in the long run, not be constrained to China, but rather compete with Nvidia all over the world. The third is that China’s AI ecosystem, unconstrained as it is by such niceties as terms of service, distills frontier lab models and releases them as open weights models; those models, meanwhile, are tuned to run on Nvidia chips. These models give Nvidia leverage versus the frontier labs all over the world, including in the West. The fourth is that China is uniquely positioned to create a fundamentally different approach to systems design using optical interconnects to scale out training clusters. This is much more inefficient in terms of power usage than Nvidia’s more elegant designs, but China is also much more capable of manufacturing excess amounts of power to make it work. The fifth is that, in the very long run, China can create an entire alternative supply chain for semiconductors broadly, rendering Nvidia’s mastery of the Western-aligned supply chain much less important.

0 views
Unsung Yesterday

“Could a modern chess engine on a Pentium have defeated Kasparov in 1996?”

On February 10th, 1996, a computer program (IBM’s Deep Blue) defeated the reigning chess champion (Garry Kasparov) in a game of chess for the first time. Deep Blue would go on to lose the match, but a year later, would get its revenge in a 3.5-2.5 rematch. In order to achieve this feat, IBM spent several million dollars on research and development building a special-purpose computer specifically for this purpose. Deep Blue itself (the victorious, upgraded version) was powered by 30 P2SC processors each running at roughly 120 MHz, and (most importantly) 480 custom VLSI chess co-processors used to perform chess-specific operations like move generation and position evaluation. When it was built, Deep Blue was the 259th most powerful supercomputer in the world, and could analyze over 200 million chess positions per second. […] Skill in chess is measured by an Elo score. […] The best chess engines that you could run on commodity 1996 hardware were rated roughly 2300 Elo. Deep Blue was rated 2700. In contrast, modern Stockfish is rated closer to 3700. This raises the question: how much of the advantage of a modern chess engine comes down to the fact that a modern desktop computer is extremely fast, and how much of the advantage comes down to the fact that we’ve just gotten better at programming chess engines? This post by Nicholas Carlini is a more technical post than I usually share in this neck of the woods, but I wanted to to this for this ending: The first time we humans do anything, we rarely do it efficiently. Once we see a path that would clearly work if only we scaled it up, we do just that. Only later, after we’ve had the time to better understand the problem at hand, do we come to recognize that we could have achieved the same feat much more efficiently by being clever. I mostly did this for fun, because whether I could have beaten Kasparov with commodity hardware sounded like a fun question to answer, but I also hoped it would provide a tiny bit of insight into the rate of algorithmic progress in “AI”. Chess engines in 1997 were already quite advanced; after all, Alan Turing helped write the first chess program nearly fifty years earlier. So I suppose at the time it seemed plausible that maybe there weren’t that many more ideas left to find. And with hindsight it’s easy to see that’s wrong. This is interesting to me less in the AI context, but more in the “people getting better at understanding and programming things” sense. It reminds me of Racing the Beam , a fun 2009 book by Ian Bogost and Nick Montfort, chronicling the life of a certain Atari 2600 videogame console, released in 1977. The console predates me, although it has been on the market for many years. Toward the end of its life, the programmers understood it so well and were so much in sync – literally and figuratively – with its antiquated hardware, they made games with graphics so great they seemed to belong to the next generation of hardware. I am pretty sure if you were to grab some mid-1980s Atari 2600 games and go back in time to 1977, the creators of the console itself would tell you these were not possible to make. This is an 1977 launch title Combat, followed by the famous Pitfall! from 1982. I know they will both look primitive from the flattened perspective of today, but believe me – Pitfall! was a masterpiece that inspired a generation:

0 views

Now · November 2026

I’m long overdue in writing one of these updates. There’s a lot on my mind at present. I keep meaning to sit down and write about it, but have been finding it difficult to put words on the page. The elephant in the room, of course, is LLMs: specifically, what it means to be a “software engineer”—if that is even still the right term—in this LLM age. Right now my main focus is trying to figure out how to achieve more balance in my life.

0 views
David Bushell Yesterday

RSS Club #010: Chatbots

This is an RSS-only post, thank you for subscribing :) My RSS-only posts have a permalink for those who prefer reading from my website. That link is hidden and unindexed. URLs can be linked to but in the spirit of “RSS Club” I’d prefer if my RSS-only posts were only linked to from other RSS-only content. Warning: this post contains heavy slop-talk! I’m trying my best to leave them behind but everywhere I go is inundated with chatbot bullshit. Below are some scattered thoughts on the topic that I’m keen to leave behind. So I’m dumping them on you! Aha! I’ve noticed a change in how people comment on my blog posts. I think the reason is they are only reading a chatbot summary . They question stuff that was meticulously answered in the post. They misinterpret quite obvious jokes as serious statements. They jump to extreme conclusions. They latch on to small tangential details that bear little consequence to the main content. They fail to understand the mood and tone of my post. I don’t always know if a commenter read and understood what I wrote. It’s quite apparent though when they’ve read something that I never wrote. I’ve been blogging long enough to know when I failed to make myself clear. Nope, this is a new phenomenon. There is a distinct change in how a few people comment. Far from everyone, and it’s those “normal” comments that convince me there is something off with the others. A comment based on a wrong chatbot summary is far more discouraging than any negative or insulting criticism. I have a thick skin for the latter. I’m seriously considering getting my website banned from Lobste.rs for this reason. On sites like Hacker News the dumb comments get lost in the noise. Lobsters is small enough that the bullshit sticks. Suspected comments based on a chatbot summary have a habit of arriving earlier than others. It’s exhausting to deal with. Maybe I just have to ignore it? One of life’s small joys is referring to all chatbot output as “slop” and “vibe-code”. It really riles people up because their chatbot usage is different . You must understand this. They can get their chatbot to sing, it’s others who are failing to finesse. Many in the web industry have spent the last year (or more) trying to predict the output of their chatbot. The fact that non-determinism † is fundamental to chatbots working at all doesn’t register with slopaholics. “You’re prompting it wrong” is the entire conversation . † Technically PRNG but it’s sufficiently random to mangle human knowledge. Everyone likes the taste of their own slop. No one seems to grasp that perhaps they too have stopped learning and started renting a sorry excuse for brain activity from a bunch of fash-tech broligarch grifters. These billionaire psychopaths invented “AI” by beating all meaning out of the term. If you watch Ghost in the Machine you’ll learn that the term “Artificial Intelligence” has deeply dehumanising origins. However, most of us think of the cool future promised by sci-fi books and movies. Regardless of what “AI” means, it’s quite the indictment that people have settled for the saddest most pathetic definition. Once distinguished web developers are now advocating for cognitive surrender to Google and their “Modern Web Guidance” . These people have all but killed web education — but don’t worry, Google is here! They have the gall to cry foul when you dare challenge their agenda. “Why can’t we have a normal conversation?” they ask insincerely. Because they’ve chosen to ignore all moral and ethical issues . They killed web education and now they’re trying to educate an f-ing chatbot. That ain’t normal. The deskilling of the web industry and destruction of related professions has been rapid. I won’t be forgetting those who participated. The quality of chatbot output is the least of my concerns. Although it does reveal how low the bar is (lower than I assumed necessary). And how sorely lacking in taste vibe-coders are. The funny thing is that vibe-coders can’t escape the negative effects of all this slop. They too see the unreadable emails, the worthless content, the broken websites and apps. And they have the audacity to moan about it! The world is burning around them but their fire is under control. When the AI industrial complex collapses so will the economy. If Anthropic and OpenAI are allowed to IPO, the door is open for “safer” investment to flow in. That significantly increases the likelihood of bailouts . Whatever happens, it’s inevitable that more lives will be irrevocably ruined. Vibe-coders will be quick to point fingers at everyone but themselves. “It was just a tool!” they’ll plead. Thanks for reading! Follow me on Mastodon and Bluesky . Subscribe to my Blog and Notes or Combined feeds.

0 views

ASI as a Black Box

An artificial superintelligence (ASI) is an AI that’s much better than the top humans at almost all cognitive tasks. This is a perfectly fine definition. But, from this definition and from our web of knowledge, we can deduce very little about what an ASI would actually look like. Human geniuses provide a lower bound, but not an upper bound. In some areas, we have deductive theories that describe the space of what is possible for all agents. We know, for example, that a superintelligent AI won’t be able to travel faster than light, or travel back in time, because we have well-trod theories that prohibit these things. In most areas of life, we don’t have such theories, and so we don’t have solid reasons to say what is or is not possible. Consider persuasion. Some humans are very charismatic. But what is the range of charisma? Is superpersuasion possible? I don’t know. The term is very loosely defined , but people just throw the word around like it means something. Without a deductive theory of human belief-change and communication, the possibility of “superpersuasion” is an empirical question. Consider scientific discovery. Maybe ASI would vastly accelerate science, or not. You can think of scientific discovery as a function of intelligence, the existing state of knowledge, and access to empirical observation. But we don’t know the coefficients of those terms, the—so to speak—intelligence elasticity of scientific discovery. I would guess that progress would accelerate, since greater intelligence means better hypothesis generation, hypothesis selection, experiment design, and more efficient scheduling of lab equipment. More generally, for a question of the form “would an ASI be able to do X ?”, our inability to answer the question usually stems, not from our lack of knowledge about ASI, but from our lack of knowledge about X . “Things an ASI can do” is a subset of “things it is possible to do”, to know the former (deductively rather than empirically) we first need to know the latter, and to do that we need a complete, deductive theory of whatever area of knowledge X belongs to. But don’t we have all these mathematical theories of rationality and optimal decision-making? Are those useful for predicting how a superintelligence would behave? The standard doctrine says superintelligence should converge on perfect Bayesian rationality. If that’s true, then all those papers about decision theory and all that ink spilled on Newcomb’s problem will finally pay off. If, on the other hand, these theories are just an unreachable, abstract normative standard, then we know nothing. In short: we can’t predict the specific cognitive abilities an ASI would have, and we also can’t predict the higher-order consequences of those cognitive abilities.

0 views
Ahead of AI Yesterday

Understanding Positional Embeddings in Modern LLMs

This article explains how LLMs encode and process token position information by covering classic and contemporary methods like RoPE. It’s essentially a comprehensive journey where we will work through the mechanisms with visual examples, a little math, and a small PyTorch implementation. And, of course, we will then also look at how modern architectures adapt or omit explicit positional encodings. Below, you can find a preview of which positional embedding choices are used in 2026 open-weight models. We will discuss these choices later after covering the underlying mechanisms. Figure 1: A preview of the gallery’s 2026 architectures, grouped by positional encoding. Architecture figures taken from my LLM gallery . But why spending so much time writing/reading about this rather minor building block? LLMs keep evolving, and as I was preparing a new article on the latest LLM architecture trends this year, I realized that I never covered the positional information methods used in LLMs in any article so far. So, instead of letting the other article get out of hand, I thought it might make sense to publish this as a standalone building block for the upcoming LLM architecture and trends analysis. Also, over the years, many readers have asked me for a tutorial on relative positional embeddings (aka RoPE) to follow up on the learned absolute embeddings used in GPT. It’s been on my TODO list for a long time, so I finally revisited my old draft and put this walkthrough together, which will cover different positional methods in LLMs; (finally) how RoPE works; what methods are used by recent open LLMs. Note that this article assumes some familiarity with basic LLM architectures and works well as a follow-up to Build a Large Language Model (From Scratch) . If the concepts and computation of the attention internals, particularly query, key, and value vectors, are a little fuzzy, I recommend checking my self-attention walkthrough as a refresher: The article is also very technical and likely too detailed for some. However, I really wanted to have this foundation out there for future articles to reference. And no worries, the next one will return to a more comfortable style. PS: I started experimenting with Substack’s new “perks” system. As a thank-you to supporters, I’ve added image exports and metadata from the architecture gallery for you to use in your own analyses. PPS: If you are already familiar with how position embeddings work, feel free to fast-forward to Section 6, Positional choices in modern architectures . Note that this article may be best read in a web browser than an email client. I recommend checking out the web view here , which also has a navigation bar on the left side. Let’s start with the overall architecture. A tokenizer encodes the input text into token IDs. Next, the input token embedding layer of an LLM maps each of these IDs to a vector of numbers. We usually refer to these entries in that vector as “features” (similar to classic ML). The transformer blocks inside the LLM then modify these vectors using attention and feedforward layers. Lastly, the model’s output layer produces logit scores (converted into probabilities) for the next token. The following shows this path in GPT-2 (a relatively classic LLM) and MiniMax-M3 (a more recent LLM released this year; a placeholder for most other recent LLMs). As we can see, the architectures are not too different from each other, but before we get to the positional information parts, let’s focus on the orange blocks for now (the token embedding layers) and the transformer blocks above them; the other architecture differences aren’t needed for this explanation. Figure 2: Token embedding layers in GPT-2 and MiniMax-M3, highlighted in orange. (Side note: M3’s first three out of 60 feedforward layers are dense not MoEs.) A token embedding layer, shown in the figure above, maps each token ID to a vector. Position information is then added afterward. Concretely, and as we will discuss in more detail later, GPT-2 adds a position vector to each token embedding before the modified embedding enters the first transformer block. On the other hand, MiniMax-M3 adds the positional information in each transformer block using a method called RoPE inside attention. We will talk about these methods in more detail later, but first, let’s start with the big picture information explaining why explicit positional information is added or needed. Consider the following two input sentences as a simple example: “The red fox jumps over the gray fox.” “The gray fox jumps over the red fox.” Changing the word order changes which fox does the jumping, as illustrated in the following figure. Figure 3: Changing the word order changes which fox jumps. For the examples in this article, we will treat each word as one token for simplicity. (As you know, real tokenizers can split words into smaller subword tokens.) The first sentence then has eight token positions, from 0 through 7. Figure 4: Token IDs and positions in the toy sentence. (If you are interested in how vocabularies are built, check out my tokenizer materials on GitHub .) Note that “fox”, which appears twice in the input sentence, gets the same token ID 2 in both cases. And since they both have the same token ID, irrespective of the position in the input sentence, they would get the same embedding vector from the embedding layer. Now, let’s consider a regular self-attention mechanism with no positional encoding (and no causal mask), where every input token can attend to every other token in the input. In this scenario, swapping any two words, like “red” and “gray”, would still result in the same embeddings and attention scores between each token pair. GPT-style models do use a causal (autoregressive) mask, which restricts each token to itself and earlier tokens. Interestingly, this causal mask gives the computation some implicit order information. In our example, “jumps” can attend to “red” in the first sentence and “gray” in the second. So, a causal LLM can theoretically already distinguish these sentences even without explicit positional embeddings. (We will return to this idea later when discussing the “NoPE” concept.) Nonetheless, GPT-2 and most newer LLMs include explicit positional information because it gives attention a direct signal about positions. That’s because even though the causal mask determines which tokens are accessible and provides implicit order information, it doesn’t distinguish a separation of one position from a separation of ten, for example. So, explicit positional methods are still useful (or even essential), since they supply that information. If this all sounded confusing, don’t worry, it was more meant as an overview, and we will step through these concepts a bit more slowly in the remaining article. We briefly talked about implicit positional information through causal attention masks (and we will revisit this again in more detail later). However, we now switch gears and talk about the explicit ways to add positional information. The perhaps simplest and most direct (but not “cheapest”) approach is to give each sequence position its own vector. We add that vector to the token embedding, so the resulting, modified embedding vector is then passed to the first transformer block. This exact procedure is discussed in the following subsections. To illustrate the use of an explicit, learned positional vector to the input embeddings, let’s consider GPT-2 as a concrete example. GPT-2 learns a table of position vectors during training. The following figure illustrates where these vectors are used in the architecture, that is, immediately after the token embedding lookup and before the first transformer block. Figure 5: GPT-2 adds absolute position information before the transformer blocks, as highlighted in purple. The dimensions shown are for GPT-2 XL . The positional embedding layer depicted in the figure above follows the same implementation as the token embedding layer, i.e., they have exactly the same output dimensions so that the resulting input vectors can be added to each other. The code below shows that with an excerpt of a GPT-2 code implementation: And in mathematical terms, we can write it as follows. Let m be a position index and x m the token ID at that position. The input to the first block is E token is the embedding layer, P m is the position info vector selected by m , and h m is the resulting summed embedding and position vector. The two vectors have the same width, so we add their entries element-wise. Figure 6 below shows this visually with a small numerical example. Figure 6: Token and position embeddings are added element-wise. (I am following the convention here that neural network diagrams are usually read from bottom to top.) In the figure above, at position 0, adding the token embedding to the position embedding gives . By the way, the values in the figure are chosen to keep the illustration simple; in a real example, both embedding layers (tables) are initialized with small random values and learned during training. So, what we covered in this section is a so-called absolute positional method because the positional embedding P m depends on the token’s own position m . In the previous example sentence, the two “fox” tokens have initially the same token embeddings, but because we are adding different positional vectors P 2 and P 7 , they have different values before they enter the first transformer block. And consequently, the query, key, and value vectors inside the attention mechanisms then also receive representations that already include position information. Note that the original GPT-2 implementation has 1,024 learned position vectors. This means it only works with inputs with 1024 or fewer tokens. If we want to extend the context window, we would have to extend this embedding table. And since the embedding table (layer) is updated like any other layer during training, the context length would have to be decided before the training starts. Extending the context would be very expensive since the table can become very large. For example, in the case of GPT-2 Medium, the positional embedding layer weights only make up 0.30% of the total weights at 1,024 positions. However, if we increased the context length to a nowadays common 100k range, they would make up >22% of the total model weights, which would be very uneconomic. The original “Attention Is All You Need” transformer from 2017, which predates GPT, uses the same addition mechanism, but computes its position vectors with fixed sine and cosine functions. Figure 7 below shows this addition before both the encoder and decoder stacks. The encoder processes the input sequence, and the decoder generates the output sequence. (The reason why it’s introduced here is that the sine and cosine functions will become relevant again later when discussing RoPE.) Figure 7: Sinusoidal position encodings added to the token embeddings as highlighted in purple. The original transformer also scales its token embeddings by √( d model ) before adding the position vectors, where d model is the embedding width. So, while GPT-2 in the previous section had the formula the formula used in the original transformer (depicted in Figure 7) is: This scaling by √( d model ) is a minor technical detail, but for those who are curious, the motivation behind this scaling factor is not explained in the transformer paper, but as I discussed with colleagues on a Twitter thread many years ago, it’s likely to put the token embeddings and sinusoidal positional encodings on comparable numerical magnitudes at initialization, so the position vectors don’t dominate the sum when we add them. In the GPT-2 case, this scaling wasn’t necessary because the original GPT-2 code initialized the token embeddings to have an initial standard deviation of 0.02 and the position embeddings to have an initial standard deviation of 0.01 so that they were already roughly on the same scale. Now, the more interesting point is how the position embeddings P m are computed. Concretely, each position vector has the following entries: As before, m denotes the position. The index i indexes a pair of features within the vector. Here, a feature is one number in the position vector. For example, let’s assume we have a small vector with 8 values ( d model = 8) that has entries numbered 0 through 7. (In the original paper this was 512 for the small model and 1024 for the bigger model, instead of 8, but that would be hard to visualize.) We group these into four pairs so that i goes from 0 through 3. Figure 8: Sine and cosine entries for each feature pair. Here, the indices 2 i and 2 i + 1 select the two entries corresponding to pair i . As shown in the equation earlier, the angle at position m , which is then fed into the sine or cosine functions to obtain P m , 2 i or P m , 2 i + 1 , respectively, is computed as follows: Figure 9: The angle inside sine and cosine is the token position multiplied by the pair’s angular frequency. Figure 10 shows this calculation for all four pairs of our 8-feature example at position m = 2. Figure 10: The four sine and cosine pairs at position 2. For an eight-feature embedding, the four frequencies are 1, 0.1, 0.01, and 0.001 radians per position. At position 2, the first pair in row 1 is (sin 2, cos 2) ≈ (0.909, −0.416). The second pair, in row 2, changes more slowly, giving (sin 0.2, cos 0.2) ≈ (0.199, 0.980). The figure below visualizes the sine and cosine calculations for different pairs, which are then collected in a position vector. Figure 11: Sampling sine and cosine functions to form a position vector. In short, this method is a (more complicated) alternative to obtaining positional embedding vectors compared to the GPT-2 method discussed earlier. Similar to the GPT-2 embeddings, these are also absolute embeddings because each vector is computed from its own position. However, in contrast to the GPT-2 approach, the sine and cosine functions stay fixed during training. (Also, they can be extended and evaluated beyond the training positions, like beyond the context length of 1024, although that alone doesn’t guarantee that the model will perform well there, because it hasn’t seen those during training.) To summarize, Figure 12 below compares the two ways of obtaining a position vector we discussed so far. Figure 12: Fixed sinusoidal and learned absolute positional embeddings. This sinusoidal method may look like an overly complicated way to obtain positional embeddings, however, understanding it will be useful when talking about RoPE in the next section. Also, there is some rationale behind it. The authors chose sine and cosine because they make the shifting by a certain offset gives a certain deterministic difference. For example, the difference between position 2 to 5 and the difference between 102 to 105 is both 3, which then results in the same rotation. According to the Attention Is All You Need paper: “...easily learn to attend by relative positions, since for any fixed offset k , PE pos + k can be represented as a linear function of PE pos .” Or in less technical terms, the authors hypothesized that this property would make it easier for attention to learn relationships such as “three tokens earlier.” Figure 13 below illustrates this for one sine/cosine pair. A rotation is a linear transformation, and both three-position shifts use the same rotation. Figure 13: For a pair with angular frequency 0.1 radians per position, a shift of three positions always rotates the pair by 0.3 radians. 3. Encoding relative position with RoPE So, the sinusoidal method above is still considered an absolute positional encoding because the vector added to each token embedding represents that token’s position counted from the start of the sequence. As shown in the previous figure, for example, tokens at positions 2 and 5 receive the position vectors P 2 and P 5 . If we move those tokens to positions 102 and 105, they’re still three positions apart. But each token gets a different position vector because its absolute position m has changed. So their attention score can change even when the token embeddings stay the same. The sinusoidal structure still gives the model a way to learn relative relationships. Anyways, RoPE, which we will discuss below, builds this relative relationship directly into the attention calculation. RoPE, which Su et al. introduced in the 2021 RoFormer paper , stands for Rotary Position Embedding and is considered a relative position method. In attention, each token’s current representation is projected into a query, a key, and a value vector. Query-key dot products determine attention scores. After masking and softmax, the resulting weights determine how the value vectors are mixed. For a refresher, see my Understanding and Coding Self-Attention, Multi-Head Attention, Causal-Attention, and Cross-Attention in LLMs article: RoPE uses the token’s position to rotate its query and key vectors before their dot product. The value vectors bypass this rotation. Figure 14 below shows an overview of where RoPE is applied in a relatively recent MiniMax-M3, where QK-Norm normalizes queries and keys before RoPE. Figure 14: MiniMax-M3 applies RoPE to queries and keys inside attention. As shown in the figure above, the LLM architecture has no explicit position vector added alongside the initial token embedding. Its explicit position signal is injected inside attention instead. Side note: MiniMax-M3 rotates only part of each query and key head, a variation known as “partial RoPE” that we will cover later in Section 6.1. But to understand the basic RoPE operation first, let’s walk through the method step by step using a small example. Attention usually divides its query, key, and value features into multiple heads, which are processed in parallel. Hence, the full mechanism is usually called Multi-head Attention (note that Grouped Query Attention also uses multiple heads). Here, each attention head computes its own attention scores and weighted sums. RoPE then acts on pairs of numbers within each query and key head. To make this concrete, Figure 12 below follows a token representation through the learned query and key projections, which are computed via the weight matrices W Q and W K . In this toy example, each projection produces 16 features, which are reshaped into two heads with eight features each. In the figure below, every small cell contains one scalar feature, meaning one numerical entry in a vector (the numbers are not shown due to space reasons). Figure 15: Projecting a hidden state, reshaping into heads, and pairing features for RoPE. For the first eight-feature head, , we pair each feature in the first half with the corresponding feature in the second half. This gives , , , and . This split-half convention is used in LLM implementations, including my Qwen3 implementation . (We will compare it with the original, alternative adjacent-feature pairing method later after implementing the basic operation.) Each pair gets a rotation angle determined by the token position m and that pair’s frequency θ i . The corresponding query and key pairs use the same frequency. Figure 16 below shows how we rotate the pairs, put the updated features back in their original locations, and compute the query-key dot product. Figure 16: Pairwise rotations produce the rotated query and key vectors used to compute attention scores. The next section will walk through the figure(s) a bit more slowly. For the following example, we’ll use the same two positions as before. The query comes from “the” at position m = 5, and the key comes from the first “fox” at position n = 2. Since, in this example, the key comes before the query, the causal mask allows the query to attend to it. To illustrate the effect that the position has, and keeping everything fixed, let’s assume we start both pairs from the same two values, (1, 5). Figure 17: The first feature pair, (1, 5), takes one entry from each half of the query head. Furthermore, for this example, let’s use θ = 20° per token position ( π /9 radians per position). At position 2, we rotate the key’s arrow counterclockwise by 2 × 20° = 40°. At position 5, we rotate the query’s arrow by 5 × 20° = 100°. Figure 18: Starting from (1, 5), RoPE rotates the key pair at position 2 by 40° and the query pair at position 5 by 100°. To illustrate what’s happening in the figure above, for example, plugging cos 40° ≈ 0.766 and sin 40° ≈ 0.643 into the rotation from Figure 16 gives the new key coordinates: Then, changing 40° to 100°, using the same equation as above, the rotated query pair becomes q′ ≈ (−5.098, 0.117). But the important point is that both arrows still have length √26. Only the rotation changes but the vectors keep the same lengths after the transformation. So, for a query pair ( a , b ) at position m , the two operations here are. For the key pair at position n , we use the same equations with nθ . (Section 4 later shows how RoPE calculates the angular frequency for each feature pair.) To close this section, for those more comfortable reading code, everything about RoPE illustrated so far can be written in code, as follows: The resulting values are: If we rotate all 4 pairs in the 8-feature query (and key) vector(s), we get the vectors below. (We’ll come back to how we go from rotating one pair to rotating all of them later.) Note that, as shown above, the query and key heads have eight features each, which we previously grouped into 4 pairs with two elements each, like (1, 5), and (2, 6), and so on. For simplicity here we’ll follow just the first pair in each head, (1, 5), formed by taking the entries at indices 0 and 4: As shown above, in our example, those entries have values (1, 5) in both heads before the rotation. Also, as in the code above, let’s use the notation q =( q 1 , q 2 ) and k =( k 1 , k 2 ) for these two pairs. To compute their dot product, using the standard dot product formula, we multiply corresponding coordinates and add the products: Before rotation, the pairs have a dot product of 1 × 1 + 5 × 5 = 26. Using the rounded coordinates from the previous Figure 18 gives the contribution from the first pair after rotation: We can see why by writing the dot product in terms of the lengths of the two vectors (arrows in Figure 18) and the angle ϕ between them. In both cases, the vector length is √26. The query (position 5) is rotated by 100° and the key (position 2) is rotated by 40°. The vectors (arrows) start from the same direction, so they end up being 60° apart after rotation. Their exact dot product is 26 × cos(60°) = 13. Now let’s see what happens if we move just the key from position 2 to position 3, but we keep its starting coordinates (1, 5) fixed. The key’s rotation changes now from 2 × 20° = 40° to 3 × 20° = 60°. The query still rotates by 100°, so the angle between the arrows shrinks to 40° and the dot product changes from 13 to 26 × cos(40°) ≈ 19.92. So, moving the key one position closer changed the dot product even though we started with the same feature values. Why do these dot products matter? In attention, we sum the contributions from all feature pairs to get the query-key dot products. RoPE can change those dot products and thus the weights that softmax assigns to the value vectors. In the attention equation above, Q′ and K′ are matrices that contain the rotated queries q′ and keys k′ for one head, V contains the values, and d is the head dimension. Now that we illustrated the computation of the dot products, which is at the core of the attention mechanism, let’s return to positions m = 5 and n = 2. If we shift both positions to the right by three positions, we get m = 8 and n = 5. Each rotation gains 60° (the query goes from 100° to 160°, and the key goes from 40° to 100°), however, the angle between the vectors stays the same. The dot product for this feature pair is still 13. Figure 19: The first pair’s dot product at three different position settings. The key is that the difference between the rotation angles is If we keep the original query and key vectors fixed and shift both token positions by the same amount, RoPE adds the same rotation to both vectors. The angle between them stays the same, so their dot product stays the same. Note that Figure 20 below uses smaller angles than the actual example (20° per position) to keep the picture readable. Figure 20: A shared position shift preserves the relative angle and dot product for fixed query and key features. The examples above and Figure 20 illustrate the main idea behind RoPE. We use each token’s position to rotate the corresponding query and key in the attention module. In the query-key dot product, what matters is how much one vector rotates relative to the other. For each feature pair, this difference in rotation depends only on the offset between the two tokens. To illustrate this in the big picture context, in Figure 21, each row collects the scores for one query. If we consider row 5, the query for “the”, and column 2, the key for “fox”, the attention score between those two is computed as the dot product between the two rotated versions of the query and key vector. Figure 21: The attention scores for one head before softmax. Gray cells mark future keys excluded by the causal mask. What’s the point, again? Let’s once more consider “The red fox jumps over the gray fox.” If we add 100 tokens (e.g., think system prompt) before the sentence, the first “fox” and the second “the” move from positions 2 and 5 to 102 and 105. However, a prefix of any length shifts both positions equally, so they still stay exactly three positions apart. This means, each vector (arrow) gains the exact same additional rotation, which preserves the angle between them and their dot product (assuming we hold the unrotated query and key vectors fixed; in a real model, a new prefix of 100 tokens can change those vectors by changing what the tokens attend to). Figure 22 tracks this comparison in the attention score matrix. The right panel shows the rows and columns for the sentence after we add the prefix. In our toy example, the first pair still contributes 13 to the dot product. Figure 22: The highlighted score moves from row 5, column 2 to row 105, column 102. It keeps the same value if we hold the query and key vectors fixed before rotation. As you may recall, in the original transformer’s sinusoidal encoding, a fixed offset also corresponds to a fixed rotation within each sine/cosine pair. But that shared rotation applies only to the position vectors (added to the input vector) instead of the key and query vectors inside the attention mechanism. Figure 23 compares what this shift changes in the three methods we covered so far. Figure 23: The same position shift under sinusoidal encodings, GPT-2’s learned position embeddings, and RoPE. 3.6 Bonus: Combining the pairs into a complete head in RoPE To see how the relative offset affects the dot product, we focused on one feature pair in the query and key. Now let’s put all four pairs together and see how RoPE rotates the full eight-feature vectors in one attention head. (Please feel free to skip this section if it is too much technical detail.) Figure 24 picks up where Figure 17 left off. We rotate each of the four pairs, then put the results back in the query’s original feature order. Figure 24: RoPE rotates each pair of query features at its own angle. (The same can be applied to the key, which is not shown to keep the illustration simple). Figure 24 above shows the rotated query q′ (at the bottom). Similarly, we could get the rotated key k′ by repeating the same steps at the key’s position. Recall the two equations from Section 3.3. For query pair i with input values ( a i , b i ), let c i = cos( mθ i ) and s i = sin( mθ i ). These are the cosine and sine of the rotation angle for that pair at query position m : Figure 25 below shows the same four rotations between the four pairs as a single matrix multiplication, q′ = R m q . Figure 25: The four rotations from Figure 24 written as one matrix multiplication. The pair labels show where each rotation goes in the full matrix. 4. Computing rotation frequencies in RoPE? A full attention head uses multiple frequencies so that some feature pairs change more drastically (”quickly” in RoPE terms) with position and others change more gradually (”slowly” in RoPE terms). This serves the same purpose as the multiple frequencies in the original transformer’s sinusoidal encodings. However, instead of us assigning these manually, for a head with d features, standard full RoPE computes one frequency for each of its d /2 pairs as follows: d is the head dimension (it has to be even so that all features can be arranged in pairs). i is the index of the pair; it ranges from 0 to d /2−1. b is a chosen base value (hyperparameter) that determines the spacing of the frequencies. θ i is pair i ‘s frequency in radians per token position. The original RoFormer paper uses b = 10,000, borrowing the original transformer’s frequency formula with head dimension d in place of embedding width d model . For example, with head dimension d = 8 and base b = 10,000, we get frequencies [1, 0.1, 0.01, 0.001] radians per position. If you want to see RoPE in a complete model, I recommend checking out my end-to-end Qwen3 from-scratch implementation . Since code can be an effective medium for explaining and understanding concepts, the following subsection will walk you through the core parts that we have covered so far, if you are interested. Otherwise, please feel free to fast forward to section 6, on Positional choices in modern architectures . So, for the following code snippets, we’ll use the same split-half rotation convention as mentioned earlier (the interleaved convention will also be covered, no worries). First, we’ll apply it to one query vector, then we’ll use it on queries and keys inside the attention mechanism. First, let’s reuse the 8-feature query from Figure 24. For convenience, below are its four feature pairs before rotation. Detail from Figure 24. The eight query features form four pairs in the split-half layout. In the earlier non-coding example, we chose a frequency of 20° per token position for the first pair to keep the math simple. Here, we’ll use the original RoPE formula from the previous Section 4 above, θ i = b −2 i / d , with head dimension d = 8 and base b = 10,000. Figure 26 shows how the two functions work together to apply these rotations. Figure 26: rope_params returns the cosine and sine tables for token position 2. rope_split_half takes those tables and the original query and returns the rotated query. As shown in the figure above, first, determines how far to rotate each pair, returning two “tables” that store the cosine and sine of those angles. Or, in other words, computes the cosine and sine of each rotation angle, which depends on the token’s position and the feature pair’s frequency. The array in the function contains the 2 i values from the frequency formula in Section 4: For our eight-feature query, the are , that is, one 2 i value for each feature pair. Suppose we use the common base b = 10,000. And following our earlier examples, we choose a small head dimension of d = 8. In this case, the then computes the four pair frequencies θ i = b −2 i / d as follows: As we can see above, the resulting has one frequency θ i for each of the four feature pairs ( measured in radians) per token position. Next, the then multiplies each pair’s frequency θ i with the token position m , which computes the rotation angle mθ i . In our example, with , we get: Finally, takes the cosine and sine of each angle and outputs them as two so-called cosine and sine tables, and . In both tables, each row is a token position and each column is a feature pair. Since we only use token position 2 here, each table has shape , with the single row shown below: For the example in Figure 26, each table has one row for token position 2 and four columns, one for each feature pair. Figure 27 shows the rotation angle for each pair and the corresponding entries in the two tables. Figure 27: The two tables returned by rope_params for token position 2. The highlighted column gives the cosine and sine used to rotate the first feature pair, (1, 5) . In short, computes the cosine and sine of each rotation angle, which depends on the token’s position and the feature pair’s frequency. In a real-world scenario, if we pass 1,024 token positions for a context size of 1024, and a head dimension of 128, it returns two tensors, and , each with shape since a head with 128 features has 64 pairs. The tables have no batch or head dimension, and we broadcast each table across the batch and head dimensions. So, if we have multi-head attention or grouped query attention with 32 heads, feature pair 0 at token position 2 uses the same rotation angle in all 32 heads. Each head rotates its own feature values, so the rotated queries can still differ across heads. Also, the same entries can be reused across queries, keys, and heads that use the same positions and frequencies. In short, we only need to (pre)compute these tables once per model for all positions up to a maximum supported context size. Technically, it would also be possible to store these tables alongside the model weights; but they are so incredibly cheap to compute that storing them on disk would be overkill. Next, uses those cosines and sines to rotate the actual features in the query and key vectors inside attention. Considering the simple 8-feature example once more, the in the code snippet above splits the query into and and lines up the two entries in each pair. For example, the first slot of each half gives us , the second , and so on. The two expressions inside compute the rotated halves using the equations from Section 3.3: Note that here, everything denoted with a i corresponds to the first half of the query, and everything denoted with b i comes from the second half. The first expression inside computes all the a i ′ values, and the second computes all the b i ′ values. Then, we concatenate the halves, which puts each value back in its original index position via . Here’s the code that produces the rotated query in the earlier Figure 26. The shown reshape just brings the simple toy array into the expected format: one batch item, one head, one token, and eight features. With several positions, each token simply picks up its own row from the and tables. Through broadcasting, PyTorch reuses these same tables across all batch items and attention heads. So far, we coded the RoPE utility functions. Let’s now use it in the real context, the attention mechanism. Here, we use the standard frequency schedule for two 8-feature heads and four token positions. We use random query, key, and value tensors to keep the example self-contained, but as mentioned before, you can optionally also check the end-to-end Qwen3 from-scratch implementation with real query, key, and values produced by the pre-trained model. Note that only and but not pass through RoPE. The resulting raw attention scores are stored in a tensor of shape , that is, one row for each query position, and a column for each key position, and 4x4 since we have four tokens where each attends to each other. Then, using a conventional attention code implementation, the causal mask replaces the scores for future keys with negative infinity, so they get zeroed after the softmax. The resulting tensor has shape ; the 4 because we have four tokens, and the 8 because the embedding dimension was originally 8. We can also check that our claim about relative offsets holds, meaning that adding 3 to each position should change the position but preserve the query-key offsets: I mentioned the split-halves convention many times throughout this article. The original RoPE paper uses the alternative interleaved convention, as does the original LLaMA implementation (but as mentioned before, most code implementations now use the split-halves, because it makes it easier, in code, to rotate all pairs at once with element-wise sine and cosine operations.) To illustrate the difference between the two layouts, Figure 28 below uses the same 8-feature vector in both rows. Figure 28: Split-half pairs each feature in the first half with the corresponding feature in the second half. Interleaved pairs adjacent features. The interleaved implementation uses the same two equations, but selects alternating features and interleaves the outputs. But mathematically, the layouts are equivalent when we account for the feature order. So, rearranging the entries to makes the split-half pairs adjacent with pairs (1, 5), (2, 6), and so on. If we apply the same rearrangement to both queries and keys, it results in identical dot products. The outputs retain the reordered features, so we compare them with the split-half outputs in that same order. Applying the two layouts to the original vector however would give different scores. RoPE has been a staple in most (open-weight) LLMs since the original LLaMA model . Of course, proprietary models may use it as well, but it’s always hard to say anything with 100% certainty about proprietary models. However, in recent years, many architectures have been moving away from full-blown RoPE in every transformer block. In the following subsection, we will discuss some of these variants. For instance the full RoPE implementation we discussed and implemented in the sections above rotates every feature pair in every query and key head. In the following examples in the subsections above below, we will see that models only rotate some features within a head, other models skip RoPE in some transformer blocks, and some models use a different approach and add position information directly to their attention scores. As discussed throughout the article, regular “full” RoPE rotates all dimensions in each query and key head. Partial RoPE is a variant that rotates only a subset, while leaving the remaining dimensions unchanged. For example, MiniMax-M3’s configuration uses 64 rotary dimensions within each 128-dimensional head. That gives 32 rotated feature pairs and 64 unchanged dimensions. The figure below illustrates how that looks like. Figure 29: Full RoPE and partial RoPE in a 128-dimensional head. Note that if we look past the first transformer block, the unrotated features can still contain position information inherited from earlier transformer blocks. Anyways, what’s the point behind partial RoPE? It saves some memory. For example, in the MiniMax-M3 example above, rotating half the features reduces the size of the precomputed cosine and sine tables also in half. So, with partial RoPE, instead of 64 columns, now each table only needs 32 columns. However, note that the KV cache still stores the full key and value vectors for each cached token. For MiniMax-M3’s 1M-token context, rotating 64 of the 128 features halves the size of the precomputed cosine and sine tables, saving 0.134 GB (128 MiB) if the tables are stored in BF16. If the tables themselves were stored in NVFP4, the savings would be 0.038 GB (36 MiB), including the block scales. Note that in experiments with 1B to 8B models, the Fractional Rotation, Full Potential? paper found that rotating around 10% of each head’s features often gave similar training loss and benchmark accuracy to full RoPE. However, full RoPE did better on some evaluations. So, in my opinion, partial RoPE is hardly worth it. NoPE was coined in the The Impact of Positional Encoding on Length Generalization in Transformers paper and means no explicit positional encoding . The idea or observation is that an attention layer without any explicit position method still has a causal mask, where a query can attend only to itself and earlier tokens. And this causal masking implicitly provides positional information. Let’s use the first four tokens from our earlier example, . In Figure 30, the query for at position 2 can attend to , , and itself. The query for at position 1 can attend to and itself. Figure 30: Example of a causal mask in the attention mechanism. So, the next question is how can the model use the causal mask as a position signal? Here’s a toy example adapted from the paper. Suppose one feature of the value vectors is 1 for and 0 for the other three tokens. Since the input only contains only one , every visible prefix contains exactly one 1. If all non-masked keys get the same attention score, the softmax assigns every visible token equal weight. So at , attention averages 1, 0, and 0, which gives 1/3. At , it averages four values and gets 1/4. In other words, this output feature equals one over the prefix length, which a later layer can use as a signal for position. Figure 31: With uniform attention, the contribution from The shrinks as the prefix grows. The query for fox assigns The a weight of 1/3. Does NoPE work in practice? The researchers of the NoPE paper trained a tiny 107M-parameter decoder-only transformers from scratch on tasks such as copying, sorting, and addition to do some ablation. When they tested the small model on examples longer than those seen during training, interestingly, NoPE ranked first overall across the ten tasks and ahead of RoPE. The researchers behind the NoPE paper also conducted a separate experiment with a larger 1.3B-parameter models trained on code. Here, NoPE also handled contexts beyond the training length, however, its next-token predictions got worse at the longest lengths tested. Some of today’s open-weight LLMs even go so far and use NoPE in all layers. However, nowadays, it’s more common for models to omit RoPE in at least some layers, where layer here means transformer block. To give a concrete example, SmolLM3 (3B parameters) applies RoPE in three layers and skips it in the fourth, repeating that pattern through 36 layers. Interestingly, the SmolLM3 authors mentioned that this layer pattern improved long-context performance. (Also note that any later layer, following the first one, even though it may skip the rotation, still receives the inputs from preceding transformer blocks, so its queries and keys still receive some sort of position information from earlier layers.) Figure 32: SmolLM3’s architecture (left) and the positional method used in each of its 36 transformer blocks (right). Every fourth block skips RoPE. Architecture diagram from my LLM Architecture Gallery . 6.3 Learned relative position bias Before we get to the overview and look at what modern architectures use, there’s one more method to introduce. For instance, Thinky’s Inkling uses a learned relative position bias in both its sliding-window and global attention layers. It computes the usual scaled dot product between a query and key, and then it adds a certain number to that score before the softmax in the attention score computation. That number depends on the query token’s hidden state and how many positions back the key is. Let’s reuse our example sentence, “The red fox jumps over the gray fox.” (It’s the last time, I promise!) In the figure below, the “the” at position 5 is the query and “fox” at position 2 is the key. Inkling then uses the three-position gap between query and key and the hidden state for “the” to compute the bias, then adds it to the scaled dot product. Figure 33: Inkling adds a learned relative position bias to the scaled query-key dot product before softmax. The numbers are illustrative. This is not an entirely new idea. Some of you may recall Google’s popular T5 (Text-to-Text Transfer Transformer) in 2019, which used a simpler version of this idea. Figure 34: The original Inkling (975B) architecture. The learned relative position bias feeds into the attention module. LLM Architecture Gallery 6.4 How these choices appear in recent models Now, after all this build up, the interesting question is: which architecture uses which method? And what are the recent trends? To answer this, I grouped the entries in my LLM Architecture Gallery by their listed release dates and compared the 2025 releases with the earlier and later releases in the 2026 snapshot. Each gallery card counts once, so multiple variants of an architecture can contribute to the results. LLM Architecture Gallery Figure 35: The architecture diagrams illustrate which attention layers use RoPE, and the bars show the share of gallery entries in each category. Diagrams from my LLM Architecture Gallery . As we can see in Figure 35 above, using RoPE in every softmax attention layer is still the most common choice. However, its use fell from 2025 to 2026, and then also in the latter half of 2026, which could be a trend. Consequently, there is a growing number of models that mix RoPE and NoPE. The groups are still small, so it’s hard to say whether these trends will continue. The NoPE only entries were all recurrent hybrids with softmax attention layers that use no explicit positional encoding. The “Other” category here refers to xLSTM 7B (2025) and Inkling (2026). xLSTM has no softmax attention layers. Inkling adds a learned bias to the attention scores before softmax, as we saw in Section 6.3. Among the models that use RoPE, partial RoPE became more common from 2025 to 2026. It went from a minority of the RoPE models in 2025 to a majority in both 2026 groups, as shown in Figure 36. Figure 36: Among gallery entries that use RoPE, partial RoPE rotates a subset of query and key features in at least one attention layer. Full-width entries rotate all query and key features in every layer that uses RoPE. If you’d like to look up an individual model from the 2026 groups, Figure 37 below shows the 2026 gallery overview with the individual architectures labeled by position type. You can also browse the gallery interactively here . Figure 37: The individual 2026 gallery entries behind the two 2026 bars in Figure 35. 7. Final thoughts So, to recap, we discussed GPT-2 and the original transformer that add a position vector to each token embedding before the first transformer block. Then, modern LLMs switched to RoPE, which encodes relative position inside attention by rotating queries and keys. Surprisingly, RoPE remains as the most popular positional embedding method today. Recently, however, Inkling picked up an idea from T5 to add a learned relative position bias to the attention scores before softmax. And then we also have NoPE-RoPE architectures, which omit RoPE in some layers. It may be boring news, but as mentioned before, RoPE is still the predominant position embedding method, and I think this will carry over into 2027 for sure. Perhaps, though, we’ll see more architectures with an Inkling-like design coming up in 2027. While this may sound “boring”, I am glad that I finally got this article on RoPE (and other position info methods) out, after so many years, so that I can add it to my collection of LLM “fundamentals” explainers. If you are interested in the other architecture building blocks of LLMs, I still highly recommend starting with a GPT-2-style model, which will give you a solid understanding of the building blocks with the least amount of friction. And from there, you can then layer on additional methods (such as RoPE). If you’d like to build that GPT-2-style model yourself, my first Build a Large Language Model (From Scratch) book walks through all the building blocks depicted in the figure below. Figure 38: GPT-2 XL provides a baseline for seeing what newer architectures change. LLM Architecture Gallery For the methods that branch off from the GPT-2 baseline, I’ve collected some of my relevant blog articles below, starting with a refresher on self-attention: Self-attention, causal masking, and multi-head attention: Understanding and Coding Self-Attention, Multi-Head Attention, Causal-Attention, and Cross-Attention in LLMs Modern attention variants (GQA, MLA, sliding-window attention, sparse attention, and hybrids): A Visual Guide to Attention Variants in Modern LLMs The KV cache. Understanding and Coding the KV Cache in LLMs from Scratch SwiGLU feed-forward layers and normalization (LayerNorm and RMSNorm): From GPT-2 to gpt-oss: Analyzing the Architectural Advances Mixture-of-experts layers and expert routing. The Big LLM Architecture Comparison Residual connections and DeepSeek’s manifold-constrained hyper-connections (mHC): Recent Developments in LLM Architectures: KV Sharing, mHC, and Compressed Attention Putting some of the pieces together in Qwen3: Understanding and Implementing Qwen3 From Scratch walks through implementing the dense and mixture-of-experts versions in PyTorch. Thanks for reading and supporting my work! PS: I started experimenting with Substack’s new “perks” system. As a thank-you to supporters, I’ve added image exports and metadata from the architecture gallery for you to use in your own analyses. Figure 1: A preview of the gallery’s 2026 architectures, grouped by positional encoding. Architecture figures taken from my LLM gallery . But why spending so much time writing/reading about this rather minor building block? LLMs keep evolving, and as I was preparing a new article on the latest LLM architecture trends this year, I realized that I never covered the positional information methods used in LLMs in any article so far. So, instead of letting the other article get out of hand, I thought it might make sense to publish this as a standalone building block for the upcoming LLM architecture and trends analysis. Also, over the years, many readers have asked me for a tutorial on relative positional embeddings (aka RoPE) to follow up on the learned absolute embeddings used in GPT. It’s been on my TODO list for a long time, so I finally revisited my old draft and put this walkthrough together, which will cover different positional methods in LLMs; (finally) how RoPE works; what methods are used by recent open LLMs. Figure 2: Token embedding layers in GPT-2 and MiniMax-M3, highlighted in orange. (Side note: M3’s first three out of 60 feedforward layers are dense not MoEs.) A token embedding layer, shown in the figure above, maps each token ID to a vector. Position information is then added afterward. Concretely, and as we will discuss in more detail later, GPT-2 adds a position vector to each token embedding before the modified embedding enters the first transformer block. On the other hand, MiniMax-M3 adds the positional information in each transformer block using a method called RoPE inside attention. We will talk about these methods in more detail later, but first, let’s start with the big picture information explaining why explicit positional information is added or needed. 1.1 Why add positional information? Consider the following two input sentences as a simple example: “The red fox jumps over the gray fox.” “The gray fox jumps over the red fox.” Figure 3: Changing the word order changes which fox jumps. For the examples in this article, we will treat each word as one token for simplicity. (As you know, real tokenizers can split words into smaller subword tokens.) The first sentence then has eight token positions, from 0 through 7. Figure 4: Token IDs and positions in the toy sentence. (If you are interested in how vocabularies are built, check out my tokenizer materials on GitHub .) Note that “fox”, which appears twice in the input sentence, gets the same token ID 2 in both cases. And since they both have the same token ID, irrespective of the position in the input sentence, they would get the same embedding vector from the embedding layer. Now, let’s consider a regular self-attention mechanism with no positional encoding (and no causal mask), where every input token can attend to every other token in the input. In this scenario, swapping any two words, like “red” and “gray”, would still result in the same embeddings and attention scores between each token pair. GPT-style models do use a causal (autoregressive) mask, which restricts each token to itself and earlier tokens. Interestingly, this causal mask gives the computation some implicit order information. In our example, “jumps” can attend to “red” in the first sentence and “gray” in the second. So, a causal LLM can theoretically already distinguish these sentences even without explicit positional embeddings. (We will return to this idea later when discussing the “NoPE” concept.) Nonetheless, GPT-2 and most newer LLMs include explicit positional information because it gives attention a direct signal about positions. That’s because even though the causal mask determines which tokens are accessible and provides implicit order information, it doesn’t distinguish a separation of one position from a separation of ten, for example. So, explicit positional methods are still useful (or even essential), since they supply that information. If this all sounded confusing, don’t worry, it was more meant as an overview, and we will step through these concepts a bit more slowly in the remaining article. 2. Adding a position vector to each token embedding We briefly talked about implicit positional information through causal attention masks (and we will revisit this again in more detail later). However, we now switch gears and talk about the explicit ways to add positional information. The perhaps simplest and most direct (but not “cheapest”) approach is to give each sequence position its own vector. We add that vector to the token embedding, so the resulting, modified embedding vector is then passed to the first transformer block. This exact procedure is discussed in the following subsections. 2.1 Learned absolute position embeddings in GPT-2 To illustrate the use of an explicit, learned positional vector to the input embeddings, let’s consider GPT-2 as a concrete example. GPT-2 learns a table of position vectors during training. The following figure illustrates where these vectors are used in the architecture, that is, immediately after the token embedding lookup and before the first transformer block. Figure 5: GPT-2 adds absolute position information before the transformer blocks, as highlighted in purple. The dimensions shown are for GPT-2 XL . The positional embedding layer depicted in the figure above follows the same implementation as the token embedding layer, i.e., they have exactly the same output dimensions so that the resulting input vectors can be added to each other. The code below shows that with an excerpt of a GPT-2 code implementation: And in mathematical terms, we can write it as follows. Let m be a position index and x m the token ID at that position. The input to the first block is Here, E token is the embedding layer, P m is the position info vector selected by m , and h m is the resulting summed embedding and position vector. Figure 6: Token and position embeddings are added element-wise. (I am following the convention here that neural network diagrams are usually read from bottom to top.) In the figure above, at position 0, adding the token embedding to the position embedding gives . By the way, the values in the figure are chosen to keep the illustration simple; in a real example, both embedding layers (tables) are initialized with small random values and learned during training. So, what we covered in this section is a so-called absolute positional method because the positional embedding P m depends on the token’s own position m . In the previous example sentence, the two “fox” tokens have initially the same token embeddings, but because we are adding different positional vectors P 2 and P 7 , they have different values before they enter the first transformer block. And consequently, the query, key, and value vectors inside the attention mechanisms then also receive representations that already include position information. Note that the original GPT-2 implementation has 1,024 learned position vectors. This means it only works with inputs with 1024 or fewer tokens. If we want to extend the context window, we would have to extend this embedding table. And since the embedding table (layer) is updated like any other layer during training, the context length would have to be decided before the training starts. Extending the context would be very expensive since the table can become very large. For example, in the case of GPT-2 Medium, the positional embedding layer weights only make up 0.30% of the total weights at 1,024 positions. However, if we increased the context length to a nowadays common 100k range, they would make up >22% of the total model weights, which would be very uneconomic. 2.2 Fixed sinusoidal position encodings in the original transformer The original “Attention Is All You Need” transformer from 2017, which predates GPT, uses the same addition mechanism, but computes its position vectors with fixed sine and cosine functions. Figure 7 below shows this addition before both the encoder and decoder stacks. The encoder processes the input sequence, and the decoder generates the output sequence. (The reason why it’s introduced here is that the sine and cosine functions will become relevant again later when discussing RoPE.) Figure 7: Sinusoidal position encodings added to the token embeddings as highlighted in purple. The original transformer also scales its token embeddings by √( d model ) before adding the position vectors, where d model is the embedding width. So, while GPT-2 in the previous section had the formula the formula used in the original transformer (depicted in Figure 7) is: This scaling by √( d model ) is a minor technical detail, but for those who are curious, the motivation behind this scaling factor is not explained in the transformer paper, but as I discussed with colleagues on a Twitter thread many years ago, it’s likely to put the token embeddings and sinusoidal positional encodings on comparable numerical magnitudes at initialization, so the position vectors don’t dominate the sum when we add them. In the GPT-2 case, this scaling wasn’t necessary because the original GPT-2 code initialized the token embeddings to have an initial standard deviation of 0.02 and the position embeddings to have an initial standard deviation of 0.01 so that they were already roughly on the same scale. Now, the more interesting point is how the position embeddings P m are computed. Concretely, each position vector has the following entries: As before, m denotes the position. The index i indexes a pair of features within the vector. Here, a feature is one number in the position vector. For example, let’s assume we have a small vector with 8 values ( d model = 8) that has entries numbered 0 through 7. (In the original paper this was 512 for the small model and 1024 for the bigger model, instead of 8, but that would be hard to visualize.) We group these into four pairs so that i goes from 0 through 3. Figure 8: Sine and cosine entries for each feature pair. Here, the indices 2 i and 2 i + 1 select the two entries corresponding to pair i . As shown in the equation earlier, the angle at position m , which is then fed into the sine or cosine functions to obtain P m , 2 i or P m , 2 i + 1 , respectively, is computed as follows: Figure 9: The angle inside sine and cosine is the token position multiplied by the pair’s angular frequency. Figure 10 shows this calculation for all four pairs of our 8-feature example at position m = 2. Figure 10: The four sine and cosine pairs at position 2. For an eight-feature embedding, the four frequencies are 1, 0.1, 0.01, and 0.001 radians per position. At position 2, the first pair in row 1 is (sin 2, cos 2) ≈ (0.909, −0.416). The second pair, in row 2, changes more slowly, giving (sin 0.2, cos 0.2) ≈ (0.199, 0.980). The figure below visualizes the sine and cosine calculations for different pairs, which are then collected in a position vector. Figure 11: Sampling sine and cosine functions to form a position vector. In short, this method is a (more complicated) alternative to obtaining positional embedding vectors compared to the GPT-2 method discussed earlier. Similar to the GPT-2 embeddings, these are also absolute embeddings because each vector is computed from its own position. However, in contrast to the GPT-2 approach, the sine and cosine functions stay fixed during training. (Also, they can be extended and evaluated beyond the training positions, like beyond the context length of 1024, although that alone doesn’t guarantee that the model will perform well there, because it hasn’t seen those during training.) To summarize, Figure 12 below compares the two ways of obtaining a position vector we discussed so far. Figure 12: Fixed sinusoidal and learned absolute positional embeddings. This sinusoidal method may look like an overly complicated way to obtain positional embeddings, however, understanding it will be useful when talking about RoPE in the next section. Also, there is some rationale behind it. The authors chose sine and cosine because they make the shifting by a certain offset gives a certain deterministic difference. For example, the difference between position 2 to 5 and the difference between 102 to 105 is both 3, which then results in the same rotation. According to the Attention Is All You Need paper: “...easily learn to attend by relative positions, since for any fixed offset k , PE pos + k can be represented as a linear function of PE pos .” Or in less technical terms, the authors hypothesized that this property would make it easier for attention to learn relationships such as “three tokens earlier.” Figure 13 below illustrates this for one sine/cosine pair. A rotation is a linear transformation, and both three-position shifts use the same rotation. Figure 13: For a pair with angular frequency 0.1 radians per position, a shift of three positions always rotates the pair by 0.3 radians. 3. Encoding relative position with RoPE So, the sinusoidal method above is still considered an absolute positional encoding because the vector added to each token embedding represents that token’s position counted from the start of the sequence. As shown in the previous figure, for example, tokens at positions 2 and 5 receive the position vectors P 2 and P 5 . If we move those tokens to positions 102 and 105, they’re still three positions apart. But each token gets a different position vector because its absolute position m has changed. So their attention score can change even when the token embeddings stay the same. The sinusoidal structure still gives the model a way to learn relative relationships. Anyways, RoPE, which we will discuss below, builds this relative relationship directly into the attention calculation. RoPE, which Su et al. introduced in the 2021 RoFormer paper , stands for Rotary Position Embedding and is considered a relative position method. 3.1 Moving the rotation inside attention in RoPE In attention, each token’s current representation is projected into a query, a key, and a value vector. Query-key dot products determine attention scores. After masking and softmax, the resulting weights determine how the value vectors are mixed. For a refresher, see my Understanding and Coding Self-Attention, Multi-Head Attention, Causal-Attention, and Cross-Attention in LLMs article: RoPE uses the token’s position to rotate its query and key vectors before their dot product. The value vectors bypass this rotation. Figure 14 below shows an overview of where RoPE is applied in a relatively recent MiniMax-M3, where QK-Norm normalizes queries and keys before RoPE. Figure 14: MiniMax-M3 applies RoPE to queries and keys inside attention. As shown in the figure above, the LLM architecture has no explicit position vector added alongside the initial token embedding. Its explicit position signal is injected inside attention instead. Side note: MiniMax-M3 rotates only part of each query and key head, a variation known as “partial RoPE” that we will cover later in Section 6.1. But to understand the basic RoPE operation first, let’s walk through the method step by step using a small example. 3.2 From token representations to feature pairs in RoPE Attention usually divides its query, key, and value features into multiple heads, which are processed in parallel. Hence, the full mechanism is usually called Multi-head Attention (note that Grouped Query Attention also uses multiple heads). Here, each attention head computes its own attention scores and weighted sums. RoPE then acts on pairs of numbers within each query and key head. To make this concrete, Figure 12 below follows a token representation through the learned query and key projections, which are computed via the weight matrices W Q and W K . In this toy example, each projection produces 16 features, which are reshaped into two heads with eight features each. In the figure below, every small cell contains one scalar feature, meaning one numerical entry in a vector (the numbers are not shown due to space reasons). Figure 15: Projecting a hidden state, reshaping into heads, and pairing features for RoPE. For the first eight-feature head, , we pair each feature in the first half with the corresponding feature in the second half. This gives , , , and . This split-half convention is used in LLM implementations, including my Qwen3 implementation . (We will compare it with the original, alternative adjacent-feature pairing method later after implementing the basic operation.) Each pair gets a rotation angle determined by the token position m and that pair’s frequency θ i . The corresponding query and key pairs use the same frequency. Figure 16 below shows how we rotate the pairs, put the updated features back in their original locations, and compute the query-key dot product. Figure 16: Pairwise rotations produce the rotated query and key vectors used to compute attention scores. The next section will walk through the figure(s) a bit more slowly. 3.3 Rotating one pair in RoPE For the following example, we’ll use the same two positions as before. The query comes from “the” at position m = 5, and the key comes from the first “fox” at position n = 2. Since, in this example, the key comes before the query, the causal mask allows the query to attend to it. To illustrate the effect that the position has, and keeping everything fixed, let’s assume we start both pairs from the same two values, (1, 5). Figure 17: The first feature pair, (1, 5), takes one entry from each half of the query head. Furthermore, for this example, let’s use θ = 20° per token position ( π /9 radians per position). At position 2, we rotate the key’s arrow counterclockwise by 2 × 20° = 40°. At position 5, we rotate the query’s arrow by 5 × 20° = 100°. Figure 18: Starting from (1, 5), RoPE rotates the key pair at position 2 by 40° and the query pair at position 5 by 100°. To illustrate what’s happening in the figure above, for example, plugging cos 40° ≈ 0.766 and sin 40° ≈ 0.643 into the rotation from Figure 16 gives the new key coordinates: Then, changing 40° to 100°, using the same equation as above, the rotated query pair becomes q′ ≈ (−5.098, 0.117). But the important point is that both arrows still have length √26. Only the rotation changes but the vectors keep the same lengths after the transformation. So, for a query pair ( a , b ) at position m , the two operations here are. For the key pair at position n , we use the same equations with nθ . (Section 4 later shows how RoPE calculates the angular frequency for each feature pair.) To close this section, for those more comfortable reading code, everything about RoPE illustrated so far can be written in code, as follows: The resulting values are: If we rotate all 4 pairs in the 8-feature query (and key) vector(s), we get the vectors below. (We’ll come back to how we go from rotating one pair to rotating all of them later.) 3.4 How the relative offset changes the attention score in RoPE Note that, as shown above, the query and key heads have eight features each, which we previously grouped into 4 pairs with two elements each, like (1, 5), and (2, 6), and so on. For simplicity here we’ll follow just the first pair in each head, (1, 5), formed by taking the entries at indices 0 and 4: As shown above, in our example, those entries have values (1, 5) in both heads before the rotation. Also, as in the code above, let’s use the notation q =( q 1 , q 2 ) and k =( k 1 , k 2 ) for these two pairs. To compute their dot product, using the standard dot product formula, we multiply corresponding coordinates and add the products: Before rotation, the pairs have a dot product of 1 × 1 + 5 × 5 = 26. Using the rounded coordinates from the previous Figure 18 gives the contribution from the first pair after rotation: We can see why by writing the dot product in terms of the lengths of the two vectors (arrows in Figure 18) and the angle ϕ between them. In both cases, the vector length is √26. The query (position 5) is rotated by 100° and the key (position 2) is rotated by 40°. The vectors (arrows) start from the same direction, so they end up being 60° apart after rotation. Their exact dot product is 26 × cos(60°) = 13. Now let’s see what happens if we move just the key from position 2 to position 3, but we keep its starting coordinates (1, 5) fixed. The key’s rotation changes now from 2 × 20° = 40° to 3 × 20° = 60°. The query still rotates by 100°, so the angle between the arrows shrinks to 40° and the dot product changes from 13 to 26 × cos(40°) ≈ 19.92. So, moving the key one position closer changed the dot product even though we started with the same feature values. Why do these dot products matter? In attention, we sum the contributions from all feature pairs to get the query-key dot products. RoPE can change those dot products and thus the weights that softmax assigns to the value vectors. In the attention equation above, Q′ and K′ are matrices that contain the rotated queries q′ and keys k′ for one head, V contains the values, and d is the head dimension. 3.5 Why shifting both positions preserves the attention score in RoPE Now that we illustrated the computation of the dot products, which is at the core of the attention mechanism, let’s return to positions m = 5 and n = 2. If we shift both positions to the right by three positions, we get m = 8 and n = 5. Each rotation gains 60° (the query goes from 100° to 160°, and the key goes from 40° to 100°), however, the angle between the vectors stays the same. The dot product for this feature pair is still 13. Figure 19: The first pair’s dot product at three different position settings. The key is that the difference between the rotation angles is If we keep the original query and key vectors fixed and shift both token positions by the same amount, RoPE adds the same rotation to both vectors. The angle between them stays the same, so their dot product stays the same. Note that Figure 20 below uses smaller angles than the actual example (20° per position) to keep the picture readable. Figure 20: A shared position shift preserves the relative angle and dot product for fixed query and key features. The examples above and Figure 20 illustrate the main idea behind RoPE. We use each token’s position to rotate the corresponding query and key in the attention module. In the query-key dot product, what matters is how much one vector rotates relative to the other. For each feature pair, this difference in rotation depends only on the offset between the two tokens. To illustrate this in the big picture context, in Figure 21, each row collects the scores for one query. If we consider row 5, the query for “the”, and column 2, the key for “fox”, the attention score between those two is computed as the dot product between the two rotated versions of the query and key vector. Figure 21: The attention scores for one head before softmax. Gray cells mark future keys excluded by the causal mask. What’s the point, again? Let’s once more consider “The red fox jumps over the gray fox.” If we add 100 tokens (e.g., think system prompt) before the sentence, the first “fox” and the second “the” move from positions 2 and 5 to 102 and 105. However, a prefix of any length shifts both positions equally, so they still stay exactly three positions apart. This means, each vector (arrow) gains the exact same additional rotation, which preserves the angle between them and their dot product (assuming we hold the unrotated query and key vectors fixed; in a real model, a new prefix of 100 tokens can change those vectors by changing what the tokens attend to). Figure 22 tracks this comparison in the attention score matrix. The right panel shows the rows and columns for the sentence after we add the prefix. In our toy example, the first pair still contributes 13 to the dot product. Figure 22: The highlighted score moves from row 5, column 2 to row 105, column 102. It keeps the same value if we hold the query and key vectors fixed before rotation. As you may recall, in the original transformer’s sinusoidal encoding, a fixed offset also corresponds to a fixed rotation within each sine/cosine pair. But that shared rotation applies only to the position vectors (added to the input vector) instead of the key and query vectors inside the attention mechanism. Figure 23 compares what this shift changes in the three methods we covered so far. Figure 23: The same position shift under sinusoidal encodings, GPT-2’s learned position embeddings, and RoPE. 3.6 Bonus: Combining the pairs into a complete head in RoPE To see how the relative offset affects the dot product, we focused on one feature pair in the query and key. Now let’s put all four pairs together and see how RoPE rotates the full eight-feature vectors in one attention head. (Please feel free to skip this section if it is too much technical detail.) Figure 24 picks up where Figure 17 left off. We rotate each of the four pairs, then put the results back in the query’s original feature order. Figure 24: RoPE rotates each pair of query features at its own angle. (The same can be applied to the key, which is not shown to keep the illustration simple). Figure 24 above shows the rotated query q′ (at the bottom). Similarly, we could get the rotated key k′ by repeating the same steps at the key’s position. Recall the two equations from Section 3.3. For query pair i with input values ( a i , b i ), let c i = cos( mθ i ) and s i = sin( mθ i ). These are the cosine and sine of the rotation angle for that pair at query position m : Figure 25 below shows the same four rotations between the four pairs as a single matrix multiplication, q′ = R m q . Figure 25: The four rotations from Figure 24 written as one matrix multiplication. The pair labels show where each rotation goes in the full matrix. 4. Computing rotation frequencies in RoPE? A full attention head uses multiple frequencies so that some feature pairs change more drastically (”quickly” in RoPE terms) with position and others change more gradually (”slowly” in RoPE terms). This serves the same purpose as the multiple frequencies in the original transformer’s sinusoidal encodings. However, instead of us assigning these manually, for a head with d features, standard full RoPE computes one frequency for each of its d /2 pairs as follows: Here, d is the head dimension (it has to be even so that all features can be arranged in pairs). i is the index of the pair; it ranges from 0 to d /2−1. b is a chosen base value (hyperparameter) that determines the spacing of the frequencies. θ i is pair i ‘s frequency in radians per token position. Figure 26: rope_params returns the cosine and sine tables for token position 2. rope_split_half takes those tables and the original query and returns the rotated query. As shown in the figure above, first, determines how far to rotate each pair, returning two “tables” that store the cosine and sine of those angles. Or, in other words, computes the cosine and sine of each rotation angle, which depends on the token’s position and the feature pair’s frequency. The array in the function contains the 2 i values from the frequency formula in Section 4: For our eight-feature query, the are , that is, one 2 i value for each feature pair. Suppose we use the common base b = 10,000. And following our earlier examples, we choose a small head dimension of d = 8. In this case, the then computes the four pair frequencies θ i = b −2 i / d as follows: As we can see above, the resulting has one frequency θ i for each of the four feature pairs ( measured in radians) per token position. Next, the then multiplies each pair’s frequency θ i with the token position m , which computes the rotation angle mθ i . In our example, with , we get: Finally, takes the cosine and sine of each angle and outputs them as two so-called cosine and sine tables, and . In both tables, each row is a token position and each column is a feature pair. Since we only use token position 2 here, each table has shape , with the single row shown below: For the example in Figure 26, each table has one row for token position 2 and four columns, one for each feature pair. Figure 27 shows the rotation angle for each pair and the corresponding entries in the two tables. Figure 27: The two tables returned by rope_params for token position 2. The highlighted column gives the cosine and sine used to rotate the first feature pair, (1, 5) . In short, computes the cosine and sine of each rotation angle, which depends on the token’s position and the feature pair’s frequency. In a real-world scenario, if we pass 1,024 token positions for a context size of 1024, and a head dimension of 128, it returns two tensors, and , each with shape since a head with 128 features has 64 pairs. The tables have no batch or head dimension, and we broadcast each table across the batch and head dimensions. So, if we have multi-head attention or grouped query attention with 32 heads, feature pair 0 at token position 2 uses the same rotation angle in all 32 heads. Each head rotates its own feature values, so the rotated queries can still differ across heads. Also, the same entries can be reused across queries, keys, and heads that use the same positions and frequencies. In short, we only need to (pre)compute these tables once per model for all positions up to a maximum supported context size. Technically, it would also be possible to store these tables alongside the model weights; but they are so incredibly cheap to compute that storing them on disk would be overkill. Next, uses those cosines and sines to rotate the actual features in the query and key vectors inside attention. Considering the simple 8-feature example once more, the in the code snippet above splits the query into and and lines up the two entries in each pair. For example, the first slot of each half gives us , the second , and so on. The two expressions inside compute the rotated halves using the equations from Section 3.3: Note that here, everything denoted with a i corresponds to the first half of the query, and everything denoted with b i comes from the second half. The first expression inside computes all the a i ′ values, and the second computes all the b i ′ values. Then, we concatenate the halves, which puts each value back in its original index position via . Here’s the code that produces the rotated query in the earlier Figure 26. The shown reshape just brings the simple toy array into the expected format: one batch item, one head, one token, and eight features. With several positions, each token simply picks up its own row from the and tables. Through broadcasting, PyTorch reuses these same tables across all batch items and attention heads. 5.2 Using RoPE inside causal attention So far, we coded the RoPE utility functions. Let’s now use it in the real context, the attention mechanism. Here, we use the standard frequency schedule for two 8-feature heads and four token positions. We use random query, key, and value tensors to keep the example self-contained, but as mentioned before, you can optionally also check the end-to-end Qwen3 from-scratch implementation with real query, key, and values produced by the pre-trained model. Note that only and but not pass through RoPE. The resulting raw attention scores are stored in a tensor of shape , that is, one row for each query position, and a column for each key position, and 4x4 since we have four tokens where each attends to each other. Then, using a conventional attention code implementation, the causal mask replaces the scores for future keys with negative infinity, so they get zeroed after the softmax. The resulting tensor has shape ; the 4 because we have four tokens, and the 8 because the embedding dimension was originally 8. We can also check that our claim about relative offsets holds, meaning that adding 3 to each position should change the position but preserve the query-key offsets: 5.3 An alternative feature-pairing convention I mentioned the split-halves convention many times throughout this article. The original RoPE paper uses the alternative interleaved convention, as does the original LLaMA implementation (but as mentioned before, most code implementations now use the split-halves, because it makes it easier, in code, to rotate all pairs at once with element-wise sine and cosine operations.) To illustrate the difference between the two layouts, Figure 28 below uses the same 8-feature vector in both rows. Figure 28: Split-half pairs each feature in the first half with the corresponding feature in the second half. Interleaved pairs adjacent features. The interleaved implementation uses the same two equations, but selects alternating features and interleaves the outputs. But mathematically, the layouts are equivalent when we account for the feature order. So, rearranging the entries to makes the split-half pairs adjacent with pairs (1, 5), (2, 6), and so on. If we apply the same rearrangement to both queries and keys, it results in identical dot products. The outputs retain the reordered features, so we compare them with the split-half outputs in that same order. Applying the two layouts to the original vector however would give different scores. 6. Positional choices in modern architectures RoPE has been a staple in most (open-weight) LLMs since the original LLaMA model . Of course, proprietary models may use it as well, but it’s always hard to say anything with 100% certainty about proprietary models. However, in recent years, many architectures have been moving away from full-blown RoPE in every transformer block. In the following subsection, we will discuss some of these variants. For instance the full RoPE implementation we discussed and implemented in the sections above rotates every feature pair in every query and key head. In the following examples in the subsections above below, we will see that models only rotate some features within a head, other models skip RoPE in some transformer blocks, and some models use a different approach and add position information directly to their attention scores. 6.1 Partial RoPE As discussed throughout the article, regular “full” RoPE rotates all dimensions in each query and key head. Partial RoPE is a variant that rotates only a subset, while leaving the remaining dimensions unchanged. For example, MiniMax-M3’s configuration uses 64 rotary dimensions within each 128-dimensional head. That gives 32 rotated feature pairs and 64 unchanged dimensions. The figure below illustrates how that looks like. Figure 29: Full RoPE and partial RoPE in a 128-dimensional head. Note that if we look past the first transformer block, the unrotated features can still contain position information inherited from earlier transformer blocks. Anyways, what’s the point behind partial RoPE? It saves some memory. For example, in the MiniMax-M3 example above, rotating half the features reduces the size of the precomputed cosine and sine tables also in half. So, with partial RoPE, instead of 64 columns, now each table only needs 32 columns. However, note that the KV cache still stores the full key and value vectors for each cached token. For MiniMax-M3’s 1M-token context, rotating 64 of the 128 features halves the size of the precomputed cosine and sine tables, saving 0.134 GB (128 MiB) if the tables are stored in BF16. If the tables themselves were stored in NVFP4, the savings would be 0.038 GB (36 MiB), including the block scales. Note that in experiments with 1B to 8B models, the Fractional Rotation, Full Potential? paper found that rotating around 10% of each head’s features often gave similar training loss and benchmark accuracy to full RoPE. However, full RoPE did better on some evaluations. So, in my opinion, partial RoPE is hardly worth it. 6.2 NoPE layers NoPE was coined in the The Impact of Positional Encoding on Length Generalization in Transformers paper and means no explicit positional encoding . The idea or observation is that an attention layer without any explicit position method still has a causal mask, where a query can attend only to itself and earlier tokens. And this causal masking implicitly provides positional information. Let’s use the first four tokens from our earlier example, . In Figure 30, the query for at position 2 can attend to , , and itself. The query for at position 1 can attend to and itself. Figure 30: Example of a causal mask in the attention mechanism. So, the next question is how can the model use the causal mask as a position signal? Here’s a toy example adapted from the paper. Suppose one feature of the value vectors is 1 for and 0 for the other three tokens. Since the input only contains only one , every visible prefix contains exactly one 1. If all non-masked keys get the same attention score, the softmax assigns every visible token equal weight. So at , attention averages 1, 0, and 0, which gives 1/3. At , it averages four values and gets 1/4. In other words, this output feature equals one over the prefix length, which a later layer can use as a signal for position. Figure 31: With uniform attention, the contribution from The shrinks as the prefix grows. The query for fox assigns The a weight of 1/3. Does NoPE work in practice? The researchers of the NoPE paper trained a tiny 107M-parameter decoder-only transformers from scratch on tasks such as copying, sorting, and addition to do some ablation. When they tested the small model on examples longer than those seen during training, interestingly, NoPE ranked first overall across the ten tasks and ahead of RoPE. The researchers behind the NoPE paper also conducted a separate experiment with a larger 1.3B-parameter models trained on code. Here, NoPE also handled contexts beyond the training length, however, its next-token predictions got worse at the longest lengths tested. Some of today’s open-weight LLMs even go so far and use NoPE in all layers. However, nowadays, it’s more common for models to omit RoPE in at least some layers, where layer here means transformer block. To give a concrete example, SmolLM3 (3B parameters) applies RoPE in three layers and skips it in the fourth, repeating that pattern through 36 layers. Interestingly, the SmolLM3 authors mentioned that this layer pattern improved long-context performance. (Also note that any later layer, following the first one, even though it may skip the rotation, still receives the inputs from preceding transformer blocks, so its queries and keys still receive some sort of position information from earlier layers.) Figure 32: SmolLM3’s architecture (left) and the positional method used in each of its 36 transformer blocks (right). Every fourth block skips RoPE. Architecture diagram from my LLM Architecture Gallery . 6.3 Learned relative position bias Before we get to the overview and look at what modern architectures use, there’s one more method to introduce. For instance, Thinky’s Inkling uses a learned relative position bias in both its sliding-window and global attention layers. It computes the usual scaled dot product between a query and key, and then it adds a certain number to that score before the softmax in the attention score computation. That number depends on the query token’s hidden state and how many positions back the key is. Let’s reuse our example sentence, “The red fox jumps over the gray fox.” (It’s the last time, I promise!) In the figure below, the “the” at position 5 is the query and “fox” at position 2 is the key. Inkling then uses the three-position gap between query and key and the hidden state for “the” to compute the bias, then adds it to the scaled dot product. Figure 33: Inkling adds a learned relative position bias to the scaled query-key dot product before softmax. The numbers are illustrative. This is not an entirely new idea. Some of you may recall Google’s popular T5 (Text-to-Text Transfer Transformer) in 2019, which used a simpler version of this idea. Figure 34: The original Inkling (975B) architecture. The learned relative position bias feeds into the attention module. LLM Architecture Gallery 6.4 How these choices appear in recent models Now, after all this build up, the interesting question is: which architecture uses which method? And what are the recent trends? To answer this, I grouped the entries in my LLM Architecture Gallery by their listed release dates and compared the 2025 releases with the earlier and later releases in the 2026 snapshot. Each gallery card counts once, so multiple variants of an architecture can contribute to the results. LLM Architecture Gallery Figure 35: The architecture diagrams illustrate which attention layers use RoPE, and the bars show the share of gallery entries in each category. Diagrams from my LLM Architecture Gallery . As we can see in Figure 35 above, using RoPE in every softmax attention layer is still the most common choice. However, its use fell from 2025 to 2026, and then also in the latter half of 2026, which could be a trend. Consequently, there is a growing number of models that mix RoPE and NoPE. The groups are still small, so it’s hard to say whether these trends will continue. The NoPE only entries were all recurrent hybrids with softmax attention layers that use no explicit positional encoding. The “Other” category here refers to xLSTM 7B (2025) and Inkling (2026). xLSTM has no softmax attention layers. Inkling adds a learned bias to the attention scores before softmax, as we saw in Section 6.3. Among the models that use RoPE, partial RoPE became more common from 2025 to 2026. It went from a minority of the RoPE models in 2025 to a majority in both 2026 groups, as shown in Figure 36. Figure 36: Among gallery entries that use RoPE, partial RoPE rotates a subset of query and key features in at least one attention layer. Full-width entries rotate all query and key features in every layer that uses RoPE. If you’d like to look up an individual model from the 2026 groups, Figure 37 below shows the 2026 gallery overview with the individual architectures labeled by position type. You can also browse the gallery interactively here . Figure 37: The individual 2026 gallery entries behind the two 2026 bars in Figure 35. 7. Final thoughts So, to recap, we discussed GPT-2 and the original transformer that add a position vector to each token embedding before the first transformer block. Then, modern LLMs switched to RoPE, which encodes relative position inside attention by rotating queries and keys. Surprisingly, RoPE remains as the most popular positional embedding method today. Recently, however, Inkling picked up an idea from T5 to add a learned relative position bias to the attention scores before softmax. And then we also have NoPE-RoPE architectures, which omit RoPE in some layers. It may be boring news, but as mentioned before, RoPE is still the predominant position embedding method, and I think this will carry over into 2027 for sure. Perhaps, though, we’ll see more architectures with an Inkling-like design coming up in 2027. While this may sound “boring”, I am glad that I finally got this article on RoPE (and other position info methods) out, after so many years, so that I can add it to my collection of LLM “fundamentals” explainers. If you are interested in the other architecture building blocks of LLMs, I still highly recommend starting with a GPT-2-style model, which will give you a solid understanding of the building blocks with the least amount of friction. And from there, you can then layer on additional methods (such as RoPE). If you’d like to build that GPT-2-style model yourself, my first Build a Large Language Model (From Scratch) book walks through all the building blocks depicted in the figure below. Figure 38: GPT-2 XL provides a baseline for seeing what newer architectures change. LLM Architecture Gallery For the methods that branch off from the GPT-2 baseline, I’ve collected some of my relevant blog articles below, starting with a refresher on self-attention: Self-attention, causal masking, and multi-head attention: Understanding and Coding Self-Attention, Multi-Head Attention, Causal-Attention, and Cross-Attention in LLMs Modern attention variants (GQA, MLA, sliding-window attention, sparse attention, and hybrids): A Visual Guide to Attention Variants in Modern LLMs The KV cache. Understanding and Coding the KV Cache in LLMs from Scratch SwiGLU feed-forward layers and normalization (LayerNorm and RMSNorm): From GPT-2 to gpt-oss: Analyzing the Architectural Advances Mixture-of-experts layers and expert routing. The Big LLM Architecture Comparison Residual connections and DeepSeek’s manifold-constrained hyper-connections (mHC): Recent Developments in LLM Architectures: KV Sharing, mHC, and Compressed Attention Putting some of the pieces together in Qwen3: Understanding and Implementing Qwen3 From Scratch walks through implementing the dense and mixture-of-experts versions in PyTorch.

0 views

The Epistemic Jerk

In physics, jerk is the rate of change in acceleration. It’s the feeling in your body when a driver slowly accelerates before slamming on the gas. While thinking about AI, I keep returning to this word: jerk . It captures the feeling of suddenness and surprise at the staggering rate of change. Within roughly two years, many programmers have gone from writing code “by hand” to using AI to code nearly everything. And it isn’t slop anymore. Coding agents can convert mockups into websites, write bug patches for the Linux kernel, and reverse-engineer compiled binaries. Overnight, the experience of programming has changed. Many developers point to Anthropic’s release of Opus 4.5 as the moment agentic coding started to work. The model was released less than a year ago. Similarly, a few years ago LLMs would routinely fumble basic arithmetic. Then Google’s Deep Think achieved gold-level performance at the 2025 IMO. Then OpenAI said its internal model had produced a Lean proof resolving the Navier–Stokes Millennium Prize problem. Then OpenAI dumped over 700 papers on GitHub, with results ranging from the unique games conjecture to quantum magnets. The progress is so rapid that the math community is having a collective and public reckoning. For myself, this has been humbling. I started my PhD in machine learning in 2016, a year before the transformer. I’ve published a paper using deep learning to extract latent representations from histology slides. I’ve written about LLMs and hosted vibe-coding hackathons for friends. And I write code and solve technical problems every single day. I guess my point is this: I’ve had my eye on the puck for a while now, and I am still shocked at the rate of progress. What happens next? AI safety researchers warn about misalignment and existential risks. Tech workers worry about job losses and a shock to knowledge work. Accelerationists argue we should move even faster to maximize technological progress. And market bears say that AI capex debt is a house of cards that will eventually crash the economy. Meanwhile, most people’s view of AI is shaped by outdated chatbots. It’s a disorienting time. As I’ve tried to make sense of the moment, I keep circling the same inchoate thoughts. Here are some of them. We are all fitting superlinear functions to a handful of data points. In Bayesian inference, your posterior distribution can widen (more information doesn’t always make you more certain). In a world in which specialized skill becomes commoditized, people with problems to solve will thrive relative to people who want to be told what to do. It is an insidious failure mode to solve problems you don’t actually care about simply because AI has made them easier to solve. I struggle to tell the difference between cognitive surrender and a higher level of abstraction. I derive a lot of existential pleasure from deep understanding, and I don’t want to lose that. One kid is using AI to do their math homework, while another is using AI to teach themselves calculus. The transistor isn’t even a hundred years old. I have never made a value-aligned decision from a place of fear. Do not mistake the shock or uncertainty of this moment for fatalism or powerlessness. While my thoughts are incomplete, my conviction is not. I keep telling friends about this time I watched Hikaru Nakamura play bullet chess on his live stream. He was chatting casually to the audience while moving at lightning speed when he suddenly paused and burnt most of his remaining time deciding his next move. After he won, he talked about the importance of that move. I forget the details, but he had sensed a shift in the game, a pattern that felt off. He paused because the next move was critical. That is what this moment feels like to me. So this is a time capsule for myself, a record of this feeling. Genuinely, I don’t know what happens next, but I can feel in my shoulder blades that the game has changed.

0 views
ava's blog 2 days ago

what i read this week - week 46 2026

Haven't done these posts since August! I've also generated quite the backlog since end of September probably, now I'm working that off :) [EN] EDPB Statement on Smart Glasses - 8 page statement of the European Data Protection Board on smart glasses. Among the usual known issues around them like consent, data minimization and transparency obligations, they also point out the difficulties around identifying the controllers (in the sense of Article 4 Nr. 7 GDPR) of the data processing - depending on the process and context, it couldn't just be the owner or wearer of the glasses, it could also be the producer of the device (like Meta), or the provider of a linked application or service (like OpenAI, if ChatGPT was used), which means joint controllership is possible. The document also discusses the GDPR's household exemption and when it stops applying to the recording via smart glasses. [EN] EDPB Guidelines 03/2026 on web scraping in the context of generative AI - 23 page guidelines from the European Data Protection Board on web scraping done by bots to train AI, first version from July this year. As far as personal data is concerned, the GDPR also applies here, yet its requirements are easily circumvented, with almost no way to catch it or hold scrapers accountable. It's clear that scraping has the goal of maximizing data acquisition (quite the opposite of the data minimization principle) and it's usually not feasible to notify affected all parties of the processing of their data, so they don't have to. Scrapers tend to not discriminate very strongly what kinds of data they scrape (unless it is for a very specific project and on limited websites only), so within it all, there could be data that falls under special categories like Article 9 GDPR, so scraping it is a clear violation. Incidental and accidental collection of this data might be permissible if enough technical- and organizational measures have been taken to avoid this as much as possible, but this directly clashes with the interest to get as much data as possible for AI, so this is sadly an unrealistic standard to expect. It's also questionable whether the purposes can be defined in a way that satisfies legal requirements and doesn't cause a purpose change later on. The guidelines suggest considering using synthetic data instead of personal data, defining precise collection criteria, applying filters to exclude the collection of certain categories of data, and excluding websites which structurally contain these data and websites which clearly oppose the scraping of their content. [EN] From a Right-Based Approach to Competitiveness? The EU Digital Omnibus Reform - 18 pages published in the Journal of Risk Regulation by Giovanni De Gregorio and Hannah Ruschemeier, the latter who used to be my professor and who motivated me to make the jump into data protection law. The paper discusses the standard criticisms of the digital omnibus, mainly the increasing risks for fundamental rights and legal certainty in favor of competitiveness, and the lack of enforcement. It also mentions an underdiscussed point in the current reworks: The changes and relaxing of certain requirements, definitions and standards actively rewards companies who either operate in bad faith or have simply never invested in complying while flying under the radar, while it's penalising those that have invested in rigorous legal compliance who now have to change processes, documents and internal rules all over again. [EN] Growing Up With Generative AI - 44 slides about a YouGov online survey on behalf of interface in France from June 2026 about the youth experience of growing up with AI. 1,138 parents of children aged 11 to 17 and 970 teenagers aged 11 to 17 were asked. Key takeaways are that AI is widely used among children in those ages, and parents tend to underestimate the use of their children quite significantly unless it is AI companions. Regular use of generative AI increases with the child’s age, even though confiding in AI is more common among prepubescent children aged 11-12 (concerning). [EN] Working Paper on Extended Reality 28 pages from the International Working Group on Data Protection in Technology exploring what Extended Reality is (umbrella term for Augmented Reality, Virtual Reality, and Mixed Reality (“MR”)) and what privacy risks apply. This sort of tech usually needs a lot of cameras and sensors to function and may collect biometric data, and infers a lot of things via AI and other means. Nothing really new or mind-boggling here, the standard risks apply, more or less, especially when it comes to wearable tech (VR headsets), third parties being captured during use, and sharing location to use (like Pokemon GO). [DE] KI-Taskforce Bericht: Deutschland als KI-Nation 2039 - 39 page PDF about Germany's AI future that was written exclusively by ministries, no citizens, no NGOs or companies. Much of it reads more like vague advertising than concrete steps and plans. What's especially disappointing is that while they can't stop talking about sovereignty and acknowledging that if you don't start early, you're always gonna be reliant on others who are far ahead, they're still planning on being almost completely reliant on foreign tech, especially US giants. EU models shall only serve as fallback options, except for their pipe dream of some highly specialized AI tools that are exclusive to German knowledge/commercial niches that is supposed to catapult us forward. The social and ecological questions don't really get addressed aside from making sure everyone can have access to AI freely and equally. Not much to be found on how the disruption of the job market and possible mass unemployment will be dealt with specifically, as well as deepfakes and misinformation and its effects on society and elections; just that they are problems and shouldn't be. The document also has very arbitrary, hype-based goals whose numbers seem very random and not grounded in any actual need or progress. All in all, a document and plan that's kinda like the bad and late kid in class who saw the other groups present first, reworked parts of their presentation on a whim after seeing those, and now pretends they had this stuff all along, but doesn't know what they're talking about, pretending to be one of the top students in class. [DE] Stellungnahme der DVD e. V.und des Netzwerks Datenschutzexpertise zum Gesetzentwurf zum Einsatz von KI in der Migrationsverwaltung (KIMVG) - 21 page statement of two privacy groups in Germany regarding the planned use of AI in migration management and edits of AsylG and AufenthG to facilitate this data processing. The statement endorses the plan (yikes!) based on the amount of work in that area making it difficult to decide the applications within the required time frames, but thankfully nonetheless corrects some false understandings and points out some risks and necessary standards as well (especially around the automation and the classification of high risk AI). I really don't want to entrust AI with making automated decisions on something so serious, life or death in many cases, and it's not good enough for me if there is a human in the loop somewhere just nodding about the AI assessment. I also consider it disrespectful if one party creates a convoluted process to apply for asylum or other forms of immigration which demands a ton of documents, just to whine about being overwhelmed by the documents and deciding they no longer really want to see them personally. There are different ways German administrations could thin out and quicken the process without making someone jump through hoops and then avoid looking at what was asked for. I don't want extremely vulnerable groups to have to agree to this sort of invasive processing of their personal data just for a chance at safety and a new life. [DE] Digitale Grundrechte sichern – Datenschutz einfach, wirksam und föderal stärken - 5 page motion from several politicians and Grüne at the Bundestag, calling for more data protection. They're calling out the open assault on our digital human rights and the practice of blaming data protection and privacy concerns for anything from IT failures to commercial flops. They call, among other things, for a modernization of our federal DPA system instead of centralization and the continued support and further development of the GDPR, and are against sweeping data privileges for AI. [DE] Nein, Europa ist keine Kolonie von Big Tech - Arguments on why the EU is not victim of digital colonialism by the US. We voluntarily bought into it out of convenience, we were not forced into it, and we still profit from colonialism today. [EN] Who is reducing your privacy? - informative site from noyb about who votes against your privacy interests in the EU. [EN] We can’t just change the definition of ‘recording’ - Article by The Verge about the newest attempt of tech companies to make you comfortable with always-on recording if it isn't saved and highlights are immediately processed by AI during use, as if just saving recordings was the issue and not everything else around it (like chilling effects, or the fact that devices now do the recording that seemingly shouldn't be capable of it). [EN] You’ve Changed. Shouldn’t Your Algorithm? - Tech Policy Press article on interesting considerations and problems behind your interests and needs changing while your algorithm keeps you boxed in, plus conflicting behavior between what you say you want (let's say, cat videos) and then engaging with what you don't want (because it is shocking, enraging, etc.) even though you know you shouldn't, training your algorithm to show you more of the things you say you don't want. Fitting quote from the article: " A crisis can command our attention without defining what we want to understand next month. A reader may want to keep following a local newspaper while receiving fewer unsolicited disaster videos. " More granular controls around what you want to see and don't wanna see, with agreed upon endpoints, are required. [EN] Humans Have Rights. Machines Do Not. - Tech Policy Press article covering the attempts of the AI industry to argue that their chat bots' outputs are their "own opinions", therefore protected speech, and that their models deserve human rights such as the freedom of speech, all to avoid liability for its outputs and consequences on the users. The result is " agency without accountability ". [EN] Tech Companies Are Trying to Shift the Entire Concept of Privacy (Again) - Electronic Frontier Foundation post on a topic I have also touched on : Privacy is a team effort that should extend to everyone, yet tech companies are trying to offload responsibility onto users and seem to only keep the person using the device a bit more private (if at all), and see everyone else the user is surrounded by as fair game. It requires you to become an expert and dodge an assault of things while being at the mercy of everyone around you. That's by design! Published 14 Nov, 2026 [EN] EDPB Statement on Smart Glasses - 8 page statement of the European Data Protection Board on smart glasses. Among the usual known issues around them like consent, data minimization and transparency obligations, they also point out the difficulties around identifying the controllers (in the sense of Article 4 Nr. 7 GDPR) of the data processing - depending on the process and context, it couldn't just be the owner or wearer of the glasses, it could also be the producer of the device (like Meta), or the provider of a linked application or service (like OpenAI, if ChatGPT was used), which means joint controllership is possible. The document also discusses the GDPR's household exemption and when it stops applying to the recording via smart glasses. [EN] EDPB Guidelines 03/2026 on web scraping in the context of generative AI - 23 page guidelines from the European Data Protection Board on web scraping done by bots to train AI, first version from July this year. As far as personal data is concerned, the GDPR also applies here, yet its requirements are easily circumvented, with almost no way to catch it or hold scrapers accountable. It's clear that scraping has the goal of maximizing data acquisition (quite the opposite of the data minimization principle) and it's usually not feasible to notify affected all parties of the processing of their data, so they don't have to. Scrapers tend to not discriminate very strongly what kinds of data they scrape (unless it is for a very specific project and on limited websites only), so within it all, there could be data that falls under special categories like Article 9 GDPR, so scraping it is a clear violation. Incidental and accidental collection of this data might be permissible if enough technical- and organizational measures have been taken to avoid this as much as possible, but this directly clashes with the interest to get as much data as possible for AI, so this is sadly an unrealistic standard to expect. It's also questionable whether the purposes can be defined in a way that satisfies legal requirements and doesn't cause a purpose change later on. The guidelines suggest considering using synthetic data instead of personal data, defining precise collection criteria, applying filters to exclude the collection of certain categories of data, and excluding websites which structurally contain these data and websites which clearly oppose the scraping of their content. [EN] From a Right-Based Approach to Competitiveness? The EU Digital Omnibus Reform - 18 pages published in the Journal of Risk Regulation by Giovanni De Gregorio and Hannah Ruschemeier, the latter who used to be my professor and who motivated me to make the jump into data protection law. The paper discusses the standard criticisms of the digital omnibus, mainly the increasing risks for fundamental rights and legal certainty in favor of competitiveness, and the lack of enforcement. It also mentions an underdiscussed point in the current reworks: The changes and relaxing of certain requirements, definitions and standards actively rewards companies who either operate in bad faith or have simply never invested in complying while flying under the radar, while it's penalising those that have invested in rigorous legal compliance who now have to change processes, documents and internal rules all over again. [EN] Growing Up With Generative AI - 44 slides about a YouGov online survey on behalf of interface in France from June 2026 about the youth experience of growing up with AI. 1,138 parents of children aged 11 to 17 and 970 teenagers aged 11 to 17 were asked. Key takeaways are that AI is widely used among children in those ages, and parents tend to underestimate the use of their children quite significantly unless it is AI companions. Regular use of generative AI increases with the child’s age, even though confiding in AI is more common among prepubescent children aged 11-12 (concerning). [EN] Working Paper on Extended Reality 28 pages from the International Working Group on Data Protection in Technology exploring what Extended Reality is (umbrella term for Augmented Reality, Virtual Reality, and Mixed Reality (“MR”)) and what privacy risks apply. This sort of tech usually needs a lot of cameras and sensors to function and may collect biometric data, and infers a lot of things via AI and other means. Nothing really new or mind-boggling here, the standard risks apply, more or less, especially when it comes to wearable tech (VR headsets), third parties being captured during use, and sharing location to use (like Pokemon GO). [DE] KI-Taskforce Bericht: Deutschland als KI-Nation 2039 - 39 page PDF about Germany's AI future that was written exclusively by ministries, no citizens, no NGOs or companies. Much of it reads more like vague advertising than concrete steps and plans. What's especially disappointing is that while they can't stop talking about sovereignty and acknowledging that if you don't start early, you're always gonna be reliant on others who are far ahead, they're still planning on being almost completely reliant on foreign tech, especially US giants. EU models shall only serve as fallback options, except for their pipe dream of some highly specialized AI tools that are exclusive to German knowledge/commercial niches that is supposed to catapult us forward. The social and ecological questions don't really get addressed aside from making sure everyone can have access to AI freely and equally. Not much to be found on how the disruption of the job market and possible mass unemployment will be dealt with specifically, as well as deepfakes and misinformation and its effects on society and elections; just that they are problems and shouldn't be. The document also has very arbitrary, hype-based goals whose numbers seem very random and not grounded in any actual need or progress. All in all, a document and plan that's kinda like the bad and late kid in class who saw the other groups present first, reworked parts of their presentation on a whim after seeing those, and now pretends they had this stuff all along, but doesn't know what they're talking about, pretending to be one of the top students in class. [DE] Stellungnahme der DVD e. V.und des Netzwerks Datenschutzexpertise zum Gesetzentwurf zum Einsatz von KI in der Migrationsverwaltung (KIMVG) - 21 page statement of two privacy groups in Germany regarding the planned use of AI in migration management and edits of AsylG and AufenthG to facilitate this data processing. The statement endorses the plan (yikes!) based on the amount of work in that area making it difficult to decide the applications within the required time frames, but thankfully nonetheless corrects some false understandings and points out some risks and necessary standards as well (especially around the automation and the classification of high risk AI). I really don't want to entrust AI with making automated decisions on something so serious, life or death in many cases, and it's not good enough for me if there is a human in the loop somewhere just nodding about the AI assessment. I also consider it disrespectful if one party creates a convoluted process to apply for asylum or other forms of immigration which demands a ton of documents, just to whine about being overwhelmed by the documents and deciding they no longer really want to see them personally. There are different ways German administrations could thin out and quicken the process without making someone jump through hoops and then avoid looking at what was asked for. I don't want extremely vulnerable groups to have to agree to this sort of invasive processing of their personal data just for a chance at safety and a new life. [DE] Digitale Grundrechte sichern – Datenschutz einfach, wirksam und föderal stärken - 5 page motion from several politicians and Grüne at the Bundestag, calling for more data protection. They're calling out the open assault on our digital human rights and the practice of blaming data protection and privacy concerns for anything from IT failures to commercial flops. They call, among other things, for a modernization of our federal DPA system instead of centralization and the continued support and further development of the GDPR, and are against sweeping data privileges for AI. [DE] Nein, Europa ist keine Kolonie von Big Tech - Arguments on why the EU is not victim of digital colonialism by the US. We voluntarily bought into it out of convenience, we were not forced into it, and we still profit from colonialism today. [EN] Who is reducing your privacy? - informative site from noyb about who votes against your privacy interests in the EU. [EN] We can’t just change the definition of ‘recording’ - Article by The Verge about the newest attempt of tech companies to make you comfortable with always-on recording if it isn't saved and highlights are immediately processed by AI during use, as if just saving recordings was the issue and not everything else around it (like chilling effects, or the fact that devices now do the recording that seemingly shouldn't be capable of it). [EN] You’ve Changed. Shouldn’t Your Algorithm? - Tech Policy Press article on interesting considerations and problems behind your interests and needs changing while your algorithm keeps you boxed in, plus conflicting behavior between what you say you want (let's say, cat videos) and then engaging with what you don't want (because it is shocking, enraging, etc.) even though you know you shouldn't, training your algorithm to show you more of the things you say you don't want. Fitting quote from the article: " A crisis can command our attention without defining what we want to understand next month. A reader may want to keep following a local newspaper while receiving fewer unsolicited disaster videos. " More granular controls around what you want to see and don't wanna see, with agreed upon endpoints, are required. [EN] Humans Have Rights. Machines Do Not. - Tech Policy Press article covering the attempts of the AI industry to argue that their chat bots' outputs are their "own opinions", therefore protected speech, and that their models deserve human rights such as the freedom of speech, all to avoid liability for its outputs and consequences on the users. The result is " agency without accountability ". [EN] Tech Companies Are Trying to Shift the Entire Concept of Privacy (Again) - Electronic Frontier Foundation post on a topic I have also touched on : Privacy is a team effort that should extend to everyone, yet tech companies are trying to offload responsibility onto users and seem to only keep the person using the device a bit more private (if at all), and see everyone else the user is surrounded by as fair game. It requires you to become an expert and dodge an assault of things while being at the mercy of everyone around you. That's by design!

0 views

Building Kakuro Zone

I built Kakuro Zone ! When I go on work trips, I often use hotel business centers to print out some paper puzzles to do if I’m bored in the hotel room or on the airplane. I almost always do sudoku puzzles, but wanted to mix it up. As I started exploring different puzzles, I discovered kakuro ! They’re a type of logic puzzle very similar to a crossword puzzle, except you add numbers across and down to fulfill rows and columns. It’s super fun to do with paper and pencil! There’s quite a few kakuro puzzle websites out there, so I didn’t have to make a new website for them but: With the power of AI, I actually got pretty far a couple months ago! I set it up to be a React and Vite PWA, and got my printable puzzles all done in time for the WeAreDevelopers conference! I had printed puzzles for the week, and was able to play a bit on my phone on the plane as well. …and then I promptly ignored the repo until this week, because it solved my needs, ha. After the hubbub of GitHub Universe died down, I remembered that I should open source the game and clean it up so that others can play it too. This is, admittedly, a fairly vibe-coded project. Or should I say, agentically engineered . I did some touching of code, mostly in the CSS. I really cared about the what things should look like on different screen sizes, and how navigation should feel with a keyboard or on mobile, but besides that, I let GitHub Copilot fly here. It felt weird letting go… but it was also nice to just get the puzzle experience the way I wanted, without overthinking implementation logic. Here’s the repository , and here’s the game again for you to try out! I wanted to print them in a certain way that would fold well in my notebook I liked the idea of using the date as a “seed” for a puzzle, so I could have a friend do the same puzzle as I did on a given day I wanted to have the game on my phone if I didn’t print it out (but felt a hankering to solve one) I wanted to play with Neobrutalism.dev

0 views
Stratechery 3 days ago

2026.46: The End of Jensen

Welcome back to This Week in Stratechery! As a reminder, each week, every Friday, we’re sending out this overview of content in the Stratechery bundle; highlighted links are free for everyone . Additionally, you have complete control over what we send to you. If you don’t want to receive This Week in Stratechery emails (there is no podcast), please uncheck the box in your delivery settings . On that note, here were a few of our favorites this week. Presented by Agentic commerce purchases with Link, Stripe’s digital wallet that works surprisingly well for agents, grew 38x in September. The catalyst was consumer agents like Muse and Instinct. Filling out a web form is not a value-add activity for anyone. No one chooses to fill out web forms in their spare time. That’s why these agents have been particularly useful.  I’ve written about how these platforms are giving ordinary people an AI agent with a computer, enabling agents to do genuinely useful things on our behalf.  When one of those things is spending money, it needs a wallet that knows what it is, and isn’t, allowed to do. Stripe has learned that’s really about deciding how much freedom to give it. You might approve one purchase, or give it $500 for flights this week, and let it figure out the rest. The wallet’s job is to keep it within those lines while handling everything between “go buy this” and the purchase actually happening. That’s what Stripe is building with Link: You approve what it spends, it can come back to you if the final price changes, and eligible purchases can even come with protection if the agent makes a mistake. You can use Link on Muse, Instinct, as well as many other of the agents you might use already. This week’s Stratechery video is on AI on the Ballot . The Shocking Demise of Jensen Huang. This week’s coverage was dominated, unsurprisingly, by the shocking and sudden end of Jensen Huang’s 32 year tenure as CEO of Nvidia. The end came on Thursday morning, and just a few hours later, we recorded a Sharp Tech episode recounting Huang’s legendary history, figuring out what happened, and looked forward to what this might mean for Nvidia, the tech industry, and America going forward. Also see Andrew’s view from DC, Jensen Huang Was Always Going to Lose , and listen to Wednesday’s episode of Sharp China about the geopolitical angle, and Thursday’s Dithering about both the parallels and differences between Steve Jobs and Apple. — Ben Thompson Enterprise, Consumer and Intel.  The more things change, the more they stay the same: Intel remains on the back foot in the AI era, and the foundry dreams continue to flounder. On the heels of disappointing earnings and 2027 guidance that promises yet more letdowns, Ben’s Update on Wednesday examined the state of America’s would-be national champion by drawing comparisons to AMD, an Intel peer that’s red-hot right now. To understand why one company is capitalizing on skyrocketing enterprise demand while the other confronts flatlining consumer sales, the answer starts with chips chiplets and leads to more profound questions about culture, Intel’s nature, and its bifurcated strategy for the long-term (and, for subscribers, look forward to more on this topic in Sunday’s Sharp Tech mailbag episode).  — Andrew Sharp And Then There’s Professional Basketball. As a palate cleanser after a week of Jensen drama, this week’s Greatest of All Talk was a look at the top and bottom of the NBA after the first three weeks. On the euphoric side of the ledger we have Warriors fans (pre-Steph injury), Lakers fans, Spurs fans, and on the other end spectrum there is nothing positive to say in Brooklyn, a familiar malaise in Cleveland, and precisely one silver lining in Salt Lake City. All of it was a great time; we also hit Adam’s experience with the NBA in Mexico City last weekend, the hardest working players in NBA history, and an anxiety-inducing conversation about the number one pick, AJ Dybantsa.  — AS Jensen Huang’s Affair, The Culper Report, Huang’s Righteousness — Nvidia CEO Jensen Huang admitted to an affair with a Chinese spy, and that might not be the end of his troubles. I hope he survives, but his influence will never be the same. The Jensen Huang Story Gets Worse, Washington vs. New York, Silicon Valley — The Jensen Huang story got worse for him on Monday; the real risk for Huang is governance, even more than national security. Who benefits? Intel Earnings, AMD Earnings, Intel and AMD’s Divergence — Intel and AMD’s diverging earnings point to fundamental historical differences, and make me wonder if Intel needs to find a new (old) path. An Interview With Roblox CEO David Baszucki About Aggregating Play — An interview with Roblox CEO David Baszucki about how AI is transforming game creation, and why that opens up huge opportunities to both enable developers and make Roblox both an Aggregator and a platform. Jensen Huang Was Always Going to Lose — Jensen Huang spent four years substituting his own judgment for that of the U.S. government. His downfall was inevitable, and probably isn’t over. The Jensen Huang Affair Jensen Fired How Cisco Got Bullwhipped Indonesia’s Mega Rice Failure Jensen Huang Likely Out at Nvidia; The Megaspeed Maelstrom in D.C.; APEC in Seven Days; Legislation That May Come Next Agony and Ecstasy After Three Weeks, The “Earn Their Ice” All-Stars, Difficult Conversations About AJ and Season Ticket Holder Decorum Subscriber Mail: Twitter, Microsoft, Bending Spoons, Movie Reviews Nvidia After Jensen Huang, What Huang Meant to the AI Ecosystem, Washington Gets Its Revenge

0 views

I moved 39 repos into a monorepo to boost agentic coding

Hey, what's up? It's Takuya here. I recently moved my projects into a monorepo to speed up my agentic coding. I came across a post by Mitchell Hashimoto . He recently started a new company, Superlogical, which builds Rex , a terminal app designed for working with AI agents. His team is small, and everyone on it is trusted to push commits straight to main. They skip the traditional flow of opening a pull request, waiting for someone to review and approve it, and then merging it. Instead, AI reviews the code before the push, and humans and AI review it again after it lands. Their workflow looks super fast. I'm a big fan of Mitchell, and I admire the quality of his work, like Ghostty. So I trust his technical decisions, including how his company uses AI. His post inspired me a lot and made me rethink my own workflow, starting from how my repositories are structured. Before I started coding with agents, each of my private modules lived in its own repository and was published to npm from there. Development was slower before AI, so I usually focused on one module at a time: make the changes, publish a new version, then update the apps. With semver, a change in one module couldn't unexpectedly break the apps. Many of these packages are shared across multiple projects, so this workflow was crucial for me. When I started using Claude Code, I kept the same structure, and at first it simply sped up my traditional workflow. But the more I relied on agents, the more friction I felt. AI makes a lot of changes, blazingly fast, so my workflow became the bottleneck. I had set up trusted publishing on npm, so GitHub Actions published new versions automatically. Still, after every change to a package, I had to wait for the publish run to finish before an app could use the new version. Agents also make many changes that span multiple modules, and keeping the module structure in shape became painful. Because each task was spread across several repositories, agents often missed shared constants, functions, and APIs. I think my job now is to help AI make fewer mistakes. One way to do that is to give the project a shape where AI can quickly understand the whole picture: where to look and where to add things. That's why I decided to move to a monorepo. The transition wasn't that simple. I have an Electron app, a React Native app, and a web app, each with its own tech stack and package manager (my server-side code stays in its own repos). Most packages used pnpm, but the React Native app used Yarn, so I had AI switch it to pnpm. Some of my repositories are public, as contributions to the open source community: for example, React Native modules and tools that help developers build Inkdrop plugins. Those can't move into a private monorepo. Everything else moved in, and the repository is now a single pnpm workspace. I used to bring each repository in with its full git history. For each repo, it moved every file into its new folder (for example, or ) across all past commits. It also renamed the tags to the format, like , since every repo had its own . And it rewrote bare issue references like in old commit messages to , so they still point to the right repository. Then I merged each rewritten repo into the monorepo with . For the plugin-related repositories, I made a second, public monorepo ( inkdropapp/plugins ). So now there are two monorepos, and the release flow looks like this: With everything in one repo, I could also unify the toolchain. Some modules still used ESLint and Prettier, so I migrated them all to Oxlint and Oxfmt, which now run once from the root. I also tried Vite+ , a unified toolchain that bundles Vite, Vitest, Oxlint and Oxfmt behind a single command. I was already using most of these tools in my modules, so switching looked easy, and its task caching promised a faster loop with agents. But in my case, its type-check cache reported a broken TypeScript 7 project as passing. With agents, that's risky: they see a green check and move on. There also wasn't much build time to save in the first place, so I decided not to go with it. I'll try it again in the future. This work took two days to finish, and I'm happy with the result. Now, my agent and I can quickly update modules and keep them aligned in a single change, and I can comfortably create a git worktree for each task. Before the move, a task that touched several repositories needed a worktree in each of them, and that was painful. So, this transition has already paid off. Inkdrop's codebase is over 10 years old. If you also have an old project split across many repositories, I hope this helps you rethink how you work with agents. I have so many ideas to improve my app, and I'm so excited to work on them starting next week. That's it! Thank you for reading.

0 views
Robin Moffatt 4 days ago

Is it OK to write blog posts with AI yet?

Is it ever OK to write blog posts with AI? NO! was my strident cry until just a week or two ago (it was, actually, a much less polite version of that). Now, I’m wondering if I need to refine that view. Let me explain. You see, I have a particularly vitriolic feeling when presented with LLM-generated text. Articles written with AI give me the ick, I don’t trust them, and I lose respect for the author. I’m not the only one who feels this way; consider this finding from a survey by Cynthia Dunlop :

0 views
Stratechery 4 days ago

Sharp Tech on Video: Nvidia After Jensen Huang, Ominous News for American AI, D.C. Gets Its Revenge

Sharp Tech is, for the first time, available on video. You have three ways to consume it: YouTube, Spotify, and here on Stratechery

0 views
iDiallo 4 days ago

So you want to buy AI for your company

Where do I start? We have Gemini 4 Hydrogen. But it sounds like you could use Claude Sonnet 5.5. Or maybe 5.4; it really depends. Have you tried Opus? We have Opus 5.2 right now. It's similar to Fable 5.2, but better for day-to-day work. It's not quite as powerful as Mythos 5.2, though. I hear the gap will narrow eventually. Opus scores 94.8 on a benchmark, while Mythos gets 96.1. Fable is a respectable 92.7, assuming you don't ask it to do anything too ambitious. Have you tried the Chinese models? DeepSeek is pretty good. You might want to start with the R1 family to test the waters before moving on to V4. Personally, I'm a Flash kind of guy, but Pro is pretty good too. The crowd favorite is GLM these days. You've got to try 5.3 Flash. Its Mixture-of-Experts architecture is state of the art, in my opinion. It scores an impressive 87.3 on the Benchmark Performance Index. But let's be serious for a minute. You're probably looking for ChatGPT. Astra is overkill unless you want to do some damage. I'd stick with GPT-6.0 Terra, not Sol! That one ate through my budget in three days. Terra gets 98.2 on the Enterprise Productivity Benchmark, while Sol gets 99.1. That extra 0.9 will cost you $14,000 a month. So go with Luna if you must. If you're feeling more adventurous, you could go with Qwen, though. I'd stick with 3.8 MoE. Don't even think about 4 Plus. It's a nightmare. Kimi K is dear to my heart, though. You can't go wrong with it. I use it alongside Codex to complement my workflow. Really great. It scored 91.6 on SWE. Those are just some of the options. If you're a programmer, you probably don't need any of that. You just want to use Claude Code. Or get Cursor. Make sure to remove Grok from the auto-selection options. You don't want Grok. If you don't know why, then you don't need to know why. Anyway, I use Jules with Antigravity now. In VS Code, I use Continue with a local R1 Flash running on Ollama. I use Qwen3.5-397B-A17B for setting up machines, and Qwen-VL to read through my camera feeds. The latter is particularly good at detecting forklifts. And that's pretty much it. A fairly simple setup, really. For the layperson, though, it's much easier: they just use the free ChatGPT tier and call it a day... Or Argon. It depends really. Google 3.6 Flash has the lowest score, but it is great for email. I mean how mean do you need your email game to be? Anyway, that's it. Nano Banana! You probably need that too. It's great with Omni or Carbon. Or wait next week when Hydrocarbon comes out.

0 views
Pete Warden 4 days ago

Moonshine is dead, long live Moonshine

A few months ago I had to fire everyone at my startup . I’m proud of what we accomplished, but after four years and $12m in investment we couldn’t find the revenue or growth we needed to continue, and my cofounder was nabbed by OpenAI. We couldn’t find a compelling route for an acquisition either, so we had to go into liquidation with little recovery for the investors. This hurts, a lot. I had a team relying on me, and VCs I respected, and I wasn’t able to solve enough problems fast enough to get where we needed to. I’ll be writing a longer post mortem in the future, but first I want to focus on the open source side of our work. I was able to personally purchase the IP, data, and code for the Moonshine Voice framework from liquidation. With over 11,000 GitHub stars and growing it’s clearly meeting a lot of people’s needs, even if I failed to find a way to turn that usage into the magnitude of revenue we needed. Without the constraints that come with venture funding, it’s got a sustainable future, since the customers we do have more than cover the costs of maintaining and updating the models and code. I’m looking forward to helping it grow organically for years to come. I don’t know exactly what comes next for me, but I’m still convinced running AI locally, on the edge, is the future. To decompress I finally took the chance to play through Kingdom Come II: Deliverance, and it lived up to all the praise, Warhorse have built an amazing game. Even that experience led me back to local AI though, because I wanted to explore their world more deeply, and so I built the Talk to Anyone mod . This open source project uses Moonshine and Qwen3 to give thousands of previously-nameless NPCs histories, relationships , and the ability to hold and remember conversations with the player. I’m hopeful that games will be early adopters of local AI, because it costs too much to call cloud APIs from products that don’t make recurring revenue. The status quo seems to be very limited and fragmented support for speech to text, and no modern LLMs in mainstream games. I think unlimited, free AI access opens up a lot of creative possibilities, and I built this experiment to show some of what I’d be excited to see in the future.

0 views
spf13 4 days ago

Creativity in Negative Space

We talk a lot about what AI is getting good at, and the list is impressive. It can summarize research, write clean boilerplate, translate languages, and generate striking images. Because that curve has moved so fast, people naturally assume creative work is the next domino to fall. With a slightly bigger model or a longer context window, the thinking goes, AI will write a great novel, craft a stand-up comedy special, or create a movie that actually moves you. It won’t. Fluency was never what made work creative. Creative work starts with noticing what’s missing, and more data and more compute don’t add that. AI operates entirely in positive space . Human creativity lives in negative space . Rubin’s vase : two faces, or the shape between them. In visual art and design, negative space is the unmarked area around and between the subjects. It’s easy to mistake it for empty background, but it gives a composition tension, hierarchy, and meaning. Culture and ideas work the same way. Positive space is everything that already exists in the world: every trope, pattern, sentence structure, and convention that has been written down, repeated, and absorbed into training data. Negative space is the gap in the universe where nothing exists yet. When people misunderstand creativity, it’s usually because they confuse recombination in positive space with creation in negative space. A lot of what passes for “creative” work has always been derivative: taking last year’s hit movie, last year’s enterprise software, or a competitor’s product and making the next predictable iteration. Models excel at that because recombining what already exists is what neural networks are built to do. Real creativity is different. It’s looking at the world, noticing a gap that nobody has named yet, and putting something into that gap. You assemble it from your lived experience, your scars, and your influences, but the destination sits outside the map of prior art. Strip away the marketing and a neural network is a large stack of matrices. Text goes in as numbers, gets multiplied through layers of learned weights, and comes out as a probability distribution over the next token. Training sets those weights by fitting them to a body of existing human work. After that, the model is a fixed function: the same input gives the same distribution, every time. That doesn’t mean a model can only repeat what it has seen. With billions of parameters it can land on combinations no person has tried, and ML researchers will point out that by the strict definition, models in high dimensions almost never interpolate . They’re right, but producing something new was never the difficult part. Sampling randomness (temperature) shuffles which likely answer you get. It doesn’t add insight, any more than rolling dice adds taste. What a model can’t do is tell which of those new things matters. A gap nobody has named leaves no trace in the data, so nothing in the weights marks it as missing and nothing in training rewards finding it. No matrix multiplication calculates “this should exist and doesn’t.” A model can generate a million things nobody has seen before with no way of knowing which one the world needs. The obvious objection is that people learn from prior art too. Of course they do. Writers learn from other writers, and programmers learn by reading other people’s code. The difference is that people also bring things that were never written down anywhere, like the experience of using something every day and knowing it’s wrong. I don’t think an AI would have ever created Cobra . When I was building Hugo in 2013, I kept running into the limits of flags. Even a tool as simple as Hugo already let you combine flags that didn’t make sense together: Tools like , , and handled this with subcommands, each with its own set of flags, and that’s how I wanted Hugo to work: There were already plenty of CLI frameworks in lots of languages. I tried all of the existing Go ones, and every one of them felt wrong. Most were built from code pulled out of the tool, which was never meant to be a general-purpose library, and they only supported a single level of commands. I couldn’t point to one thing that was broken. It was a feeling. I knew what I wanted Hugo’s experience to look like, and none of them could create it. That was the negative space. Nothing was in its place. I had a strong conviction that Hugo needed to work a certain way for me to want to use it, so I wrote the framework that made it possible. It turns out a lot of other people thought that was the right way to do things too. Cobra ended up underneath Kubernetes, Docker, and the GitHub CLI, and it helped define how modern command-line tools work. Years later I wrote those conventions down at cli.style . The second principle is use subcommands, not mode flags and the third is make invalid combinations impossible , which are the same two problems I had with Hugo’s flags in 2013. A model trained on every CLI library that existed in 2013 would have given me a cleaner version of the libraries I had already rejected. What I had that the data didn’t was the sense that all of them were wrong. The same boundary shows up in every form that depends on tension, timing, and human truth rather than surface polish. Take stand-up comedy. A joke is almost pure negative space. It works because two people in a room share an unspoken truth they haven’t admitted out loud, and the comedian builds a bridge toward one expectation before snapping into that silence at the exact right beat. Ask an LLM to write a stand-up set and you get the rhythm and syntax of a joke (setup, punchline, callback), but completely hollowed out of surprise. It knows what jokes sound like in positive space, without ever having lived the awkwardness, pain, or observation that makes a room laugh. Storytelling works the same way in a novel or film. A model can generate grammatically flawless prose and plot beats that follow Joseph Campbell’s hero’s journey to the letter. Yet after three pages, your eyes glaze over. Great storytelling lives in the subtext, not the plot events. It’s the line of dialogue a character refuses to say, the scene that cuts three seconds early, the weird obsession that only makes sense four chapters later. In product design, the breakthroughs that delight people come from negative space. Steve Jobs didn’t invent the MP3 player. Plenty of companies shipped MP3 players before Apple, and every one of them was iterating in positive space, arguing over storage megabytes and file folders. Apple looked at the negative space around the device (how miserable it was to get music onto it and find a song in your pocket) and built the iPod into that gap. Competitors spent the next decade copying the positive-space artifact while missing the insight that created it. This is the intuition behind the famous (if apocryphal) line attributed to Henry Ford: “If I had asked people what they wanted, they would have said faster horses.” Ask people what they want and they point at things that already exist, only faster or cheaper. Nobody can ask for what they haven’t yet imagined. Spotting the gap takes someone willing to stand in the empty space, and that’s rare even among humans. A model trained on what people already said has no way to do it. What AI has actually done is strip away the illusion that fluency and creativity are the same thing. For decades, technical execution was so expensive that we conflated the ability to produce a polished surface with the ability to create something meaningful. Now the surface is cheap. Anyone can generate five thousand words of smooth prose or a slick product mock-up in thirty seconds. A model can remix the archive of everything humans have already said. It takes a human with taste, restraint, and a point of view to notice what is still missing, and to put something real into the gap. And when positive space floods with endless, cheap variations of what we already have, negative space becomes the only thing that matters.

0 views
Martin Fowler 4 days ago

Bliki: Generated Glossary

When we use LLMs in a specialized domain, such as the operations of any reasonably-large organization, there is a lot of specialized vocabulary. Such words and specialized meanings will be foreign to an LLM because they aren't in its training set, making it harder for the LLM to be effective when doing tasks in that domain. One technique to aid this is to use an LLM to generate a glossary of the terminology in that domain, and make this glossary available for any LLMs doing work in those circumstances. The sources for the LLM can be any material within the organization concerned such as documents, emails, and chat logs. In some cases getting transcripts of audio or video may be helpful, although most organizations generate enough text to do the job. The glossary-generating LLM should look for single words, and phrases of several words that regularly hang out together to form a meaningful term. The generator should be asked to identify terms that are new to it, but also known terms that are being used in unfamiliar ways. The latter can often cause the most confusion. Once we have a list of specialized vocabulary we can ask the agent to produce a glossary, with definitions for each term. Some terms may be used in different ways, in which case the LLM should provide alternative definitions, with a note as to what context the differences appear in. The LLM can be asked to follow the output format of a dictionary, with a focus on precision and conciseness. Once we have a draft glossary, then human experts in that domain should review it, and amend it for cases where the LLM has got the wrong ends of sticks. We then put the glossary somewhere where any other LLM can use it. It should be in a form that's easy for the LLM to consult, and minimize the tokens the LLM should consume in order to find meaning. We should set up a schedule to review and refresh the glossary at regular intervals, by agents and humans. We should keep it in version control, so we can see how it changes over time. Large organizations often have subtly different definitions in different places, essentially following the Domain Driven Design notion of Bounded Context . Source code can be a particularly interesting bounded context, allowing folks to understand how terminology is used within a code base. Sometimes a single glossary can span several of bounded contexts, but at other times it's better to have separate glossaries for each one, allowing LLMs to consult whichever glossaries that are relevant to what they are doing. I'd urge everyone to resist any temptation to create a single, standard, glossary - I've yet to see that work. Often the value of a glossary isn't to nail down a single definition of a term, but instead to highlight its different usage in different contexts. When there are different bounded contexts it can be interesting to compare different glossaries, or to get LLMs to compare glossaries and describe differences in usage. Comparing a source-code derived glossary to a human text can be particularly instructive. If the glossary is large, it can be worthwhile to only include the terms and links to definitions as part of the initial context. The model can then use the links for only the full definitions it needs while working. A glossary can be used in several ways within Agentic Engineering . Glossaries can inform generation of code, so that names within the generated software fit the particular vocabulary of the enterprise. Sensors in a harness can check for this usage, both in the internals of the software and in the user-interface. When generating code or documents, we may introduce new bounded contexts. For example, internal names that may be used within an organization should not be exposed in a customer-facing UI, because such internal terms are likely to be only confuse a customer. In this case a customer has a different bounded context to the part of the enterprise serving them. It's often useful for glossaries to include terms that should not be used, in which case it includes advice on what other term to use instead. Terms that are deprecated can be handled in this way, with glossary entries that indicate what period of time a term should be in effect. In my conversations with people working with agents in large organizations, a common theme is the difficulty of specialized language. This encourages the activities of domain modeling, building ontologies, and constructing explicit context layers in enterprise data . Getting LLMs to generate a glossary is a simple, but useful, part of this work. Eric Nagler and Unmesh Joshi related their experiences doing this activity and thus inspired this post. Amy Pellegrini, Annie Luxton, Arun Srinivasan, Chris Ford, Daniel Terhorst-North, Dave Farley, Eric Nagler, James Shore, Jason Yip, Jimmy Nilsson, Matteo Vaccari, Michaël Le Barbier, Pete Hodgson, Pramod Sadalage, Ravi Vats, Unmesh Joshi, and Valentyn Logvynskyi commented on drafts.

0 views
Stratechery 5 days ago

An Interview With Roblox CEO David Baszucki About Aggregating Play

Listen to this post: Good morning, This week’s Stratechery Interview is with Roblox CEO David Baszucki . I’ve interviewed Baszucki twice, in February 2022 , and November 2023 . What struck me about this interview is just how much AI has changed the landscape for Roblox. This was a company predicated on the concept that anyone can make a game, but now, for the first time, literally anyone can make a game. That means a world of abundance, and in that world, there is an opportunity to be an Aggregator, and Roblox is aggressively pursuing that opportunity. To that end, we discuss how AI has changed Baszucki’s view of what is possible, what goes into a game creation harness, making games on your phone, and the power of recommendation. Then we talk about Roblox’s vision of a universal player, where a Roblox game works everywhere, and Roblox Everywhere, where Roblox developers can use the platform beyond the Roblox app. We also touch on advertising — the natural Aggregator business model — and whether Baszucki still thinks he is building the metaverse. As a reminder, all Stratechery content, including interviews, is available as a podcast; click the link at the top of this email to add Stratechery to your podcast player. On to the Interview: This interview is lightly edited for clarity. Topics: The AI Impact | A Game Creation Harness | Roblox Build | Roblox Discovery | Universal Player | Roblox Everywhere | Advertising | Metaverses David Baszucki, welcome back to Stratechery. DB: Thank you, Ben, for having me back. It’s great to be here. So this is the third time I’ve interviewed you, and I want to sort of put that in an interesting context. First, you started Roblox in 2004, you went public in 2021, you first talked to me in 2022 and again in 2023 , that’s like a nearly 20-year stretch. Now it’s 2026, and here’s my question: Is the world more different for you now, compared to three years before, than it was for the entire first two decades from starting the company to the last time we talked? DB: The changes in the world we all feel are sure happening a lot more rapidly. When we first published Roblox — I don’t know if people on this podcast remember — software used to be distributed on floppy disks and CDs. You know, the funny thing is, you’re the second person I’ve interviewed in the last two or three weeks where we’ve referenced back to fact that the reason we say packaged software is it used to actually be packaged! DB: It’s been crazy, we had the Internet, when we started the company, we had the vision of a category called immersive co-experience, sci-fi writers have been writing about the holodeck forever, and we went along our way. I’m still pro-metaverse, we can use the word metaverse, it’s okay. DB: Okay, good, we use them all. It’s Snow Crash — metaverse, holodeck, they’re all good. We started on this vision of building human co-experience, we saw the mobile age come across us, we saw the crypto age. The AI acceleration wave we’re in is faster and bigger and crazier than anything I’ve ever seen, it’s changing how we think about the product, it’s changing how people are going to create games. What’s really exciting is, when we started the company, we had this slogan called “You Make the Game”. DB: We started with that slogan, we learned along the way that the ratio of people who might want to play games to make games has drifted — more people want to just play games than make games, because historically making games has been Roblox Studio and 3D editing and writing script. We could be approaching the time where “You Make the Game” really comes true, and where making a game is accessible to everyone. It’s really fun, I’ll tell you a bit about some of the experiments we’ve been having with Roblox Build . But we’re entering an era where making a game could be as big as playing a game. I’m right there with you. We’re obviously going to touch on all those points, I think it’s probably predictable what we want to talk about. But to go back to 2023, you called AI then, “a super paintbrush and a super 3D modeler, rather than a full replacement” — Is that still how you’re thinking about AI? DB: It’s what the data is proving out. We just had our earnings call a few weeks ago , we highlighted a lot of acceleration. One, there’s various ways humans can augment with AI on Roblox, they can use MCP , which is like plugging in a model, they can use the Roblox AI assistant to help build. And what do you mean with that MCP server? You mentioned you had 5x growth quarter-over-quarter. That’s where you’re actually using Claude Code or Codex or whatever to work with Roblox? DB: People are plugging in, we can see all of them — Claude Code, Codex, other models — all being plugged into Roblox Studio to help build things. We’ve seen two games hit the top 20 made by AI, we have other metrics like the number of assets. What do you mean by “made by AI”? Because you also said 80% of games in the top 100 have AI-contributed content. DB: Touched by AI, vibe-coded directly with AI, and we can see the count of assets accelerating. DB: It’s turned out to be, I believe, somewhat faithful to what I said. This is a human paintbrush accelerator, good ideas are still very important, novel types of gameplay are very important. But people are able to flex their creativity much more quickly. We have members of the Roblox board of directors carrying a mobile phone around, building games like 15 times a day. We have people who are not necessarily engineers or product managers now building within the company, so we’re really at the dawn of a new era. You mentioned the super paintbrush, super 3D modeler, is there a super gameplay developer? Because there’s a large step between, “I have an idea for a game”, versus the actual mechanics of the game. How much can the AI do to help you as far as that goes? DB: You’re touching on the dream of what is a game creation harness versus a coding harness . Dive into it, this is super interesting. Lay out the difference and the way you’re thinking about that. DB: So everyone’s getting familiar with coding harnesses — Claude Code, Cursor, Replit, Lovable, Codex, you name it. A game is arguably much more complicated than code. As you mentioned, there’s art, there’s 3D objects, there’s scenes, there’s avatars, there can be gameplay code, there can be missions, and there can be code underneath it. So a harness that is being created to create games really has to run in multiple modalities, needs to listen to you, and if you said, “I would like a multiplayer tortoise-and-the-hare game that 100 people can play, and we’d like to do it on Venus, and I’d like it to run on all devices” — there’s a lot of different things that need to be generated there. The avatars, the assets, all of that, as well as the gameplay, which I think is a very human thing — your idea of what type of a game it is is actually very unique. So one of our board members is building a hybrid kind of Wordle-crossword game with his own vision of how this crossword game should work, and that’s very unique to him. I’m optimistic we’re still seeing that notion of a human coupled with an accelerating paintbrush in essentially a very complex harness for building games. There’s so many pieces you talked about. The asset creation piece, compared to 2023, much further along, arguably there. You could have even the video component, or the moving worlds, but then you almost have these different pieces. Do you have to build — is there going to be one harness, and one sort of — we’re going to get to your Build app in a little bit — that handles all of that? Or are you still thinking we need to do this piece-by-piece as the model gets good enough for, or we need different models maybe for the different parts of this? DB: I think just as we see with harnesses that are routing different models, even for coding now, a lot of companies have multiple models running side-by-side and their harness is optimizing. Our harness inside Build and inside Studio Build is running not just multiple models for certain things, but then there’s a second dimension of, “Are we building a scene?”, “Are we building a 3D object?”, “Are we building code?”, “Are we building an NPC?”. So yes, we are routing both by kind of specific asset that’s being created, as well as multiple models within each of those, and we’re combining some areas where we have incredible data on Roblox — for example, data that can be used to help create non-player characters, characters that act normally, side-by-side with you. But there’s also really good coding models out there, both open source and frontier, and so we see a harness being able to put all these things together. What’s the mix of those models? Say we have three categories — frontier, off-the-shelf open-source models, and models that you’ve trained specifically. And I guess even there there’s two categories, are you doing foundational models on your own, or just doing some post-training? DB: We literally have all three of those running in our Build harness. And we’re, in certain cases, optimizing the cost of frontier with the capabilities of open source. We have a Cube model — we’ve announced it — which is trained on 3D assets. Yeah, super interesting. Tell me about the Cube model. DB: The Cube model is our own 3D asset creation model trained on all of the 3D objects inside Roblox, where the developer has opted in to the training. It’s very fast, it’s very efficient, and it runs on our own hardware. When you go into Build or I go into Build and I say, “Hey, make that tortoise-and-a-hare game”, and if you describe that tortoise as somewhat unique and different, “I want the tortoise to look like this, and have a fur that looks like this, and maybe have this”, that Cube model will and may come into play and generate that tortoise for you. How does your cost structure work for this? Is it a usage thing from a developer perspective? You have the MCP server — that’s where they can bring their own, what’s the mix? DB: You sound like a product manager, because these are exactly the same discussions I had about an hour ago. The ultimate vision is something like Roblox Build is just like the creation of short-form video. Short-form video 10 years ago — all of a sudden we all figured out we can make video and edit it on our phones, amongst multiple products that was like a huge revelation. We are so on the same page, I have a whole section on short-form video later in the interview. That’s good foreshadowing. DB: Yeah. And so along comes short-form video, and we have phones, and all of a sudden we’re making and sharing video. Arguably games are a lot more complicated, they can be immersive 3D environments, multiple people can come there. They have, as I was saying, code and geometry and avatars, but that’s where Build is going — that same notion of, “I’m going to pull out my phone and create something”, some of those models are still expensive. But the dream is, we’re already testing — I think Canada went live today. We’re testing in, I think, Serbia and New Zealand, we want it available for everyone and so it creates a wonderful opportunity for us to be super efficient with our models while super powerful. It creates the opportunity for those users who want to just do hundreds of iterations to have them buy tokens as well, if they really want to dig into it, so we’re optimistic this will be free for everyone. You keep mentioning Build, I’m on your website , and this is how you describe Build: “Build is a new way to make your own Roblox game right from your phone. Just describe the game you want in your own words, and Build’s AI creates a playable game for you in real time. You don’t need any coding or game-design experience – if you can describe it, you can build it. Want to change something? Just tell Build what to adjust, and keep going until it feels right”. Is this what you always wanted? Are we going to look back and say Roblox Studio, your pride and joy, was just a stepping stone to this? DB: This was a sci-fi fantasy when we started the company, and arguably a fantasy we never thought would come true. I would say when we started the company, we couldn’t have imagined it, and for many years, I think many people in the industry were always trying to figure out ways to make editing 3D easier, “Oh, that’s a really easy consumer 3D modeler” — even the best consumer 3D modeler is still pretty complicated. It’s unbelievable, my current 3D experience right now is, I’ve gotten very into 3D printing and I’ve never opened the associated app for it at all. It’s all done in the AI and just goes straight to the printer, it’s unbelievable. I appreciate all those people who did all the actual modeling and stuff for the last few years — I’ve skipped over all of it, but it’s the same thing in digital space. DB: I would say in the last five years we started to see that maybe AI can do this and I would say it’s been in the last two to three years where the rate of acceleration has started to surprise people and as that rate of acceleration has started to surprise people, this dream becomes much more possible. There are games on Roblox right now that are earning money that have been made with Roblox Build. We have not tens or hundreds, but thousands of games that have been published in Roblox Build. It’s not live in the U.S., we’re testing, and it will be soon, so the data is already out there. What’s so interesting is you saying, “We couldn’t have imagined it”, because one of the things in our previous interviews that came across again and again was the continuity of your vision and like, “Yeah, we saw this back then, and now we’re getting there, and we’ve had this vision all the way” — and that sort of goes back to my first question. Is there almost been a break in the last few years where even you are like, “Holy cow, I didn’t know this is where we were going”? DB: I feel like all of us in the technology industry are feeling that — everyone, CEOs, programmers, people who use these products, consumers. We’re all in the middle of it, I would say, over the last several years. Do you think this makes Roblox more or less valuable? If anyone can make a game, is Roblox Studio, your jewel, not that big of a deal anymore? DB: I think what really ends up being valuable is the combination of a few things. We’ve shared the notion of Universal Player, that I’ll dive into, the notion of Roblox Everywhere , the notion of the power of distribution platforms becoming more and more powerful when a game is created, “Where do I find it?”, “Where does it run?”, “How do we keep it safe?”, “How do I play it with my friends?”, “Is there an economy?”. So in a way, distribution platforms become more powerful. It’s worth thinking about it like — pick a distribution platform, whether it’s TikTok or YouTube, in a way, AI can accelerate those platforms, but in a way, those platforms have enormous strength with or without AI and even though someone could reproduce the whole YouTube platform with AI — the cloud, the client, all of those things — people are still going to go to YouTube to watch video. Yeah, this is the connection I was drawing — going to the short-form video platform idea. I’ve always drawn a distinction between distribution and discovery , distribution is free — anyone can post a website, at least generally speaking, they could host a game on their website, they could host a game on Vercel or wherever it might be. But then discovery is, if there’s a gazillion games, how do you find what you’re looking for? Of those two, what do you think is more important for Roblox’s future? DB: They’re both enormously important. The Roblox platform itself has well over 100 million people coming every day. On the discovery side of our platform there’s two angles to it, the first is, what happens when everyone’s building a game? All of a sudden, in the old days, there’s an abundance of new games and experiences. How do we connect the right person with the right game with their friends? Even in what might be called AI slop, there can be amazing games embedded in that AI slop, even if it’s 1 in 100 and even when games are crafted by hand, there can be some of those games that just aren’t interesting to people, so discovery becomes enormously important. What we have going on — and with the opportunity going on at Roblox — is that in addition to traditional discovery, which is optimizing every user-game pair and predicting long-term retention from that connection, with more and more games, content understanding becomes incredibly important and because Roblox is a platform where all of the games are running in the cloud, we can examine the content, learn from what we’ve learned, and maybe say, “This game has an interesting, new, diverse way it’s been constructed, this game looks a lot different than other games”, and that can help surface great content to new users. The other thing, in addition to on-platform discovery, is this notion of Roblox Everywhere that we’ve shared. Let’s get to that, I promise we’ll get to it, because I think it’s super interesting in this context. But you’ve gotten much more into — you mentioned matching players to the right game, what have you learned from getting into recommendation algorithms? The path — I keep referring to it — but this is the social-networkization— DB: Yeah, it’s very different than video, because a game is something a user can play multiple times, a game is an environment where friends can have fun. Some good games last for years and years. You know, Adopt Me has been on the platform forever, so finding an Adopt Me that creates joy for a long time is very, very important, rather than a one-shot video. I think what we have learned is to optimize for longer-term retention rather than short-term retention. Well, that really hit your earnings when you made that shift a couple quarters ago. What was your thinking? Is that what you expected? DB: I don’t want to comment on hitting the earnings, but I want to comment that mathematically, if we can raise long-term retention — which means more people stay on the platform, more people have a good time, and, like I mentioned with Adopt Me, find games they might play for 10 years — that pencils out. And retention is critically important in growing users and growing word of mouth and growing all of those things, so we’ve gotten better and better at optimizing long-term retention. We measure it directly, we measure the contribution to long-term retention from every user-game pair. We see interesting things — different types of groups of people like different types of games and I think if we go to the Roblox home page, for example, and I play, or someone else plays, I think people are universally saying, “Oh my gosh, those are more and more looking like games that I’d like to play for a long time”. You told me in 2022 that Roblox’s initial product failed because it wasn’t multiplayer and social and that was one of the foundational lessons of the company. Now you’re enabling offline single-player games. Have you moved? Is this what has changed? What’s shifted, where — yes, of course you’ve mentioned the social aspect multiple times — but also there are games people just want to play, a great game, on their own? DB: I feel long-term the foundation of Roblox will continue to be multiplayer, friends coming together, that may be in real time, that may be asynchronous, that may be “I take a turn, you take a turn”, that may be I play a match-three puzzle at some point and compare it. What the move to single-player, the move to puzzle, is really saying with our aspiration for Universal Player and Roblox Everywhere, we have enough bandwidth now to cover the whole spectrum. When we talk about the notion of Universal Player, the notion is going all the way from a traditional 2D offline puzzle game, all the way to that which is yet to be invented — which is super high-scale multiplayer, photorealistic reality — and everything in between. So the vision with the puzzle game, as well as Roblox Reality, is going back to the video analogy. In a way, with video, the camera and the player have been somewhat invented, we have cameras all over, we have 4K, 60-hertz playback, we have playback mobile, we have playback in our living room, and so all of the video out there generally will play back on my living room 4K, 60-hertz TV. That’s not true in gaming. There’s not a universal rail, where every game as of yet invented, as well as to be invented, you could imagine it playing there, so that’s the notion of 2D puzzle and Universal Player. Presented by Agentic commerce purchases with Link, Stripe’s digital wallet that works surprisingly well for agents, grew 38x in September. The catalyst was consumer agents like Muse and Instinct. Filling out a web form is not a value-add activity for anyone. No one chooses to fill out web forms in their spare time. That’s why these agents have been particularly useful. I’ve written about how these platforms are giving ordinary people an AI agent with a computer, enabling agents to do genuinely useful things on our behalf.  When one of those things is spending money, it needs a wallet that knows what it is, and isn’t, allowed to do. Stripe has learned that’s really about deciding how much freedom to give it. You might approve one purchase, or give it $500 for flights this week, and let it figure out the rest. The wallet’s job is to keep it within those lines while handling everything between “go buy this” and the purchase actually happening. That’s what Stripe is building with Link: You approve what it spends, it can come back to you if the final price changes, and eligible purchases can even come with protection if the agent makes a mistake. You can use Link on Muse, Instinct, as well as many other of the agents you might use already. So step back and explain Universal Player, broadly speaking — both in terms of the different surfaces, and also bringing in games from other platforms into the Roblox experience. DB: Part of this comes — I’ll come at it first from an AI angle, and then a puzzle game angle. From the AI angle when we hook either our Studio assistant or an MCP model up to Roblox Studio, and you or I say, “I’d like to build this”, there’s still technical constraints, if I hooked up MCP and said, “Build a game that happens in the state of California, make it a 3D multiplayer environment, I’d like it to be photorealistic, and I’d like it to be able to have up to 100,000 people all walking around and driving cars” — not technically possible. But we do want to push towards that — once again, multiplayer high-scale photorealism — as quickly as possible, and make a place for anyone who’s either imagining a game or building it with MCP server, or, as you mentioned, ultimately bringing in a game they maybe have already made and converting it to that type of environment. So if we have a Universal Player, that’s a superset of all games that can run multiplayer. You could imagine that if you had a puzzle game that’s offline, connect it up, bring some of the source code in if you want to, and we’ll convert it to Roblox. Or you had a single-player high-res game, we’ll convert it to Roblox and in that conversion process, a couple other cool things will happen. We coined the term “Robloxification” — it’s really what’s different about the Roblox architecture. Your single-player game from a PC can now be multiplayer by default, because we’re running against a cloud. Because we’re doing 3D streaming, your single-player game will also run on a phone — oh, it’s being Robloxified. Your single-player game, rather than being a 500-gigabyte download, you can just join it immediately, that’s very interesting. Your single-player game has access to economy and other things so the notion with Universal Player is really both convert, as well as Robloxify, existing games as well as new games. Is this leveraging — to go back to the discovery versus distribution — is this leveraging the fact that you want to get into Roblox’s discovery engine? There’s people on Roblox, they’re not going to go download your game individually, they’re not going to go to another website. DB: That’s exactly right, in that a game brought into Roblox Everywhere in our Universal Player will then be available in the Roblox app. And as we thought about it, what a great way to discover more content than to have great games out there that are also discoverable in the app. This is the analogy — to go back to the short-form video — where you had this story with Meta versus TikTok. TikTok realized that it’s called a social network but it’s not really a social network, it’s just really giving you the videos that it thinks you are going to like, and who you follow doesn’t have anything to do with it. Meta is stuck in their social network, “That’s what makes us powerful”, and to compete with TikTok, to make Reels into a thing , they had to let that go, “We’re just going to give you what you want”. Is there an analogy there to your embracing single-player games, to you having recommendation algorithms? And sure, Meta will tell you the social network part is important, will always be important. Is that analogous to you saying, yes, the social aspect of Roblox is important, will be important, but actually to truly grow, to reach your full potential, you have to actually atomize a bit more and meet the player with exactly what they want? DB: Yeah, I think if anything it’s even bigger than that, I’ll go through three realizations. The first realization that we’ve come to, looking at the physical world, when people play — whether they’re playing sports or a board game or any form of play, jostling around with friends — it’s typically not just play, it’s playing, it’s connecting, it’s community, it’s creating the play, “What are we going to do?”, it’s sometimes watching other people’s play, it’s dressing up to play. And so we started thinking about the market, not as the game market, but the play market, and how all of those pieces really work together so that’s been a bit of a stretching, rethinking things for us. The second is, when we say the play market, we can no longer just say, “Well, Roblox is a 3D multiplayer game engine”. You were constraining yourself. DB: That’s right. All of the constraints, I think, in the past that helped us focus and grow at a certain scale have to flip from focusing constraints to constraints we give up on. What was more difficult — convincing the company we have to let those constraints go, or did you have to convince yourself? Because again, two things that really stood out. Number one, you had this long-term vision, and it’s actually been continuous, and now you’re saying, “Wow, this has been a big shift”. But then number two, this being focused, “This is what we do”, and now you’re like, “Well, actually, no, we need to let that go and do everything”. DB: We’ve gone through several of these. The early version of Roblox was PC and Macintosh. We, for a while — if you can believe it — there was no mobile phone version of Roblox and when we looked at the iOS App Store top 100, there was no 3D game in the top 100. China was a little bit ahead, they were starting to poke at it, the U.S. was not. Giant company debate, “How could Roblox ever work on a phone? The phone is 2D. It’s not going to work”. Luckily, mea culpa, we went for it and now we’ve gone through that transition. There’s also a time on Roblox, very early on, we thought the blocky look was so simple and easy to build with, we wouldn’t allow the importation of 3D mesh objects, we mea culpa’d it, because ultimately we want all styles of game. And so I think 2D and offline is kind of one of the last holdouts for that, in saying it’s really the play market, and we can’t constrain that anymore. Are you pushed into this market, or are you pulled — just the market opportunity is so large? DB: I think it’s so much more fun and simple to just say, “We’re going after the play market”. (laughing) That’s right, let’s do it all. DB: We need integrated and safe ways for community, we need integrated and safe ways to find great games to play with, we need all of that just in a simple — it’s actually a simpler product spec and a more fun product spec. Does that mean, you as a company, you’re more defined by — maybe you’re like supply-defined, where, “What can we do, and this is what we’re going to deliver”, and now that’s sort of flipped to, “What’s the market and how can we fill that market?”. DB: Yeah, I think it leads to all kinds of interesting features of the product. For example, short-form video is traditionally used for watching by yourself. Imagine something that feels like short-form video, where you’re seeing the 3D game where your friend is already playing, and it’s a way to find a friend and jump into a game. Right. We made the short-form video comparison, but you’re literally doing short-form video. DB: Finding 3D ways to discover is super interesting, finding ways to connect with your friends is super interesting. I feel this singular vision on play is a category that’s got legs and I think the thing that is yet to be figured out is how big is creation versus playing with friends. What I have seen with the early players on Build is, there’s a lot of joy in making a short-form video on one of these platforms and having your friends see it. That happens in spikes and I’ve seen people do that. The joy I’ve seen of people creating games on Roblox and literally sitting there with their phone and saying, “Oh my gosh, I have four people in my game, and those four people are playing my game, giving me feedback” — I’ve seen that be really powerful. That’s interesting, because the feedback mechanism — you can act on it. If someone gives feedback on a video, it’s just a comment on a video. DB: And like I highlighted, board members doing 15 modifications a day to their game so that four people turns into six people. That’s really interesting. It’s like there’s a 3D aspect to gaming, as opposed to the 2D aspect of a video. This is almost like a 4D aspect, where the interaction — it’s a social network in a very different sort of way , it’s around this object that could evolve and move with the interaction over time, I think you do have a 4D product. DB: That’s right. Well, we use the term 4D lovingly in our physics engine, because 4D objects are objects that have behavior and code and do things, rather than static objects. The other topic you’ve brought up continuously is Roblox Everywhere. First, explain what it was — I have some questions about this that are connected to what we’ve been talking about. What is Roblox Everywhere, from the top? DB: We shared earlier, our jump from PC, Mac, “Oh my gosh, we’re doing mobile, could it work?” — and then we shared some of the other changes we’ve made along the way. One of the things, for quite a while, we’ve held on is: 100% everything is in the Roblox app. DB: But as we’ve seen our vision of the Universal Player — the vision that, whether you build on Roblox or you convert or you use AI, below the rails, Universal Player is the place a game can be constructed and run at scale — as we thought more and more, all of a sudden the power of what is the Universal Player becomes appealing, not just in the Roblox app, but possibly for a creator who wants to ship a standalone game in the iOS App Store, the Google Play Store, on their PC, on a console. And as we thought through it, the benefits of giving creators access to the Universal Player, even when they’re not in the app, brings an enormous advantage to us, which is that their content can then be available for discovery in the app. That gets to my question. Okay, I’m on board with the releasing, let’s be on all devices, let’s not just have blocky characters, let’s have 3D characters, all the things we’re talking about. But I’ve been framing this whole discussion — we’ve been comparing to short-form video, which is an Aggregator play. You own the end users, you own the consumers, you have Universal Player, people can bring their games in to reach the customers, you have an advertising business that we talked a lot about last time, I have some questions about. Roblox Everywhere seems to be like the whole company is now flowing in one direction, you have the Roblox place — if you want to make a game, go there, there’s customers there, there’s monetization there, it’s all there. And now you’re like, actually, let’s open up a trap door and let everyone go out the side, am I the one that’s now being the wimp and saying, “Can you be a little bit more focused”? DB: I appreciate your insight there, but what’s really exciting to us is the potential to get such a large percent of the gaming market running on Roblox Everywhere, and the potential content explosion that happens within our app. The way we thought about Roblox Everywhere is, if you’re a creator — you might be an indie creator just pushing a small app, you might be a large studio — the more we can have both the most amazing technology platform, really Universal Player, and the more it makes absolute sense for you to run on that technology platform, whether you’re in the Roblox app or standalone, we get the benefit of that content in our app which is social, which can be launched instantly, which shares a common social structure, which carries a common safety structure, a common economic structure, all running together. So our calculus — and as you said, maybe it looks risky or whatever — but our calculus is actually, this is the best way to grow users in the Roblox app itself. Yeah. Well, it’s interesting because I think this gets on the — I’ve been drawing the analogy, we’ve been drawing the analogy jointly, between short-form video and gaming. But to your point, gaming is still a lot more difficult and if you go through the history of gaming over the last 40, 50 years, this has been a trend is over time, just the cost of developing gets so large, you need to be multi-platform. The PS3, one of the all-time examples, builds this super complicated, powerful architecture that no game ever leverages, because the cost of creating HD assets is so much higher . They need to be on Xbox also, they need to be on PC, and so everything goes multi-platform, Sony responds by doing the exclusive strategy, etc. Is this a similar articulation, that making games is hard, and so if we don’t make it so developers can run their games everywhere, they’re not going to be on Roblox either? DB: It’s really hard and right now there’s a bifurcation, a lot of times, between that super cool high-end PC game I see and what I can run on my two-gigabyte Android phone overseas. Those typically are different products. And so you’re trying to make the whole world the market for a developer — if you build on this, the whole world will be your market? DB: Imagine if it was technically feasible to build for super high-end AAA multiplayer on a PC, and connect to the same game on a two-gigabyte Android phone overseas. That’s a technical opportunity, we think, for creators. How is that different from streaming? Like, you stream a console game to your phone, what is different about what you’re proposing? DB: There’s a very creative history of what is called game streaming, where the game is run far away, I send my keyboard and mouse to the game, and then video comes back. (laughing) Right. And it sucks. DB: And this was even 20 years ago — Gaikai, OnLive, OTOY — we’ve seen a long history of this. You said it sucks, the way I would say it is, some of the things we’re doing in our video — you and I are on a Zoom call right now, when I look at my character, my character’s reacting instantly, I feel like I’m looking in a mirror, in a pure video streaming architecture, I might move 50 or 100 milliseconds later than when I do that, and people are very sensitive to that. If you’re close to the video server, maybe it’s pretty fast but I do believe having local 3D instantaneous feedback is super, super critical. So that could be one reason why video streaming just hasn’t kind of exploded as much as we thought. Is there an issue where streaming — they’re trying to retrofit what existed, and you’re natively building for this experience, and that makes a difference? DB: We want native 3D, you know, we want multi-device native 3D, very low latency happening on those. There’s some other dimensions where gaming is getting more difficult as well. The regulatory environment — it’s not like the old days if you or I make a game. There are different laws in every state and in every country, cultural laws, all of those. One of the opportunities is to have a platform that can automatically adjust to that — what are all of the rules around age, around ratings, around all of those things? That’s another thing that can help a creator reach the world without having to think about all those things. How do you think about monetization for the Everywhere games? Is there going to be like a platform fee, like a Unity sort of aspect? Or is the payoff, “If they’re building using our technology, they will also be in Roblox, and that’s where we’ll make the money”? DB: We shared at RDC the notion that monetization may be somewhat similar for games Roblox would publish. And so if you went to an app store, there may be some games published by Roblox that are the exact same games that are inside Roblox. We would only do that with the developer’s permission, but it could be really cool — you could go to your app store and search for “Grow a Garden” and say, “Oh my gosh, there’s the game”. For games where the developer is pushing directly to the app store, we haven’t shared the economics but in the thesis of what I said — which is eliminating any reason for the creator not to think about it — that leads to the economics needing to be pretty provocative and so stay tuned on that. Where is advertising fitting in this and your vision overall? Give me the advertising update. We spent a lot of time on that three years ago. DB: We shared on the earnings call that we’re more and more excited, and we’re all in, not just on Roblox platform advertising, which is growing, I think we shared that’s growing very quickly as well. As creators come into Roblox and use Roblox Studio Assistant or Build or MCP, “Okay, I need to get some initial traction, I need a thousand users”, those ads are available on the Roblox platform. And isn’t that the great thing if it’s abundance, there’s too many games, you have to discover it — user acquisition ads are very profitable. DB: We have seen an acceleration of that type of advertising and to take that all the way back to the prior analogy, we have board members on their phone buying advertising. (laughing) Conflict of interest, they’re bumping up their own stock price. DB: There’s a second type of advertising that, more and more, is becoming available, which is very short, five-plus-second skippable pre-roll video. There was a time, way back in the history of Roblox, we tried pre-roll video, it was not a good experiment. The quality of the video was not super exciting, pre-roll video at that time was 30 or 45 seconds. Technically it was a pain in the butt, and we yanked it out because we didn’t like the user experience. That kind of left us with, for a while, “Uh-oh, no pre-roll”. But today, the fun and the quality — if we’re very selective of the brands, and we could imagine the brands that are interesting to a 21-year-old Roblox player — clothing brands, electronics brands, movie brands — where they might actually say, “It’s pretty cool to see this”. We also, because typical games on Roblox launch not quite instantaneously — they launch maybe in five or six or seven seconds. Right, you have time. DB: There’s actually a beautiful technical overlay there, if we do it right and do it natively, to put this all together so we’re very excited about this potential combination. Is there an aspect where companies, especially when they’re first doing advertising, they overthink it? Like, “We have to have the world’s most inventive ads, there’s going to be billboards in the game, and these experiences” — and actually, no, just show a pre-roll video, it’s fine. DB: I think that’s right. I think we have a history of thinking big, and I do feel ultimately there’s going to be a wide range of types of branding that people do. There’s a lot of immersive 3D potential for literally shopping in 3D and doing all of that but there’s also an enormous quantity of pre-roll video. Right, you can get to that eventually, there’s actually a lot of low-hanging fruit, it feels like a lot of first-time advertiser platforms — they’re reluctant to pick, and then they’re like, “Actually, let’s just pick the low-hanging fruit and go from there”. DB: I think that’s right and I think in a COPPA -compliant, privacy-compliant, Roblox-values-compliant way, we can still imagine amazing user experience for advertising. Does this tie into the potentially provocative pricing for Everywhere? Where you make a game, it’s everywhere, congratulations — but if you want to actually make money, you’re going to need to be on Roblox and that’s the best place to spend money to acquire users. It’s better than spending on Meta, better than spending on wherever else it might be. DB: You could imagine, in under 18 on Roblox, we’ve shared we may have literally 20% of gaming revenue in the U.S. flowing through the platform and so that’s huge penetration in that age group. As we move towards that same penetration over 18, all of a sudden the value of advertising on Roblox for my new game becomes more and more valuable, because those users are already there. Are older players like your great white whale? I think every time that we’ve talked over the years, it’s always been, “We’re going to expand into older players”. When is that the reality, as opposed to the opportunity? DB: Reality is right now, the fastest-growing thing on our platform is 18 and up, it’s growing very fast. Are you getting new users, or is it people aging into and sticking with Roblox? DB: Absolutely, both. It’s a smaller cohort than the under-18 thing. But as it becomes an increasingly larger percentage of our revenue, it will more drive the growth rate of the top end as well. And how does that relate to the single-player offline, new types of gaming, puzzles, and all the things you’re talking about? DB: I think there are some of those segments that are very much 3D multiplayer, some of those segments are puzzle. There’s an overlap in that, as we think about the whole play market and we don’t restrict any types of games going forward, we have more opportunity to really create a good chunk of that market and once those users are on our platform, they’re very valuable, because other games can be attractive to them as well. In our first interview you talked about how you deliberately avoided paid acquisition, because organic virality was so essential to Roblox, in part because of the social aspect of the games. DB: I think we were careful with it. It’s a much bigger thing now, right? DB: For under 18, even in our early days, we experimented with paid acquisition, but we are very careful with always getting a return on the spend, and always knowing that organic viral had to be the biggest, but there still is a logical amount to spend. And we’re doing the same on over 18 right now, we are mixing organic with paid, there’s an optimal mix of them. We always want whatever we spend on acquisition to make incremental revenue more than what we spend and we are sticking to that hygiene. So it does make sense for us to do the paid acquisition. Is Roblox a metaverse? Is that still the dream? I like the word, no one else does. DB: I feel it’s weird how that word kind of came and went a bit but I think over time, maybe that word will come back, right? Because in the ’80s, ’90s, and 2000s, that was a very popular way of describing not just a gaming platform, but a communication platform — a place where people came together to play or to work or to do a bunch of things. I do feel ultimately, beyond gaming, that still makes sense. This Zoom call, at some point, will be a 3D simulated metaverse call, and we’ll be able to run in traditional 2D mode, and we’ll be photorealistic but if I wanted to go and look at that globe behind you, and I asked your permission, I said, “Ben, can I come and see the globe?” — you’d say fine, hopefully, and I’d come and look at it. And that’s something we can’t do on Zoom that will be unique to, ultimately, a metaverse call. It is a very cool globe. I got it at an antique shop. It has, like, a barometer in it, a thermometer, and it actually lights up — it is a lamp, also so it’s my background. DB: I love globes, I love telescopes too. Well, there you go. With the metaverse, with this 3D world, you just talked about a real-world thing, you could come into my room. But to go back to the example, you mentioned the developer that wants to build the state of California and driving cars around and 100,000 people, is this ultimately going to be realized, not through polygon drawing, but it’s all just going to be AI-generated ? DB: I don’t think it’s going to do that, and the reason we’re building this Roblox Reality architecture — and I’ll share a bit about it — is we do want, “What’s the quickest way to get to multiplayer, photorealistic, immersive gaming?”. Multiplayer is where the fun part comes in, and it’s why we talk hybrid. So in the movie business, there’s several famous directors right now who are going hybrid and what they’re doing is, they’re either shooting live actors, or they’re building a very rough scene for their movie in a 3D system, then they’re taking the 3D information and they’re upsampling it with an AI model to 4K photorealism and so they’re putting together the best of traditional — and in the case of live actors, there’s much more accurate capture of the face, of the emotion, when shooting real film for the actor, but then you can decorate the set however you want. In gaming, synchronizing 10,000 players needs to be done in the most efficient way possible and doing that in a video latent space is not the most efficient way, doing that in a rough 3D representation is the most efficient way. But for every one of those 10,000 players, it’s getting a pretty efficient 3D representation, you can imagine each one of them uniquely getting an AI video model upsampled for them specifically that looks like 4K, photorealistic 60 hertz, and I think that’s where it’s going to come out. Are you going to win on doing this because you have a technical advantage, you pull it off, or because you already have the audience? Lots of people could build this out. DB: I would say yes and yes, hopefully. This is a vertical integration play, the vertical integration. Right, which has always been a core part of Roblox’s theory. DB: I’ve played with, for example, Grow a Garden, or classic games on Roblox, with early versions of photorealistic upsampling, and it works out of the box. There is a notion that existing games can run for all players, same gameplay, but for some, photorealistically upsampled. But I also feel it’s a technology play, because most of the video models that are being built today are either single-player world models, or video generation models — like you or I want to use one of these models to make a cool 15-second video. This technology is different, this is real-time, low-latency video being generated from the 3D video and the 3D depth map and a bunch of other things, so it’s a very specific type of video model that has some overlap, I think there’s opportunity both for technology as well as vertical integration. The thing that I’m taking away is — and this has always been the case talking to you — the scale of the ambition, but it does feel like the big shift is actually, “Let’s literally do everything, let’s do the supply side, we own the demand side, let’s do all kinds of games”, is that what Roblox is today — we’re all gaming, period? DB: I would say, do everything within the carefully thought-out boundaries of the future of play. And so within play, yes, let’s be open to 2D puzzle, let’s go all the way from two-gig Android to photorealistic Roblox Reality and in between, let’s make things available in the Roblox app as well as in Roblox Everywhere. So I would say, within those hopefully thoughtfully constructed guardrails, then yes — in a way, it’s do everything. Do you feel okay without the focus? Without knowing, “This is what we do”, is, “We do everything” — is that focus in its own right? DB: It is focused, because there’s still some pretty tight guardrails. And so I think, given the size of the company and the ability to use AI to accelerate engineering, I think it’s the right current product spec — just like when we started, it was PC-only, blocky, and that was good enough. Last question, you mentioned the AI component. This “do everything” — is that downstream of, “Now we can use AI to program”? Or did the AI programming come on just in time to make this vision possible? DB: For many companies, I think like ours, back and forth, iterate, iterate — AI engineering acceleration, expanding maybe the definition of the product spec, AI engineering, expanding the definition of the product spec. But I do think companies around the world are now starting to take things that they thought would be a nine-month project, and thinking of it as a two-month project. How do we rethink how we architect, to make these nine-month projects two-month instead? Very good. David Baszucki, very interesting, very cool to see what you’re doing. DB: Great talking with you. Thank you again, Ben. This Daily Update Interview is also available as a podcast. To receive it in your podcast player, visit Stratechery . The Daily Update is intended for a single recipient, but occasional forwarding is totally fine! If you would like to order multiple subscriptions for your team with a group discount (minimum 5), please contact me directly. Thanks for being a supporter, and have a great day!

0 views
Martin Fowler 5 days ago

Tests as data: ensuring AI-generated code does what we want

Automated testing in the age of AI coding assistants is problematic: when AI agents write both production and test code, developers risk losing the assurance that automated tests protect against functional errors. Matteo Vaccari makes three claims: (1) when AI writes the code, developers become its customers; (2) therefore customer tests, not developer tests, become the primary contract between humans and AI; (3) moving that contract into test data rather than test code makes it easier to protect it from unexpected modifications by coding agents. All of this optimizes for human-readable tests that establish a contract between humans and AI. While in the past DSL parsers and custom test runners were expensive to write and maintain, now AI makes them cheap.

0 views