32
GPU-ACCELERATED DEEP LEARNING FRAMEWORK FOR CYBER-ENABLED MANUFACTURING ADITYA BALU SAMBIT GHADAI SOUMIK SARKAR ADARSH KRISHNAMURTHY

GPU-ACCELERATED DEEP LEARNING FRAMEWORK FOR CYBER …€¦ · DEEP LEARNING FRAMEWORK FOR CYBER-ENABLED MANUFACTURING ADITYA BALU SAMBIT GHADAI SOUMIK SARKAR ADARSH KRISHNAMURTHY

  • Upload
    others

  • View
    5

  • Download
    0

Embed Size (px)

Citation preview

Page 1: GPU-ACCELERATED DEEP LEARNING FRAMEWORK FOR CYBER …€¦ · DEEP LEARNING FRAMEWORK FOR CYBER-ENABLED MANUFACTURING ADITYA BALU SAMBIT GHADAI SOUMIK SARKAR ADARSH KRISHNAMURTHY

GPU-ACCELERATED

DEEP LEARNING

FRAMEWORK FOR

CYBER-ENABLED

MANUFACTURING

ADITYA BALU

SAMBIT GHADAI

SOUMIK SARKAR

ADARSH KRISHNAMURTHY

Page 2: GPU-ACCELERATED DEEP LEARNING FRAMEWORK FOR CYBER …€¦ · DEEP LEARNING FRAMEWORK FOR CYBER-ENABLED MANUFACTURING ADITYA BALU SAMBIT GHADAI SOUMIK SARKAR ADARSH KRISHNAMURTHY

Design for Manufacturing

Outline

Volumetric Representations for

CAD Models

Deep Learning based Design for

ManufacturingExplainable Deep

Learning

May 15, 2017 2

Page 3: GPU-ACCELERATED DEEP LEARNING FRAMEWORK FOR CYBER …€¦ · DEEP LEARNING FRAMEWORK FOR CYBER-ENABLED MANUFACTURING ADITYA BALU SAMBIT GHADAI SOUMIK SARKAR ADARSH KRISHNAMURTHY

Design

Manufacturing

INFLUENCE OVER PRODUCT COST

0

10

20

30

40

50

60

70

80

90

100

Perc

enta

ge

TimeDesign Production

Reducing Product Cost

• Design has a large influence on final product cost

• DFM helps identify production issues early

May 15, 2017 3

Source: David Stienstra (Rose-Hulman)

Design freedom to make change

Cost of change

Design knowledge

DFM

Page 4: GPU-ACCELERATED DEEP LEARNING FRAMEWORK FOR CYBER …€¦ · DEEP LEARNING FRAMEWORK FOR CYBER-ENABLED MANUFACTURING ADITYA BALU SAMBIT GHADAI SOUMIK SARKAR ADARSH KRISHNAMURTHY

Challenges

• Traditional DFM method involves rule based analysis

• Depends on the experience of the engineers

• Several rules for different processes• Example ISO/ASTM 52910:2017(E)

Standard Guidelines for Design for Additive Manufacturing

May 15, 2017 4

Design

ManufacturingRedesign

Page 5: GPU-ACCELERATED DEEP LEARNING FRAMEWORK FOR CYBER …€¦ · DEEP LEARNING FRAMEWORK FOR CYBER-ENABLED MANUFACTURING ADITYA BALU SAMBIT GHADAI SOUMIK SARKAR ADARSH KRISHNAMURTHY

Artificial Intelligence for Design for Manufacturing

• Use deep learning to learn non-manufacturable features in a CAD model• Learn from examples of manufacturable

and non-manufacturable models

• Advantages• No explicit hand-crafting of rules

• Learn complicated rules that are difficult to codify

May 15, 2017 5

Page 6: GPU-ACCELERATED DEEP LEARNING FRAMEWORK FOR CYBER …€¦ · DEEP LEARNING FRAMEWORK FOR CYBER-ENABLED MANUFACTURING ADITYA BALU SAMBIT GHADAI SOUMIK SARKAR ADARSH KRISHNAMURTHY

Feasibility Demonstration – Drilling Holes

• Common manufacturing operations

• Fewer set of design rules• Can manually create ground-truth data

• Complex design rules• Depth to diameter ratio

• Blind vs. through holes

• Proximity of holes to object boundaries

May 15, 2017 6

Page 7: GPU-ACCELERATED DEEP LEARNING FRAMEWORK FOR CYBER …€¦ · DEEP LEARNING FRAMEWORK FOR CYBER-ENABLED MANUFACTURING ADITYA BALU SAMBIT GHADAI SOUMIK SARKAR ADARSH KRISHNAMURTHY

Boundary Representation (B-Rep) CAD Models

• De-facto representation for CAD models

• Can be easily tessellated into triangles for rendering

• Difficult to interpret volumetric information• Size of a feature

• Internal location of a feature

May 15, 2017 7

Page 8: GPU-ACCELERATED DEEP LEARNING FRAMEWORK FOR CYBER …€¦ · DEEP LEARNING FRAMEWORK FOR CYBER-ENABLED MANUFACTURING ADITYA BALU SAMBIT GHADAI SOUMIK SARKAR ADARSH KRISHNAMURTHY

Voxel Representation

• Binary occupancy information• Augmented with extra geometry

information

• Can be used as direct input to a convolutional neural network

• Require a fast method to voxelize a large number of CAD models

May 15, 2017 8

Page 9: GPU-ACCELERATED DEEP LEARNING FRAMEWORK FOR CYBER …€¦ · DEEP LEARNING FRAMEWORK FOR CYBER-ENABLED MANUFACTURING ADITYA BALU SAMBIT GHADAI SOUMIK SARKAR ADARSH KRISHNAMURTHY

Design for Manufacturing

Outline

Volumetric Representations for

CAD Models

Deep Learning based Design for

ManufacturingExplainable Deep

Learning

May 15, 2017 9

Page 10: GPU-ACCELERATED DEEP LEARNING FRAMEWORK FOR CYBER …€¦ · DEEP LEARNING FRAMEWORK FOR CYBER-ENABLED MANUFACTURING ADITYA BALU SAMBIT GHADAI SOUMIK SARKAR ADARSH KRISHNAMURTHY

Volumetric Voxelization

• Overlay a regular voxel grid on the object

• Test point membership of the voxel bounding-box center points, classify as in or out

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

May 15, 2017 10

Page 11: GPU-ACCELERATED DEEP LEARNING FRAMEWORK FOR CYBER …€¦ · DEEP LEARNING FRAMEWORK FOR CYBER-ENABLED MANUFACTURING ADITYA BALU SAMBIT GHADAI SOUMIK SARKAR ADARSH KRISHNAMURTHY

Point Membership Classification (PMC) Using GPU Slicing

• Use standard PMC using odd ray intersection test

• Slice the object perpendicular to an arbitrary axis

• Render the sliced object and count the number of pixels

• Extend to 3D; Each pixel corresponds to a grid point in a 2D slice

May 15, 2017 11

View Direction

Pixels

Page 12: GPU-ACCELERATED DEEP LEARNING FRAMEWORK FOR CYBER …€¦ · DEEP LEARNING FRAMEWORK FOR CYBER-ENABLED MANUFACTURING ADITYA BALU SAMBIT GHADAI SOUMIK SARKAR ADARSH KRISHNAMURTHY

Design for Manufacturing

Outline

Volumetric Representations for

CAD Models

Deep Learning based Design for

ManufacturingExplainable Deep

Learning

May 15, 2017 12

Page 13: GPU-ACCELERATED DEEP LEARNING FRAMEWORK FOR CYBER …€¦ · DEEP LEARNING FRAMEWORK FOR CYBER-ENABLED MANUFACTURING ADITYA BALU SAMBIT GHADAI SOUMIK SARKAR ADARSH KRISHNAMURTHY

