Skip to main content
    All AI News
    Amazon ScienceFriday, December 4, 2026 9 min read
    AI

    AWS Trainium4 delivers the full value of 4-bit AI, with almost nothing wasted

    AWS Trainium4 delivers 10x compute over Trainium3, with AI agents cutting chip-design cycles from months to days.

    Key takeaways
    • 01AWS Trainium4, due in the second half of 2027, surpasses its promised 6x compute gain over Trainium3, reaching 10x compute, 5x memory bandwidth, 2x memory capacity and 2x NeuronLink interconnect bandwidth.
    • 02An agentic optimization loop—running hundreds of parallel experiments with formal verification and EDA simulation—produced a 30% more energy-efficient compute circuit, enabling the upgrade.
    • 03The chip also scales to over 1,000 tightly connected chips and embeds hardware-native microscaled quantization, reducing software overhead.
    • 04**Watch:** Whether Trainium4 adoption shifts enterprise AI training workloads materially away from NVIDIA at scale.
    Koko brief

    AWS Trainium4 delivers 10x compute over Trainium3, with AI agents cutting chip-design cycles from months to days.

    AWS Trainium4, due in the second half of 2027, surpasses its promised 6x compute gain over Trainium3, reaching 10x compute, 5x memory bandwidth, 2x memory capacity and 2x NeuronLink interconnect bandwidth. An agentic optimization loop—running hundreds of parallel experiments with formal verification and EDA simulation—produced a 30% more energy-efficient compute circuit, enabling the upgrade. The chip also scales to over 1,000 tightly connected chips and embeds hardware-native microscaled quantization, reducing software overhead. **Watch:** Whether Trainium4 adoption shifts enterprise AI training workloads materially away from NVIDIA at scale.

    Watch: Whether Trainium4's 10x compute jump and hardware-native quantization give AWS a credible case to displace NVIDIA on frontier-model training contracts before rival custom silicon reaches comparable scale.

    In brief · from amazon.science

    This is a slightly expanded version of a keynote address that Amazon vice president and distinguished engineer Ron Diamant delivered at AWS re:Invent 2026. You’ve likely heard people say that work that used to take months now takes days, and we’re seeing it firsthand on the Trainium team. For instance, one of the most delicate tasks in chip design is tuning a compute circuit for energy efficiency. Finding the perfect balance between a chip’s processing speed and its power consumption is one of the hardest and most precise parts of chip engineering.

    Read the full article at amazon.science
    Show the full text · 9 min read

    This is a slightly expanded version of a keynote address that Amazon vice president and distinguished engineer Ron Diamant delivered at AWS re:Invent 2026. You’ve likely heard people say that work that used to take months now takes days, and we’re seeing it firsthand on the Trainium team. For instance, one of the most delicate tasks in chip design is tuning a compute circuit for energy efficiency. Finding the perfect balance between a chip’s processing speed and its power consumption is one of the hardest and most precise parts of chip engineering. You have to understand the arithmetic the circuit computes, as well as every transistor and how it’s wired. Every choice you make ripples through the others: save power in one place, and you sacrifice performance somewhere else. This kind of tuning used to take us months, but recently we did it in just under a week. AI agents ran hundreds of power optimization experiments in parallel. Formal verification rejected anything functionally incorrect, electronic-design-automation (EDA) tools simulated performance and power to select the best candidates, and every round built on what the last one learned. The result of this agentic optimization loop was a key Trainium circuit that became 30% more energy efficient! But how did the agents learn to optimize circuits in the first place? Nobody programmed them to do that. In fact, AI models aren't really programmed at all. A better analogy is that they're grown. Let's trace how a model comes to life and develops these capabilities — and how Trainium helps at every step. The Blueprint Training a frontier model takes months on hundreds of thousands of chips, and if it fails, there's no easy do-over. Before you start, you want to be confident it will turn out the way you expect. To get there, model builders climb a ladder: a series of smaller models, say one billion parameters, then seven billion, then 30 billion, each at a tiny fraction of the cost of training the full model. That's where we test hyperparameters and data configurations: the architecture, the learning rates, the numerical precision, even the data mix. Once we’ve climbed the ladder, we start the big run, which is called a pretraining run. Pretraining Pretraining is, at its core, beautifully simple. We feed the model long sequences of text and code, hide the next word, and ask it to guess. Each guess nudges the model a little closer to the right answer. Do that trillions of times, and those nudges add up to language use, knowledge, and reasoning. The idea is simple. It's the scale that's hard: trillions of predictions across hundreds of thousands of chips, running for months. And the compute used to train frontier models is growing more than fourfold per year. That's about a million-fold in just one decade! By comparison, Moore's law gave us only 15x over the same period. Bridging that gap requires innovation in every part of the system: the compute engines, the memory subsystem, the interconnect between chips, and even how numbers are represented. We’ve designed Trainium4 to advance all of those together. It’ll be available in the second half of next year, and today I want to give you a glimpse of what it has to offer. Last year we told you to expect 6x the compute performance of Trainium3. That would have been impressive enough, but our team crushed that goal. Relative to Trainium3, Trainium4 delivers 10x the compute, 5x the memory bandwidth, twice the memory capacity, and twice the bandwidth for the NeuronLink chip-to-chip interconnect. The energy-efficient circuit that I described earlier was one of the key innovations that helped us go from the 6x we promised to the 10x we’re delivering. Trainium4 also expands the scale-up domain to support over a 1,000 tightly connected chips in a single system, allowing you to efficiently train much larger models. And we’ve built redundancy into every component, so your training job keeps running day and night, uninterrupted. But these specs are only the beginning of the performance story. We also included dozens of architectural optimizations to help you squeeze every bit of performance from the hardware. Take microscaled quantization as an example. In this approach, you divide a range of values into groups and approximate all the values in each group with a single value. While many other chips spend compute cycles doing this in software, Trainium does it entirely in hardware, so you get more performance from every cycle. Post-training After months of pretraining, a model is like a fresh graduate. It has the textbook knowledge, but knowing isn't the same as doing. Post-training is where it develops practical skills, and today that’s mostly done with reinforcement learning. We give the model verifiable tasks, like a bug to fix or code to speed up. Running on an inference cluster, the model tries to solve each task many times. A verifier scores every attempt, and a training cluster uses those scores to update the model so that the good attempts become more likely. The updated model goes back to the inference cluster, and the loop runs millions of times. Here’s a concrete example — optimizing workloads on Trainium. The model tries different ways to make the code faster. We score each attempt by how fast it runs, with insights from Neuron Explorer — the industry-leading AI chip profiler that shows you a trace of exactly what ran on the hardware, down to every instruction, without slowing anything down. That way the model learns not just whether the code is faster, but also why. Over many rounds, the model learns to play a giant game of Tetris: look at the trace, rewrite the code to fill every gap, and pack the trace tighter, so the whole workload runs faster. So reinforcement learning is really a training cluster and an inference cluster running side by side. How many chips should each cluster get? The challenge is that the answer keeps moving. As training goes on, the model learns to reason longer, its responses grow, and inference needs more chips. That’s one of the reasons we built Trainium to run both training and inference efficiently. You don't have to guess how big each pool should be. The same chip does both, so you can shift capacity whenever the balance moves. Serving After post-training, the model is finally ready to serve. Here we care deeply about speed per token and cost per token. And different tasks want different things: summarizing your nightly e-mails favors the cheapest tokens possible, while a voice agent that thinks before it speaks wants maximum speed to avoid awkward pauses. It's common today to serve models with 4-bit weights: that’s a quarter as much data to move as with the bf16 floating-point standard, so tokens become cheaper and faster. But today's 4-bit formats deliver only about three bits of effective precision, which can hurt model quality. That gap comes from how precision is reduced: quantization. You can think of it like reducing the number of colors in an image. Fewer shades make the file smaller, but if you go too far the image will look noticeably worse. Let’s go deeper. This plot shows the distribution of weights in a trained model after a quick mixing step. Most of them cluster near the center, and only a few are at the tails. Four-bit data types can represent only 16 values, so 4-bit quantization divides the full range of values into 16 intervals and rounds all the values in each interval to a single representative value. For example, everything within this shaded area would be rounded to the same value: Rounding always loses some precision. We measure what's left as effective precision: how many of the four bits actually carry useful information, shown as a percentage. If our quantization intervals are evenly spaced, we spend as many bits representing the rare weights in the tails as the common weights in the middle. That leaves informational capacity on the table. To understand how we can get more from every bit, let’s loo

    Listen

    Koko Daily — the latest episode

    Friday, December 4 · about 12 min

    0:00-:--
    Speed

    Don't miss tomorrow's

    The Daily Pulse in your inbox each morning — sourced and linked.

    How often
    Keep going — across the app