machine learning aided discovery of a new nif design · train a deep learning model on a physics...

22
LLNL-PRES-###### This work was performed under the auspices of the U.S. Department of Energy by Lawrence Livermore National Laboratory under contract DE-AC52-07NA27344. Lawrence Livermore National Security, LLC Machine Learning Aided Discovery of a New NIF Design DSI/ UC Data Science Workshop August 7, 2018 Luc Peterson [email protected]

Upload: others

Post on 03-Oct-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Machine Learning Aided Discovery of a New NIF Design · Train a deep learning model on a physics problem — Develop new physics insight Shareable data for the machine learning community

LLNL-PRES-######This work was performed under the auspices of the U.S. Department of Energy by Lawrence Livermore National Laboratory under contract DE-AC52-07NA27344. Lawrence Livermore National Security, LLC

Machine Learning Aided Discovery of a New NIF Design

DSI/ UC Data Science Workshop

August 7, 2018

Luc [email protected]

Page 2: Machine Learning Aided Discovery of a New NIF Design · Train a deep learning model on a physics problem — Develop new physics insight Shareable data for the machine learning community

LLNL-PRES-XXXXXX2

Brian Spears

John Field

Scott Brandon— UQPipeline Team

Ryan Nora

Steve Langer

Joe Koning— HYDRA Team

Dave Munro

Jim Gaffney

Michael Kruse

Michael Buchoff

Jim Hammer

Paul Springer

ICF HDC Team— D. Ho & L. Berzak Hopkins

Luc Peterson

Kelli Humbird (TAMU)

The Team

Page 3: Machine Learning Aided Discovery of a New NIF Design · Train a deep learning model on a physics problem — Develop new physics insight Shareable data for the machine learning community

LLNL-PRES-XXXXXX3

Suggested by an AI system (Random Forest) trained on the largest ICF simulation dataset ever created— Trinity Open Science Phase I (LANL)

Optimal implosion is an ovoid, not sphere, challenging known physics

Presence confirmed by new simulations not in the original dataset – digging into “why”

We are building tech to enable these kinds of discoveries

We have discovered a new kind of robust Inertial Confinement Fusion implosion

Machine learning on a large ensemble of simulations has pointed to a new class of robust implosions

16.6 MJ

Density at Bang TimeJ. L. Peterson, et al., Physics of Plasmas, 24(3):032702 (2017)

Page 4: Machine Learning Aided Discovery of a New NIF Design · Train a deep learning model on a physics problem — Develop new physics insight Shareable data for the machine learning community

LLNL-PRES-XXXXXX4

Fall 2015: Can we make NIF Designs more resilient?

We want this

D. Clark

Page 5: Machine Learning Aided Discovery of a New NIF Design · Train a deep learning model on a physics problem — Develop new physics insight Shareable data for the machine learning community

LLNL-PRES-XXXXXX5

Fall 2015: Can we make NIF Designs more resilient?

But can get this

D. ClarkCan we withstand these kinds of imperfections?

Page 6: Machine Learning Aided Discovery of a New NIF Design · Train a deep learning model on a physics problem — Develop new physics insight Shareable data for the machine learning community

LLNL-PRES-XXXXXX6

Machine Learning said yes! But the results were unexpected

Machine learning helped uncover an unexpected, robust NIF ICF capsule design

— Enabled by large-scale HPC ensemble simulation— Post-facto learning on processed results— Computer architecture matters— Machine learning brings you back to the physics

Robust aspherical

design

Density map of imploded shell

J. L. Peterson, et al., Physics of Plasmas, 24(3):032702 (2017) Trinity @LANL

Presenter
Presentation Notes
Current ICF work – we are industry leaders
Page 7: Machine Learning Aided Discovery of a New NIF Design · Train a deep learning model on a physics problem — Develop new physics insight Shareable data for the machine learning community

LLNL-PRES-XXXXXX7

How did we do it?

1. Turned Trinity into a server farm with in-transit analysis

Data Points

UQ PipelineJob Control

