<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>A Comparison of Error Metrics for Learning Model Parameters in Bayesian Knowledge Tracing</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Asif Dhananiy</string-name>
          <email>asifdhanani@berkeley.edu</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Seung Yeon Lee</string-name>
          <email>sy.lee@berkeley.edu</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Phitchaya Mangpo Phothilimthana</string-name>
          <email>mangpo@berkeley.edu</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Zachary Pardos</string-name>
          <email>pardos@berkeley.edu</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>University of California</institution>
          ,
          <addr-line>Berkeley</addr-line>
          ,
          <country country="US">USA</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>In the knowledge-tracing model, error metrics are used to guide parameter estimation towards values that accurately represent students' dynamic cognitive state. We compare several metrics, including log-likelihood (LL), RMSE, and AUC, to evaluate which metric is most suited for this purpose. In order to examine the e ectiveness of using each metric, we measure the correlations between the values calculated by each and the distances from the corresponding points to the ground truth. Additionally, we examine how each metric compares to the others. Our ndings show that RMSE is signi cantly better than LL and AUC. With more knowledge of e ective error metrics for learning parameters in the knowledge-tracing model, we hope that better parameter searching algorithms can be created.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        As a modeling method, grid search/brute force [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] is often
used to nd the set of parameters with optimal values of
the error metric, and Expectation Maximization (EM)
algorithm [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] is also commonly used to choose parameters
maximizing the LL t to the data. Many studies have
compared di erent modeling approaches [
        <xref ref-type="bibr" rid="ref1 ref4">1, 4</xref>
        ]. However, the
ndings are varied across the studies, and it has still been
unclear which method is the best at predicting student
performance [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ].
      </p>
      <p>
        Pardos and Yudelson compares di erent error metrics to
