Optimisation Flashcards

(26 cards)

1
Q

What is an optimisation problem?

A

One where we have a function and want to minimise it via the adjusting of a parameter or set of parameters X

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is Jensen’s inequality?

A

A function is convex if and only if the secant line lies above the graph of f(x)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a convex set?

A

A set that contains every line segment between any two points in the set

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How can you use a convex set to tell that an object is convex?

A

If you pick two points within a shape, and any line segment made between them stays within the shape, it is convex

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is an epigraph?

A

A set consisting of all points lying on or above a function’s graph

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

A function is convex if the epigraph [is/is not] a convex set.

A

Is

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Given a convex function, we can find the minimum of x where…

A

The gradient is equal to zero

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is bracketing?

A

A method of optimisation that finds the root by iteratively moving brackets across x

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

A root of g(x) is said to be bracketed by two thresholds a and b if…

A

g(a) < 0 and g(b) > 0, or vice versa, hence there is a zero-crossing between a and b

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is parabolic interpolation?

A

We fit the curve by a parabola, finding a g(x) such that the intersection points of the parabola a, b and c intersect g(x), then creating a new parabola where the new c = b

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Why should we ensure that step sizes diminish?

A

So that we converge and don’t actually step over the minimum

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What method should we use if we have more than two dimensions to minimise y = f(x)?

A

Downhill simplex method

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is a simplex?

A

A geometrical figure consisting, in D dimensions, of D + 1 points and all of their interconnecting properties

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is downhill simplex method?

A

A method using the geometrical concept of a simplex to find the minimum of a function

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

If in the first dimension, a line is a simplex, as it is in 1 dimension with 2 points, what is a simplex in 2D?

A

A triangle

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

If in the first dimension, a line is a simplex, as it is in 1 dimension with 2 points, what is a simplex in 3D?

A

A tetrahedron; a 3D shape with four points

17
Q

How do we calculate the efficiency of a simplex?

A

Find the best, worst and average function values and calculate their centroid

18
Q

How do we learn via the downhill simplex method?

A

Perform some transformation on the worst vertex in the simplex to move it closer to an optimal solution

19
Q

What is reflection in the downhill simplex method and when would we accept the result?

A

Reflect the worst vertex through the centroid of the best side, accepting it if it is better than the ‘average’ point

20
Q

What is expansion in the downhill simplex method and when would we accept the result?

A

Expanding the worst vertex through the centroid of the best side, accepting it if it is better than the ‘best’ point, continuing if so

21
Q

What is contraction in the downhill simplex method and when would we accept M1 over M2?

A

Contracting the simplex around the centroid such that we generate two ‘middle points’ M1 and M2 that are halfway between W-C and C-R

We accept M1 if it is better than both the worst point and M2, accepting M2 otherwise

22
Q

What is shrinking in the downhill simplex method and when would we accept the result?

A

Shrinking towards the best point at a scale determined by some parameter, accepting only if all else fails to produce a result

23
Q

What is the order of transformations in downhill simplex? Briefly explain the conditions that need to be met for each.

A

Reflection first, continuing to expansion only if the reflected point is not better than the ‘good’ point. If expansion cannot beat reflection, then we go on to contraction. If neither M1 or M2 can beat the ‘worst’ point, then we go to shrinking as a last resort

24
Q

What is Rosenbrock’s test function (banana function)?

A

A non-convex test function used to measure performance in optimisation algorithms

25
How do you interpret a Rosenbrock function's graph?
The global minimum is within a parabolic-shaped flat valley, and the closer we get to it, the more we 'zoom in' to that minimum
26
What are some ways we can ensure maximum centroid efficiency?
If we order the vertices using insertion sort, we can evaluate new points as they are added. If we compute the centroid in-place, we can compute it in O(D) operations