Proposing Threshold Concepts in Machine Learning

ITiCSE 2026 · Madrid

Lisa Zhang

University of Toronto Mississauga

Gosia Migut

Delft University of Technology

Jesse H. Krijthe

Delft University of Technology

Who We Are

Lisa Zhang
University of Toronto Mississauga

  • Associate Professor, Teaching
  • MSc in ML (Toronto, Vector)
  • Teaching ML since 2018: intro ML, deep learning, applied AI, AI safety
  • ML/CS Education research
  • EAAI co-chair 2026/2027; TOCE AE

Gosia Migut
Delft University of Technology

  • Assistant Professor
  • PhD in explainable ML (UvA)
  • Teaching ML since 2012
  • Hosts TU Delft ML Teacher Community
  • ML Education Research; CS Education Research

Jesse Krijthe
Delft University of Technology

  • Assistant Professor
  • PhD in ML (Leiden)
  • Teaching: Intro ML BSc (6×), Advanced ML MSc (6×), 50+ student projects
  • Research: ML methodology & theory, causal inference, healthcare

28 years of combined ML teaching · North America + Europe
undergrad and graduate · educator and researcher

Threshold Concepts

“…akin to a portal, opening up a new and previously inaccessible way of thinking about something. It represents a transformed way of understanding, or interpreting, or viewing something without which the learner cannot progress.” — (Meyer and Land 2003)

Transformative fundamentally shifts the learner’s perspective

Troublesome difficult to grasp; conflict with prior understanding

Integrative unifies disparate concepts in a domain

Irreversible once understood, unlikely to be unlearned

Bounded limited to specific disciplinary boundaries

Examples of Threshold Concepts

Economics

⚖️

“Opportunity cost” (Meyer and Land 2003)

Computer Science

💻

Pointers; object-orientation (Boustedt et al. 2007)

Writing

✍️

“Writing is a Social and Rhetorical Activity” (Adler-Kassner and Wardle 2015)

Concept granularity: ours will be broad, field-level ideas

…like the AI4K12 “five big ideas” (Touretzky et al. 2019)

Our Process

Threshold concepts are usually identified through consensus (Barradell 2013; Timmermans and Meyer 2019)

Our approach:

1. Brainstorm Independent brainstorming from our teaching + research experience

2. Discuss Several rounds of discussion on these candidate concepts

3. Ground Ground the arguments in prior work in ML research, ML education & ML/AI misconceptions

Whether TCs can be identified with empirical rigor at all is contested (Rowbottom 2007; Rountree and Rountree 2009)

What we brainstormed

Learning is Optimization
Bias/Variance: ML models are not
perfect
Model evaluation is empirical
“No Free Lunch”
Learning = Data + Algorithm
Different hyperparameter choices are essentially different models
Representation: everything is a vector
Data arise from probabilistic phenomena
The role of randomness

…and how we grouped them

Learning is Optimization
Bias/Variance: ML models are not
perfect
Model evaluation is empirical
“No Free Lunch”
Learning = Data + Algorithm
Different hyperparameter choices are essentially different models
Representation: everything is a vector
Data arise from probabilistic phenomena
The role of randomness

…and how we grouped them

(4) ML Describes Geometric Processes
Representation: everything is a vector
(5) ML Demands a Probabilistic Lens
Data arise from probabilistic phenomena
The role of randomness
(1) Learning is Optimization
Learning is Optimization
(2) There are Tradeoffs in Sources of Error
Bias/Variance: ML models are not
perfect
(3) ML is an Empirical Science
Model evaluation is empirical
“No Free Lunch”
Learning = Data + Algorithm
Different hyperparameter choices are essentially different models

Five proposed threshold concepts

Theoretical Practical (1) Learning is Optimization (4) ML Describes Geometric Processes (5) ML Demands a Probabilistic Lens (2) There are Tradeoffs in Sources of Error (3) ML is an Empirical Science

1 · Learning is Optimization

Theoretical Practical (1) Learning is Optimization (4) ML Describes Geometric Processes (5) ML Demands a Probabilistic Lens (2) There are Tradeoffs in Sources of Error (3) ML is an Empirical Science

Learning is Optimization

To describe an ML method, we describe:

  • search space (model class)
  • loss function
  • optimization algorithm

Supervised Learning: minimize empirical risk