Learning Local Features

• Local Feature learning is different from object recognition

• Variation in features affect the object classification

• Learning the features by semi-supervised learning

May 15, 2017 13

[1]. http://dfmpro.geometricglobal.com/files/2017/04/Whitepaper-A-new-approach-to-design-and-manufacturing-collaboration.pdf

Page 14: GPU-ACCELERATED DEEP LEARNING FRAMEWORK FOR CYBER …€¦ · DEEP LEARNING FRAMEWORK FOR CYBER-ENABLED MANUFACTURING ADITYA BALU SAMBIT GHADAI SOUMIK SARKAR ADARSH KRISHNAMURTHY

Need for 3D Convolutional Nets

• Hierarchical feature extraction from volumetric representation

• Capability to learn features with object classification

• Amenable to model interpretability due to learning of spatial location

May 15, 2017 14

Page 15: GPU-ACCELERATED DEEP LEARNING FRAMEWORK FOR CYBER …€¦ · DEEP LEARNING FRAMEWORK FOR CYBER-ENABLED MANUFACTURING ADITYA BALU SAMBIT GHADAI SOUMIK SARKAR ADARSH KRISHNAMURTHY

• Binary definition of manufacturability (binary cross-entropy loss)

• Choice of input resolution depending on the GPUs

• Architecture• 3D convolutional layer and 3D max. pooling layer

• ReLU activation with output layer having Sigmoid activation

Deep Learning Based Design for Manufacturing

May 15, 2017 15

Page 16: GPU-ACCELERATED DEEP LEARNING FRAMEWORK FOR CYBER …€¦ · DEEP LEARNING FRAMEWORK FOR CYBER-ENABLED MANUFACTURING ADITYA BALU SAMBIT GHADAI SOUMIK SARKAR ADARSH KRISHNAMURTHY

Deep Learning Based Design for Manufacturing

(a) (b) (c)

(d) (e) (f)

DLDFM

May 15, 2017 16

Page 17: GPU-ACCELERATED DEEP LEARNING FRAMEWORK FOR CYBER …€¦ · DEEP LEARNING FRAMEWORK FOR CYBER-ENABLED MANUFACTURING ADITYA BALU SAMBIT GHADAI SOUMIK SARKAR ADARSH KRISHNAMURTHY

Results

May 15, 2017 17

0% 20% 40% 60% 80% 100%

DLDFM (binary + normals)

DLDFM (Orthogonal Distance Fields)

DLDFM (binary)

Representative Test Data Manufacturable

True Positive (Predicted Manufacturable, Actually Manufacturable)

False Negative (Predicted Non-Manufacturable, Actually Manufacturable)

0% 20% 40% 60% 80% 100%

DLDFM (binary + normals)

DLDFM (Orthogonal Distance Fields)

DLDFM (binary)

Representative Test Data Non-Manufacturable

True Negative (Predicted Non-Manufacturable, Actually Non-Manufacturable)

False Positive (Predicted Manufacturable, Actually Non-Manufacturable)

Page 18: GPU-ACCELERATED DEEP LEARNING FRAMEWORK FOR CYBER …€¦ · DEEP LEARNING FRAMEWORK FOR CYBER-ENABLED MANUFACTURING ADITYA BALU SAMBIT GHADAI SOUMIK SARKAR ADARSH KRISHNAMURTHY

0% 20% 40% 60% 80% 100%

DLDFM (binary + normals)

DLDFM (Orthogonal Distance Fields)

DLDFM (binary)

Non-Representative Test Data Manufacturable

True Positive (Predicted Manufacturable, Actually Manufacturable)

False Negative (Predicted Non-Manufacturable, Actually Manufacturable)

Results

May 15, 2017 18

0% 20% 40% 60% 80% 100%

DLDFM (binary + normals)

DLDFM (Orthogonal Distance Fields)

DLDFM (binary)

Non-Representative Test Data Non-Manufacturable

True Negative (Predicted Non-Manufacturable, Actually Non-Manufacturable)

