Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Meta Engineering 6 min read Announcement easyNovice

Efficient Optimization With Ax, an Open Platform for Adaptive Experimentation

Ax 1.0 is an open-source (MIT) adaptive experimentation platform that uses Bayesian optimization to tune expensive-to-evaluate systems with many interacting parameters. By default it fits a Gaussian process surrogate via BoTorch and picks the next configuration with an expected-improvement acquisition function, supporting multi-objective and constrained optimization over potentially hundreds of parameters. It also offers analyses such as Pareto frontiers and sensitivity analysis. At Meta, thousands of developers use it for hyperparameter and architecture search, recommender tuning, compiler and infrastructure flags, AR/VR hardware design, and even low-carbon concrete mixes.

Assumes: Hyperparameter tuning basics

Related posts

  • Autoscaling Autoresearch: Give your agents elastic GPUs on Modal

    Modal mediumAdept

    A Claude Code agent equipped with Modal Skills ran OpenAI's Parameter Golf challenge overnight, executing 113 experiments over 238 GPU-hours and dropping bits-per-byte from 1.42 to 1.12. The agent changed its compute footprint as the work required. It used single-GPU Sandboxes for smoke tests, about 40 parallel single-H100 runs for a hyperparameter sweep, and five concurrent 8×H100 jobs for validation. It dropped back to one or two runs while debugging a CPU-bound GPTQ quantization step, which it eventually fixed by moving quantization to GPU. Compared with an 8-GPU workstation and a 40-GPU always-on cluster, elastic provisioning finished the core runs about 5x faster than the workstation and avoided paying for idle capacity during exploration and debugging.

  • KernelEvolve: How Meta’s Ranking Engineer Agent Optimizes AI Infrastructure

    Meta Engineering hardMaster

    KernelEvolve is Meta's agentic kernel-authoring system that treats kernel optimization as a search problem instead of one-shot LLM code generation. Monte Carlo tree search and evolutionary strategies explore hundreds of candidate kernels across Triton, CuTe DSL, FlyDSL, CUDA, HIP and MTIA C++. Nodes use configurable memory operators that draw on parent, sibling or no history. A retrieval-augmented, self-updating knowledge base supplies hardware documentation and distilled optimization skills, and an evaluation harness (TritonBench, PyTorch Profiler, NCU, Proton, MTIA Insight) feeds diagnoses of memory-bound, compute-bound or occupancy limits back to the LLM. Results include over 60% inference throughput gain for the Andromeda ads model on NVIDIA GPUs and over 25% training throughput gain on MTIA, achieved in hours rather than weeks of expert tuning.

  • Using AI to make lower-carbon, faster-curing concrete

    Meta Engineering easyNovice

    Meta, Amrize and UIUC used multi-objective Bayesian optimization (built on BoTorch and Ax) to design concrete mixes that trade off early and 28-day compressive strength, curing speed, slump and a carbon-footprint proxy. The model predicts full strength curves for candidate mixes of cement, slag, fly ash, aggregates and water-to-binder ratios. Each lab-tested batch of suggestions feeds back into the next iteration. Within two iterations at Amrize's plant, the AI-designed formulas beat standard low-carbon industry mixes on strength, speed and GWP, and one was poured in a slab at Meta's Rosemount, MN data center. The code and data are open-sourced.

  • Autoresearch isn’t just for training models

    Shopify Engineering easyNovice

    Generalizing Karpathy's Autoresearch beyond model training, Shopify built pi-autoresearch, an extension for the Pi agent harness that runs an agent in an endless loop against a single measurable metric: establish a baseline, form a hypothesis, test it, keep improvements and discard crashes or regressions. Applied to the Polaris build, it cut build time 65% by skipping a redundant full component pipeline before Storybook and limiting a TypeScript transform to the 105 of 580 files that needed it, though humans still had to discard hacks like deleting files. Tobi Lütke added multi-metric support and auto-commits, then ran it on Liquid for 53% faster parse+render and 61% fewer allocations. The open-sourced tool has been used internally to speed up unit tests, React mounting, Playwright tests and pnpm.

  • Gaia2 and ARE: Empowering the community to study agents

    Hugging Face mediumAdept

    Gaia2 is a successor to the GAIA agent benchmark that moves from read-only retrieval to read-and-write tasks in a simulated smartphone environment. It has 1,000 human-created scenarios split into execution, search, ambiguity, adaptability, time, agent-to-agent collaboration and noise tolerance, and it runs on Meta's open ARE framework, which supports timed events, API failures, MCP tools and exportable JSON traces. In a uniform ReAct setup, GPT-5 (high reasoning) scored best overall and Kimi K2 was the best open model. Execution and search are nearly solved, while ambiguity, adaptability, noise and especially time-sensitive tasks remain hard, so results are also reported against cost (LLM calls and output tokens) as a Pareto frontier.

The quest for software engineering knowledge.

Look:
Layout: