Close Menu
Ztoog
    What's Hot
    Mobile

    Google’s superb Pixel 7 Pro is on super clearance at Amazon

    Technology

    Cisco unveils new AI tools to revamp Webex experience, collaboration

    Science

    Smart (and Wireless) Clothing, One Step Closer

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

      How I Turn Unstructured PDFs into Revenue-Ready Spreadsheets

      Is it the best tool for 2025?

      The clocks that helped define time from London’s Royal Observatory

      Summer Movies Are Here, and So Are the New Popcorn Buckets

      India-Pak conflict: Pak appoints ISI chief, appointment comes in backdrop of the Pahalgam attack

    • Technology

      Ensure Hard Work Is Recognized With These 3 Steps

      Cicada map 2025: Where will Brood XIV cicadas emerge this spring?

      Is Duolingo the face of an AI jobs crisis?

      The US DOD transfers its AI-based Open Price Exploration for National Security program to nonprofit Critical Minerals Forum to boost Western supply deals (Ernest Scheyder/Reuters)

      The more Google kills Fitbit, the more I want a Fitbit Sense 3

    • Gadgets

      Maono Caster G1 Neo & PD200X Review: Budget Streaming Gear for Aspiring Creators

      Apple plans to split iPhone 18 launch into two phases in 2026

      Upgrade your desk to Starfleet status with this $95 USB-C hub

      37 Best Graduation Gift Ideas (2025): For College Grads

      Backblaze responds to claims of “sham accounting,” customer backups at risk

    • Mobile

      Samsung Galaxy S25 Edge promo materials leak

      What are people doing with those free T-Mobile lines? Way more than you’d expect

      Samsung doesn’t want budget Galaxy phones to use exclusive AI features

      COROS’s charging adapter is a neat solution to the smartwatch charging cable problem

      Fortnite said to return to the US iOS App Store next week following court verdict

    • Science

      Failed Soviet probe will soon crash to Earth – and we don’t know where

      Trump administration cuts off all future federal funding to Harvard

      Does kissing spread gluten? New research offers a clue.

      Why Balcony Solar Panels Haven’t Taken Off in the US

      ‘Dark photon’ theory of light aims to tear up a century of physics

    • AI

      How to build a better AI benchmark

      Q&A: A roadmap for revolutionizing health care through data-driven innovation | Ztoog

      This data set helps researchers spot harmful stereotypes in LLMs

      Making AI models more trustworthy for high-stakes settings | Ztoog

      The AI Hype Index: AI agent cyberattacks, racing robots, and musical models

    • Crypto

      ‘The Big Short’ Coming For Bitcoin? Why BTC Will Clear $110,000

      Bitcoin Holds Above $95K Despite Weak Blockchain Activity — Analytics Firm Explains Why

      eToro eyes US IPO launch as early as next week amid easing concerns over Trump’s tariffs

      Cardano ‘Looks Dope,’ Analyst Predicts Big Move Soon

      Speak at Ztoog Disrupt 2025: Applications now open

    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 an extended historical past of growing simulators and instruments to guage and form the design of computer programs. For instance, the SimpleScalar simulator was launched within the late Nineteen Nineties and allowed researchers to discover varied microarchitectural concepts. Computer architecture simulators and instruments, reminiscent of gem5, DRAMSys, and lots of extra have performed a big position in advancing computer architecture analysis. Since then, these shared sources and infrastructure have benefited trade and academia and have enabled researchers to systematically construct on one another’s work, resulting in important advances within the subject.

    Nonetheless, computer architecture analysis is evolving, with trade and academia turning in direction of machine learning (ML) optimization to satisfy stringent domain-specific necessities, reminiscent of 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 shortage 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 know 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 giant 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 resolution is essentially higher than one other. These outcomes additional point out that deciding on the optimum hyperparameters for a given ML algorithm is important 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 resolution for a DRAM controller) there isn’t any systematic technique to determine optimum ML algorithms or hyperparameters (e.g., learning charge, warm-up steps, and so forth.). There is a wider vary of ML and heuristic strategies, from random stroll to reinforcement learning (RL), that may be employed for design area exploration (DSE). While these strategies have proven noticeable efficiency enchancment over their selection of baselines, it isn’t 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 mandatory 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 value 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 often undergo from excessive prediction error. Also, as a result of industrial licensing, there will 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 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 information to be helpful. Additionally, rendering the result of DSE into significant artifacts reminiscent of datasets is essential for drawing insights concerning the design area.
      In this quickly evolving ecosystem, it’s consequential to make sure amortize the overhead of search algorithms for architecture exploration. It isn’t obvious, nor systematically studied leverage exploration information 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 contains two most important elements: 1) the ArchGym atmosphere and a pair of) the ArchGym agent. The atmosphere is an encapsulation of the architecture price mannequin — which incorporates latency, throughput, space, power, and so forth., to find out the computational price of working 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, alternatively, determines how the agent selects a parameter iteratively to optimize the goal goal.

    Notably, ArchGym additionally features a standardized interface that connects these two elements, whereas additionally saving the exploration information because the ArchGym Dataset. At its core, the interface entails three most important alerts: {hardware} state, {hardware} parameters, and metrics. These alerts are the naked minimal to determine a significant communication channel between the atmosphere and the agent. Using these alerts, 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, reminiscent of efficiency, power consumption, and so forth. 

    ArchGym contains two most important elements: the ArchGym atmosphere and the ArchGym agent. The ArchGym atmosphere encapsulates the fee mannequin and the agent is an abstraction of a coverage and hyperparameters. With a standardized interface that connects these two elements, ArchGym offers a unified framework for evaluating completely different ML-based search algorithms pretty whereas additionally saving the exploration information because the ArchGym Dataset.

    ML algorithms may very well be equally favorable to satisfy user-defined goal specs

    Using ArchGym, we empirically show 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} specific household of ML algorithms is best than one other. We present that with enough hyperparameter tuning, completely different search algorithms, even random stroll (RW), are capable of determine the very best reward. However, word that discovering the best set of hyperparameters might require exhaustive search and even luck to make it aggressive.

    With a enough variety of samples, there exists a minimum of one set of hyperparameters that ends in the identical efficiency throughout a variety 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 area exploration framework).

    Dataset building 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 capacity to log the information from every run from DRAMSys to create 4 dataset variants, every with a special variety of information 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 exhibits the information collected completely from the ACO agent, each of that are launched together with ArchGym. We prepare 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 measurement, the common normalized root imply squared error (RMSE) barely decreases.
    2. However, as we introduce range within the dataset (e.g., gathering information 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 impression of a various dataset and dataset measurement 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 plenty of 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 properly coordinated effort and a group 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 go well with 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 group in addition to the ML group to actively take part within the improvement of ArchGym. We imagine that the creation of a gymnasium-type atmosphere for computer architecture analysis can be a big step ahead within the subject and supply a platform for researchers to make use of ML to speed up analysis and result in new and progressive designs.

    Acknowledgements

    This blogpost relies 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’d additionally prefer to thank James Laudon, Douglas Eck, Cliff Young, and Aleksandra Faust for their help, suggestions, and motivation for this work. We would additionally prefer to thank John Guilyard for the animated determine used on this put up. 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

    How to build a better AI benchmark

    AI

    Q&A: A roadmap for revolutionizing health care through data-driven innovation | Ztoog

    AI

    This data set helps researchers spot harmful stereotypes in LLMs

    AI

    Making AI models more trustworthy for high-stakes settings | Ztoog

    AI

    The AI Hype Index: AI agent cyberattacks, racing robots, and musical models

    AI

    Novel method detects microbial contamination in cell cultures | Ztoog

    AI

    Seeing AI as a collaborator, not a creator

    AI

    “Periodic table of machine learning” could fuel AI discovery | Ztoog

    Leave A Reply Cancel Reply

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

    How to watch Xbox Direct

    The first main livestream from Microsoft Xbox takes place immediately and we predict a complete…

    AI

    An AI challenge only humans can solve | Ztoog

    The Dark Ages weren’t completely darkish. Advances in agriculture and constructing expertise elevated Medieval wealth…

    Science

    Big Pharma fought drug pricing reform with record $7.5M dark money donation

    In August, the Department of Health and Human Services introduced 10 medication chosen for the…

    Technology

    Does Colossal Biosciences’ dire wolf creation justify its $10B+ valuation?

    On Monday, the “de-extinction” startup Colossal Biosciences introduced its most formidable outcomes thus far: the…

    Crypto

    Lugano City Breaks New Ground, Accepts Bitcoin And USDT For Taxes

    The Swiss metropolis of Lugano has taken an enormous step into the monetary future by…

    Our Picks
    Mobile

    Honor is pondering flip foldables, but won’t release one until it has something that stands out

    Mobile

    Wallpaper Wednesday: Android wallpapers 2023-09-27

    Science

    How to Help and Donate to Wildfire Victims in Hawaii

    Categories
    • AI (1,482)
    • Crypto (1,744)
    • Gadgets (1,796)
    • Mobile (1,839)
    • Science (1,853)
    • Technology (1,789)
    • The Future (1,635)
    Most Popular
    AI

    A faster, better way to prevent an AI chatbot from giving toxic responses | Ztoog

    AI

    Job titles of the future: AI Prompt Engineer

    Technology

    Apple’s next generation CarPlay allows auto manufacturers to license the OS

    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.