False Positive (Predicted Manufacturable, Actually Non-Manufacturable)

Page 19: GPU-ACCELERATED DEEP LEARNING FRAMEWORK FOR CYBER …€¦ · DEEP LEARNING FRAMEWORK FOR CYBER-ENABLED MANUFACTURING ADITYA BALU SAMBIT GHADAI SOUMIK SARKAR ADARSH KRISHNAMURTHY

Results

May 15, 2017 19

0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%

DLDFM (orthogonal distance fields)

DLDFM (binary + normals)

DLDFM (binary)

True Positive (Predicted Manufacturable, Actually Manufacturable)

True Negative (Predicted Non-Manufacturable, Actually Non-Manufacturable)

False Negative (Predicted Non-Manufacturable, Actually Manufacturable)

False Positive (Predicted Manufacturable, Actually Non-Manufacturable)

Page 20: GPU-ACCELERATED DEEP LEARNING FRAMEWORK FOR CYBER …€¦ · DEEP LEARNING FRAMEWORK FOR CYBER-ENABLED MANUFACTURING ADITYA BALU SAMBIT GHADAI SOUMIK SARKAR ADARSH KRISHNAMURTHY

Design for Manufacturing

Outline

Volumetric Representations for

CAD Models

Deep Learning based Design for

ManufacturingExplainable Deep

Learning

May 15, 2017 20

Page 21: GPU-ACCELERATED DEEP LEARNING FRAMEWORK FOR CYBER …€¦ · DEEP LEARNING FRAMEWORK FOR CYBER-ENABLED MANUFACTURING ADITYA BALU SAMBIT GHADAI SOUMIK SARKAR ADARSH KRISHNAMURTHY

Model Interpretability

• Possible methods• Back-propagation

• Guided back-propagation, saliency map, etc.Disadvantage: Not class discriminative

• Grad-CAM• Class discriminative

References:

[1]. Zeiler, Matthew D., and Rob Fergus. "Visualizing and understanding convolutional networks." European conference on computer vision. Springer International Publishing, 2014.

[2]. Simonyan, Karen, and Andrew Zisserman. "Very deep convolutional networks for large-scale image recognition." arXiv preprint arXiv:1409.1556 (2014).

[3]. Zhou, Bolei, et al. "Learning deep features for discriminative localization." Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. 2016.

[4]. Selvaraju, Ramprasaath R., et al. "Grad-CAM: Why did you say that?." arXiv preprint arXiv:1611.07450 (2016).

May 15, 2017 21

Page 22: GPU-ACCELERATED DEEP LEARNING FRAMEWORK FOR CYBER …€¦ · DEEP LEARNING FRAMEWORK FOR CYBER-ENABLED MANUFACTURING ADITYA BALU SAMBIT GHADAI SOUMIK SARKAR ADARSH KRISHNAMURTHY

3D Grad-CAM

• Perform global average pooling and back-propagate the activations

Input:Volumetric Representation

Convolutional Layer

Convolution Filters 1

Convolution Filters 2

Convolutional Layer

Pooling LayerFully Connected

Layer

(Yes/No)

InterpretationClass Activation Map

Output: Manufacturability

May 15, 2017 22

Page 23: GPU-ACCELERATED DEEP LEARNING FRAMEWORK FOR CYBER …€¦ · DEEP LEARNING FRAMEWORK FOR CYBER-ENABLED MANUFACTURING ADITYA BALU SAMBIT GHADAI SOUMIK SARKAR ADARSH KRISHNAMURTHY

Insights from GradCAM

May 15, 2017 23

Page 24: GPU-ACCELERATED DEEP LEARNING FRAMEWORK FOR CYBER …€¦ · DEEP LEARNING FRAMEWORK FOR CYBER-ENABLED MANUFACTURING ADITYA BALU SAMBIT GHADAI SOUMIK SARKAR ADARSH KRISHNAMURTHY

One HoleManufacturable

Insight:

