What happened
AWS’s announcement describes Exa’s web index as a system that aggregates knowledge from across the web, along with private and synthetic sources, and serves it for semantic search. Exa uses multi-tower models to embed web documents and queries into a shared vector space; an in-house vector database underpins the index. The company says embedding unit economics matter at a scale of tens or hundreds of billions of documents, where small per-document savings compound.
The work began during a backfill. Exa selected 30 billion high-priority documents for re-embedding after moving to a new document model. Running the live pipeline and the re-embedding pipeline in parallel temporarily doubled embedding load, creating a reason to revisit hardware choices. The initial Inferentia2 implementation used data parallelism and FP16. The performance measurements AWS reports for Inferentia2 refer to an inf2.xlarge instance with one chip and two NeuronCores; Exa says its workload runs on one NeuronCore and packs Kubernetes pods onto larger instances without leaving cores idle. The same approach runs on a Trainium2 NeuronCore and scales through data parallelism.
Exa describes a progression from a naive compile to roughly 1.5 times the initial throughput. It aligned weight layout with model scheduling to avoid unnecessary transposes and enabled autocast, allowing lower-precision matrix multiplication. The outputs passed a correctness gate of 0.999 cosine similarity against the reference model. Exa then used prebuilt Neuron Kernel Interface (NKI) kernels, including a drop-in attention kernel. Profiling showed memory spill and reload from high-bandwidth memory, so engineers used a drop-in MLP kernel to investigate and then wrote a custom, weight-stationary fused SwiGLU MLP kernel to eliminate those stalls.
The remaining performance gap pointed to contention between cores and a workload that did not fully saturate the Tensor Engine. Exa rewrote attention for the exact shapes in its model to avoid padded computation and combined operations into fewer matrix multiplications. AWS’s account puts the final improvement at 47% in both performance and cost per million documents embedded, relative to the initial baseline. For agent-assisted development, Exa used Flyte workflows to compile a Neuron executable, check a forward pass against a baseline dataset, profile a pass, and run a 30-minute saturation benchmark on real hardware. Lightweight models handled compiler-parameter grid searches; reasoning agents explored bottlenecks; stronger code generators wrote custom kernels. Exa says it optimized Inferentia2 in AWS’s US West (Oregon) Region and schedules compute across Regions and instance types from one Kubernetes control plane.
What the archive adds
This is a new event, not a restatement of New Runtime’s earlier note on Exa’s search ranking, published 2026-10-22. That note covered Exa’s position on a search benchmark; this case is about embedding cost and throughput on AWS accelerators.
Trend signal
This does not yet fit a pattern New Runtime tracks. The case gives a concrete optimization result and an agent-assisted workflow, but it does not establish a broader shift in agent economics, architectures, or operating models.
Why it matters
For teams embedding large corpora, the important detail is that throughput alone was not the acceptance criterion. Exa combined a numeric similarity threshold with profiling and a 30-minute saturation test, so optimization candidates had to preserve model behavior and perform on actual hardware. That offers a practical structure for delegating work to agents without treating generated kernels as self-validating.
The result also shows the limit of generic optimization: Exa attributes part of its gains to tailoring attention to its model’s exact shapes and reducing unnecessary operations and memory traffic. Those techniques require workload-specific profiling and engineering, not just a different accelerator. The reported 47% improvement is therefore a useful benchmark for Exa’s stated baseline, not an expected gain for other teams.
Limits and uncertainty
AWS’s announcement reports Exa’s own measurements, not an independently reproduced benchmark. It does not provide the absolute documents-per-second rate, dollar cost per million documents, model size, full hardware configuration, or the workload and baseline details needed to reproduce the comparison. The 47% figure combines performance and cost improvement against Exa’s initial baseline, but the announcement does not break out the separate contribution of each optimization. Results may differ across model shapes, regions, instance availability, and utilization levels.
Skill to build now
If you are testing agent-generated kernels, define the correctness gate before asking agents to optimize: Exa used 0.999 cosine similarity against a canonical reference. Then make every candidate run the same profiling and sustained hardware benchmark; Exa’s workflow used a 30-minute saturation test. This week, apply that sequence to one representative workload and reject candidates that fail either gate.
Reader takeaway
The reusable idea is a bounded optimization loop: give agents measurable tasks, require a correctness pass, and evaluate performance on the target accelerator under sustained load. Exa’s 47% gain shows what its workload achieved, while the validation harness is the part another team can adapt without assuming the same hardware or result.