Top Banner
Surrogate-based constrained multi- objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations, which are employed in the search for optimal designs in the presence of multiple, competing objectives and constraints. The difficulty of this search is often exacerbated by numerical `noise' and inaccuracies in simulation data and the frailties of complex simulations, that is they often fail to return a result. Surrogate-based optimization methods can be employed to solve, mitigate, or circumvent problems associated with such searches. This presentation gives an overview of constrained multi-objective optimization using Gaussian process based surrogates, with an emphasis on dealing with real- world problems. Alex Forrester 3 rd July 2009
64

Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

Dec 26, 2015

Download

Documents

Karin Barber
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

Surrogate-based constrained multi-objective optimization

Aerospace design is synonymous with the use of long running and computationally intensive simulations, which are employed in the search for  optimal designs in the presence of multiple, competing objectives and constraints. The difficulty of this search is often exacerbated by numerical `noise' and inaccuracies in simulation data and the frailties of complex simulations, that is they often fail to return a result. Surrogate-based optimization methods can be employed to solve, mitigate, or circumvent problems associated with such searches. This presentation gives an overview of constrained multi-objective optimization using Gaussian process based surrogates, with an emphasis on dealing with real-world problems.

Alex Forrester3rd July 2009

Page 2: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

Coming up:• Surrogate model based optimization – the basic idea

• Gaussian process based modelling

• Probability of improvement and expected improvement

• Missing data

• Noisy data

• Constraints

• Multiple objectives

2

Page 3: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

Surrogate model based optimization

• Surrogate used to expedite search for global optimum

• Global accuracy of surrogate not a priority

3

SAMPLING PLAN

OBSERVATIONS

CONSTRUCT SURROGATE(S)

design sensitivities available?

multi-fidelity data?

SEARCH INFILL CRITERION(optimization using the

surrogate(s))

constraints present?

noise in data?

multiple design objectives?

ADD NEW DESIGN(S)

PRELIMINARY EXPERIMENTS

Page 4: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

Gaussian process based

modelling4

Page 5: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

Building Gaussian process models, e.g. Kriging

5

• Sample the function to be predicted at a set of points

Page 6: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

• Correlate all points using a Gaussian type function

6

Page 7: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

7

• 20 Gaussian “bumps” with appropriate widths (chosen to maximize likelihood of data) centred around sample points

Page 8: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

• Multiply by weightings (again chosen to maximize likelihood of data)

8

Page 9: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

Add together to predict function

9

Kriging prediction True function

Page 10: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

Optimization

10

Page 11: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

Polynomial regression based search (as Devil’s advocate)

Page 12: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

Gaussian process prediction based optimization

12

Page 13: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

Gaussian process prediction based optimization (as Devil’s advocate)

13

Page 14: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

But, we have error estimates with Gaussian processes

14

Page 15: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

Error estimates used to construct improvement criteria

15

Probability of improvement

Expected improvement

Page 16: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

Probability of improvement

16

• Useful global infill criterion

• Not a measure of improvement, just the chance there will be one

Page 17: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

Expected improvement

17

• Useful metric of actual amount of improvement to be expected

• Can be extended to constrained and multi-objective problems

Page 18: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

18

Page 19: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

Missing Data

19

Page 20: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

What if design evaluations fail?• No infill point augmented to the surrogate

– model is unchanged

– optimization stalls

• Need to add some information or perturb the model

– add random point?

– impute a value based on the prediction at the failed point, so EI goes to zero here?

– use a penalized imputation (prediction + error estimate)?

20

Page 21: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

Aerofoil design problem• 2 shape functions

(f1,f2) altered

• Potential flow solver (VGK) has ~35% failure rate

• 20 point optimal Latin hypercube

• max{E[I(x)]} updates until within one drag count of optimum

21

Page 22: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

Results

22

Page 23: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

A typical penalized imputation based optimization

23

Page 24: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

Four variable problem

• f1,f2,f3,f4 varied

• 82% failure rate

24

Page 25: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

A typical four variable penalized imputation based optimization• Legend as for two

variable

• Red crosses indicate imputed update points.

• Regions of infeasible geometries are shown as dark blue.

• Blank regions represent flow solver failure

25

Page 26: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

‘Noisy’ Data

26

Page 27: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

‘Noisy’ data

• Many data sets are corrupted by noise

• We are usually interested in deterministic ‘noise’

• ‘Noise’ in aerofoil drag data due to discretization of Euler equations

27

Page 28: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

Failure of interpolation based infill• Surrogate becomes

excessively snaky

• Error estimates increase

• Search becomes too global