3D Grad-CAM is class discriminative

May 15, 2017 24

Page 25: GPU-ACCELERATED DEEP LEARNING FRAMEWORK FOR CYBER …€¦ · DEEP LEARNING FRAMEWORK FOR CYBER-ENABLED MANUFACTURING ADITYA BALU SAMBIT GHADAI SOUMIK SARKAR ADARSH KRISHNAMURTHY

Two Holes Manufacturable (both)

May 15, 2017 25

Insight:

DLDFM can predict manufacturability of multiple features simultaneously

Page 26: GPU-ACCELERATED DEEP LEARNING FRAMEWORK FOR CYBER …€¦ · DEEP LEARNING FRAMEWORK FOR CYBER-ENABLED MANUFACTURING ADITYA BALU SAMBIT GHADAI SOUMIK SARKAR ADARSH KRISHNAMURTHY

Insight:

DLDFM can predict manufacturability of individual features

May 15, 2017 26

Two Holes Non-Manufacturable (due to one of them)

Page 27: GPU-ACCELERATED DEEP LEARNING FRAMEWORK FOR CYBER …€¦ · DEEP LEARNING FRAMEWORK FOR CYBER-ENABLED MANUFACTURING ADITYA BALU SAMBIT GHADAI SOUMIK SARKAR ADARSH KRISHNAMURTHY

May 15, 2017 27

Insight:

DLDFM can predict manufacturability of interacting features by generalizing the rules

Two Holes Non-Manufacturable (due to interaction between them)

Page 28: GPU-ACCELERATED DEEP LEARNING FRAMEWORK FOR CYBER …€¦ · DEEP LEARNING FRAMEWORK FOR CYBER-ENABLED MANUFACTURING ADITYA BALU SAMBIT GHADAI SOUMIK SARKAR ADARSH KRISHNAMURTHY

L-Shaped Block with Hole Non-Manufacturable (close to external face)

Insight:

DLDFM can predict manufacturability based on a local feature instead of external geometry

May 15, 2017 28

Page 29: GPU-ACCELERATED DEEP LEARNING FRAMEWORK FOR CYBER …€¦ · DEEP LEARNING FRAMEWORK FOR CYBER-ENABLED MANUFACTURING ADITYA BALU SAMBIT GHADAI SOUMIK SARKAR ADARSH KRISHNAMURTHY

Cylindrical-Shaped Block with HoleNon- Manufacturable (close to external cylindrical face)

Insight:

DLDFM can predict manufacturability based on a local feature even with complicated external geometry

May 15, 2017 29

Page 30: GPU-ACCELERATED DEEP LEARNING FRAMEWORK FOR CYBER …€¦ · DEEP LEARNING FRAMEWORK FOR CYBER-ENABLED MANUFACTURING ADITYA BALU SAMBIT GHADAI SOUMIK SARKAR ADARSH KRISHNAMURTHY

Demo

May 15, 2017 30

Page 31: GPU-ACCELERATED DEEP LEARNING FRAMEWORK FOR CYBER …€¦ · DEEP LEARNING FRAMEWORK FOR CYBER-ENABLED MANUFACTURING ADITYA BALU SAMBIT GHADAI SOUMIK SARKAR ADARSH KRISHNAMURTHY

Acknowledgements

• AI-based Design and Manufacturability Lab (ADAM Lab)• Gavin Young

• Kin Gwn Lore

• Funding Sources• National Science Foundation

• CMMI:1644441 – CM: Machine-Learning Driven Decision Support in Design for Manufacturability

• nVIDIA• Titan X GPU for Academic Research

May 15, 2017 31

Page 32: GPU-ACCELERATED DEEP LEARNING FRAMEWORK FOR CYBER …€¦ · DEEP LEARNING FRAMEWORK FOR CYBER-ENABLED MANUFACTURING ADITYA BALU SAMBIT GHADAI SOUMIK SARKAR ADARSH KRISHNAMURTHY

Thank You!

Questions?

May 15, 2017 32