Improving Individual Learning through Performance...

35
Improving Individual Learning through Performance Tracking Mihaela van der Schaar University of Oxford Alan Turing Institute Joint work with Jie Xu (U Miami)

Transcript of Improving Individual Learning through Performance...

Page 1: Improving Individual Learning through Performance Trackingmedianetlab.ee.ucla.edu/papers/EducationML.pdf · Improving Individual Learning through Performance Tracking Mihaela van

Improving Individual Learning through Performance Tracking

Mihaela van der SchaarUniversity of OxfordAlan Turing Institute

Joint work with Jie Xu (U Miami)

Page 2: Improving Individual Learning through Performance Trackingmedianetlab.ee.ucla.edu/papers/EducationML.pdf · Improving Individual Learning through Performance Tracking Mihaela van

Personalized Education• Trend in education: larger and larger classes

- physical classrooms- MOOCs

• Unsatisfactory because students are heterogeneous- heterogeneous backgrounds & abilities- heterogeneous styles of learning- heterogeneous goals

=> Personalization- maintain engagement- improve learning

• Our approach: electronically personalized interactive environment (EPIE) for each student

=> “as if” one mentor for every student 2

Page 3: Improving Individual Learning through Performance Trackingmedianetlab.ee.ucla.edu/papers/EducationML.pdf · Improving Individual Learning through Performance Tracking Mihaela van

CurriculumDesign

DegreeRecom-

mendation

AdmissionPolicies

CourseRecommendation

PersonalizedComputerized

Tutoring

EPIE

http://medianetlab.ee.ucla.edu/EduAdvance71

StudentTracking

DiscoverRelationships

AmongCourses

(Prerequisites)

PredictDropout

DiscoverMentors

Page 4: Improving Individual Learning through Performance Trackingmedianetlab.ee.ucla.edu/papers/EducationML.pdf · Improving Individual Learning through Performance Tracking Mihaela van

• Students do not graduate on time!• Only 50 out of 580+ public 4-year institutions in the US

have on-time graduate rates greater than 50%• Time is money

• 1 extra year of a public 4-year college = $22,826 in year 2014

• Student loan debt > a trillion dollars• More than USA’s combined credit card and auto load

debts!

• System that can continuously track students’ performance and accurately predict their future performance

• Timely identification of students unlikely to graduate on time (and/or with a decent GPA)

• Enables timely interventions, course recommendations etc.

Some facts

Page 5: Improving Individual Learning through Performance Trackingmedianetlab.ee.ucla.edu/papers/EducationML.pdf · Improving Individual Learning through Performance Tracking Mihaela van

Challenges• Students heterogeneity

• In backgrounds, chosen areas (majors), selected courses and course sequences

• How to handle heterogeneous student data?

• Not all courses are created “equal”• How to discover the underlying relationships existing among

courses and use this for student tracking and course recommendations?

• Sequential prediction problem• Continuous tracking of student learning and student performance• How to incorporate the evolution of student progress into

performance prediction?

Page 6: Improving Individual Learning through Performance Trackingmedianetlab.ee.ucla.edu/papers/EducationML.pdf · Improving Individual Learning through Performance Tracking Mihaela van

ModelStudent 𝑖𝑖

• Static features: background 𝜃𝜃𝑖𝑖 ∈ Θ• High school GPA, SAT scores etc.

• Dynamic features:• 𝑥𝑥𝑖𝑖𝑡𝑡 - performance/grades at the end of term 𝑡𝑡• 𝑥𝑥𝑖𝑖1, 𝑥𝑥𝑖𝑖2, … , 𝑥𝑥𝑖𝑖𝑡𝑡 quantifies the student’s

performance across time

Page 7: Improving Individual Learning through Performance Trackingmedianetlab.ee.ucla.edu/papers/EducationML.pdf · Improving Individual Learning through Performance Tracking Mihaela van

Goal• Predict final cumulative GPA after each term 𝒕𝒕

�𝐺𝐺𝐺𝐺𝐺𝐺𝑖𝑖𝑡𝑡 =∑𝑗𝑗∈�̅�𝑆𝑡𝑡 𝑐𝑐 𝑗𝑗 𝑥𝑥𝑖𝑖 𝑗𝑗 + ∑𝑗𝑗∈𝐽𝐽\�̅�𝑆𝑡𝑡 𝑐𝑐 𝑗𝑗 �𝑥𝑥𝑖𝑖 𝑗𝑗