\[ \min_{f \in \mathcal{F}} \; \frac{1}{n}\sum_{i=1}^{n} \ell\big(f(x_i),\, y_i\big) \]

Reinforcement Learning: maximize expected discounted return

\[ \max_{\pi} \; \mathbb{E}_{\tau \sim \pi}\Big[\textstyle\sum_{t=0}^{T} \gamma^t r_t\Big] \]

Learning is Optimization: Troublesome

Counters novices’ beliefs that:

🧠

ML works similarly to the human brain (Marx et al. 2024)

⚙️

ML behaviour is programmed rather than learned (Marx et al. 2024)

💾

Training data is stored inside the model (Bewersdorff et al. 2023)

Learning is Optimization: Transformative

This shift lets researchers construct and communicate ML methods by specifying the optimization problem.

⋮

Learning is Optimization: Transformative

⋮

Learning is Optimization: Integrative

Unsupervised learning: k-means clustering

Iteration 0 — click to begin

Block coordinate descent on \(J = \sum_{i=1}^{n} \lVert x_i - \mu_{c(i)} \rVert^2\)

Systematic reasoning: “What is this process implicitly optimizing?”

Learning is Optimization: Integrative

AI alignment: does the system do what its designers intended, not just what the objective literally rewards?

Goodhart’s Law: “When a measure becomes a target, it ceases to be a good measure”

  • hallucination in LLMs (optimizing for next-token prediction),
  • sycophancy in LLMs (RLHF)

3 · Machine Learning is an Empirical Science

Theoretical Practical (1) Learning is Optimization (4) ML Describes Geometric Processes (5) ML Demands a Probabilistic Lens (2) There are Tradeoffs in Sources of Error (3) ML is an Empirical Science

Machine Learning is an Empirical Science

“Empirical”: grounded in observation and experimentation

Machine Learning is an Empirical Science: Transformative

🔍

“Best algorithm”

→

Evaluate Problem Data Model

Machine Learning is an Empirical Science: Transformative

🎯

“Accuracy”

→

Evaluate Fairness Efficiency Robustness Interpretability Sustainability

Machine Learning is an Empirical Science: Troublesome

😭

Theory alone isn’t enough Accepting that theory can’t determine the “best” model is unsatisfying

🧪

Good evaluation is a skill Not always taught explicitly; reproducibility is a field-wide concern

Machine Learning is an Empirical Science: Integrative

One lens for many failure modes:

⚖️

Overfitting & underfitting

🎛️

Lack of hyperparameter exploration

🗂️

Bias in training data

💧

Data leakage

4 · ML Describes Geometric Processes

Theoretical Practical (1) Learning is Optimization (4) ML Describes Geometric Processes (5) ML Demands a Probabilistic Lens (2) There are Tradeoffs in Sources of Error (3) ML is an Empirical Science

ML Describes Geometric Processes: Transformative

“Natural images lie on a manifold within \(\mathbb{R}^D\)”

“The earlier layers of a Multi-Layer Perceptron learn features, and the final layer is a linear classifier on these features”

Data as geometric objects Points in \(\mathbb{R}^D\) with meaningful distances, symmetries, invariances

Models as geometric processes that distorts this space

Models as geometric objects …with meaningful distances, symmetries, invariances

Optimizers as geometric processes navigating this space

ML Describes Geometric Processes: Troublesome

🌀

Connecting Algebraic and Geometric Views Students struggle connecting algebraic and geometric views (Sibia et al. 2025)

📚

Counters prior CS training Earlier courses emphasize data type (chars, pixels, waveforms) and time/space complexity.

ML Describes Geometric Processes: Integrative

🔢

Data geometry Shapes what can be learned: why one-hot encode categorical variables? distributed representation?

🕸️

Model geometry Shapes what models are possible: CNNs & GNNs exploit symmetries; embeddings & transfer learning

🏔️

Loss geometry Shapes how we find good models: gradient descent + momentum, step sizes, clipping, ravines

Implications & Discussion

How Threshold Concepts Are Used

🔄

Transformative concepts Rather than exhaustive topic coverage

⏳

Liminal time Build in time to work through liminal phases

✅

Real assessment Design assessments that reveal transformation, not mimicry

  • New ML models are developed constantly
  • Students report feeling overwhelmed (Sibia et al. 2025)

