A Multi-agent AI System for Deep Learning Model Migration from TensorFlow to JAX
Stoyan Nikolov, Bernhard Konrad, Moritz Gronbach, Niket Kumar, Ann Yan, Varun Singh, Yaning Liang, Parthasarathy Ranganathan

TL;DR
This paper presents an AI multi-agent system that automates the migration of deep learning models from TensorFlow to JAX, significantly reducing manual effort and time.
Contribution
The paper introduces a novel AI-based multi-agent framework that automates complex deep learning model migrations across frameworks with high reliability.
Findings
Achieved 6.4x to 8x speedup in model migration tasks.
Developed AI-driven quality metrics and judges for code evaluation.
Demonstrated system effectiveness in real-world hyperscaler environments.
Abstract
The rapid development of AI-based products and their underlying models has led to constant innovation in deep learning frameworks. Google has been pioneering machine learning usage across dozens of products. Maintaining the multitude of model source codes in different ML frameworks and versions is a significant challenge. So far the maintenance and migration work was done largely manually by human experts. We describe an AI-based multi-agent system that we built to support automatic migration of TensorFlow-based deep learning models into JAX-based ones. We make three main contributions: First, we show how an AI planner that uses a mix of static analysis with AI instructions can create migration plans for very complex code components that are reliably followed by the combination of an orchestrator and coders, using AI-generated example-based playbooks. Second, we define quality metrics…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