∑𝑗𝑗∈𝐽𝐽 𝑐𝑐 𝑗𝑗• 𝐽𝐽: set of all courses• ̅𝑆𝑆𝑡𝑡: set of courses completed by term 𝑡𝑡• 𝑐𝑐 𝑗𝑗 : course credit• 𝑥𝑥𝑖𝑖 𝑗𝑗 : grade for completed courses• �𝑥𝑥𝑖𝑖 𝑗𝑗 : predicted grade for uncompleted courses

• Related objective: predict the grade for each uncompleted course

Page 8: Improving Individual Learning through Performance Trackingmedianetlab.ee.ucla.edu/papers/EducationML.pdf · Improving Individual Learning through Performance Tracking Mihaela van

Proposed solution: hierarchical approach

Base layer• A set of base (local) predictors 𝐻𝐻𝑡𝑡 implemented using

different prediction algorithms• Each base (local) predictor ℎ ∈ 𝐻𝐻𝑡𝑡 outputs

𝑧𝑧ℎ,𝑖𝑖𝑡𝑡 = ℎ 𝜃𝜃𝑖𝑖 , 𝑥𝑥𝑖𝑖𝑡𝑡

𝑥𝑥𝑖𝑖𝑡𝑡

𝜃𝜃𝑖𝑖

Page 9: Improving Individual Learning through Performance Trackingmedianetlab.ee.ucla.edu/papers/EducationML.pdf · Improving Individual Learning through Performance Tracking Mihaela van

Ensemble layer• One ensemble predictor 𝑓𝑓𝑡𝑡 for each term 𝑡𝑡• Each 𝑓𝑓𝑡𝑡 synthesizes output �𝑦𝑦𝑖𝑖𝑡𝑡−1 of previous ensemble

predictors & base predictors 𝑧𝑧ℎ,𝑖𝑖𝑡𝑡 and outputs �𝑦𝑦𝑖𝑖𝑡𝑡

𝑓𝑓1 𝑓𝑓2 𝑓𝑓𝑡𝑡𝑦𝑦�𝑖𝑖1 𝑦𝑦�𝑖𝑖2 𝑦𝑦�𝑖𝑖𝑡𝑡

. . . . . .Term 1 Term 2 Term t

Evolving Academic State

Pre-College Traits . . .

Prediction at Term t

Quarter t Predictor

. . .

Local Prediction

Synthesis

Student Database

𝑦𝑦�𝑖𝑖𝑡𝑡𝑦𝑦�𝑖𝑖𝑡𝑡−1𝑧𝑧𝑖𝑖𝑡𝑡

Student performance

upda

te

𝑦𝑦𝑖𝑖

Realized true performance

Proposed solution: hierarchical approach

Page 10: Improving Individual Learning through Performance Trackingmedianetlab.ee.ucla.edu/papers/EducationML.pdf · Improving Individual Learning through Performance Tracking Mihaela van

Design questions• How to construct the base predictors?- Customize to grade prediction

• How to construct the ensemble predictors?- Consider temporal correlation

Page 11: Improving Individual Learning through Performance Trackingmedianetlab.ee.ucla.edu/papers/EducationML.pdf · Improving Individual Learning through Performance Tracking Mihaela van

Learning Base Predictors• An important question when training ℎ𝑡𝑡: how to

construct the input feature space• Using all courses increases complexity and adds noise

• Idea: learn the courses that are most relevant to the course for which we need to issue a prediction

Page 12: Improving Individual Learning through Performance Trackingmedianetlab.ee.ucla.edu/papers/EducationML.pdf · Improving Individual Learning through Performance Tracking Mihaela van

Learning Relevant Courses• A matrix 𝑋𝑋 of size 𝐼𝐼 × 𝐽𝐽

• Rows represent students• Columns represent courses

• We aim to find course clusters by factorizing 𝑋𝑋 = 𝑈𝑈𝑇𝑇𝑉𝑉• 𝑈𝑈 is the compressed grade matrix of size 𝐾𝐾 × 𝐼𝐼• 𝑉𝑉 is the course-cluster matrix of size 𝐾𝐾 × 𝐽𝐽• 𝐾𝐾 is the number of course clusters that we try to find

~ ×

Stud

ents

Courses Clusters

Stud

ents

Clus

ters

Courses

Page 13: Improving Individual Learning through Performance Trackingmedianetlab.ee.ucla.edu/papers/EducationML.pdf · Improving Individual Learning through Performance Tracking Mihaela van

Challenge• Student grade matrix X can be sparse since it is

constructed using data from multiple study areas and students only take a subset of courses

• Difficult non-convex optimization problem - cannot be solved using standard SVD implementations

• Use probabilistic matrix factorization method in [R. Salakhutdinov and A. Mnih, NIPS 2011]

