CERN Project Sees Orders-of-Magnitude Speedup with AI Approach

By Rob Farber

August 14, 2018

An award-winning effort at CERN has demonstrated potential to significantly change how the physics based modeling and simulation communities view machine learning. The CERN team demonstrated that AI-based models have the potential to act as orders-of-magnitude-faster replacements for computationally expensive tasks in simulation, while maintaining a remarkable level of accuracy.

Dr. Federico Carminati (Project Coordinator, CERN) points out, “This work demonstrates the potential of ‘black box’ machine-learning models in physics-based simulations.”

A poster describing this work was awarded the prize for best poster in the category ‘programming models and systems software’ at ISC’18. This recognizes the importance of the work, which was carried out by Dr. Federico Carminati, Gul Rukh Khattak, and Dr. Sofia Vallecorsa at CERN, as well as Jean-Roch Vlimant at Caltech. The work is part of a CERN openlab project in collaboration with Intel Corporation, who partially funded the endeavor through the Intel Parallel Computing Center (IPCC) program.

Widespread potential impact for simulation

The world-wide impact for High-Energy Physics (HEP) scientists could be substantial, as outlined by the CERN poster, which points out that ”Currently, most of the LHC’s worldwide distributed CPU budget — in the range of half a million CPU-years equivalent — is dedicated to simulation.” Speeding up the most time-consuming simulation tasks (e.g., high-granularity calorimeters, which are components in a detector that measure the energy of particles[i]) will help scientists better utilize these allocations. The following are comparative results obtained by the CERN team in the time to create an electron shower, once the AI model has been fully trained:

Figure 1: Comparative runtime to create an electron shower of the machine-learning method (e.g. 3d GAN) vs. the full Monte-Carlo simulation (Image courtesy CERN)

Dr. Sofia Vallecorsa points out that the CPU based runtime is important as nearly all of the Geant user base runs on CPUs. Vallecorsa is a CERN physicist who was also highlighted in the CERN article Coding has no gender.

As scientists consider future CERN experiments, Vallecorsa observes, “Given future plans to upgrade CERN’s Large Hadron Collider, dramatically increasing particle collision rates, frameworks like this have the potential to play an important role in ensuring data rates remain manageable.”

This kind of approach could help to realize similar orders-of-magnitude-faster speedups for computationally expensive simulation tasks used in a range of fields.

Vallecorsa explains that the data distributions coming from the trained machine-learning model are remarkably close to the real and simulated data.

A big change in thinking

The team demonstrated that “energy showers” detected by calorimeters can be interpreted as a 3D image[ii]. The process is illustrated in the following figure. The team adopted this approach from the machine-learning community as deep-learning convolutional neural networks are heavily utilized when working with images.

Figure 2: Schematic from the poster showing how a single particle creates an electron shower that can be viewed as an image (Courtesy CERN)

Use of GANS

The CERN team decided to train Generative Adversarial Networks (GANs) on the calorimeter images. GANs are particularly suited to act as a replacement for the expensive Monte Carlo methods used in HEP simulations as they generate realistic samples for complicated probability distributions, allow multi-modal output, can do interpolation, and are robust against missing data.

The basic idea is easy to understand: train a Generator (G) to create the calorimeter image with sufficient accuracy to trick a discriminator (D) which tries to identify artificial samples from the generator compared to real samples from the Monte Carlo simulation. G reproduces the data distribution starting from random noise. D estimates the probability that a sample came from the training data rather than G. The training procedure for G is to maximize the probability of D making a mistake. A high-level illustration of the GAN is provided below.