investigate which one has the most accuracy of estimating the
moment of learning [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. Our work extends this comparison
For more details of this work, please refer to the full
technical report [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ].
yAsif Dhanani, Seung Yeon Lee, and Phitchaya Mangpo
Phothilimthana contributed equally to this work and are
listed alphabetically.
by looking closer into the relationship between three popular
error metrics: LL, RMSE, and AUC, and particularly
elucidating the relationship to one another closer to the ground
truth point.
      </p>
    </sec>
    <sec id="sec-2">
      <title>2. METHODOLOGY</title>
      <p>To assess whether LL, RMSE, or AUC is the best error
metric to use in parameter searching for the BKT model, we
needed datasets with known parameter values in order to
compare these with the parameter values predicted by
using di erent error metrics. Therefore, we synthesized 26
datasets by simulating student responses based on diverse
known ground truth parameter values.</p>
      <p>Correlations to the ground truth. For each dataset, we
evaluated LL, RMSE, and AUC values on all points over the
entire prior/learn/guess/slip parameter space with a 0.05
interval. On each point, we calculated students' predicted
responses (probability that students will answer questions
correctly). We then used these predicted responses with the
actual responses to calculate LL, RMSE, and AUC for all
points. To determine which error metric is the best for this
purpose, we looked at the correlations between values
calculated from error metrics (i.e. LL, RMSE, and AUC) and
the euclidean distances from the points to the ground truth.
We applied logarithm to all error metrics other than LL in
order to compare everything on the same scale. Finally, we
tested whether the correlation between the values calculated
by any particular error metric and the distances is signi
cantly stronger than the others' by running one-tailed paired
t-tests comparing all three metrics against one another.
Distributions of values. We visualized the values of LL
and -RMSE of all points over the 2 dimensional guess/slip
space with a 0.02 interval while xing prior and learn
parameter values to the actual ground truth values. Using the
guess and slip parameters as the axes, we visualize LL and
-RMSE values by color. The colors range from dark red to
dark blue corresponding to the values ranging from low to
high.</p>
      <p>Direct comparison: LL and RMSE. We plotted LL
values and RMSE values of all points against each other in
order to observe the behavior of the two metrics in detail. We
then labeled each data point by its distance to the ground
truth with a color. The range of colors is the same as used
in the previous method.</p>
      <p>Comparision
RMSE &gt; LL
RMSE &gt; AUC
LL &gt; AUC
of correlations
0.0408
0.0844
0.0436</p>
    </sec>
    <sec id="sec-3">
      <title>RESULTS</title>
      <p>Correlations to the ground truth. The average LL, RMSE,
and AUC correlations were 0.4419, 0.4827, and 0.3983
respectively. We de ne that an error metric A is better than
B if the correlation between values calculated by an error
metric A and the distances to the ground truth is higher than
that of B. By this de nition, RMSE was better than LL on
all 26 datasets and better than AUC on 18 of 26 datasets.
This is validated by the one-tailed paired t-test shown in
Figure 1 revealing RMSE as statistically signi cantly better
than both LL and AUC.</p>
      <p>Distributions of values. Figure 2 shows the heat maps of
LL and RMSE on a representative dataset. If we follow the
gradient from the lowest value to the highest value in the
LL heat map, we see that it is very high at the beginning
(far from the ground truth) and is very low at the end (close
to the ground truth). Conversely, in the -RMSE heat map,
the change in the gradient is low. Additionally, notice that
the darkest blue region in -RMSE heat map is smaller than
that in LL heat map. This suggests that we may be able to
re ne the proximity of the ground truth better with RMSE.
Direct comparison: LL and RMSE. Figure 3 shows a LL
vs -RMSE graph from the most representative dataset. As
expected, LL values and RMSE values correlate
logarithmically. Additionally, a secondary curve, which we will refer
to as the hook, is observed in varying sizes among datasets.
The hook converges with the main curve when the -RMSE
and LL values are both su ciently high and the points are
very close to the ground truth.</p>
      <p>Before this point, when we look at a xed LL value with
varied RMSE values, most points in the hook have higher
-RMSE values and are closer to the ground truth than do the
points in the main curve. However, this same pattern is not
seen for a xed RMSE value with varied LL values. After the
curve and hook converge, we can infer that both RMSE and
LL will give similar estimates of the ground truth. However,
for a portion of the graph before this point, RMSE is a better
predictor of ground truth values.</p>
    </sec>
    <sec id="sec-4">
      <title>4. CONCLUSION</title>
      <p>In our comparison of LL, RMSE, and AUC as metrics for
evaluating the closeness of estimated parameters to the true
parameters in the knowledge tracing model, we discovered
that RMSE serves as the strongest indicator. RMSE has
a signi cantly higher correlation to the distance from the
ground truth on average than both LL and AUC, and RMSE
is notably better when the estimated parameter value is not
very close to the ground truth. The e ectiveness of
teaching systems without human supervision relies on the ability
of the systems to predict the implicit knowledge states of
students. We hope that our work can help advance the
parameter learning algorithms used in the knowledge tracing
model, which in turn can make these teaching systems more
e ective.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>R.</given-names>
            <surname>Baker</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Corbett</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Gowda</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Wagner</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>MacLaren</surname>
          </string-name>
          , L. Kau man, A. Mitchell, and
          <string-name>
            <given-names>S.</given-names>
            <surname>Giguere</surname>
          </string-name>
          .
          <article-title>Contextual slip and prediction of student performance after use of an intelligent tutor</article-title>
          .
          <source>In User Modeling, Adaptation, and Personalization</source>
          , volume
          <volume>6075</volume>
          of Lecture Notes in Computer Science.
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>R. S.</given-names>
            <surname>Baker</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z. A.</given-names>
            <surname>Pardos</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S. M.</given-names>
            <surname>Gowda</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B. B.</given-names>
            <surname>Nooraei</surname>
          </string-name>
          , and
          <string-name>
            <surname>N. T.</surname>
          </string-name>
          <article-title>He ernan. Ensembling predictions of student knowledge within intelligent tutoring systems</article-title>
          .
          <source>In Proceedings of the 19th International Conference on User Modeling</source>
          , Adaption, and
          <string-name>
            <surname>Personalization</surname>
          </string-name>
          ,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>A.</given-names>
            <surname>Dhanani</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S. Y.</given-names>
            <surname>Lee</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Phothilimthana</surname>
          </string-name>
          , and
          <string-name>
            <given-names>Z.</given-names>
            <surname>Pardos</surname>
          </string-name>
          .
          <article-title>A comparison of error metrics for learning model parameters in bayesian knowledge tracing</article-title>
          .
          <source>Technical Report UCB/EECS-2014-131</source>
          , EECS Department, University of California, Berkeley, May
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Gong</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Beck</surname>
          </string-name>
          , and
          <string-name>
            <surname>N.</surname>
          </string-name>
          <article-title>He ernan. Comparing knowledge tracing and performance factor analysis by using multiple model tting procedures</article-title>
          .
          <source>In Intelligent Tutoring Systems</source>
          , volume
          <volume>6094</volume>
          of Lecture Notes in Computer Science. Springer Berlin Heidelberg,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>Z.</given-names>
            <surname>Pardos</surname>
          </string-name>
          and
          <string-name>
            <surname>N.</surname>
          </string-name>
          <article-title>He ernan. Modeling individualization in a bayesian networks implementation of knowledge tracing. In User Modeling, Adaptation, and</article-title>
          <string-name>
            <surname>Personalization.</surname>
          </string-name>
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>Z. A.</given-names>
            <surname>Pardos</surname>
          </string-name>
          and
          <string-name>
            <given-names>M. V.</given-names>
            <surname>Yudelson</surname>
          </string-name>
          .
          <article-title>Towards moment of learning accuracy</article-title>
          .
          <source>In Proceedings of the 1st AIED Workshop on Simulated Learners</source>
          ,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>