Page 14: Improving Individual Learning through Performance Trackingmedianetlab.ee.ucla.edu/papers/EducationML.pdf · Improving Individual Learning through Performance Tracking Mihaela van

Learning Relevant Courses

• Once 𝑈𝑈 and 𝑉𝑉 are found• Method 1: course 𝑗𝑗 is assigned to a single cluster 𝑘𝑘 with

the highest value among all possible course clusters 𝑘𝑘 𝑗𝑗 = arg max

𝑘𝑘𝑉𝑉𝑘𝑘,𝑗𝑗

• Method 2: course 𝑗𝑗 belongs to cluster 𝑘𝑘 if 𝑉𝑉𝑘𝑘,𝑗𝑗 > �̅�𝑣, where �̅�𝑣 is a predefined threshold value.

• For term 𝑡𝑡 base predictor ℎ𝑡𝑡• only relevant courses that have been taken by term 𝑡𝑡 are

used for training ℎ𝑡𝑡

Page 15: Improving Individual Learning through Performance Trackingmedianetlab.ee.ucla.edu/papers/EducationML.pdf · Improving Individual Learning through Performance Tracking Mihaela van

Learning Ensemble Predictors• A stochastic setting

• Students arrive in sequence 𝑖𝑖 = 1,2, …• Suitable for both offline training and online updating

• Students are assigned to clusters based on static feature 𝜃𝜃𝑖𝑖

• In each term 𝑡𝑡• Each base predictor ℎ𝑡𝑡 ∈ 𝐻𝐻𝑡𝑡 makes a prediction 𝑧𝑧ℎ,𝑖𝑖

𝑡𝑡 =ℎ𝑡𝑡(𝜃𝜃𝑖𝑖 , �𝑥𝑥𝑖𝑖𝑡𝑡)

• �𝑥𝑥𝑖𝑖𝑡𝑡 is performance state restricted to the relevant courses• A total number of 𝑡𝑡 × 𝐻𝐻 prediction results by term 𝑡𝑡

• Goal: synthesize base predictions to output final prediction

Page 16: Improving Individual Learning through Performance Trackingmedianetlab.ee.ucla.edu/papers/EducationML.pdf · Improving Individual Learning through Performance Tracking Mihaela van

Some Possible Synthesis Methods

• Directly utilizing all past information

• Progressively utilizing past information

𝑓𝑓1 𝑓𝑓2 𝑓𝑓𝑡𝑡−1

ℋ1 ℋ2 ℋ𝑡𝑡−1. . .

. . . 𝑓𝑓𝑡𝑡

ℋ𝑡𝑡

𝑓𝑓1 𝑓𝑓2 𝑓𝑓𝑡𝑡−1

ℋ1 ℋ2 ℋ𝑡𝑡−1. . .

. . . 𝑓𝑓𝑡𝑡

ℋ𝑡𝑡

# of inputs at term 𝑡𝑡

𝑡𝑡 × 𝐻𝐻

𝐻𝐻 + 1

Large when 𝑡𝑡 is largeTreat info equally

Constant, independent of 𝑡𝑡Automatically discounts old info

Page 17: Improving Individual Learning through Performance Trackingmedianetlab.ee.ucla.edu/papers/EducationML.pdf · Improving Individual Learning through Performance Tracking Mihaela van

Progressive PredictionExponentially weighted average forecaster• 𝑤𝑤𝑖𝑖 ℎ𝑡𝑡 : weight for base predictor ℎ𝑡𝑡• 𝑣𝑣𝑖𝑖 𝑓𝑓𝑡𝑡 : weight for ensemble predictor 𝑓𝑓𝑡𝑡

• Final prediction: �𝑦𝑦𝑖𝑖𝑡𝑡 =∑ℎ∈𝐻𝐻𝑡𝑡 𝑤𝑤𝑖𝑖 ℎ 𝑧𝑧𝑖𝑖,ℎ

𝑡𝑡 +𝑣𝑣𝑖𝑖 𝑓𝑓𝑡𝑡−1 �𝑦𝑦𝑖𝑖𝑡𝑡−1

∑ℎ∈𝐻𝐻𝑡𝑡 𝑤𝑤𝑖𝑖 ℎ +𝑣𝑣𝑖𝑖 𝑓𝑓𝑡𝑡−1

Local Predictor

Local Predictor

Ensemble Predictor 𝑓𝑓𝑡𝑡

Ensemble Predictor 𝑓𝑓𝑡𝑡−1

. . .

Weight Update

Current prediction

𝑦𝑦�𝑖𝑖𝑡𝑡

Previous prediction 𝑦𝑦�𝑖𝑖𝑡𝑡−1

Local predictions

