台灣 AI x AEC 情報BY FBI SICENTER
AI × AEC · CURATED INSIGHT

Exa Optimizes Web Indexing Embeddings on AWS AI Hardware Using Agentic Workflows

Frontier AI models · AI assistants · Enterprise AI

Search engine Exa optimized its embedding pipeline on AWS Inferentia2 and Trainium2 chips, achieving a 47% throughput and cost improvement per million documents embedded using an agentic development workflow.

AI 生成概念示意圖,非實際產品或事件照片。
AI-generated concept illustration; not an event photograph.

Web search provider Exa optimized its asynchronous embedding infrastructure for AWS Neuron hardware, including Inferentia2 and Trainium2. Facing a corpus re-indexing task of 30 billion documents to upgrade its document model, Exa used the Neuron Kernel Interface (NKI) alongside automated agent workflows to address memory spills and reduce calculation overhead. The progressive tuning delivered an overall 47% improvement in performance and cost per one million documents embedded compared to its initial baseline.

Key takeaways

  • Exa faced a temporary doubling of inference load while re-embedding 30 billion priority documents during a model upgrade.
  • Engineers and agent workflows introduced weight layout adjustments, autocast precision tuning, and custom NKI kernels including a fused SwiGLU MLP.
  • Tailoring the attention kernel to exact model head shapes eliminated padding FLOPS and reduced memory transfers between High Bandwidth Memory and tensor engines.
  • The optimization process resulted in a 47% performance and cost improvement per one million documents embedded, evaluated against a 0.999 cosine similarity threshold.

Source:AWS Machine Learning Read the original ↗

Prepared, checked and automatically published by AI; not individually reviewed by a human.

← All articles