Analysis

HYDRA Nodes

Analysis Nodes

Queue Servers

Temporary Storage

Long-Term Disk Storage

Data MotionCommunication

Raw Data

ProcessedDataRaw

Data

Page 8: Machine Learning Aided Discovery of a New NIF Design · Train a deep learning model on a physics problem — Develop new physics insight Shareable data for the machine learning community

LLNL-PRES-XXXXXX8

How did we do it?

1. Turned Trinity into a server farm with in-transit analysis

2. Ran a bunch of simulations of NIF implosions (30x more than any previous study)

Data Points

P1 P2 P4

9 ways to mess up a NIF implosion (parameters)

Successfully completed 60k simulations

39 Million CPU Hours

5 PB Raw Data, 100 TB Processed & Zipped

Page 9: Machine Learning Aided Discovery of a New NIF Design · Train a deep learning model on a physics problem — Develop new physics insight Shareable data for the machine learning community

LLNL-PRES-XXXXXX9

How did we do it?

1. Turned Trinity into a server farm with in-transit analysis

2. Ran a bunch of simulations of NIF implosions (30x more than any previous study)

3. **Trained a ML model to fill in the gaps

** Summer Student Kelli Humbird (now LGSP)

Data Points

Surrogate

Page 10: Machine Learning Aided Discovery of a New NIF Design · Train a deep learning model on a physics problem — Develop new physics insight Shareable data for the machine learning community

LLNL-PRES-XXXXXX10

(%)

SVM

GP

kNN

MARS RF

Random Forest surrogates, of all those tested, are the most accurate models for this dataset

Tested multiple machine learning algorithms— Gaussian process, multivariate adaptive

regression splines, nearest neighbor regression, support vector machines, random forests

Dimensionality, volume of data, complexity of response surface (cliffs, peaks) make accurate interpolation challenging

Random forest regressor most accurately models this ICF data

Mean error for yield models as a function of training data set size

Slide: K. Humbird

Presenter
Presentation Notes
Lots of types of surrogates, so we can look at how various surrogates perform for our main QOI- yield. End slide by saying RF does best- why?
Page 11: Machine Learning Aided Discovery of a New NIF Design · Train a deep learning model on a physics problem — Develop new physics insight Shareable data for the machine learning community

LLNL-PRES-XXXXXX11

(%)

SVM

GP

kNN

MARS RF

Random Forest surrogates, of all those tested, are the most accurate models for this dataset

Tested multiple machine learning algorithms— Gaussian process, multivariate adaptive

regression splines, nearest neighbor regression, support vector machines, random forests

Dimensionality, volume of data, complexity of response surface (cliffs, peaks) make accurate interpolation challenging

Random forest regressor most accurately models this ICF data

Mean error for yield models as a function of training data set size

Random forest yield model has 8% mean error when trained on 80% of the data

Slide: K. Humbird

See K. Humbird’s Talk This Afternoon on Turning RFs into DNNs

Page 12: Machine Learning Aided Discovery of a New NIF Design · Train a deep learning model on a physics problem — Develop new physics insight Shareable data for the machine learning community

LLNL-PRES-XXXXXX12

How did we do it?

1. Turned Trinity into a server farm with in-transit analysis

2. Ran a bunch of simulations of NIF implosions (30x more than any previous study)

3. **Trained a ML model to fill in the gaps

4. **Optimized the ML model for “robustness”

** Summer Student Kelli Humbird (now LGSP)

Robust to perturbations

Not robust to perturbations

Contours of Yield

Parameter 1Pa

ram

eter

2

Page 13: Machine Learning Aided Discovery of a New NIF Design · Train a deep learning model on a physics problem — Develop new physics insight Shareable data for the machine learning community

LLNL-PRES-XXXXXX13

How did we do it?

1. Turned Trinity into a server farm with in-transit analysis

2. Ran a bunch of simulations of NIF implosions (30x more than any previous study)

3. **Trained a ML model to fill in the gaps

4. **Optimized the ML model for “robustness”