28

Page 29: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

Regression improves model

• Add regularization constant to correlation matrix

• Last plot of previous slide improved

29

Page 30: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

Failure of regression based infill• Regularization assumes

error at sample locations (brought in through lambda in equations below)

• Leads to expectation of improvement here

• Ok for stochastic noise

• Search stalls for deterministic simulations

30

Page 31: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

Use “re-interpolation”

• Error due to noise ignored using new variance formulation (equation below)

• Only modelling error

• Search proceeds as desired

31

Page 32: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

Two variable aerofoil example

• Same parameterization as missing data problem

• Course mesh causes ‘noise’

32

Page 33: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

Interpolation – very global

33

Page 34: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

Regression - stalls

34

Page 35: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

Re-interpolation – searches local basins, but finds global optimum

35

Page 36: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

Constrained EI

36

Page 37: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

Probability of constraint satisfaction

• g(x) is the constraint function

• F=G(x)-gmin is a measure of feasibility, where G(x) is a random variable

37

Page 38: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

It’s just like the probability of improvement, but with a limit, not a minimum

38

Probability of satisfaction

Prediction of constraint function

Constraint function

Constraint limit

Page 39: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

Constrained probability of improvement• Probability of

improvement conditional upon constraint satisfaction

• Simply multiply the two probabilities:

39

Page 40: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

Constrained expected improvement

• Expected improvement conditional upon constraint satisfaction

• Again, a simple multiplication:

40

Page 41: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

A 1D example

41

Page 42: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

After one infill point

42

Page 43: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

A 2D example

43

Page 44: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

44

Page 45: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

Multi-objective EI

45

Page 46: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

Pareto optimization• We want to identify a

set of non-dominated solutions

• These define the Pareto front

• We can formulate an expectation of improvement on the current non-dominated solutions

46

Page 47: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

Multi-dimensional Gaussian process

• Consider a 2 objective problem

• The random variables Y1 and Y2 have a 2D probability density function:

47

Page 48: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

Probability of improving on one point• Need to integrate

the 2D pdf:

48

Page 49: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

• Integrating under all non-dominated solutions:

• The EI is the first moment of this integral about the Pareto front (see book)

49

Page 50: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

A 1D example

50

Page 51: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

51

Page 52: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

Matlab demo

52

Page 53: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

Nowacki beam• Fixed length steel cantilever beam under 5kN load

• Variables:

– height

– width

• Objectives:

– minimize cross section area

– minimize bending moment

• Constraints:

– area ratio

– Bending moment

– buckling

– deflection

– Shear

53

Page 54: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

Problem setup• 10 point optimal Latin hypercube

• Kriging model of each objective and constraint

– Parameters tuned with GA + SQP (using adjoint of likelihood)

• 20 points added at the maximum constrained multi-objective expected improvement

54

Page 55: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

Sampling plan

55

Page 56: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

Initial trade off

56

Page 57: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

5 updates

57

Page 58: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

10 updates

58

Page 59: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

15 updates

59

Page 60: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

20 updates

60

Page 61: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

Final trade off

61

Page 62: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

Summary• Surrogate based optimization offers answers to, or

ways to get round, many problems associated with real world optimization

• This seemingly blunt tool must, however, be used with precision as there are many traps to fall into

• In a multi-objective context, the use of surrogates is particularly promising

• There has not been time to cover new surrogate methods (e.g. blind Kriging), multi-fidelity modelling or enhancements to EI, in terms of its exploitation/exploration tradeoff properties

62

Page 63: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

References• A. I. J. Forrester, A. Sóbester, A. J. Keane, Engineering Design via Surrogate

Modelling: A Practical Guide, John Wiley & Sons, Chichester, 240 pages, ISBN 978-0-470-06068-1.  

• A. I. J. Forrester, A. J. Keane, Recent advances in surrogate-based optimization, Progress in Aerospace Sciences, 45, 50-79, (doi:10.1016/j.paerosci.2008.11.001)

•  A. I. J. Forrester, A. Sóbester, A. J. Keane, Optimization with missing data, Proc. R. Soc. A, 462(2067), 935-945, (doi:10.1098/rspa.2005.1608).

• A. I. J. Forrester, N. W. Bressloff, A. J. Keane, Design and analysis of ‘noisy’ computer experiments, AIAA journal, 44(10), 2331-2339, (doi:10.2514/1.20068).

• All code at www.wiley.com/go/forrester

63

Page 64: Surrogate-based constrained multi-objective optimization Aerospace design is synonymous with the use of long running and computationally intensive simulations,

Gratuitous publicity

64