Skip to content

10.1 Why More Complex Models Are Not Always Better

10.1 Why More Complex Models Are Not Always Better

Section titled “10.1 Why More Complex Models Are Not Always Better”

In the previous chapter, we introduced supervised learning through one of the simplest possible prediction problems: estimating protein stability from amino acid properties. As a first approximation, we assumed that stability could be described by a linear relationship between hydrophobicity and the measured stability of a protein. Such a model is attractive because it is easy to understand, easy to fit, and often provides a surprisingly useful first description of biological data.

However, biological systems are rarely perfectly linear.

Protein stability does not depend solely on hydrophobicity. Electrostatic interactions, hydrogen bonding, protein size, packing defects, structural flexibility, post-translational modifications, and interactions between amino acids all contribute to the final stability of a folded protein. As a consequence, the relationship between hydrophobicity and stability is unlikely to be a straight line.

Imagine measuring hundreds of proteins. Instead of forming a cloud around a line, the data might follow a curved relationship or even exhibit regions where stability increases, levels off, or decreases again. A linear model would capture only the roughest trend while systematically missing important aspects of the underlying biology.

This naturally raises a new question.

If biological relationships are often nonlinear, can we build models that are flexible enough to describe these more complicated patterns?

This chapter explores exactly this question. We will see that increasing the flexibility of a model allows us to describe increasingly complex biological relationships. Surprisingly, however, the most flexible model is not necessarily the best one. In fact, one of the central challenges of machine learning is finding the right balance between simplicity and complexity.

Before we can understand why this balance is so important, we first need to understand what it actually means for a model to become more complex.


  • Linear models provide a useful first approximation for many biological relationships.
  • Biological systems often exhibit nonlinear behavior.
  • Increasing model flexibility allows more complex relationships to be represented.
  • Choosing a more flexible model introduces a new challenge: deciding how much complexity is appropriate.

The goal of machine learning is not simply to fit data, but to build models that capture the underlying biological process. While linear models are often an excellent starting point, many biological phenomena require more flexible descriptions. This naturally leads to the question of model complexity—the central topic of this chapter.


  1. Why is a linear model often only an approximation of biological relationships?
  2. Which biological factors besides hydrophobicity influence protein stability?
  3. Why might increasing model flexibility improve predictions?
  4. What new challenge arises when we allow models to become more complex?