True Label 𝑦𝑦𝑖𝑖Loss𝑣𝑣𝑖𝑖+1 𝑓𝑓𝑡𝑡−1

𝒘𝑖𝑖+1

Academic State 𝑥𝑥𝑖𝑖𝑡𝑡

𝜃𝜃𝑖𝑖 Group 𝑔𝑖𝑖

Student groups

Page 18: Improving Individual Learning through Performance Trackingmedianetlab.ee.ucla.edu/papers/EducationML.pdf · Improving Individual Learning through Performance Tracking Mihaela van

Progressive PredictionExponentially weighted average forecaster• Weights are updated according to their cumulative prediction loss

𝑤𝑤𝑖𝑖+1𝑡𝑡 ℎ𝑡𝑡 = exp −𝜂𝜂𝑖𝑖𝐿𝐿𝑖𝑖 ℎ𝑡𝑡

• Cumulative prediction loss: 𝐿𝐿𝑛𝑛 ℎ = ∑𝑖𝑖=1𝑛𝑛 𝑙𝑙(𝑧𝑧𝑖𝑖,ℎ𝑡𝑡 ,𝑦𝑦𝑖𝑖)𝑣𝑣𝑖𝑖+1𝑡𝑡−1 𝑓𝑓𝑡𝑡−1 = exp −𝜂𝜂𝑖𝑖𝐿𝐿𝑖𝑖 𝑓𝑓𝑡𝑡−1

• Cumulative prediction loss: 𝐿𝐿𝑛𝑛 𝑓𝑓𝑡𝑡−1 = ∑𝑖𝑖=1𝑛𝑛 𝑙𝑙 �𝑦𝑦𝑖𝑖𝑡𝑡−1,𝑦𝑦𝑖𝑖

Local Predictor

Local Predictor

Ensemble Predictor 𝑓𝑓𝑡𝑡

Ensemble Predictor 𝑓𝑓𝑡𝑡−1

. . .

Weight Update

Current prediction

𝑦𝑦�𝑖𝑖𝑡𝑡

Previous prediction 𝑦𝑦�𝑖𝑖𝑡𝑡−1

Local predictions

True Label 𝑦𝑦𝑖𝑖Loss𝑣𝑣𝑖𝑖+1 𝑓𝑓𝑡𝑡−1

𝒘𝑖𝑖+1

Academic State 𝑥𝑥𝑖𝑖𝑡𝑡

𝜃𝜃𝑖𝑖 Group 𝑔𝑖𝑖

Student groups

Page 19: Improving Individual Learning through Performance Trackingmedianetlab.ee.ucla.edu/papers/EducationML.pdf · Improving Individual Learning through Performance Tracking Mihaela van

PerformanceLearning regret up to student n

Reg𝑡𝑡 𝑛𝑛 = 𝐿𝐿𝑛𝑛 𝑓𝑓𝑡𝑡 − 𝐿𝐿𝑛𝑛∗,𝑡𝑡

𝐿𝐿𝑛𝑛∗,𝑡𝑡 is best local prediction performance in hindsight

Theorem: Regret is sublinear in 𝑛𝑛Reg𝑡𝑡 𝑛𝑛 < 𝑂𝑂 𝑛𝑛

Corollary:lim𝑛𝑛→∞

1𝑛𝑛

Reg𝑡𝑡 𝑛𝑛 → 0: asymptotically optimal

Page 20: Improving Individual Learning through Performance Trackingmedianetlab.ee.ucla.edu/papers/EducationML.pdf · Improving Individual Learning through Performance Tracking Mihaela van

Performance

• The direct method has an expected regret bound 𝐸𝐸 Reg𝑡𝑡 𝑛𝑛 ≤ 𝑂𝑂 𝑛𝑛 ln 𝐻𝐻𝑡𝑡

Page 21: Improving Individual Learning through Performance Trackingmedianetlab.ee.ucla.edu/papers/EducationML.pdf · Improving Individual Learning through Performance Tracking Mihaela van

Dataset• 1169 anonymized undergraduate students in UCLA

Mechanical and Aerospace Engineering department MATH31A

MATH31B

MATH32A

MATH33A

MATH32B

MATH33B

PHYS1A

PHYS1B

PHYS1C

PHYS4AL

PHYS4BL

EE100

EE110LMAE96

MAE102

MAE103

MAE157

MAE82

MAE150A

MAE150B

MAT104

MAE183A

MAE162D

Shared CoursesME courses

AE courses

Page 22: Improving Individual Learning through Performance Trackingmedianetlab.ee.ucla.edu/papers/EducationML.pdf · Improving Individual Learning through Performance Tracking Mihaela van

Dataset• Selected Courses