Implications: New Courses & Curricula

Not every course needs every concept, with equal weight

Theoretical Practical (1) Learning is Optimization (4) ML Describes Geometric Processes (5) ML Demands a Probabilistic Lens (2) There are Tradeoffs in Sources of Error (3) ML is an Empirical Science

Decide the role (user, builder, researcher?), then the transformations we want the learners to undergo

Implications: Existing ML Courses

Week Lecture Topic
1 Supervised Learning; Nearest Neighbours
2 Decision Trees
3 Linear Regression
4 Feature Mapping; Classification
5 Multi-Class Classification; Multi-Layer Perceptrons
6 Neural Networks; Backpropagation
7 Bias-Variance Decomposition; Probabilistic Modeling
8 Algorithmic Fairness
9 Naive Bayes
10 Gaussian Discriminant Analysis
11 Clustering; Mixture Models; Expectation Maximization
12 Principal Component Analysis

Revisit the TCs in every unit

  • consistent thread empahsizing what is foundational and cross-cutting
  • ensure the transformations actually happen

How much math do students need?

Math maturity is an important pre-liminal variation

Theoretical Practical (1) Learning is Optimization (4) ML Describes Geometric Processes (5) ML Demands a Probabilistic Lens (2) There are Tradeoffs in Sources of Error (3) ML is an Empirical Science

Learners can cross the threshold with minimal math

Math self-efficacy remains a barrier; careful instruction can help, but transformations may not stick

What would you add, change, or challenge?

Theoretical Practical (1) Learning is Optimization (4) ML Describes Geometric Processes (5) ML Demands a Probabilistic Lens (2) There are Tradeoffs in Sources of Error (3) ML is an Empirical Science

Thank you!

m.a.migut@tudelft.nl

j.h.krijthe@tudelft.nl

References

Adler-Kassner, Linda, and Elizabeth Wardle. 2015. Naming What We Know: Threshold Concepts of Writing Studies. University Press of Colorado.
Barradell, Sarah. 2013. “The Identification of Threshold Concepts: A Review of Theoretical Complexities and Methodological Challenges.” Higher Education 65: 265–76.
Bewersdorff, Arne, Xiaoming Zhai, Jessica Roberts, and Claudia Nerdel. 2023. “Myths, Mis-and Preconceptions of Artificial Intelligence: A Review of the Literature.” Computers and Education: Artificial Intelligence 4: 100143.
Boustedt, Jonas, Anna Eckerdal, Robert McCartney, et al. 2007. “Threshold Concepts in Computer Science: Do They Exist and Are They Useful?” ACM Sigcse Bulletin 39 (1).
Marx, Erik, Clemens Witt, and Thiemo Leonhardt. 2024. “Identifying Secondary School Students’ Misconceptions about Machine Learning: An Interview Study.” Proceedings of the 19th WiPSCE Conference on Primary and Secondary Computing Education Research.
Meyer, Jan, and Ray Land. 2003. Threshold Concepts and Troublesome Knowledge: Linkages to Ways of Thinking and Practising Within the Disciplines.
Rountree, Janet, and Nathan Rountree. 2009. “Issues Regarding Threshold Concepts in Computer Science.” Proceedings of the Eleventh Australasian Conference on Computing Education - Volume 95 (AUS), 139–46.
Rowbottom, Darrell Patrick. 2007. “Demystifying Threshold Concepts.” Journal of Philosophy of Education 41 (2): 263–70.
Sibia, Naaz, Amber Richardson, Alice Gao, Andrew Petersen, and Lisa Zhang. 2025. “Student Perspectives on the Challenges in Machine Learning.” Proceedings of the 30th ACM Conference on Innovation and Technology in Computer Science Education v. 1, 9–15.
Timmermans, Julie A., and Jan H. F. Meyer. 2019. “A Framework for Working with University Teachers to Create and Embed ’Integrated Threshold Concept Knowledge’ (ITCK) in Their Practice.” International Journal for Academic Development 24 (4): 354–68.
Touretzky, David, Christina Gardner-McCune, Fred Martin, and Deborah Seehorn. 2019. “Envisioning AI for K-12: What Should Every Child Know about AI?” Proceedings of the AAAI Conference on Artificial Intelligence 33: 9795–99.