5. Ran new simulations at the predicted sweet spot & dug into the physics

** Summer Student Kelli Humbird (now LGSP)

Page 14: Machine Learning Aided Discovery of a New NIF Design · Train a deep learning model on a physics problem — Develop new physics insight Shareable data for the machine learning community

The Trinity Ovoid changed my view on how machine learning could help my do my job [HPC-enabled science].

Page 15: Machine Learning Aided Discovery of a New NIF Design · Train a deep learning model on a physics problem — Develop new physics insight Shareable data for the machine learning community

Before

Page 16: Machine Learning Aided Discovery of a New NIF Design · Train a deep learning model on a physics problem — Develop new physics insight Shareable data for the machine learning community

LLNL-PRES-74544416

Trinity changed my view of how ML can help science

Before

After

Scientist

Machine Learning

Hard Problems

Page 17: Machine Learning Aided Discovery of a New NIF Design · Train a deep learning model on a physics problem — Develop new physics insight Shareable data for the machine learning community

MerlinMachine Learning for HPC Workflows

Page 18: Machine Learning Aided Discovery of a New NIF Design · Train a deep learning model on a physics problem — Develop new physics insight Shareable data for the machine learning community

MerlinLBANN flux spindle celerysina UQPipeline DJINN ToNIC

conduit

Page 19: Machine Learning Aided Discovery of a New NIF Design · Train a deep learning model on a physics problem — Develop new physics insight Shareable data for the machine learning community

MerlinLBANN flux spindle celerysina UQPipeline DJINN ToNIC

conduit

Kelli Humbirdthis afternoon

Jim Gaffneythis afternoon

Brian Van Essentomorrow afternoon

Page 20: Machine Learning Aided Discovery of a New NIF Design · Train a deep learning model on a physics problem — Develop new physics insight Shareable data for the machine learning community

LLNL-PRES-XXXXXX20

We’re aiming to make a “splash” for early Sierra access

Generate 1 billion semi-analytic ICF implosion simulations— Oversample a high-dimensional space— Train a deep learning model on a physics problem— Develop new physics insight

Shareable data for the machine learning community— Beyond MNIST and ImageNET— Several billion images, plus scalars, time histories

Challenging and meaningful problems unique to the Laboratory

An exciting opportunity to establish Lab leadership in cognitive computing and data science

1 Billion Sims!

Page 21: Machine Learning Aided Discovery of a New NIF Design · Train a deep learning model on a physics problem — Develop new physics insight Shareable data for the machine learning community

LLNL-PRES-XXXXXX21

Suggested by an AI system (Random Forest) trained on the largest ICF simulation dataset ever created— Trinity Open Science Phase I (LANL)

Optimal implosion is an ovoid, not sphere, challenging known physics

Presence confirmed by new simulations not in the original dataset – digging into “why”

We are building tech to enable these kinds of discoveries

We have discovered a new kind of robust Inertial Confinement Fusion implosion

Machine learning on a large ensemble of simulations has pointed to a new class of robust implosions

16.6 MJ

Density at Bang TimeJ. L. Peterson, et al., Physics of Plasmas, 24(3):032702 (2017)

Page 22: Machine Learning Aided Discovery of a New NIF Design · Train a deep learning model on a physics problem — Develop new physics insight Shareable data for the machine learning community

This document was prepared as an account of work sponsored by an agency of the United States government. Neither the United States government nor Lawrence Livermore National Security, LLC, nor any of their employees makes any warranty, expressed or implied, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness of any information, apparatus, product, or process disclosed, or represents that its use would not infringe privately owned rights. Reference herein to any specific commercial product, process, or service by trade name, trademark, manufacturer, or otherwise does not necessarily constitute or imply its endorsement, recommendation, or favoring by the United States government or Lawrence Livermore National Security, LLC. The views and opinions of authors expressed herein do not necessarily state or reflect those of the United States government or Lawrence Livermore National Security, LLC, and shall not be used for advertising or product endorsement purposes.

Thank You!