Reproduce “Design Docs Are All You Need: An AI-native Machine-Learning Performance Tool” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Samuel Kushnir, Kimia Noorbakhsh, Kavya Sreedhar, Liqun Cheng, Ming Liu, Parthasarathy Ranganathan, Mohammad Alizadeh, Fred Kjolstad and 1 more
SMART makes natural-language design documents the source of truth for a machine-learning performance-modeling library, regenerating code through agents assigned to a dependency-ordered document graph. Worked examples, symbolic cost models, and validation support the build. The authors report round-off-precision agreement with hand-audited references, including DeepSeek-V3 serving on a TPU pod slice, but provide no metric or comparison with patching.
Key insights
- By treating natural-language design documents as the definitive source, the system effectively eliminates incremental patching debt through full, clean-slate code regeneration on demand.
- Structured design documents with specific examples and reconciliation points mitigate AI agent context-window limitations, leading to reliable generation of complex, accurate code.
- A minimal and stable symbolic Intermediate Representation allows for flexible performance modeling and analysis across evolving ML architectures and hardware.
- The agentic orchestration, which assigns specific LLMs to single documents, enhances generation accuracy and provides targeted feedback for human iteration on documentation.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.