• Average number of courses is 38• Total number of distinct courses is 811. • 759 of them are taken by less than 10% of the students

Page 23: Improving Individual Learning through Performance Trackingmedianetlab.ee.ucla.edu/papers/EducationML.pdf · Improving Individual Learning through Performance Tracking Mihaela van

Finding 1: Students with higher SAT also obtain higher final GPA

Page 24: Improving Individual Learning through Performance Trackingmedianetlab.ee.ucla.edu/papers/EducationML.pdf · Improving Individual Learning through Performance Tracking Mihaela van

Finding 2: SAT Math is better predictor, compared with Verbal and Writing

Page 25: Improving Individual Learning through Performance Trackingmedianetlab.ee.ucla.edu/papers/EducationML.pdf · Improving Individual Learning through Performance Tracking Mihaela van

Finding 3: Students’ high school GPA is almost not correlated with final GPA

Page 26: Improving Individual Learning through Performance Trackingmedianetlab.ee.ucla.edu/papers/EducationML.pdf · Improving Individual Learning through Performance Tracking Mihaela van

Correlated Courses• Matrix factorization results (K = 20, K = 5)

K = 20 K = 5

Page 27: Improving Individual Learning through Performance Trackingmedianetlab.ee.ucla.edu/papers/EducationML.pdf · Improving Individual Learning through Performance Tracking Mihaela van

Correlated Courses: Case Study• MAE 182A (Mathematics of Engineering)

• Correlated courses according to prerequisites: MATH 31B, MATH 32A, MATH 33A, MATH 33B

Page 28: Improving Individual Learning through Performance Trackingmedianetlab.ee.ucla.edu/papers/EducationML.pdf · Improving Individual Learning through Performance Tracking Mihaela van

Correlated Courses: Case Study• MAE 182A (Mathematics of Engineering)

• Our method discovers additional correlated courses: CHEM 20BH, EE 110L, MAE 102, MAE 105A, PHYS 1A

MAE 105A is correlated with MAE 182A MAE 105D is not as correlated

Page 29: Improving Individual Learning through Performance Trackingmedianetlab.ee.ucla.edu/papers/EducationML.pdf · Improving Individual Learning through Performance Tracking Mihaela van

Prediction Performance• Base vs Our Ensemble

• Base predictors are implemented using linear regression, logistic regression, random forest, kNN

MAE 182A

Page 30: Improving Individual Learning through Performance Trackingmedianetlab.ee.ucla.edu/papers/EducationML.pdf · Improving Individual Learning through Performance Tracking Mihaela van

Prediction Performance• Base vs Our Ensemble

• Base predictors are implemented using linear regression, logistic regression, random forest, kNN

EE 110L

Page 31: Improving Individual Learning through Performance Trackingmedianetlab.ee.ucla.edu/papers/EducationML.pdf · Improving Individual Learning through Performance Tracking Mihaela van

Prediction Performance• Benchmarks using different input features

• Same department only• Only courses offered by same department

• Direct prerequisite only• Series of prerequisite

• Include prerequisites of prerequisites

Page 32: Improving Individual Learning through Performance Trackingmedianetlab.ee.ucla.edu/papers/EducationML.pdf · Improving Individual Learning through Performance Tracking Mihaela van

Prediction Performance

MAE 182A

Page 33: Improving Individual Learning through Performance Trackingmedianetlab.ee.ucla.edu/papers/EducationML.pdf · Improving Individual Learning through Performance Tracking Mihaela van

Prediction Performance

EE 110L

Page 34: Improving Individual Learning through Performance Trackingmedianetlab.ee.ucla.edu/papers/EducationML.pdf · Improving Individual Learning through Performance Tracking Mihaela van

CourseRecommendation

EPIE

71

StudentTracking

W. Hoiles and M. van der Schaar, "Bounded Off-Policy Evaluation with Missing Data for Course Recommendation and Curriculum Design" ICML, 2016.

J. Xu, T. Xiang and M. van der Schaar, "Personalized Course Sequence Recommendations, " IEEE Transactions on Signal Processing, vol. 64, no. 20, pp. 5340-5352, Oct. 2016.

Page 35: Improving Individual Learning through Performance Trackingmedianetlab.ee.ucla.edu/papers/EducationML.pdf · Improving Individual Learning through Performance Tracking Mihaela van

CurriculumDesign

DegreeRecom-

mendation

AdmissionPolicies

CourseRecommendation

PersonalizedComputerized

Tutoring

EPIE

http://medianetlab.ee.ucla.edu/EduAdvance71

StudentTracking

DiscoverRelationships

AmongCourses

(Prerequisites)

PredictDropout

DiscoverMentors