Special Topics in Educational Data Mining HUDK5199 Spring term, 2013 January 28, 2013.

Slides:



Advertisements
Similar presentations
Bayesian Knowledge Tracing and Discovery with Models
Advertisements

Advanced Methods and Analysis for the Learning and Social Sciences PSY505 Spring term, 2012 January 23, 2012.
Bayesian Knowledge Tracing Prediction Models
Advanced Methods and Analysis for the Learning and Social Sciences PSY505 Spring term, 2012 January 30, 2012.
Advanced Methods and Analysis for the Learning and Social Sciences PSY505 Spring term, 2012 March 12, 2012.
Educational Data Mining Overview Ryan S.J.d. Baker PSLC Summer School 2012.
Statistics in Bioinformatics May 2, 2002 Quiz-15 min Learning objectives-Understand equally likely outcomes, Counting techniques (Example, genetic code,
Data Mining Methodology 1. Why have a Methodology  Don’t want to learn things that aren’t true May not represent any underlying reality ○ Spurious correlation.
Some terminology When the relation between variables are expressed in this manner, we call the relevant equation(s) mathematical models The intercept and.
FTP Biostatistics II Model parameter estimations: Confronting models with measurements.
Navigating the parameter space of Bayesian Knowledge Tracing models Visualizations of the convergence of the Expectation Maximization algorithm Zachary.
Knowledge Inference: Advanced BKT Week 4 Video 5.
Improving learning by improving the cognitive model: A data- driven approach Cen, H., Koedinger, K., Junker, B. Learning Factors Analysis - A General Method.
Cognitive Walkthrough More evaluation without users.
Bayesian Knowledge Tracing and Other Predictive Models in Educational Data Mining Zachary A. Pardos PSLC Summer School 2011 Bayesian Knowledge Tracing.
Ryan S.J.d. Baker Adam B. Goldstein Neil T. Heffernan Detecting the Moment of Learning.
Week 8 Video 4 Hidden Markov Models.
Cognitive Modeling February 5, Today’s Class Cognitive Modeling Assignment #3 Probing Questions Surveys.
458 Interlude (Optimization and other Numerical Methods) Fish 458, Lecture 8.
Lecture 5: Learning models using EM
1 CS 430 / INFO 430 Information Retrieval Lecture 12 Probabilistic Information Retrieval.
1 CS 430 / INFO 430 Information Retrieval Lecture 12 Probabilistic Information Retrieval.
Machine Learning CMPT 726 Simon Fraser University
1 CS 430 / INFO 430 Information Retrieval Lecture 10 Probabilistic Information Retrieval.
Session 6: Introduction to cryptanalysis part 1. Contents Problem definition Symmetric systems cryptanalysis Particularities of block ciphers cryptanalysis.
Educational Data Mining Overview John Stamper PSLC Summer School /25/2011 1PSLC Summer School 2011.
Optimization Methods One-Dimensional Unconstrained Optimization
Optimization via Search CPSC 315 – Programming Studio Spring 2008 Project 2, Lecture 4 Adapted from slides of Yoonsuck Choe.
Educational Data Mining Ryan S.J.d. Baker PSLC/HCII Carnegie Mellon University Richard Scheines Professor of Statistics, Machine Learning, and Human-Computer.
Determining the Significance of Item Order In Randomized Problem Sets Zachary A. Pardos, Neil T. Heffernan Worcester Polytechnic Institute Department of.
Advanced Methods and Analysis for the Learning and Social Sciences PSY505 Spring term, 2012 February 6, 2012.
Genetic Regulatory Network Inference Russell Schwartz Department of Biological Sciences Carnegie Mellon University.
Advanced Methods and Analysis for the Learning and Social Sciences PSY505 Spring term, 2012 February 13, 2012.
Advanced Methods and Analysis for the Learning and Social Sciences PSY505 Spring term, 2012 April 2, 2012.
From Theory to Practice: Inference about a Population Mean, Two Sample T Tests, Inference about a Population Proportion Chapters etc.
Advanced Methods and Analysis for the Learning and Social Sciences PSY505 Spring term, 2012 April 26, 2012.
Advanced BKT February 11, Classic BKT Not learned Two Learning Parameters p(L 0 )Probability the skill is already known before the first opportunity.
Special Topics in Educational Data Mining HUDK5199 Spring term, 2013 February 4, 2013.
559 Fish 559; Lecture 5 Non-linear Minimization. 559 Introduction Non-linear minimization (or optimization) is the numerical technique that is used by.
Advanced Methods and Analysis for the Learning and Social Sciences PSY505 Spring term, 2012 February 22, 2012.
M Machine Learning F# and Accord.net.
Assessment embedded in step- based tutors (SBTs) CPI 494 Feb 12, 2009 Kurt VanLehn ASU.
Course Enhancement Module on Evidence-Based Reading Instruction K-5 Collaboration for Effective Educator Development, Accountability, and Reform H325A
Core Methods in Educational Data Mining HUDK4050 Fall 2015.
Special Topics in Educational Data Mining HUDK5199 Spring term, 2013 March 6, 2013.
Reliability a measure is reliable if it gives the same information every time it is used. reliability is assessed by a number – typically a correlation.
Core Methods in Educational Data Mining HUDK4050 Fall 2015.
Advanced Methods and Analysis for the Learning and Social Sciences PSY505 Spring term, 2012 January 25, 2012.
Core Methods in Educational Data Mining HUDK4050 Fall 2014.
Special Topics in Educational Data Mining HUDK5199 Spring, 2013 April 3, 2013.
Core Methods in Educational Data Mining HUDK4050 Fall 2014.
Advanced Methods and Analysis for the Learning and Social Sciences PSY505 Spring term, 2012 February 6, 2012.
Core Methods in Educational Data Mining HUDK4050 Fall 2014.
Core Methods in Educational Data Mining
Michael V. Yudelson Carnegie Mellon University
How to interact with the system?
Non-linear Minimization
For Monday Chapter 6 Homework: Chapter 3, exercise 7.
Special Topics in Educational Data Mining
Using Bayesian Networks to Predict Test Scores
Core Methods in Educational Data Mining
Detecting the Learning Value of Items In a Randomized Problem Set
Stat 217 – Day 28 Review Stat 217.
Big Data, Education, and Society
Logistic Regression & Parallel SGD
Knowledge Tracing Parameters can be learned with the EM algorithm!
How to interact with the system?
More on Search: A* and Optimization
Core Methods in Educational Data Mining
Core Methods in Educational Data Mining
Presentation transcript:

Special Topics in Educational Data Mining HUDK5199 Spring term, 2013 January 28, 2013

Please Ask Questions After class, three separate people asked me “what is an algorithm?” It’s a recipe Please ask questions if I use terms that are unfamiliar to you – You’re not the only one

Basic stats Who here is unfamiliar with the technical meaning of the following terms – P value – T test – Correlation – Z score

Would you be interested in… If you want, I could give a lecture I’ve given in the past, called “An Inappropriately Brief Introduction to Frequentist Statistics ” Who would be interested in this as an optional additional activity?

Today’s Class Bayesian Knowledge Tracing

What is the key goal of BKT?

Measuring how well a student knows a specific skill/knowledge component at a specific time What are some examples of skills/knowledge components from the papers you read?

Skills should be tightly defined Unlike approaches such as Item Response Theory (see other courses in this department) The goal is not to measure overall skill for a broadly-defined construct – Such as arithmetic But to measure a specific skill or knowledge component – Such as addition of two-digit numbers where no carrying is needed

What is the typical use of BKT? Assess a student’s knowledge of skill/KC X Based on a sequence of items that are dichotomously scored – E.g. the student can get a score of 0 or 1 on each item Where each item corresponds to a single skill Where the student can learn on each item, due to help, feedback, scaffolding, etc.

Key assumptions Each item must involve a single latent trait or skill – Different from PFA, which we’ll talk about next week Each skill has four parameters From these parameters, and the pattern of successes and failures the student has had on each relevant skill so far, we can compute latent knowledge P(Ln) and the probability P(CORR) that the learner will get the item correct

Key Assumptions Two-state learning model – Each skill is either learned or unlearned In problem-solving, the student can learn a skill at each opportunity to apply the skill A student does not forget a skill, once he or she knows it

Model Performance Assumptions If the student knows a skill, there is still some chance the student will slip and make a mistake. If the student does not know a skill, there is still some chance the student will guess correctly.

Corbett and Anderson’s Model Not learned Two Learning Parameters p(L 0 )Probability the skill is already known before the first opportunity to use the skill in problem solving. p(T)Probability the skill will be learned at each opportunity to use the skill. Two Performance Parameters p(G)Probability the student will guess correctly if the skill is not known. p(S)Probability the student will slip (make a mistake) if the skill is known. Learned p(T) correct p(G)1-p(S) p(L 0 )

Bayesian Knowledge Tracing Whenever the student has an opportunity to use a skill, the probability that the student knows the skill is updated using formulas derived from Bayes’ Theorem.

Formulas

BKT Only uses first problem attempt on each item What are the advantages and disadvantages? Note that several variants to BKT break this assumption at least in part – more on that on February 11th

Knowledge Tracing How do we know if a knowledge tracing model is any good? Our primary goal is to predict knowledge

Knowledge Tracing How do we know if a knowledge tracing model is any good? Our primary goal is to predict knowledge But knowledge is a latent trait

Knowledge Tracing How do we know if a knowledge tracing model is any good? Our primary goal is to predict knowledge But knowledge is a latent trait So we instead check our knowledge predictions by checking how well the model predicts performance

Fitting a Knowledge-Tracing Model In principle, any set of four parameters can be used by knowledge-tracing But parameters that predict student performance better are preferred

Knowledge Tracing So, we pick the knowledge tracing parameters that best predict performance Defined as whether a student’s action will be correct or wrong at a given time

Fit Methods Hill-Climbing Hill-Climbing (Randomized Restart) Iterative Gradient Descent (and variants) Expectation Maximization (and variants) Brute Force/Grid Search

Hill-Climbing The simplest space search algorithm Start from some choice of parameter values Try moving some parameter value in either direction by some amount – If the model gets better, keep moving in the same direction by the same amount until it stops getting better Then you can try moving by a smaller amount – If the model gets worse, try the opposite direction

Hill-Climbing Vulnerable to Local Minima – a point in the data space where no move makes your model better – but there is some other point in the data space that *is* better Unclear if this is a problem for BKT – IGD (which is a variant on hill-climbing) typically does worse than Brute Force (Baker et al., 2008) – Pardos et al. (2010) did not find evidence for local minima (but he used simulated data)

Pardos et al., 2010

Let’s try Hill-Climbing On a small data set For one skill Let’s use 0.1 as the starting point for all four parameters

Hill-Climbing with Randomized Restart One way of addressing local minima is to run the algorithms with randomly selected different initial parameter values

Let’s try Hill-Climbing On same data set For one skill Let’s run four times with different randomly selected parameters

Iterative Gradient Descent Find which set of parameters and step size (may be different for different parameters) leads to the best improvement Use that set of parameters and step size Repeat

Conjugate Gradient Descent Variant of Iterative Gradient Descent (used by Albert Corbett and Excel) Rather complex to explain “I assume that you have taken a first course in linear algebra, and that you have a solid understanding of matrix multiplication and linear independence” – J.G. Shewchuk, An Introduction to the Conjugate Gradient Method Without the Agonizing Pain. (p. 5 of 58)

Expectation Maximization 1.Starts with initial values for L0, T, G, S 2.Estimates student knowledge P(Ln) at each problem step 3.Estimates L0, T, G, S using student knowledge estimates 4.If goodness is substantially different from last time it was estimated, and max iterations has not been reached, go to step 2

Expectation Maximization EM is vulnerable to local minima just like hill- climbing and gradient descent Randomized restart typically used Used in BNT-SM: Bayes Net Toolkit – Student Modeling (Chang et al., 2006)

Brute Force/Grid Search Try all combination of values at a 0.01 grain-size: L0=0, T=0, G= 0, S=0 L0=0.01, T=0, G= 0, S=0 L0=0.02, T=0, G= 0, S=0 … L0=1,T=0,G=0,S=0 … L0=0, T=0.01, G=0, S=0 … L0=1,T=1,G=0.3,S=0.3 I’ll explain this soon

Which is best? EM better than CGD – Chang et al., 2006  A’= 0.05 CGD better than EM – Baker et al., 2008  A’= 0.01 EM better than BF – Pavlik et al., 2009  A’= 0.003,  A’= 0.01 – Gong et al., 2010  A’= – Pardos et al., 2011  RMSE= – Gowda et al., 2011  A’= 0.02 BF better than EM – Pavlik et al., 2009  A’= 0.01,  A’= – Baker et al., 2011  A’= BF better than CGD – Baker et al., 2010  A’= 0.02

Maybe a slight advantage for EM The differences are tiny

Model Degeneracy

Conceptual Idea Behind Knowledge Tracing Knowing a skill generally leads to correct performance Correct performance implies that a student knows the relevant skill Hence, by looking at whether a student’s performance is correct, we can infer whether they know the skill

Essentially A knowledge model is degenerate when it violates this idea When knowing a skill leads to worse performance When getting a skill wrong means you know it

Theoretical Degeneracy (Baker, Corbett, & Aleven, 2008) P(S)>0.5 – A student who knows a skill is more likely to get a wrong answer than a correct answer P(G)>0.5 – A student who does not know a skill is more likely to get a correct answer than a wrong answer

Empirical Degeneracy (Baker, Corbett, & Aleven, 2008) Actual behavior by a model that violates the link between knowledge and performance

Empirical Degeneracy: Test 1 (Concrete Version) (Abstract version given in paper) If a student’s first 3 actions in the tutor are correct The model’s estimated probability that the student knows the skill Should be higher than before these 3 actions.

Test 1 Passed P(L 0 )= 0.2 Bob gets his first three actions right P(L 3 )= 0.4

Test 1 Failed P(L 0 )= 0.2 Maria gets her first three actions right P(L 3 )= 0.1

Empirical Degeneracy: Test 2 (Concrete Version) (Abstract version in paper) If the student makes 10 correct responses in a row The model should assess that the student has mastered the skill

Test 2 Passed P(L 0 )= 0.2 Teresa gets her first seven actions right P(L 7 )= 0.98 The system assesses mastery and moves Teresa on to new material

Test 2 Failed P(L 0 )= 0.2 Ido gets his first ten actions right P(L 10 )= 0.44 Over-practice for Ido

Test 2 Really Failed P(L 0 )= 0.2 Elmo gets his first ten actions right P(L 10 )= 0.42 Elmo gets his next 300 actions right P(L 310 )= 0.42

Test 2 Really Failed P(L 0 )= 0.2 Elmo gets his first ten actions right P(L 10 )= 0.42 Elmo gets his next 300 actions right P(L 310 )= 0.42 Elmo’s school quits using the tutor

Model Degeneracy Joe Beck has told me in personal communication that he has an alternate definition of Model Degeneracy that he prefers P(G)+P(S)>1.0 Why might this definition make sense?

Extensions There have been many extensions to BKT We will discuss some of the most important ones in class on February 11

BKT Questions? Comments?

Next Class Wednesday, January 30 3pm-4:40pm Special Guest Lecturer: John Stamper, Carnegie Mellon University Educational Databases Koedinger, K.R., Baker, R.S.J.d., Cunningham, K., Skogsholm, A., Leber, B., Stamper, J. (2010) A Data Repository for the EDM community: The PSLC DataShop. Handbook of Educational Data Mining. Boca Raton, FL: CRC Press, pp

The End