Close Menu
Ztoog
    What's Hot
    Crypto

    Farcaster hype grows, Bluesky opens to the public and SEC’s Hester Peirce is open to new token proposals

    Mobile

    OnePlus 12 vs Google Pixel 8 Pro: you would want these tickets if this was an MMA fight!

    Mobile

    All our favorite new Quest and PSVR 2 games from the UploadVR Showcase 2023

    Important Pages:
    • About Us
    • Contact us
    • Privacy Policy
    • Terms & Conditions
    Facebook X (Twitter) Instagram Pinterest
    Facebook X (Twitter) Instagram Pinterest
    Ztoog
    • Home
    • The Future

      Any wall can be turned into a camera to see around corners

      JD Vance and President Trump’s Sons Hype Bitcoin at Las Vegas Conference

      AI may already be shrinking entry-level jobs in tech, new research suggests

      Today’s NYT Strands Hints, Answer and Help for May 26 #449

      LiberNovo Omni: The World’s First Dynamic Ergonomic Chair

    • Technology

      A Replit employee details a critical security flaw in web apps created using AI-powered app builder Lovable that exposes API keys and personal info of app users (Reed Albergotti/Semafor)

      Gemini in Google Drive can now help you skip watching that painfully long Zoom meeting

      Apple iPhone exports from China to the US fall 76% as India output surges

      Today’s NYT Wordle Hints, Answer and Help for May 26, #1437

      5 Skills Kids (and Adults) Need in an AI World – O’Reilly

    • Gadgets

      Future-proof your career by mastering AI skills for just $20

      8 Best Vegan Meal Delivery Services and Kits (2025), Tested and Reviewed

      Google Home is getting deeper Gemini integration and a new widget

      Google Announces AI Ultra Subscription Plan With Premium Features

      Google shows off Android XR-based glasses, announces Warby Parker team-up

    • Mobile

      Microsoft is done being subtle – this new tool screams “upgrade now”

      Wallpaper Wednesday: Android wallpapers 2025-05-28

      Google can make smart glasses accessible with Warby Parker, Gentle Monster deals

      vivo T4 Ultra specs leak

      Forget screens: more details emerge on the mysterious Jony Ive + OpenAI device

    • Science

      Analysts Say Trump Trade Wars Would Harm the Entire US Energy Sector, From Oil to Solar

      Do we have free will? Quantum experiments may soon reveal the answer

      Was Planet Nine exiled from the solar system as a baby?

      How farmers can help rescue water-loving birds

      A trip to the farm where loofahs grow on vines

    • AI

      Rationale engineering generates a compact new tool for gene therapy | Ztoog

      The AI Hype Index: College students are hooked on ChatGPT

      Learning how to predict rare kinds of failures | Ztoog

      Anthropic’s new hybrid AI model can work on tasks autonomously for hours at a time

      AI learns how vision and sound are connected, without human intervention | Ztoog

    • Crypto

      GameStop bought $500 million of bitcoin

      CoinW Teams Up with Superteam Europe to Conclude Solana Hackathon and Accelerate Web3 Innovation in Europe

      Ethereum Net Flows Turn Negative As Bulls Push For $3,500

      Bitcoin’s Power Compared To Nuclear Reactor By Brazilian Business Leader

      Senate advances GENIUS Act after cloture vote passes

    Ztoog
    Home » An open-source gymnasium for machine learning assisted computer architecture design – Google Research Blog
    AI

    An open-source gymnasium for machine learning assisted computer architecture design – Google Research Blog

    Facebook Twitter Pinterest WhatsApp
    An open-source gymnasium for machine learning assisted computer architecture design – Google Research Blog
    Share
    Facebook Twitter LinkedIn Pinterest WhatsApp

    Posted by Amir Yazdanbakhsh, Research Scientist, and Vijay Janapa Reddi, Visiting Researcher, Google Research

    Computer Architecture analysis has a protracted historical past of creating simulators and instruments to judge and form the design of computer methods. For instance, the SimpleScalar simulator was launched within the late Nineties and allowed researchers to discover numerous microarchitectural concepts. Computer architecture simulators and instruments, equivalent to gem5, DRAMSys, and plenty of extra have performed a big position in advancing computer architecture analysis. Since then, these shared sources and infrastructure have benefited business and academia and have enabled researchers to systematically construct on one another’s work, resulting in important advances within the area.

    Nonetheless, computer architecture analysis is evolving, with business and academia turning in direction of machine learning (ML) optimization to satisfy stringent domain-specific necessities, equivalent to ML for computer architecture, ML for TinyML acceleration, DNN accelerator datapath optimization, reminiscence controllers, energy consumption, safety, and privateness. Although prior work has demonstrated the advantages of ML in design optimization, the dearth of robust, reproducible baselines hinders truthful and goal comparability throughout completely different strategies and poses a number of challenges to their deployment. To guarantee regular progress, it’s crucial to grasp and sort out these challenges collectively.

    To alleviate these challenges, in “ArchGym: An Open-Source Gymnasium for Machine Learning Assisted Architecture Design”, accepted at ISCA 2023, we launched ArchGym, which incorporates quite a lot of computer architecture simulators and ML algorithms. Enabled by ArchGym, our outcomes point out that with a sufficiently massive variety of samples, any of a various assortment of ML algorithms are able to find the optimum set of architecture design parameters for every goal drawback; nobody answer is essentially higher than one other. These outcomes additional point out that deciding on the optimum hyperparameters for a given ML algorithm is crucial for discovering the optimum architecture design, however selecting them is non-trivial. We launch the code and dataset throughout a number of computer architecture simulations and ML algorithms.

    Challenges in ML-assisted architecture analysis

    ML-assisted architecture analysis poses a number of challenges, together with:

    1. For a particular ML-assisted computer architecture drawback (e.g., discovering an optimum answer for a DRAM controller) there isn’t any systematic option to determine optimum ML algorithms or hyperparameters (e.g., learning price, warm-up steps, and many others.). There is a wider vary of ML and heuristic strategies, from random stroll to reinforcement learning (RL), that may be employed for design house exploration (DSE). While these strategies have proven noticeable efficiency enchancment over their selection of baselines, it’s not evident whether or not the enhancements are due to the selection of optimization algorithms or hyperparameters.
      Thus, to make sure reproducibility and facilitate widespread adoption of ML-aided architecture DSE, it’s essential to stipulate a scientific benchmarking methodology.
    2. While computer architecture simulators have been the spine of architectural improvements, there’s an rising want to deal with the trade-offs between accuracy, pace, and price in architecture exploration. The accuracy and pace of efficiency estimation broadly varies from one simulator to a different, relying on the underlying modeling particulars (e.g., cycle-accurate vs. ML-based proxy fashions). While analytical or ML-based proxy fashions are nimble by advantage of discarding low-level particulars, they typically undergo from excessive prediction error. Also, resulting from business licensing, there might be strict limits on the variety of runs collected from a simulator. Overall, these constraints exhibit distinct efficiency vs. pattern effectivity trade-offs, affecting the selection of optimization algorithm for architecture exploration.
      It is difficult to delineate methods to systematically examine the effectiveness of varied ML algorithms below these constraints.
    3. Finally, the panorama of ML algorithms is quickly evolving and a few ML algorithms want knowledge to be helpful. Additionally, rendering the result of DSE into significant artifacts equivalent to datasets is important for drawing insights concerning the design house.
      In this quickly evolving ecosystem, it’s consequential to make sure methods to amortize the overhead of search algorithms for architecture exploration. It shouldn’t be obvious, nor systematically studied methods to leverage exploration knowledge whereas being agnostic to the underlying search algorithm.

    ArchGym design

    ArchGym addresses these challenges by offering a unified framework for evaluating completely different ML-based search algorithms pretty. It includes two essential parts: 1) the ArchGym atmosphere and a couple of) the ArchGym agent. The atmosphere is an encapsulation of the architecture price mannequin — which incorporates latency, throughput, space, vitality, and many others., to find out the computational price of operating the workload, given a set of architectural parameters — paired with the goal workload(s). The agent is an encapsulation of the ML algorithm used for the search and consists of hyperparameters and a guiding coverage. The hyperparameters are intrinsic to the algorithm for which the mannequin is to be optimized and might considerably affect efficiency. The coverage, however, determines how the agent selects a parameter iteratively to optimize the goal goal.

    Notably, ArchGym additionally features a standardized interface that connects these two parts, whereas additionally saving the exploration knowledge because the ArchGym Dataset. At its core, the interface entails three essential indicators: {hardware} state, {hardware} parameters, and metrics. These indicators are the naked minimal to determine a significant communication channel between the atmosphere and the agent. Using these indicators, the agent observes the state of the {hardware} and suggests a set of {hardware} parameters to iteratively optimize a (user-defined) reward. The reward is a perform of {hardware} efficiency metrics, equivalent to efficiency, vitality consumption, and many others. 

    ArchGym includes two essential parts: the ArchGym atmosphere and the ArchGym agent. The ArchGym atmosphere encapsulates the price mannequin and the agent is an abstraction of a coverage and hyperparameters. With a standardized interface that connects these two parts, ArchGym gives a unified framework for evaluating completely different ML-based search algorithms pretty whereas additionally saving the exploration knowledge because the ArchGym Dataset.

    ML algorithms could possibly be equally favorable to satisfy user-defined goal specs

    Using ArchGym, we empirically reveal that throughout completely different optimization aims and DSE issues, a minimum of one set of hyperparameters exists that ends in the identical {hardware} efficiency as different ML algorithms. A poorly chosen (random choice) hyperparameter for the ML algorithm or its baseline can result in a deceptive conclusion {that a} explicit household of ML algorithms is best than one other. We present that with adequate hyperparameter tuning, completely different search algorithms, even random stroll (RW), are capable of determine the absolute best reward. However, notice that discovering the proper set of hyperparameters might require exhaustive search and even luck to make it aggressive.

    With a adequate variety of samples, there exists a minimum of one set of hyperparameters that ends in the identical efficiency throughout a spread of search algorithms. Here the dashed line represents the utmost normalized reward. Cloud-1, cloud-2, stream, and random point out 4 completely different reminiscence traces for DRAMSys (DRAM subsystem design house exploration framework).

    Dataset development and high-fidelity proxy mannequin coaching

    Creating a unified interface utilizing ArchGym additionally allows the creation of datasets that can be utilized to design higher data-driven ML-based proxy architecture price fashions to enhance the pace of architecture simulation. To consider the advantages of datasets in constructing an ML mannequin to approximate architecture price, we leverage ArchGym’s capability to log the information from every run from DRAMSys to create 4 dataset variants, every with a unique variety of knowledge factors. For every variant, we create two classes: (a) Diverse Dataset, which represents the information collected from completely different brokers (ACO, GA, RW, and BO), and (b) ACO solely, which reveals the information collected completely from the ACO agent, each of that are launched together with ArchGym. We practice a proxy mannequin on every dataset utilizing random forest regression with the target to foretell the latency of designs for a DRAM simulator. Our outcomes present that:

    1. As we improve the dataset dimension, the typical normalized root imply squared error (RMSE) barely decreases.
    2. However, as we introduce range within the dataset (e.g., amassing knowledge from completely different brokers), we observe 9× to 42× decrease RMSE throughout completely different dataset sizes.

    Diverse dataset assortment throughout completely different brokers utilizing ArchGym interface.
    The affect of a various dataset and dataset dimension on the normalized RMSE.

    The want for a community-driven ecosystem for ML-assisted architecture analysis

    While, ArchGym is an preliminary effort in direction of creating an open-source ecosystem that (1) connects a broad vary of search algorithms to computer architecture simulators in an unified and easy-to-extend method, (2) facilitates analysis in ML-assisted computer architecture, and (3) types the scaffold to develop reproducible baselines, there are numerous open challenges that want community-wide help. Below we define a number of the open challenges in ML-assisted architecture design. Addressing these challenges requires a effectively coordinated effort and a neighborhood pushed ecosystem.

    Key challenges in ML-assisted architecture design.

    We name this ecosystem Architecture 2.0. We define the important thing challenges and a imaginative and prescient for constructing an inclusive ecosystem of interdisciplinary researchers to sort out the long-standing open issues in making use of ML for computer architecture analysis. If you have an interest in serving to form this ecosystem, please fill out the curiosity survey.

    Conclusion

    ArchGym is an open supply gymnasium for ML architecture DSE and allows an standardized interface that may be readily prolonged to swimsuit completely different use instances. Additionally, ArchGym allows truthful and reproducible comparability between completely different ML algorithms and helps to determine stronger baselines for computer architecture analysis issues.

    We invite the computer architecture neighborhood in addition to the ML neighborhood to actively take part within the growth of ArchGym. We consider that the creation of a gymnasium-type atmosphere for computer architecture analysis could be a big step ahead within the area and supply a platform for researchers to make use of ML to speed up analysis and result in new and modern designs.

    Acknowledgements

    This blogpost is predicated on joint work with a number of co-authors at Google and Harvard University. We want to acknowledge and spotlight Srivatsan Krishnan (Harvard) who contributed a number of concepts to this venture in collaboration with Shvetank Prakash (Harvard), Jason Jabbour (Harvard), Ikechukwu Uchendu (Harvard), Susobhan Ghosh (Harvard), Behzad Boroujerdian (Harvard), Daniel Richins (Harvard), Devashree Tripathy (Harvard), and Thierry Thambe (Harvard).  In addition, we might additionally wish to thank James Laudon, Douglas Eck, Cliff Young, and Aleksandra Faust for their help, suggestions, and motivation for this work. We would additionally wish to thank John Guilyard for the animated determine used on this submit. Amir Yazdanbakhsh is now a Research Scientist at Google DeepMind and Vijay Janapa Reddi is an Associate Professor at Harvard.

    Share. Facebook Twitter Pinterest LinkedIn WhatsApp

    Related Posts

    AI

    Rationale engineering generates a compact new tool for gene therapy | Ztoog

    AI

    The AI Hype Index: College students are hooked on ChatGPT

    AI

    Learning how to predict rare kinds of failures | Ztoog

    AI

    Anthropic’s new hybrid AI model can work on tasks autonomously for hours at a time

    AI

    AI learns how vision and sound are connected, without human intervention | Ztoog

    AI

    How AI is introducing errors into courtrooms

    AI

    With AI, researchers predict the location of virtually any protein within a human cell | Ztoog

    AI

    Google DeepMind’s new AI agent cracks real-world problems better than humans can

    Leave A Reply Cancel Reply

    Follow Us
    • Facebook
    • Twitter
    • Pinterest
    • Instagram
    Top Posts
    Technology

    iPhone sideloading still absent from iOS 17 beta 1

    (*1*)Dhruv Bhutani / Android AuthorityTL;DR iOS 17 beta 1 doesn’t have something associated to iPhone…

    Crypto

    Tether had ‘record-breaking’ net profits in Q4, Polygon Labs does layoffs and hackers steal $112M of XRP

    Welcome to Ztoog Crypto, previously referred to as Chain Reaction. To get a roundup of…

    Science

    The DOJ sues SpaceX for discriminating against refugees

    The US Department of Justice filed a lawsuit against SpaceX on Thursday for allegedly refusing…

    Mobile

    ASUS Zenfone 11 Ultra vs. Google Pixel 8 Pro

    (*11*) So much to like  There’s quite a bit to like concerning the ASUS Zenfone…

    Science

    Super-heavy oxygen hints at serious problem with the laws of physics

    Oxygen-28 has 8 protons and 20 neutronsCarlos Clarivan/Science Photo Library The heaviest model of oxygen…

    Our Picks
    Science

    Hyperelastic gel is one of the stretchiest materials known to science

    AI

    Nomic AI Introduces Nomic Embed: Text Embedding Model with an 8192 Context-Length that Outperforms OpenAI Ada-002 and Text-Embedding-3-Small on both Short and Long Context Tasks

    Gadgets

    Comparison: Pixel 8 vs iPhone 15

    Categories
    • AI (1,493)
    • Crypto (1,753)
    • Gadgets (1,805)
    • Mobile (1,850)
    • Science (1,866)
    • Technology (1,802)
    • The Future (1,648)
    Most Popular
    Science

    Meet the man who single-handedly tracks every spaceflight mission ever

    Mobile

    Google’s AI correctly predicts floods up to seven days early

    Mobile

    Release date, price, and specs rumors

    Ztoog
    Facebook X (Twitter) Instagram Pinterest
    • Home
    • About Us
    • Contact us
    • Privacy Policy
    • Terms & Conditions
    © 2025 Ztoog.

    Type above and press Enter to search. Press Esc to cancel.