Skip main navigation

£199.99 £139.99 for one year of Unlimited learning. Offer ends on 28 February 2023 at 23:59 (UTC). T&Cs apply

Find out more

The regression problem

In this article, Marcel Lüthi explains the regression problem and how it occurs in shape modelling.
© University of Basel

A common task in shape modelling is to infer the full shape from a set of measurements of the shape. This task can be formalised as a regression problem. In the following, we quickly review the standard regression problem and discuss how it extends to shape modelling.

Standard regression problem

Let ({x_1, ldots, x_n} subset Omega) be a fixed set of input points defined on some domain (Omega) and assume that there is an (unknown) function (f_0 : Omega to mathbb{R}), which generates values (y_i in mathbb{R}) according to

$$y_i = f_0(x_i) + epsilon_i, , i = 1, ldots, n.$$

A common assumption is that (epsilon_i) is independent Gaussian noise, i.e. (epsilon_i sim N(0, sigma^2)). The function (f_0) is called the regression function.

The regression problem is to infer the function (f_0) from given observations ({tilde{y}_1, ldots, tilde{y}_n}) at the input points. Figure 1 (left) illustrates this setting. It is clear that, since we only have access to the function value at a finite number of points, there are in general many solutions that could have generated the data, as illustrated in Figure 1 (right).

The regression settingFigure 1: the regression setting (left) with some possible solutions that explain the data (right)

In order to obtain a well-posed problem with a unique solution, we need to make prior assumptions about the possible functions (f) that could have generated the data. One possibility is to assume that the functions are distributed according to a Gaussian Process: (f sim GP(mu, k)). In this case the problem is called Gaussian Process regression. Gaussian Process regression provides an elegant solution to the regression problem, and it turns out that this method has immediate applications in shape modelling. Before we explain this method in detail in the next video, we will quickly discuss how the regression setting extends to the case of shape modelling, and how the regression problem arises in shape modelling applications.

Regression in shape modelling

In shape modelling, the regression problem can be formulated as follows: the points (x_1, ldots, x_n subset Gamma_R) are points on the reference shape (Gamma_R). The regression model is defined as

$$u_i = u_0(x_i) + epsilon$$

where the regression function (u_0 : Gamma_R to mathbb{R}^2) is a deformation field and (epsilon sim N(0, sigma^2 I_{2 times 2})) is independent Gaussian noise. Analogically to the standard setting, the goal is to infer the regression function (u_0) from given observations ({tilde{u}_1, ldots, tilde{u}_n}). Figure 2 illustrates this setting. Regression setting for shapesFigure 2: the regression problem for shape is to infer from the given deformations (left) the regression function (u_0) (right).

The possible deformations (u) are modelled using a Gaussian Process model (GP(mu, k)) that models the shape variations of a given shape family.

There are two typical applications of the regression problem. The first one arises when we have obtained a sparse set of measurements of the shape and would like to infer the full shape (Figure 3, left). In the second application, it is possible to obtain an arbitrary number of measurements, but only for a part of the shape. This setting is typical for shape reconstruction problems, where we are given only a part of a shape and the goal is to infer the shape of the unseen part (Figure 3, right).

Two typical regression applicationsFigure 3: two typical applications of regression in shape modelling: inferring the full shape from a sparse set of measurements (left) and reconstructing the complete shape from a given part of the shape (right).

© University of Basel
This article is from the free online

Statistical Shape Modelling: Computing the Human Anatomy

Created by
FutureLearn - Learning For Life

Our purpose is to transform access to education.

We offer a diverse selection of courses from leading universities and cultural institutions from around the world. These are delivered one step at a time, and are accessible on mobile, tablet and desktop, so you can fit learning around your life.

We believe learning should be an enjoyable, social experience, so our courses offer the opportunity to discuss what you’re learning with others as you go, helping you make fresh discoveries and form new ideas.
You can unlock new opportunities with unlimited access to hundreds of online short courses for a year by subscribing to our Unlimited package. Build your knowledge with top universities and organisations.

Learn more about how FutureLearn is transforming access to education