Skip to main content
QUICK REVIEW

[Paper Review] Machine Learning Students Overfit to Overfitting

Matías Valdenegro-Toro, Matthia Sabatelli|arXiv (Cornell University)|Sep 7, 2022
Statistics Education and MethodologiesMathematics5 citations
TL;DR

This paper identifies common student misconceptions about overfitting in machine learning, including misinterpreting training loss, confusing implementation errors with overfitting, and applying incorrect solutions. It proposes a framework of use cases—such as multiple test sets, varied training sizes, and diverse learning paradigms—to teach overfitting as a continuous phenomenon rather than a binary condition, improving conceptual understanding and reducing errors in practice.

ABSTRACT

Overfitting and generalization is an important concept in Machine Learning as only models that generalize are interesting for general applications. Yet some students have trouble learning this important concept through lectures and exercises. In this paper we describe common examples of students misunderstanding overfitting, and provide recommendations for possible solutions. We cover student misconceptions about overfitting, about solutions to overfitting, and implementation mistakes that are commonly confused with overfitting issues. We expect that our paper can contribute to improving student understanding and lectures about this important topic.

Motivation & Objective

  • To identify and analyze common misconceptions students hold about overfitting in machine learning courses.
  • To examine how students incorrectly attempt to solve overfitting, including applying unrelated model changes or misusing hyperparameters.
  • To highlight implementation errors that are frequently mistaken for overfitting, such as incorrect loss functions or data leakage.
  • To propose pedagogical use cases that teach overfitting as a continuous, judgment-based phenomenon rather than a binary state.
  • To improve teaching effectiveness by providing actionable exercises and checklists for educators to address these misconceptions systematically.

Proposed method

  • Analyzing student feedback from homework and exams in undergraduate and graduate machine learning courses to identify recurring misconceptions about overfitting.
  • Categorizing misconceptions into three groups: conceptual misunderstandings, incorrect solutions, and implementation errors that mimic overfitting.
  • Proposing a set of pedagogical use cases, including multiple test sets, varied training set sizes, and diverse learning paradigms (e.g., RL, unsupervised learning).
  • Introducing the use of 'negative examples'—deliberately flawed model code—for students to debug and correct, enhancing awareness of implementation pitfalls.
  • Developing a checklist for training schemes to systematically diagnose overfitting vs. generalization failure, grounded in loss monitoring and data split integrity.
  • Advocating for teaching overfitting not via static plots like Figure 1, but through dynamic, multi-dataset, and multi-task experiments to illustrate its continuous nature.

Experimental results

Research questions

  • RQ1How do students commonly misunderstand the concept of overfitting, particularly in relation to training loss and validation loss ratios?
  • RQ2What types of incorrect solutions do students apply when they believe a model is overfitting, and what drives these errors?
  • RQ3Which implementation errors are frequently misclassified by students as overfitting, and how can they be systematically identified?
  • RQ4How can teaching methods be redesigned to convey overfitting as a continuous phenomenon rather than a binary condition?
  • RQ5What use cases or exercises best help students distinguish overfitting from generalization failure or implementation flaws?

Key findings

  • Students frequently misjudge overfitting based solely on training loss, ignoring the critical role of the generalization gap between training and validation loss.
  • Many students confuse non-loss metrics like accuracy with overfitting indicators, leading to flawed diagnostic reasoning.
  • Common implementation errors—such as incorrect loss functions, wrong output dimensions, or data leakage—were frequently mistaken by students for overfitting.
  • Students often apply unrelated changes, such as tuning the learning rate or adjusting validation set size, as solutions to overfitting, indicating a lack of conceptual clarity.
  • The use of multiple test sets, varying training set sizes, and diverse learning paradigms (e.g., RL, unsupervised learning) effectively illustrates that overfitting is context-dependent and continuous.
  • The proposed checklist and negative example exercises significantly improve students’ ability to detect and debug overfitting-related issues in practice.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.