ArchGym: An Open-Source Gymnasium for Machine Learning Assisted Architecture Design
Not on the map. Why?
Abstract (arXiv)
Machine learning is a prevalent approach to tame the complexity of design space exploration for domain-specific architectures. Using ML for design space exploration poses challenges. First, it's not straightforward to identify the suitable algorithm from an increasing pool of ML methods. Second, assessing the trade-offs between performance and sample efficiency across these methods is inconclusive. Finally, lack of a holistic framework for fair, reproducible, and objective comparison across these methods hinders progress of adopting ML-aided architecture design space exploration and impedes creating repeatable artifacts. To mitigate these challenges, we introduce ArchGym, an open-source gym and easy-to-extend framework that connects diverse search algorithms to architecture simulators. To demonstrate utility, we evaluate ArchGym across multiple vanilla and domain-specific search algorithms in designing custom memory controller, deep neural network accelerators, and custom SoC for AR/VR workloads, encompassing over 21K experiments. Results suggest that with unlimited samples, ML algorithms are equally favorable to meet user-defined target specification if hyperparameters are tuned; no solution is necessarily better than another (e.g., reinforcement learning vs. Bayesian methods). We coin the term hyperparameter lottery to describe the chance for a search algorithm to find an optimal design provided meticulously selected hyperparameters. The ease of data collection and aggregation in ArchGym facilitates research in ML-aided architecture design space exploration. As a case study, we show this advantage by developing a proxy cost model with an RMSE of 0.61% that offers a 2,000-fold reduction in simulation time. Code and data for ArchGym is available at https://bit.ly/ArchGym.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 43 of its 115 references that are in the map. First posted on arXiv 15 Jun 2023.
Builds on
43 of 115 references.
References · 43
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2017Proximal Policy Optimization Algorithmscited by 15,215
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
- 2018Soft Actor-Critic: Off-Policy Maximum Entropy Deep Reinforcement Learning with a Stochastic Actorcited by 4,885
- 2015Continuous control with deep reinforcement learningcited by 3,407
- 2013Playing Atari with Deep Reinforcement Learningcited by 3,274
- 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,385
- 2022Do As I Can, Not As I Say: Grounding Language in Robotic Affordancescited by 2,348
- 2020Offline Reinforcement Learning: Tutorial, Review, and Perspectives on Open Problemscited by 1,920
- 2017In-Datacenter Performance Analysis of a Tensor Processing Unitcited by 618
- 2023TPU v4: An Optically Reconfigurable Supercomputer for Machine Learning with Hardware Support for Embeddingscited by 202
31 more
- 2020On Hyperparameter Optimization of Machine Learning Algorithms: Theory and Practicecited by 182
- 2018Sample-Efficient Reinforcement Learning with Stochastic Ensemble Value Expansioncited by 168
- 2022Compute Trends Across Three Eras of Machine Learningcited by 163
- 2020Acme: A Research Framework for Distributed Reinforcement Learningcited by 146
- 2020GCN-RL Circuit Designer: Transferable Transistor Sizing with Graph Neural Networks and Reinforcement Learningcited by 89
- 2021HW-NAS-Bench:Hardware-Aware Neural Architecture Search Benchmarkcited by 84
- 2018NVIDIA Tensor Core Programmability, Performance & Precisioncited by 79
- 2018Ithemal: Accurate, Portable and Fast Basic Block Throughput Estimation using Deep Neural Networkscited by 43
- 2021CompilerGym: Robust, Performant Compiler Optimization Environments for AI Researchcited by 41
- 2021An Evaluation of Edge TPU Accelerators for Convolutional Neural Networkscited by 39
- 2020Random Walks: A Review of Algorithms and Applicationscited by 38
- 2019Hyp-RL : Hyperparameter Optimization by Reinforcement Learningcited by 36
- 2020ConfuciuX: Autonomous Hardware Resource Assignment for DNN Accelerators using Reinforcement Learningcited by 35
- 2021Bayesian Optimization with High-Dimensional Outputscited by 32
- 2021RLDS: an Ecosystem to Generate, Share and Use Datasets in Reinforcement Learningcited by 31
- 2021Data-Driven Offline Optimization For Architecting Hardware Acceleratorscited by 29
- 2018Learning Memory Access Patternscited by 28
- 2021Mind Mappings: Enabling Efficient Algorithm-Accelerator Mapping Space Searchcited by 24
- 2021ReAgent: Point Cloud Registration using Imitation and Reinforcement Learningcited by 23
- 2021A Full-Stack Search Technique for Domain Optimized Deep Learning Acceleratorscited by 19
- 2022PrefixRL: Optimization of Parallel Prefix Circuits using Deep Reinforcement Learningcited by 18
- 2018Learning to Design Circuitscited by 17
- 2018ReLeQ: A Reinforcement Learning Approach for Deep Quantization of Neural Networkscited by 14
- 2020The gem5 Simulator: Version 20.0+cited by 14
- 2021UNIT: Unifying Tensorized Instruction Compilationcited by 10
- 2020Learned Hardware/Software Co-Design of Neural Acceleratorscited by 9
- 2022GRANITE: A Graph Neural Network Model for Basic Block Throughput Estimationcited by 9
- 2019DeepSwarm: Optimising Convolutional Neural Networks using Swarm Intelligencecited by 6
- 2021AIRCHITECT: Learning Custom Architecture Design and Mapping Spacecited by 4
- 2020Automated Design Space Exploration for optimised Deployment of DNN on Arm Cortex-A CPUscited by 3
- 2019Optimizing Routerless Network-on-Chip Designs: An Innovative Learning-Based Frameworkcited by 2
Built on by
Citing papers per year: 2025: 2; 2026: 4.
6 papers.
- 2026Computer Architecture's AlphaZero Moment: Automated Discovery in an Encircled Worldcited by 5
- 2025CORE: Constraint-Aware One-Step Reinforcement Learning for Simulation-Guided Neural Network Accelerator Designcited by 1
- 2025Multi-Agent Reinforcement Learning for Sample-Efficient Deep Neural Network Mappingcited by 0
- 2026From Passive Reuse to Active Reasoning: Grounding Large Language Models for Neuro-Symbolic Experience Replaycited by 0
- 2026AgentDSE: Reasoning-Augmented Architectural Design Space Explorationcited by 0
- 2026PerfReasoning: How Well Do LLMs Reason on Hardware Performance?cited by 0
- 2026PerfReasoning: How Well Do LLMs Reason on Hardware Performance?3 Sep 2026
- 2026AgentDSE: Reasoning-Augmented Architectural Design Space Exploration20 Jun 2026
- 2026From Passive Reuse to Active Reasoning: Grounding Large Language Models for Neuro-Symbolic Experience Replay10 May 2026
- 2026Computer Architecture's AlphaZero Moment: Automated Discovery in an Encircled World31 Mar 2026
- 2025Multi-Agent Reinforcement Learning for Sample-Efficient Deep Neural Network Mapping22 Jul 2025
- 2025CORE: Constraint-Aware One-Step Reinforcement Learning for Simulation-Guided Neural Network Accelerator Design4 Jun 2025