Figure 3: High-level view of training a GAN (image from https://medium.com/@devnag/generative-adversearial-networks-in-50-lines-of-code-pytorch-e81b79659e3f)

Even though the description is simple, 3D GANs are unfortunately not “out-of-the-box” networks, which meant the training of the model was non-trivial.

Results

After detailed validation of the trained GAN, there was “remarkable” agreement between the images from the generator and the Monte-Carlo images. This type of approach could potentially be beneficial in other fields where Monte Carlo simulation is used.

More specifically, the CERN team compared high level quantities (e.g., energy shower shapes) and detailed calorimeter response (e.g., single cell response) between the trained generator and the standard Monte Carlo. The CERN team describes the agreement, which is within a few percent, as “remarkable” in their poster.

Visually this agreement can be seen by how closely the blue (real data) and red lines (GAN generated data) overlap in the following results reported in the poster.

Figure 4: Transverse shower shape for 100-500 GeV pions. Red is the GAN data while blue represents the real data. (Image courtesy CERN)

 

Figure 5: Longitudinal shower shape for 400 GeV electron (Image courtesy CERN)

 

Figure 6: Longitudinal shower shape for 100 GeV electron (Image courtesy CERN)

Vallecorsa summarizes these results by stating, “The agreement between the images generated by our model and the Monte Carlo images has been beyond our expectations. This demonstrates that this is a promising avenue for further investigation.”

CERN openlab

The CERN team plans to test performance using FPGAs and other integrated accelerator technologies. FPGAs are known to deliver lower latency and higher inferencing performance than both CPUs and GPUs[iii]. The CERN group also intends to test several deep learning techniques in the hope of achieving a yet greater speedup with respect to Monte Carlo techniques, and ensuring this approach covers a range of detector types, which CERN believes is key to future projects.

This research is being carried out through a CERN openlab project. CERN openlab is a public-private partnership through which CERN collaborates with leading ICT companies to drive innovation in cutting-edge ICT solutions for its research community. Intel has been a partner in CERN openlab since it was first established in 2001. Dr. Alberto Di Meglio (Head of CERN openlab) observes, “At CERN, we’re always interested in exploring upcoming technologies that can help researchers to make new ground-breaking discoveries about our universe. We support this through joint R&D projects with our collaborators from industry, and by making cutting-edge technologies available for evaluation by researchers at CERN.”

Summary

The HPC modeling and simulation community now has a promising path forward to exploit the benefits of machine learning. The key, as demonstrated by CERN, is that the machine-learning-generated distribution needs to be indistinguishable from other high-fidelity methods in physics-based simulations.

The motivation is straightforward: (1) orders of magnitude faster performance, (2) efficient CPU implementations, and (3) this approach could enable the use of other new technologies such as FPGAs that may significantly improve performance.

Additional References

Rob Farber is a global technology consultant and author with an extensive background in HPC and in machine learning technology that he applies at national labs and commercial organizations on a variety of problems including challenges in high energy physics. Rob can be reached at [email protected]

[i] http://cds.cern.ch/record/2254048#

[ii] ibid

[iii] https://medium.com/syncedreview/deep-learning-in-real-time-inference-acceleration-and-continuous-training-17dac9438b0b

Subscribe to HPCwire's Weekly Update!

Be the most informed person in the room! Stay ahead of the tech trends with industy updates delivered to you every week!

First All-Petaflops Top500 List Debuts; US Maintains Performance Lead

June 17, 2019

With the kick-off of the International Supercomputing Conference (ISC) in Frankfurt this morning, the 53rd Top500 list made its debut, and this one's for petafloppers only. The entry point for the new list is 1.022 petaf Read more…

By Tiffany Trader

Nvidia Embraces Arm, Declares Intent to Accelerate All CPU Architectures

June 17, 2019

As the Top500 list was being announced at ISC in Frankfurt today with an upgraded petascale Arm supercomputer in the top third of the list, Nvidia announced its intention to make Arm a full citizen in the processing arch Read more…

By Tiffany Trader

Final Countdown to ISC19: What to See

June 13, 2019

If you're attending the International Supercomputing Conference, taking place in Frankfurt next week (June 16-20), you're either packing, in transit, or are already ensconced at the venue. In any case, you're busy, so he Read more…

By Tiffany Trader

HPE Extreme Performance Solutions

HPE and Intel® Omni-Path Architecture: How to Power a Cloud

Learn how HPE and Intel® Omni-Path Architecture provide critical infrastructure for leading Nordic HPC provider’s HPCFLOW cloud service.

For decades, HPE has been at the forefront of high-performance computing, and we’ve powered some of the fastest and most robust supercomputers in the world. Read more…

IBM Accelerated Insights

Transforming Dark Data for Insights and Discoveries in Healthcare

Healthcare in the USA produces an enormous amount of patient-related data each year. It is likely that the average person will generate over one million gigabytes of health-related data across his or her lifetime, equivalent to 300 million books. Read more…

The US Global Weather Forecast System Just Got a Major Upgrade

June 13, 2019

The United States’ Global Forecast System (GFS) has received a major upgrade to its modeling capabilities. The new dynamical core that has been added to the GFS – its first new dynamical core in nearly 40 years – w Read more…

By Oliver Peckham

First All-Petaflops Top500 List Debuts; US Maintains Performance Lead

June 17, 2019

With the kick-off of the International Supercomputing Conference (ISC) in Frankfurt this morning, the 53rd Top500 list made its debut, and this one's for petafl Read more…

By Tiffany Trader

Nvidia Embraces Arm, Declares Intent to Accelerate All CPU Architectures

June 17, 2019

As the Top500 list was being announced at ISC in Frankfurt today with an upgraded petascale Arm supercomputer in the top third of the list, Nvidia announced its Read more…

By Tiffany Trader

Final Countdown to ISC19: What to See

June 13, 2019

If you're attending the International Supercomputing Conference, taking place in Frankfurt next week (June 16-20), you're either packing, in transit, or are alr Read more…

By Tiffany Trader

The US Global Weather Forecast System Just Got a Major Upgrade

June 13, 2019

The United States’ Global Forecast System (GFS) has received a major upgrade to its modeling capabilities. The new dynamical core that has been added to the G Read more…

By Oliver Peckham

TSMC and Samsung Moving to 5nm; Whither Moore’s Law?

June 12, 2019

With reports that Taiwan Semiconductor Manufacturing Co. (TMSC) and Samsung are moving quickly to 5nm manufacturing, it’s a good time to again ponder whither goes the venerable Moore’s law. Shrinking feature size has of course been the primary hallmark of achieving Moore’s law... Read more…

By John Russell

The Spaceborne Computer Returns to Earth, and HPE Eyes an AI-Protected Spaceborne 2

June 10, 2019

After 615 days on the International Space Station (ISS), HPE’s Spaceborne Computer has returned to Earth. The computer touched down onboard the same SpaceX Dr Read more…

By Oliver Peckham

Building the Team: South African Style

June 9, 2019

We’re only eight days away from the start of the ISC 2019 Student Cluster Competition. Fourteen student teams from eleven countries will travel to Frankfurt, Read more…

By Dan Olds

Scientists Solve Cosmic Mystery Through Black Hole Simulations

June 6, 2019

An international team of researchers has finally solved a long-standing cosmic mystery – and to do it, they needed to produce the most detailed black hole simulation ever created. Read more…

By Oliver Peckham

High Performance (Potato) Chips

May 5, 2006

In this article, we focus on how Procter & Gamble is using high performance computing to create some common, everyday supermarket products. Tom Lange, a 27-year veteran of the company, tells us how P&G models products, processes and production systems for the betterment of consumer package goods. Read more…

By Michael Feldman

Cray, AMD to Extend DOE’s Exascale Frontier

May 7, 2019

Cray and AMD are coming back to Oak Ridge National Laboratory to partner on the world’s largest and most expensive supercomputer. The Department of Energy’s Read more…

By Tiffany Trader

Graphene Surprises Again, This Time for Quantum Computing

May 8, 2019

Graphene is fascinating stuff with promise for use in a seeming endless number of applications. This month researchers from the University of Vienna and Institu Read more…

By John Russell

Why Nvidia Bought Mellanox: ‘Future Datacenters Will Be…Like High Performance Computers’

March 14, 2019

“Future datacenters of all kinds will be built like high performance computers,” said Nvidia CEO Jensen Huang during a phone briefing on Monday after Nvidia revealed scooping up the high performance networking company Mellanox for $6.9 billion. Read more…

By Tiffany Trader

AMD Verifies Its Largest 7nm Chip Design in Ten Hours

June 5, 2019

AMD announced last week that its engineers had successfully executed the first physical verification of its largest 7nm chip design – in just ten hours. The AMD Radeon Instinct Vega20 – which boasts 13.2 billion transistors – was tested using a TSMC-certified Calibre nmDRC software platform from Mentor. Read more…

By Oliver Peckham

It’s Official: Aurora on Track to Be First US Exascale Computer in 2021

March 18, 2019

The U.S. Department of Energy along with Intel and Cray confirmed today that an Intel/Cray supercomputer, "Aurora," capable of sustained performance of one exaf Read more…

By Tiffany Trader

Deep Learning Competitors Stalk Nvidia

May 14, 2019

There is no shortage of processing architectures emerging to accelerate deep learning workloads, with two more options emerging this week to challenge GPU leader Nvidia. First, Intel researchers claimed a new deep learning record for image classification on the ResNet-50 convolutional neural network. Separately, Israeli AI chip startup Hailo.ai... Read more…

By George Leopold

The Case Against ‘The Case Against Quantum Computing’

January 9, 2019

It’s not easy to be a physicist. Richard Feynman (basically the Jimi Hendrix of physicists) once said: “The first principle is that you must not fool yourse Read more…

By Ben Criger

Leading Solution Providers

SC 18 Virtual Booth Video Tour

Advania @ SC18 AMD @ SC18
ASRock Rack @ SC18
DDN Storage @ SC18
HPE @ SC18
IBM @ SC18
Lenovo @ SC18 Mellanox Technologies @ SC18
NVIDIA @ SC18
One Stop Systems @ SC18
Oracle @ SC18 Panasas @ SC18
Supermicro @ SC18 SUSE @ SC18 TYAN @ SC18
Verne Global @ SC18

TSMC and Samsung Moving to 5nm; Whither Moore’s Law?

June 12, 2019

With reports that Taiwan Semiconductor Manufacturing Co. (TMSC) and Samsung are moving quickly to 5nm manufacturing, it’s a good time to again ponder whither goes the venerable Moore’s law. Shrinking feature size has of course been the primary hallmark of achieving Moore’s law... Read more…

By John Russell

Intel Launches Cascade Lake Xeons with Up to 56 Cores

April 2, 2019

At Intel's Data-Centric Innovation Day in San Francisco (April 2), the company unveiled its second-generation Xeon Scalable (Cascade Lake) family and debuted it Read more…

By Tiffany Trader

Cray – and the Cray Brand – to Be Positioned at Tip of HPE’s HPC Spear

May 22, 2019

More so than with most acquisitions of this kind, HPE’s purchase of Cray for $1.3 billion, announced last week, seems to have elements of that overused, often Read more…

By Doug Black and Tiffany Trader

Arm Unveils Neoverse N1 Platform with up to 128-Cores

February 20, 2019

Following on its Neoverse roadmap announcement last October, Arm today revealed its next-gen Neoverse microarchitecture with compute and throughput-optimized si Read more…

By Tiffany Trader

Announcing four new HPC capabilities in Google Cloud Platform

April 15, 2019

When you’re running compute-bound or memory-bound applications for high performance computing or large, data-dependent machine learning training workloads on Read more…

By Wyatt Gorman, HPC Specialist, Google Cloud; Brad Calder, VP of Engineering, Google Cloud; Bart Sano, VP of Platforms, Google Cloud

Nvidia Claims 6000x Speed-Up for Stock Trading Backtest Benchmark

May 13, 2019

A stock trading backtesting algorithm used by hedge funds to simulate trading variants has received a massive, GPU-based performance boost, according to Nvidia, Read more…

By Doug Black

In Wake of Nvidia-Mellanox: Xilinx to Acquire Solarflare

April 25, 2019

With echoes of Nvidia’s recent acquisition of Mellanox, FPGA maker Xilinx has announced a definitive agreement to acquire Solarflare Communications, provider Read more…

By Doug Black

HPE to Acquire Cray for $1.3B

May 17, 2019

Venerable supercomputer pioneer Cray Inc. will be acquired by Hewlett Packard Enterprise for $1.3 billion under a definitive agreement announced this morning. T Read more…

By Doug Black & Tiffany Trader

  • arrow
  • Click Here for More Headlines
  • arrow
Do NOT follow this link or you will be banned from the site!
Share This