<!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>Graph-based Educational Data Mining (G-EDM 2015)</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Collin F. Lynch</string-name>
          <email>cflynch@ncsu.edu</email>
          <email>ynch@ncsu.edu</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Dr. Jennifer Albert</string-name>
          <email>jlsharp@ncsu.edu</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Dr. Tiffany Barnes</string-name>
          <email>tmbarnes@ncsu.edu</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Michael Eagle</string-name>
          <email>mjeagle@ncsu.edu</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Department of Computer Science, North Carolina State University</institution>
          ,
          <addr-line>Raleigh, North Carolina</addr-line>
          ,
          <country country="US">USA</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Department of Computer</institution>
          ,
          <addr-line>Science</addr-line>
          ,
          <institution>North Carolina State, University</institution>
          ,
          <addr-line>Raleigh, North Carolina</addr-line>
          ,
          <country country="US">USA</country>
        </aff>
      </contrib-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>What path(s) do high-performing students take through online
educational materials?
What social networks can foster or inhibit learning?
Do users of online learning tools behave as the system designers
expect?
What diagnostic substructures are commonly found in
studentproduced diagrams?
Can we use prior student data to identify students' solution
plan, if any?
Can we use prior student data to provide meaningful hints in
complex domains?
Can we identify students who are particularly helpful based
upon their social interactions?</p>
      <p>Thus, graphs are simple in concept, general in structure, and
have wide applications for Educational Data Mining (EDM).</p>
      <p>
        Despite the importance of graphs to data mining and data
analysis there exists no strong community of researchers focused on
Graph-Based Educational Data Mining. Such a community is
important to foster useful interactions, share tools and techniques,
and to explore common problems.
2. GEDM 2014
This is the second workshop on Graph-Based Educational Data
Mining. The first was held in conjunction with EDM 2014 in
London [
        <xref ref-type="bibr" rid="ref17">17</xref>
        ]. The focus of that workshop was on seeding an initial
community of researchers, and on identifying shared problems, and
avenues for research. The papers presented covered a range of
topics including unique visualizations [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ], social capital in educational
networks [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], graph mining [
        <xref ref-type="bibr" rid="ref11 ref19">19, 11</xref>
        ], and tutor construction [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ].
      </p>
      <p>
        The group discussion sections at that workshop focused on the
distinct uses of graph data. Some of the work presented focused
on student-produced graphs as solution representations (e.g. [
        <xref ref-type="bibr" rid="ref14 ref3">14,
3</xref>
        ]) while others focused more on the use of graphs for large-scale
analysis to support instructors or administrators (e.g. [
        <xref ref-type="bibr" rid="ref13 ref18">18, 13</xref>
        ]).
      </p>
      <p>These differing uses motivate different analytical techniques and,
as participants noted, change our underlying assumptions about
the graph structures in important ways.
3. GEDM 2015
Our goal in this second workshop was to build upon this nascent
community structure and to explore the following questions:
1. What common goals exist for graph analysis in EDM?
2. What shared resources such as tools and repositories are
re</p>
      <p>quired to support the community?
3. How do the structures of the graphs and the analytical methods
change with the applications?</p>
      <p>The papers that we include here fall into four broad categories:
interaction, induction, assessment, and MOOCs.</p>
      <p>
        Work by Poulovassilis et al. [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ] and Lynch et al. [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] focuses
on analyzing user-system interactions in state based learning
environments. Poulovassilis et al. focuses on the analyses of
individual users' solution paths and presents a novel mechanism
to query solution paths and identify general solution strategies.
      </p>
      <p>Lynch et al. by contrast, examined user-system interactions from
existing model-based tutors to examine the impact of specific
design decisions on student performance.</p>
      <p>
        Price &amp; Barnes [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ] and Hicks et al. [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] focus on applying these
same analyses in the open-ended domain of programming. Unlike
more discrete tutoring domains where users enter single equations
or select actions, programming tutors allow users to make drastic
changes to their code on each step. This can pose challenges for
data-driven methods as the student states are frequently unique
and admit no easy single-step advice. Price and Barnes present a
novel method for addressing the data sparsity problem by focusing
on minimal-distance changes between users [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ] while in related
work Hicks et al. focuses on the use of path weighting to select
actionable advice in a complex state space [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ].
      </p>
      <p>The goal in much of this work is to identify rules that can
be used to characterize good and poor interactions or good and
poor graphs. Xue at al. sought address this challenge in part via
the automatic induction of graph rules for student-produced
diagrams [22]. In their ongoing work they are applying evolutionary
computation to the induction of Augmented Graph Grammars,
a graph-based formalism for rules about graphs.</p>
      <p>
        The work described by Leo-John et al. [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ], Guerra [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] and
Weber &amp; Vas [21], takes a different tack and focuses not on graphs
representing solutions or interactions but on relationships.
LeoJohn et al. present a novel approach for identifying closely-related
word problems via semantic networks. This work is designed to
support content developers and educators in examining a set of
questions and in giving appropriate assignments. Guerra takes
a similar approach to the assessment of users' conceptual changes
when learning programming. He argues that the conceptual
relationship graph affords a better mechanism for automatic
assessment than individual component models. This approach is
also taken up by Weber and Vas who present a toolkit for
graphbased self-assessment that is designed to bring these conceptual
structures under students' direct control.
      </p>
      <p>
        And finally, Vigentini &amp; Clayphan [20], and Brown et al. [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]
focus on the unique problems posed by MOOCs. Vigentini and
Clayphan present work on the use of graph-based metrics to
assess students' on-line behaviors. Brown et al., by contrast, focus
not on local behaviors but on social networks with the goal of
identifying stable sub-communities of users and of assessing the
impact of social relationships on users' class performance.
      </p>
      <p>Graph Grammar Induction via Evolutionary Computation</p>
    </sec>
    <sec id="sec-2">
      <title>Linting Xue</title>
      <p>Electrical Engineering</p>
      <p>Department
North Carolina State</p>
      <p>University
Raleigh, North Carolina,</p>
      <p>U.S.A.
lxue3@ncsu.edu</p>
    </sec>
    <sec id="sec-3">
      <title>Collin F.Lynch</title>
      <p>Computer Science</p>
      <p>Department
North Carolina State</p>
      <p>University
Raleigh, North Carolina,</p>
      <p>U.S.A.
cflynch@ncsu.edu
Min Chi
Computer Science</p>
      <p>Department
North Carolina State</p>
      <p>University
Raleigh, North Carolina,</p>
      <p>U.S.A.
mchi@ncsu.edu</p>
      <sec id="sec-3-1">
        <title>ABSTRACT</title>
        <p>Augmented Graph Grammars provide a robust formalism
for representing and evaluating graph structures. With the
advent of robust graph libraries such as AGG, it has
become possible to use graph grammars to analyze realistic
data. Prior studies have shown that graph rules can be used
to evaluate student work and to identify empirically-valid
substructures using hand-authored rules. In this paper we
describe proposed work on the automatic induction of graph
grammars for student data using evolutionary computation
via the pyEC system.</p>
      </sec>
      <sec id="sec-3-2">
        <title>1. INTRODUCTION</title>
        <p>
          Graph Grammars are logical rule representations for graph
structures. They can be designed to encode classes of
suitable graphs to recognize complex sub-features. They were
introduced by Rosenfeld and Pfaltz in 1969 as \Context-free
web grammars" [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ]. Since then Graph grammars have been
applied to a wide range of areas, including pattern
recognition [
          <xref ref-type="bibr" rid="ref2 ref3 ref4">2, 3, 4</xref>
          ]; visual programming languages [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ]; biological
development [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ]; classi cation of chemical compounds [
          <xref ref-type="bibr" rid="ref7 ref8">7, 8</xref>
          ];
and social network analysis [
          <xref ref-type="bibr" rid="ref10 ref11 ref9">9, 10, 11</xref>
          ]. Simple graph
grammars are, like string grammars, composed of a set of
production rules that map from one structure to another. In
this case the rules map from a simple subgraph, typically a
single node or arc, to a more complex structure. As with
string grammars the node and arc types are drawn from
nite alphabets. Despite their utility, however, graph
grammars are very di cult to construct. The data structures
required are complex [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ]. Moreover, development of suitable
graph grammars generally requires considerable domain
expertise. Most existing uses of graph grammars have relied
on hand-authored rules.
        </p>
        <p>In this paper we describe our ongoing work on the automatic
induction of Augmented Graph Grammars via Evolutionary
Computation (EC). Our long-term goal in this work is to
develop automated techniques that can extract
empiricallyvalid graph rules which can, in turn, be used to classify
student-produced argument diagrams and to provide the
basis for automated student guidance and evaluation. This will
build upon our prior on the evaluation of a-priori rules for
student arguments. We will begin with background material
on Augmented Graph Grammars and discuss prior work on
grammar induction. We will then present an overview of our
planned work.</p>
      </sec>
      <sec id="sec-3-3">
        <title>2. AUGMENTED GRAPH GRAMMARS &amp; ARGUMENT DIAGRAMS</title>
        <p>
          Classical graph grammars are designed to deal with xed
graphs that are composed from a nite set of static node and
arc types. Augmented graph grammars are an extension of
simple graph grammars that allow for complex node and arc
types, optional substructures, and complex rule expressions
[
          <xref ref-type="bibr" rid="ref12">12</xref>
          ]. Rather than using a xed alphabet of graph
components they are de ned by a complex ontology that allows for
subsidiary types such as textual elds, access functions, and
directional information. They can also be used to evaluate
negated elements as well as quanti ed expressions. As such
they are better suited to rich graph data such as user-system
interaction logs and student-produced argument diagrams.
Augmented Graph Grammars have previously been used for
the detection of empirically-valid substructures in
studentproduced argument diagrams [
          <xref ref-type="bibr" rid="ref13 ref14">13, 14</xref>
          ]. In that work a-priori
rules were used to represent key discussion features and
argumentative aws. Argument diagrams are graphical
argument representations that reify key features of arguments
such as hypothesis statements, claims, and citations as nodes
and the supporting, opposing, and informational
relationships as arcs between them.
the bottom of the diagram, there is a single isolated
hypothesis node that contains two text elds, one for a conditional
or IF eld, and the other for conditional or THEN eld. We
expect the induced graph grammars from a set of argument
diagrams can be used to evaluate the student thesis work.
Figure 2 shows an a-priori rule that was de ned as part
of that work. This rule is designed to identify a subgraph
where a single target node t is connected to two separate
citation nodes a and b such that: a is connected to t via an
opposing path; b is connected via a supporting path; and
there exists no comparison arc between a and b. The rules
in that study were implemented using AGG an augmented
graph grammar library built in Python [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ]. AGG matches
the graphs using recursive stack-based algorithm. The code
rst matches the ground nodes at the top-level of the class
(t, a, &amp; b). It then tests for the recursive productions O,
and S, before nally testing for the negated comparison arc
c. This rule does not make use of the full range of potential
capacity for Augmented Graph Grammars. However it is
illustrative of the type of rules we plan to induce here, rules
that generalize beyond basic types and draw on existing
production classes but not, at least in the immediate term, use
complex textual elements or functional features.
        </p>
      </sec>
      <sec id="sec-3-4">
        <title>3. GRAMMAR INDUCTION</title>
        <p>
          Graph and relational data has grown increasingly prevalent
and graph analysis algorithms have been applied in a wide
range of domains from social network analysis [
          <xref ref-type="bibr" rid="ref15">15</xref>
          ] to
bioinformatics [
          <xref ref-type="bibr" rid="ref16">16</xref>
          ]. Most of this work falls into one of two
categories of algorithms: frequent subgraph matching, and graph
compression.
        </p>
        <p>
          A number of algorithms have been developed to discover
frequent subgraphs. These include the gSpan algorithm
developed by Yan and Han [
          <xref ref-type="bibr" rid="ref17">17</xref>
          ]; the AGM algorithm developed by
Inokuchi et al [
          <xref ref-type="bibr" rid="ref18">18</xref>
          ]; and the FSG algorithm developed by
Kuramochi and Karypis which is based on the previous Apriori
(P aredW comp)
t
O
        </p>
        <p>S
a
: c</p>
        <p>b
8t:T pye = \claim00or\hypothesis009
&lt;&gt;&gt; a:T ype = \Citation00 =&gt;&gt;</p>
        <p>
          b:T ype = \Citation00
:&gt;&gt; c:T ype = \Comparison00 ;&gt;&gt;
algorithm [
          <xref ref-type="bibr" rid="ref19">19</xref>
          ]. They are based upon controlled graph walks
coupled with indexing. While these algorithms are e ective,
particularly on smaller graphs, with low vertex degree they
can also over t simpler graph structures and they do not
scale well to larger, denser graph data [20].
        </p>
        <p>
          The SUBDUE system takes a greedy-compression approach
to graph mining. SUBDUE searches for candidate
subgraphs that can best compress the input graphs by replacing
a candidate subgraph with a single vertex. Then nodes and
arcs are added to the vertices to form new candidate
subgraphs. The process is recursive and relies on the
MinimumDescription-Length (MDL) principle to evaluate the
candidates. SUBDUE has been applied successfully to extract
structure from visual programming [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ], web search [21], and
analyzing user behaviors in games [22].
        </p>
        <p>While these methods are successful they have practical and
theoretical limitations. Both classes of approaches are
limited to static graphs composed from a nite alphabet of node
and arc types. The frequent subgraph approaches are based
upon iterative graph walks and can be computationally
expensive and are limited to nding exact matches. They do
not generalize beyond the exact graphs matched nor do they
allow for recursive typing. SUBDUE, by contrast is a greedy
algorithm that nds the single most descriptive grammar
and does not allow for weighted matches.</p>
        <p>For our present purposes, however, our goal is to identify
multiple heirarchical classes of the type shown in Figure 2
that can: generalize beyond exact node and arc types; can
draw on recursive rule productions; and can be weighted
based upon the graph quality. Moreover our long-term goal
with this work is to explore graph rule induction mechanisms
that can be expanded to include textual rules and complex
constraints. For that reason we have elected to apply
evolutionary computation. This is a general-purpose machine
learning mechanism that can be tunes to explore a range of
possible induction mechanisms.</p>
      </sec>
      <sec id="sec-3-5">
        <title>METHODS</title>
      </sec>
      <sec id="sec-3-6">
        <title>4.1 Evolutionary Computation</title>
        <p>Evolutionary Computation (EC) is a general class of
machine learning and optimization methods that are inspired
by the process of Darwinian evolution through natural
selection [23] such as Genetic Algorithms [24] or Genetic
Programming [25]. EC algorithms begin with a population of
randomly generated candidate solutions such as snippets of
random code, strings representing a target function, or
formal rules. Each of these solutions is ranked by a tness
function that is used to evaluate the quality of the
individuals. These functions can be de ned by absolute measures of
success such as a suite of test cases, or by relative measures
such as a competition between chess-playing systems.
Once the individuals have been ranked a new generation of
individuals is produced through a combination of crossover
and mutation operations. Crossover operations combine two
or more parents to produce one or more candidate children.
In Genetic Algorithms where the candidate solutions are
represented as strings this can be accomplished by splitting two
parents at a given index and then exchanging the substrings
to produce novel children. In Genetic Programming the
parents exchange blocks of code, functions, or subtrees.
Mutation operations alter randomly-selected parts of a candidate
solution by swapping out one symbol or instruction for
another, adding new sub-solutions, or deleting components.
This process of ranking and regeneration will iterate until
a target performance threshold is reached or a maximum
number of generations has passed.</p>
        <p>EC methods are highly general algorithms that can be
readily adapted to novel domains by selecting an appropriate
solution representation and modi cation operations. Thus,
in contrast to more speci c methods such as SUBDUE, the
EC algorithm allows us to tune the inductive bias of our
search and to explore alternative ways of traversing the
solution space. Therefore it is well suited to our present needs.
This exibility is costly, however, as EC is far more
computationally expensive than more specialized algorithms, and
applications of EC can require a great deal of tuning for
each use. In the subsections below we will describe the
tness function and the operators that we will use in this work.
For this work we will rely on pyEC a general purpose
evolutionary computation engine that we have developed [26].</p>
      </sec>
      <sec id="sec-3-7">
        <title>4.2 Dataset</title>
        <p>
          Our initial analysis will be based upon a corpus of expert
graded student produced argument diagrams and essays
previously described in [
          <xref ref-type="bibr" rid="ref13 ref14">13, 14</xref>
          ]. That dataset was collected as
part of a study on students' use of argument diagrams for
writing that was conducted at the University of Pittsburgh
in 2011. For that study we selected a set of students in an
undergraduate-level course on Psychological Research
Methods. As part of the course the students were tasked with
planning and executing an empirical research study and then
drafting a written report. The students were permitted to
work individually or in teams. This report was structured as
a standard empirical workshop paper. Prior to drafting the
report the students were tasked with diagramming the
argument that they planned to make using LASAD an online
tool for argument diagramming and annotation.
Subsequent to this data collection process the diagrams and
essays were graded by an experienced TA using a set of
parallel grading rubrics. These rubrics focused on the quality of
the arguments in the diagrams and essays and were used to
demonstrate that the structure and quality of the diagrams
can be used to predict the students' subsequent essay
performance. These grades will be used as the weighting metric
for the diagrams and will be correlated with performance as
part of the tness function we describe below. After
completion of the data collection, grading, and testing phases and
accounting for student dropout and incomplete assignments
we collected 105 graded diagram-essay pairs 74 of which were
authored by teams.
        </p>
      </sec>
      <sec id="sec-3-8">
        <title>4.3 Solution Representation</title>
        <p>For the purposes of our present experiments we will use a
restricted solution representation that relies on a subset of
the augmented graph grammar formalism exempli ed by the
rule shown in Figure 2. This will include only element types
and recursive productions. In future work we plan to
support the induction of more complex rules de ned by multiple
graph classes, novel productions, and expressions. However
for the present study we will focus on the simple case of
individual classes coupled with prede ned productions.</p>
      </sec>
      <sec id="sec-3-9">
        <title>4.4 Fitness Function</title>
        <p>
          We plan to use the frequency correlation metric previously
employed in [
          <xref ref-type="bibr" rid="ref13 ref14">13, 14</xref>
          ]. In that study the authors assessed the
empirical validity of a set of a-priori diagram rules. The
validity of each individual rule was assessed by testing the
correlation between the frequency of the class in the existing
graph and the graph grade. The strength of that correlation
was estimated using Spearman's a non-parametic measure
of correlation [27]. In that work the authors demonstrated
that the a-priori rule frequency was correlated with
students' subsequent essay grades and showed that the
frequencies could be used to predict students' future performance.
        </p>
      </sec>
      <sec id="sec-3-10">
        <title>4.5 Mutation</title>
        <p>Our mutation operator will draw on the prede ned graph
ontology to make atomic changes to an existing graph class.
The change will be one of the following operations:</p>
        <sec id="sec-3-10-1">
          <title>Change Node change an existing node's type.</title>
          <p>Change Arc Change an existing arc's type or orientation.
Delete Node Delete a node and its associated arcs.</p>
        </sec>
        <sec id="sec-3-10-2">
          <title>Delete Arc Delete an existing arc. Add Node Add a novel node with a speci ed type. Add Arc Add an arc between existing nodes or add with new nodes.</title>
        </sec>
      </sec>
      <sec id="sec-3-11">
        <title>4.6 Crossover</title>
        <p>By design the crossover operation should, like genetic crossover,
be conservative. Two very similar parents should produce
similar o spring. Crossover operations should therefore
preserve good building blocks and sub-solutions or introns through
random behavior [25]. Arbitrary graph alignment and crossover
is a challenging problem that risks causing unsustainable
changes on each iteration. We therefore treat graph crossover
as a matrix problem.</p>
        <p>For each pair of parent classes we will de ne a pair of
diagonal matricies of the type illustrated in Figure 3. The
letter indicies on the top and right indicate nodes while the
numerical indicies internally indicate arcs, and the ; symbol
indicates that no arc is present. The matricies are
generated in a canonical order based upon the order in which the
nodes were added to the class. Thus on each iteration of the
crossover process the corresponding elements will obtain the
same index. As a consequence good subsolutions will obtain
the same location and will tend to be preserved over time.
Once a set of parent matricies has been generated we then
generate two child matricies of the same size as the parents
and then randomly select the node and arc members. In the
example shown in gures 3 and 4 the parents have nodes
fA,B,C,Dg and fE,F,Gg while the children have fE,B,G,Dg
and fA,F,Cg. Thus we align the nodes in canonical order
and, for each node pair, we ip a coin to decide where they
are copied. If one parent is larger than the other than any
additional nodes, in this case D, will be copied to the larger
child. We then perform a comparable exchange process for
the arcs. Each arc or potential arc is de ned uniquely in the
matricies by its endpoints. We thus align the lists of arcs
in a comparable manner and then decide randomly which
arc, or empty arc, to copy. As with the nodes, extra arcs
from the larger parent, in this case 3,5, and one ; are copied
directly into the larger of the two children.</p>
      </sec>
      <sec id="sec-3-12">
        <title>5. FUTURE WORK</title>
        <p>In this paper we presented a method for the induction of
augmented graph grammars through evolutionary
computation. We are presently applying this work to the automatic
induction of empirically-valid rules for student-produced
argument diagrams. This work will serve to extend our prior
e orts on the use of augmented graph grammars for student
7
F
7
grading and feedback. This work represents an
improvement over prior graph grammar induction algorithms which
are limited to classical graph grammars and greedy
extraction. This work also represents an extension for
evolutionary computation by shifting it into a new domain. As part
of this work we also plan to explore additional extensions to
the standard evolutionary computation algorithm to address
problems of over- tting such as 2 reduction.</p>
        <p>E
F
A
F</p>
        <p>Communities of Performance
&amp; Communities of Preference
Rebecca Brown
North Carolina State</p>
        <p>University</p>
        <p>Raleigh, NC
rabrown7@ncsu.edu</p>
        <p>Michael Eagle
North Carolina State University</p>
        <p>Raleigh, NC
mjeagle@ncsu.edu</p>
        <p>Ryan Baker
Teachers College, Columbia</p>
        <p>University</p>
        <p>New York, NY
ryanshaunbaker@gmail.com</p>
        <p>Collin Lynch
North Carolina State</p>
        <p>University</p>
        <p>Raleigh, NC
cflynch@ncsu.edu</p>
        <p>Jennifer Albert
North Carolina State</p>
        <p>University</p>
        <p>Raleigh, NC
jennifer_albert@ncsu.edu</p>
        <p>Yoav Bergner
Educational Testing Service</p>
        <p>Princeton, NJ
ybergner@gmail.com</p>
        <p>Yuan Wang
Teachers College, Columbia</p>
        <p>University</p>
        <p>New York, NY
elle.wang@columbia.edu</p>
        <p>Tiffany Barnes
North Carolina State</p>
        <p>University</p>
        <p>Raleigh, NC
tmbarnes@ncsu.edu</p>
        <p>Danielle McNamara
Arizona State University</p>
        <p>Phoenix, AZ
dsmcnamara1@gmail.com
The current generation of Massive Open Online Courses (MOOCs)
operate under the assumption that good students will help poor
students, thus alleviating the burden on instructors and Teaching
Assistants (TAs) of having thousands of students to teach. In
practice, this may not be the case. In this paper, we examine
social network graphs drawn from forum interactions in a MOOC
to identify natural student communities and characterize them
based on student performance and stated preferences. We
examine the community structure of the entire course, students only,
and students minus low performers and hubs. The presence of
these communities and the fact that they are homogeneous with
respect to grade but not motivations has important implications
for planning in MOOCs.</p>
        <p>Keywords
MOOC, social network, online forum, community detection
1. INTRODUCTION
The current generation of Massive Open Online Courses (MOOCs)
is designed to leverage student interactions to augment
instructor guidance. The activity in courses on sites such as Coursera
and edX is centered around user forums that, while curated
and updated by instructors and TAs, are primarily constructed
by students. When planning and building these courses, it is
hoped that students will help one another through the course
and that interacting with stronger students will help to improve
the performance of weaker ones. It has not yet been shown,
however, that this type of support occurs in practice.</p>
        <p>Prior research on social networks has shown that social groups,
even those that gather face-to-face, can fragment into disjoint
sub-communities [37]. This small-group separation, if it takes
place in an online course, can be considered negative or positive,
depending on one's perspective. If poor students
communicate only with similarly-floundering peers, then they run the
risk of perpetuating misunderstandings and of missing insights
discussed by better-performing peers and teaching staff. An
instructor may wish to avoid this fragmentation to encourage
poor students to connect with better ones.</p>
        <p>
          These enduring subgroups may be beneficial, however, by
helping students to form enduring supportive relationships. Research
by Li et al. has shown that such enduring relationships can
enhance students' social commitment to a course [
          <xref ref-type="bibr" rid="ref18">18</xref>
          ]. We
believe that this social commitment will in turn help to reduce
feelings of isolation and alienation among students in a course.
        </p>
        <p>
          Eckles and Stradley [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ] have shown that such isolation is a key
predictor of student dropout.
        </p>
        <p>
          We have previously shown that students can form stable
communities and that those communities are homogeneous with
respect to performance [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ]. However that work did not: show
whether these results are consistent with prior work on
immediate peer relationships; address the impact of hub students on
these results; or discuss whether students' varying goals and
preferences motivate the community structure. Our goal in this
paper is to build upon our prior work by addressing these issues.
        </p>
        <p>In the remainder of this paper we will survey prior educational
literature on community formation in traditional and online
classrooms. We will then build upon our prior work by
examining the impact of hub users. And we will look at the impact
of user motivations on community formation.</p>
        <p>
          RELATED WORK
2.1 MOOCs, Forums, &amp; Student Performance
A survey of the literature on MOOCs shows the beginnings of a
research base generating an abundance of data that has not yet
been completely analyzed [
          <xref ref-type="bibr" rid="ref19">19</xref>
          ]. According to Seaton et al. [29],
most of the time students spend on a MOOC is spent in
discussion forums, making them a rich and important data source.
        </p>
        <p>
          Stahl et al. [30] illustrates how through this online interaction
students collaborate to create knowledge. Thus students' forum
activity is good not only for the individual student posting
content or receiving answers, but for the class as a whole. Huang et
al. [
          <xref ref-type="bibr" rid="ref14">14</xref>
          ] investigated the behavior of the highest-volume posters
in 44 MOOC-related forums. These \superposters" tended to
enroll in more courses and do better in those courses than the
average. Their activity also added to the overall volume of forum
content and they left fewer questions unanswered in the forums.
        </p>
        <p>Huang et al. also found that these superposters did not suppress
the activity of less-active users. Rienties et al. [25] examined the
way in which user interaction in MOOCs is structured. They
found that allowing students to self-select collaborators is more
conducive to learning than randomly assigning partners. Further,
Van Dijk et al. [31] found that simple peer instruction is
significantly less effective in the absence of a group discussion step,
pointing again to the importance of a class discussion forum.</p>
        <p>More recently Rose et al. [27] examined students' evolving
interactions in MOOCs using a Mixed-Membership Stochastic Block
model which seeks to detect partially overlapping communities.</p>
        <p>
          They found that the likelihood that students would drop out
of the course is strongly correlated with their community
membership. Students who actively participated in forums early in
the course were less likely to drop out later. Furthermore, they
found one forum sub-community that was much more prone
to dropout than the rest of the class, suggesting that MOOC
communities are made up of students who behave in similar
ways. This community can in turn reflect or impact a student's
level of motivation and their overall experience in a course much
like the \emotional contagion" model used in the Facebook mood
manipulation study by Kramer, Guillroy, and Hancock [
          <xref ref-type="bibr" rid="ref16">16</xref>
          ].
        </p>
        <p>
          Yang et al. [36] also notes that unlike traditional courses
students can join MOOCs at different times and observed that
students who join a course early are more likely to be active
and connected in the forums, and less likely to drop out, than
those who join later. MOOCs also attract users with a range of
individual motivations. In a standard classroom setting students
are constrained by availability, convention, and goals. Few
students enroll in a traditional course without seeking to complete
it and to get formal credit for doing so. MOOCs by virtue of
their openness and flexibility attract a wide range of students
with unique personal motivations [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ]. Some join the course
with the intent of completing it. Others may seek only to brush
up on existing knowledge, obtain specific skills, or just watch
the videos. These distinct motivations in turn lend themselves
to different in-class behaviors including assignment viewing and
forum access. The impact of user motivations in online courses
has been previously discussed by Wang et al. [32, 33]; we will
build upon that work here. Thus it is an open question whether
these motivations affect students' community behaviors or not.
2.2 Communities, Hubs, &amp; Peers
Kovanovic et al. [
          <xref ref-type="bibr" rid="ref15">15</xref>
          ] examined the relationship between social
network position or centrality, and social capital formation in
courses. Their work is specifically informed by the Community
of Inquiry (COI) framework. the COI framework is focused on
distance education and is particularly suited to online courses of
the type that we study here. The model views course behavior
through three presences which mediate performance: cognitive,
teaching, and social.
        </p>
        <p>This social presence considers the nature and persistence of
student interactions and the extent to which they reinforce
students' behaviors. In their analysis, the authors sought to test
whether network relationships, specifically students' centrality
in their social graph, is related to their social performance as
measured by the nature and type of their interactions. To that
end, they examined a set of course logs taken from a series of
online courses offered within a public university. They found
that students' position within their social graph was positively
correlated with the nature and type of their interactions, thus
indicating that central players also engaged in more useful social
interactions. They did not extend this work to groups, however,
focusing solely on individual hub students.</p>
        <p>
          Other authors have also examined the relationship between
network centrality, neighbor relationships, network density, and
student performance factors. Eckles and Stradley [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ] applied
network analysis to student attrition, finding that students with
strong social relationships with other students who drop out
are significantly more likely to drop out themselves. Rizzuto
et al. [26] studied the impact of social network density on
student performance. Network density is defined as the fraction
of possible edges that are present in a given graph. Thus it
is a measure of how \clique-like" the graph is. The authors
examined self-reported social networks for students in a large
traditional undergraduate psychology course. They found that
denser social networks were significantly correlated with
performance. However, a dominance analysis [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ] showed that this
factor was less predictive than pure academic ability. These
results serve to motivate a focus on the role of social relationships
in student behavior. Their analysis is complicated, however, by
their reliance on self-report data which will skew the strength
and recency of the reported relationships.
        </p>
        <p>
          Fire et al. [
          <xref ref-type="bibr" rid="ref11">11</xref>
          ] studied student interaction in traditional
classrooms, constructing a social network based on cooperation on
class assignments. Students were linked based on partnership on
group work as well as inferred cooperation based on assignment
submission times and IP addresses. The authors found that a
student's grade was significantly correlated with the grade of
the student with the strongest links to that student in the social
network. We perform similar analysis in this paper to examine
whether the same correlation exists in MOOCs.
        </p>
        <p>
          Online student interaction in blended courses has also been
linked to course performance. Dawson [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ] extracted student
and instructor social networks from a blended course's online
discussion forums and found that students in the 90th grade
percentile had larger social networks than those in the 10th
percentile. The study also found that high-performing students
primarily associated with other high-performing students and
were more likely to be connected to the course instructor, while
low-performing students tended to associate with other
lowperformers. In a blended course, this effect may be offset by
face-to-face interaction not captured in the online social network,
but if the same separation happens in MOOC communities,
lowperforming students are less likely to have other chances to learn
from high-performing ones.
2.3 Community Detection
One of the primary activities students engage in on forums
is question answering. Zhang et al. [38] conducted a social
network analysis on an online question-and-answer forum about
Java programming. Using vertex in-degree and out-degree, they
were able to identify a relatively small number of active users
who answered many questions. This allowed the researchers to
develop various algorithms for calculating a user's Java expertise.
        </p>
        <p>Dedicated question-and-answer forums are more structured than
MOOC forums, with question and answer posts identified, but a
similar approach might help identify which students in a MOOC
ask or answer the most questions.</p>
        <p>
          Choo et al. [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ] studied community detection in Amazon
productreview forums. Based on which users replied to each other most
often, they found communities of book and movie reviewers who
had similar tastes in these products. As in MOOC forums, users
did not declare any explicit social relationships represented in the
system, but they could still be grouped by implicit connections.
        </p>
        <p>
          In the context of complex networks, a community structure is a
subgraph which is more densely connected internally than it is to
the rest of the network. We chose to apply the Girvan-Newman
edge-betweenness algorithm (GN) [
          <xref ref-type="bibr" rid="ref13">13</xref>
          ]. This algorithm takes as
input a weighted graph and a target number of communities.
        </p>
        <p>
          It then ranks the edges in the graph by their edge-betweenness
value and removes the highest ranking edge. To calculate
Edgebetweenness we identify the shortest path p(a;b) between each
pair of nodes a and b in the graph. The edge-betweenness
of an arc is defined as the number of shortest paths that it
participates in. This is one of the centrality measures explored
by Kovanovic et al. above [
          <xref ref-type="bibr" rid="ref15">15</xref>
          ]. The algorithm then
recalculates the edge-betweenness values and iterates until the desired
number of disjoint community subgraphs has been produced.
        </p>
        <p>
          Thus the algorithm operates by iteratively finding and removing
the highest-value communications channel between communities
until the graph is fully segmented. For this analysis, we used
the iGraph library [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ] implementation of G-N within R [24].
        </p>
        <p>
          The strength of a candidate community can be estimated by
modularity. The modularity score of a given subgraph is defined
as a ratio of its intra-connectedness (edges within the subgraph)
to the inter-connectedness with the rest of the graph minus the
fraction of such edges expected if they were distributed at
random [
          <xref ref-type="bibr" rid="ref13">13, 35</xref>
          ]. A graph with a high modularity score represents
a dense sub-community within the graph.
3. DATA SET
This study used data collected from the \Big Data in Education"
MOOC hosted on the Coursera platform as one of the inaugural
courses offered by Columbia University [32]. It was created in
response to the increasing interest in the learning sciences and
educational technology communities in using EDM methods
with fine-grained log data. The overall goal of this course was
to enable students to apply each method to answer education
research questions and to drive intervention and improvement in
educational software and systems. The course covered roughly
the same material as a graduate-level course, Core Methods
in Educational Data Mining, at Teachers College Columbia
University. The MOOC spanned from October 24, 2013 to
December 26, 2013. The weekly course was composed of lecture
videos and 8 weekly assignments. Most of the videos contained
in-video quizzes (that did not count toward the final grade).
        </p>
        <p>All of the weekly assignments were structured as numeric input
or multiple-choice questions. The assignments were graded
automatically. In each assignment, students were asked to conduct
analyses on a data set provided to them and answer questions
about it. In order to receive a grade, students had to
complete this assignment within two weeks of its release with up
to three attempts for each assignment, and the best score out
of the three attempts was counted. The course had a total
enrollment of over 48,000, but a much smaller number actively
participated. 13,314 students watched at least one video, 1,242
students watched all the videos, 1,380 students completed at
least one assignment,and 778 made a post or comment in the
weekly discussion sections. Of those with posts, 426 completed
at least one class assignment. 638 students completed the online
course and received a certificate (meaning that some students
could earn a certificate without participating in forums at all).</p>
        <p>In addition to the weekly assignments the students were sent
a survey that was designed to assess their personal motivations
for enrolling in the course. This survey consisted of 3 sets
of questions: MOOC-specific motivational items; two PALS
(Patterns of Adaptive Learning Survey) sub-scales [21],
Academic Efficacy and Mastery-Goal Orientation; and an item
focused on confidence in course completion. It was distributed
to students through the course's E-mail messaging system to
students who enrolled in the course prior to the official start
date. Data on whether participants successfully completed the
course was downloaded from the same course system after the
course concluded. The survey received 2,792 responses; 38% of
the participants were female and 62% of the participants were
male. All of the respondents were over 18 years of age.</p>
        <p>
          The MOOC-specific items consisted of 10 questions drawn from
previous MOOC research studies (cf. [
          <xref ref-type="bibr" rid="ref2">2, 22</xref>
          ]) asking respondents
to rate their reasons for enrollment. These 10 items address
traits of MOOCs as a novel online learning platform. Specifically,
these 10 items included questions on both the learning content
and features of MOOCs as a new platform. Two PALS Survey
scales [21] measuring mastery-goal orientation and academic
efficacy were used to study standard motivational constructs.
        </p>
        <p>
          PALS scales have been widely used to investigate the relation
between a learning environment and a student's motivation (cf.
[
          <xref ref-type="bibr" rid="ref6">6, 20, 28</xref>
          ]). Altogether ten items with five under each scale
were included. The participants were asked to select a number
from 1 to 5 with 1 meaning least relevant and 5 most relevant.
        </p>
        <p>Respondents were also asked to self-rate their confidence on a
scale of 1 to 10 as to whether they could complete the course
according to the pace set by the course instructor. All three
groups of items were domain-general.
4. METHODS
For our analysis, we extracted a social network from the online
forum associated with the course. We assigned a node to each
student, instructor, or TA in the course who added to it. Nodes
representing students were labeled with their final course grade
out of 100 points. The Coursera forums operate as standard
threaded forums. Course participants could start a new thread
with an initial post, add a post to an existing thread, and add
a comment or child element below an existing post. We added
a directed edge from the author of each post or comment to the
parent post and to all posts or comments that preceded it on
the thread based upon their timestamp. We made a conscious
decision to omit the textual content of the replies with the goal
of isolating the impact of the structure alone.</p>
        <p>
          We thus treat each reply or followup in the graph as an implicit
social connection and thus a possible relationship. Such implicit
social relationships have been explored in the context of
recommender systems to detect strong communities of researchers [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ].
        </p>
        <p>This is, by design, a permissive definition that is based upon
the assumption that individuals generally add to a thread after
viewing the prior content within it and that individual threads
can be treated as group conversations with each reply being a
conscious statement for everyone who has already spoken. The
resulting network forms a multigraph with each edge
representing a single implicit social interaction. We removed self loops
from this graph as they indicate general forum activity but
not any meaningful interaction with another person. We also
removed vertices with a degree of 0, and collapsed the parallel
edges to form a simple weighted graph for analysis.</p>
        <p>In the analyses below we will focus on isolating student
performance and assessing the impact of the faculty and hub students.</p>
        <p>We will therefore consider four classes of graphs: ALL the
complete graph; Student the graph with the instructor and TAs
removed; NoHub the graph with the instructor and hub users
removed; and Survey which includes only students who completed
the motivation survey. We will also consider versions of the above
graphs without students who obtained a score of 0, and without
the isolated individuals who connect with at most one other
person. As we will discuss below, a number of students received
a zero grade in the course. Because this is an at-will course,
however, we cannot readily determine why these scores were obtained.</p>
        <p>
          They may reflect a lack of engagement with the course,
differential motivations for taking the course, a desire to see the course
materials without assignments, or genuinely poor performance.
4.1 Best-Friend Regression &amp; Assortativity
Fire et al. [
          <xref ref-type="bibr" rid="ref11">11</xref>
          ] applied a similar social network approach to
traditional classrooms and found a correlation between a
student's most highly connected neighbor ("best friend") and the
student's grade. The links in that graph included cooperation
on assignments as well as partnership on group assignments.
        </p>
        <p>To examine whether the same correlation existed in a massive
online course in which students were less likely to know each
other beforehand and there were no group assignments, we
calculated each student's best friend in the same manner and
performed a similar correlation.</p>
        <p>The simple best friends analysis gives a straightforward
mechanism for correlating individual students. However it is also
worthwhile to ask about students who are one-step removed
from their peers. Therefore we will also calculate the grade
assortativity (rG) of the graphs. Assortativity describes the
correlation of values between vertices and their neighbors [23]. The
assortativity metric r ranges between -1 and 1, and is essentially
the Pearson correlation between vertex and their neighbors [23].</p>
        <p>A network with r = 1 would have each vertex only sharing edges
with vertices of the same score. Likewise, if r = 1 vertices in
the network would only share edges with vertices of different
scores. Thus grade assortativity allows us to measure whether
individuals are not just connected directly to individuals with
similar scores but whether they correlate with individuals who
are one step removed.</p>
        <p>
          Several commonly studied classes of networks tend to have
patterns in their assortativity. Social networks tend to have high
assortativity, while biological and technological networks tend
to have negative values (dissortativity) [23]. In a homogeneous
course or one where students only form stratified communities
we would expect the assortativity to be very high while in a
heterogeneous class with no distinct communities we would expect
it to be quite low.
4.2 Community Detection
The process of community detection we employed is briefly
described here [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ]. As noted there we elected to ignore the edge
direction when making our graph. Our goal in doing so was to
focus on communities of learners who shared the same threads,
even when they were not directly replying to one-another. We
believe this to be a reasonable assumption given the role of class
forums as a knowledge-building environment in which students
exchange information with the group. Individuals who
participate in a thread generally review prior posts before submitting
their contribution and are likely to return to view the followups.
        </p>
        <p>Homogeneity in this context would mean that students gathered
and communicated primarily with equally-performing peers and
thus that they did not consistently draw from better-performing
classmates and help lower-performing ones or that the at-will
communities served to homogenize performance, with the
students in a given cluster evening out over time.</p>
        <p>
          While algorithms such as GN are useful for finding clusters they
do not, in and of themselves, determine the right number of
communities. Rather, when given a target number they will seek
to identify the best possible set of communities. In some
implementations the algorithm can be applied to iteratively select the
maximum modularity value over a possible range. Determining
the correct number of communities to detect, however, is a
non-trivial task especially in large and densely connected graphs
where changes to smaller communities will have comparatively
small effects on the global modularity score. As a consequence
we cannot simply optimize for the best modularity score as we
would risk missing small but important communities [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ].
        </p>
        <p>
          Therefore, rather than select the clusterings based solely on
the highest modularity, we have opted to estimate the correct
number of clusters visually. To that end we plotted a series of
modularity curves over the set of graphs. For each graph G we
applied the GN algorithm iteratively to produce all clusters in
the range (2;jGN j). For each clustering, we then calculated the
global modularity score. We examined the resulting scores to
identify a crest where the modularity gain leveled off or began to
decrease thus indicating that future subdivisions added no
meaningful information or created schisms in existing high-quality
communities. This is a necessarily heuristic process that is
similar to the use of Scree plots in Exploratory Factor Analysis [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ].
        </p>
        <p>We define the number identified as the natural cluster number.
5. RESULTS AND DISCUSSION
Before removing self-loops and collapsing the edges, the network
contained 754 nodes and 49,896 edges. The final social network
contained 754 nodes and 17,004 edges. 751 of the participants
were students, with 1 instructor and 2 TAs. One individual was
incorrectly labeled as a student when they were acting as the
Chief Community TA. Since this person's posts clearly indicated
that he or she was acting in a TA capacity with regard to the
forums, we relabeled him/her as a TA. Of the 751 students 304
obtained a zero grade in the course leaving 447 nonzero students.
215 of the 751 students responded to the motivation survey.</p>
        <p>There were a total of 55,179 registered users, so the set of 754
forum participants is a small fraction of the entire course
audience. However, forum users are not necessarily those who will
make an effort or succeed in the course. Forum users did not all
participate in the course, and some students who participated in
the course did not use the forums: 1,381 students in the course
got a grade greater than 0, and 934 of those did not post or
comment on the forums, while 304 of the 751 students who did
participate in the forums received a grade of 0. Clearly students
who go to the trouble of posting forum content are in some
respect making an effort in the course beyond those who don't,
but this does not necessarily correspond to course success.
5.1 Best-Friend Regression &amp; Assortativity
We followed Fire et al.'s methodology for identifying Best Friends
in a weighted graph and calculated a simple linear regression
over the pairs. This correlation did not include the instructor or
TAs in the analysis. We calculated the correlation between the
students' grades to their best friends' grades in the set using
Spearman's Rank Correlation Coefficient ( ) [34]. The two
variables were strongly correlated, (748)=0:44, p&lt;0:001. However,
the correlation was also affected by the dense clusters of students
with 0 grades. After removing the 0 grade students we found
an additional moderate correlation, (444)=0:29, p&lt;0:001.</p>
        <p>Thus the significant correlation between best-friend grade and
grade holds over the transition from the traditional classroom to
a MOOC. This suggests that students in a MOOC, excluding the
many who drop out or do not submit assignments, behave
similarly to those in a traditional classroom in this respect. These
results are also consistent with our calculations for assortativity.</p>
        <p>There we found a small assortative trend for the grades as shown
in Table 1. These values reflect that a student was frequently
communicating with students who in turn communicated with
students at a similar performance level. This in turn supports our
belief that homogeneous communities may be found. As Table
1 also illustrates, the zero-score students contribute
substantially to the assortativity correlation as well with the correlation
dropping by as much as a third when they were removed.
5.2 Community Structure
The modularity curves for the graphs both with and without
zero-score students are shown in Figures 1 and 2. We
examined these plots to select the natural cluster numbers which are
shown in Table 2. As the values illustrate the instructor, TAs,
and hub students have a disproportionate impact on the graph
structure. The largest hub student in our graph connects to
444 out of 447 students in the network. The graph with all
users had lower modularity and required more clusters than the
graphs with only students or only non-hubs (see Table 2), with
the non-hub graph having the highest modularity. This suggests
that non-hub students formed more isolated communities, while
teaching staff and hubs communicated across these communities
and connected them.</p>
        <p>This largely consistent with the intent of the forums and the
active role played by the instructor and TAs in monitoring and
replying to all relevant posts in the forums. It is particularly
interesting how closely the curves for the ALL and Student graphs
mirror one another. This may indicate that the hub students are
also those that followed the instructor and TAs closely, thus
giving them isomorphic relationships, or it may indicate that they
are more connected than even the instructors and thus came to
bind the forums together on their own. This impact is further
illustrated by the cluster plots shown in Figure 3. Here the
absence of the hub students results in a noticeable thinning of the
graph which in turn highlights the frequency of communication
that can be attributed to this, comparatively small, group.</p>
        <p>The difference between the full plots and those with zero values
are also notable as the zero grade students were clearly a major
factor in community formation. A direct examination of the
user graph showed that many of the zero students were only
connected to other zero students or were not connected at all.</p>
        <p>This is also highlighted in Figure 3. In both graphs the bulk of
the zero score students are clustered in a tight network of
communities on the left-hand side. That super-community consists
primarily of zero score students communicating with other
zeroscore students, a structure we have nick-named the `deathball.'
5.3 Student Performance &amp; Motivation
As the color coding in Figure 3 illustrates, the students did
cluster by performance. Table 3 shows the average grade and
standard deviation for a small selection of the communities in
the ALL reply network including zero-grades, hub students,
and teaching staff. Several of the communities, particularly
the larger ones, do show a blend of good and poor students,
with a high standard deviation. However many if not most of
the communities are more homogeneous with good and poor
students sharing a community with similarly-performing peers.</p>
        <p>These clusters have markedly lower standard deviation.</p>
        <p>An examination of the grade distribution for each of the clusters
showed that the scores within each cluster were non-normal.</p>
        <p>
          Therefore we opted to apply the Kruskal-Wallis (KW) test to
assess the correlation between cluster membership and
perforYes
No
Yes
No
Yes
No
Yes
mance. The KW test is a nonparametric rank-based analogue
to the common Analysis of Variance [
          <xref ref-type="bibr" rid="ref17">17</xref>
          ]. Here we tested grade
by community number with the community being treated as a
categorical variable. The results of this comparison are shown
in Table 4. As that illustrates, cluster membership was a
significant predictor of student performance for all of the graphs
with the non-zero graphs having markedly lower p-values than
those with zero students included. These results are consistent
with our hypothesis that students would form clusters of
equalperformers and we find that those results hold even when the
highly-connected instructors, TAs and hub students are included.
        </p>
        <p>
          We performed a similar KW analysis for the questions on the
motivation survey and for a binary variable indicating whether
or not the student completed the survey at all. For this analysis
we evaluated the clusters on all of the graphs. We found no
significant relationship between the community structure on
any of the graphs and the survey question results or the survey
completion variable. Thus while the clusters may be driven by
separate factors they are not reflected in the survey content.
6. CONCLUSIONS AND FUTURE WORK
Our goal in this paper was to expand upon our prior community
detection work with the goal of aligning that work with prior
research on peer impacts, notably the work of Fire et al. [
          <xref ref-type="bibr" rid="ref11">11</xref>
          ].
        </p>
        <p>We also sought to examine the impact of hub students and
student motivations on our prior results.</p>
        <p>To that end we performed a novel community clustering analysis
of student performance data and forum communications taken
from a single well-structured MOOC. As part of this analysis we
described a novel heuristic method for selecting natural numbers
of clusters, and replicated the results of prior studies of both
immediate neighbors and second-order assortativity.</p>
        <p>Consistent with prior work, we found that students' grades
were significantly correlated with their most closely associated
peers in the new networks. We also found that this correlation
extended out to their second-order neighborhood. This is
consistent with our prior work showing that students form stable user
communities that are homogeneous by performance. We found
that those results were stable even if instructors, hub players,
students with 0 scores, and students who did not fill out the
survey were removed from consideration. This suggests that either
the students are forming communities that are homogeneous or
that the effect of those individual and network features on the
communities and on performance is minimal.</p>
        <p>Users</p>
        <p>We also found that community membership was not a significant
predictor of whether students would complete the motivation
survey or of students' motivations. We were surprised by the
fact that even when we focused solely on individuals who had
completed the survey, the students did not connect by stated
goals. This suggests to us that the students are more likely
coalescing around the pragmatic needs of the class or conceptual
challenges rather than on the winding paths that brought them
there. One limitation of this work is that by relying on the
forum data we were focused solely on the comparatively small
proportion of enrolled students (6%) who actively participated
in the forums. This group is, by definition a smaller set of more
actively-involved participants.</p>
        <p>In addition to addressing our primary questions this study also
raised a number of open issues for further exploration. Firstly,
this work focused solely on the final course structure, grades, and
motivations. We have not yet addressed whether these
communities are stable over time or how they might change as students
drop in our out. Secondly, while we ruled out motivations as a
basis for the community this work we were not able to identify
what mechanisms do support the communities. And finally this
study raises the question of generality and whether or not these
results can be applied to MOOCs offered on different topics or
whether the results apply to traditional and blended courses.</p>
        <p>In subsequent studies we plan to examine both the evolution of
the networks over time as well as additional demographic data
with the goal of assessing both the stability of these networks
and the role of other potential latent factors. We will also
examine other potential clustering mechanisms that control for
other user features such as frequency of involvement and thread
structure. We also plan to examine other similar datasets to
determine if these features transition across classes and class
types. We believe that these results may change somewhat once
students can coordinate face to face far more easily than online.
7. ACKNOWLEDGMENTS
This work was supported by NSF grant #1418269: \Modeling
Social Interaction &amp; Performance in STEM Learning" Yoav
Bergner, Ryan Baker, Danielle S. McNamara, &amp; Tiffany Barnes
Co-PIs.</p>
        <p>Using the Hint Factory to
Compare Model-Based Tutoring Systems</p>
        <p>Collin Lynch
North Carolina State</p>
        <p>University
890 Oval Drive</p>
        <p>Raleigh, NC 27695
cflynch@ncsu.edu</p>
        <p>Min Chi
North Carolina State</p>
        <p>University
890 Oval Drive
Raleigh, NC 27695
mchi@ncsu.edu</p>
        <p>Thomas W. Price
North Carolina State</p>
        <p>University
890 Oval Drive</p>
        <p>Raleigh, NC 27695
twprice@ncsu.edu</p>
        <p>Tiffany Barnes
North Carolina State</p>
        <p>University
890 Oval Drive</p>
        <p>Raleigh, NC 27695
tmbarnes@ncsu.edu
ABSTRACT
Model-based tutoring systems are driven by an abstract
domain model and solver that is used for solution validation
and student guidance. Such models are robust but costly
to produce and are not always adaptive to speci c students'
needs. Data-driven methods such as the Hint Factory are
comparatively cheaper and can be used to generate
individualized hints without a complete domain model. In this
paper we explore the application of data-driven hint
analysis of the type used in the Hint Factory to existing
modelbased systems. We present an analysis of two probability
tutors Andes and Pyrenees. The former allows for exible
problem-solving while the latter sca olds students' solution
path. We argue that the state-space analysis can be used to
better understand students' problem-solving strategies and
can be used to highlight the impact of di erent design
decisions. We also demonstrate the potential for data-driven
hint generation across systems.
1. INTRODUCTION
Developers of model-based tutoring systems draw on
domain experts to develop ideal models for student guidance.</p>
        <p>Studies of such systems have traditionally been focused on
their overall impact on students' performance and not on the
students' user-system interaction. The Hint Factory, by
contrast, takes a data-driven approach to extract advice based
upon students' problem solving paths. In this paper we will
apply the Hint Factory analytically to evaluate the impact
of user interface changes and solution constraints between
two closely-related tutoring systems for probability.</p>
        <p>
          Model-based tutoring systems are based upon classical
expert systems, which represent relevant domain knowledge
via static rule bases or sets of constraints [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ]. These
knowledge bases are generally designed by domain experts or with
their active involvement. They are then paired with classical
search algorithms or heuristic satisfaction algorithms to
automatically solve domain problems, identify errors in student
solutions, and to provide pedagogical guidance. The goal of
the design process is to produce expert models that give the
same procedural advice as a human expert. Classical
modelbased tutors have been quite successful in eld trials, with
systems such as the ACT Programming Tutor helping
students achieve almost two standard deviations higher than
those receiving conventional instruction [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ].
        </p>
        <p>
          Data-driven hint generation methods such as those used in
Hint Factory [
          <xref ref-type="bibr" rid="ref17">17</xref>
          ] take a di erent approach. Rather than
using a strong domain model to generate a-priori advice,
datadriven systems examine prior student solution attempts to
identify likely paths and common errors. This prior data
can then be used to provide guidance by directing students
towards successful paths and away from likely pitfalls. In
contrast to the expert systems approach, these models are
primarily guided not by what experts consider to be ideal
but by what students do.
        </p>
        <p>
          Model-based systems such as Andes [
          <xref ref-type="bibr" rid="ref18">18</xref>
          ] are advantageous
as they can provide appropriate procedural guidance to
students at any point in the process. Such models can also be
designed to reinforce key meta-cognitive concepts and
explicit solution strategies [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ]. They can also scale up rapidly
to include new problems or even new domain concepts which
can be incorporated into the existing system and will be
available to all future users. Rich domain models, however,
are comparatively expensive to construct and require the
long-term involvement of domain experts to design and
evaluate them.
        </p>
        <p>
          Data-driven methods for generating feedback, by contrast,
require much lower initial investment and can readily adapt
to individual student behaviors. Systems such as the Hint
Factory are designed to extract solutions from prior student
data, to evaluate the quality of those solutions, and to
compile solution-speci c hints [
          <xref ref-type="bibr" rid="ref17">17</xref>
          ]. While this avoids the need
for a strong domain model, it is limited to the space of
solutions explored by prior students. In order to incorporate
new problems or concepts it is necessary to collect additional
data. Additionally, such methods are not generally designed
to incorporate or reinforce higher-level solution strategies.
        </p>
        <p>We believe that both of these approaches have inherent
advantages and are not necessarily mutually exclusive. Our
goal in this paper is to explore what potential data-driven
methods have to inform and augment model-based systems.</p>
        <p>We argue that data-driven methods can be used to: (1)
evaluate the di erences between closely-related systems; (2)
assess the impact of speci c design decisions made in those
systems for user behaviors; and (3) evaluate the potential
application of data-driven hint generation across systems. To
that end we will survey relevant prior work on model-based
and data-driven tutoring. We will describe two
closelyrelated tutoring systems and data collected from them. We
will then present a series of analyses using state-based
methods and discuss the conclusions that we drew from them.</p>
        <p>
          BACKGROUND
2.1 Model-Based Tutoring
Model-based tutoring systems take a classical expert-systems
approach to tutoring. They are typically based upon a
strong domain model composed of declarative rules and facts
representing domain principles and problem-solving actions
coupled with an automatic problem solver. This knowledge
base is used to structure domain knowledge, de ne
individual problems, evaluate candidate solutions, and to provide
student guidance. Novices typically interact with the system
through problem solving with the system providing solution
validation, automatic feedback, pedagogical guidance, and
additional problem-solving tasks. The Sherlock 2 system, for
example, was designed to teach avionics technicians about
appropriate diagnostic procedures [
          <xref ref-type="bibr" rid="ref11">11</xref>
          ]. The system relies on
a domain model that represents the avionics devices being
tested, the behavior of the test equipment, and rules about
expert diagnostic methods. Sherlock 2 uses these models
to pose dynamic challenges to problem solvers, to simulate
responses to their actions, and to provide solution guidance.
        </p>
        <p>
          Andes [
          <xref ref-type="bibr" rid="ref18 ref19">19, 18, 20</xref>
          ] and Pyrenees [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ] are closely-related
modeldriven ITSs in the domains of physics and probability. They
were originally developed at the University of Pittsburgh
under the Direction of Dr. Kurt VanLehn. Like other
modelbased systems, they rely on a rule-based domain model and
automatic problem solvers that treat the domain rules as
problem-solving steps. They distinguish between
higherlevel domain concepts such as Bayes' Rule, and atomic steps
such as variable de nitions. Principles are de ned by a
central equation (e.g. p(AjB) = (p(BjA) p(A))=p(B)) and
encapsulate a set of atomic problem-solving steps such as
writing the equation and de ning the variables within it.
        </p>
        <p>The systems are designed to function as homework-helpers,
with students logging into the system and being assigned or
selecting one of a set of prede ned problems. Each problem
is associated with a pre-compiled solution graph that de nes
the set of possible solutions and problem-solving steps. The
system uses a principle-driven automated problem solver to
compile these graphs and to identify the complete solution
paths. The solver is designed to implement the Target
Variable Strategy (TVS), a backward-chaining problem solving
strategy that proceeds from a goal variable (in this case
the answer to the problem) via principle applications to the
given information. The TVS was designed with the help of
domain experts and guides solvers to de ne basic solution
information (e.g. given variables) and then to proceed from
the goal variable and use principles to de ne it in terms of
the given variables.</p>
        <p>Students working with Andes use a multi-modal user
interface to write equations, de ne variables and engage in other
atomic problem-solving steps. A screenshot of the Andes UI
can be seen in Figure 1. Andes allows students to solve
problems exibly, completing steps in any order so long as they
are valid [20]. A step is considered to be valid if it matches
one or more entries in the saved solution paths and all
necessary prerequisites have been completed. Invalid steps are
marked in red, but no other immediate feedback is given.</p>
        <p>Andes does not force students to delete or x incorrect
entries as they do not a ect the solution process. In
addition to validating entries, the Andes system also uses the
precompiled solution graphs to provide procedural guidance
(next-step-help). When students request help, the system
will map their work to the saved solution paths. It will then
select the most complete solution and prompt them to work
on the next available step.</p>
        <p>One of the original goals of the Andes system was to
develop a tutor that operated as an \intelligent worksheet."
The system was designed to give students the freedom to
solve problems in any order and to apply their preferred
solution strategy. The system extends this freedom by
allowing invalid steps in an otherwise valid solution and by
allowing students to make additional correct steps that do
not advance the solution state or are drawn from multiple
solution paths. This was motivated in part by a desire to
make the system work in many di erent educational
contexts where instructors have their own preferred methods
[20]. The designers of Andes also consciously chose only to
provide advice upon demand when the students would be
most willing to accept it. For the students however,
particularly those with poor problem-solving skills, this passive
guidance and comparative freedom can be problematic as it
does not force them to adhere to a strategy.</p>
        <p>
          This problem motivated the development of Pyrenees.
Pyrenees, like Andes acts as a homework helper and supports
students with on-demand procedural and remediation help. It
uses an isomorphic domain model with the same principles,
basic steps, problems, and solution paths. Unlike Andes,
however, Pyrenees forces students to applying the
targetvariable-strategy during problem solving. It also requires
them to repair incorrect entries immediately before moving
on. Students are guided through the solution process with
a menu-driven interface, shown in Figure 2. At each step,
the system asks students what they want to work on next
and permits them to make any valid step that is consistent
with the TVS. Chi and VanLehn [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ] conducted a study of the
two systems and found that sca olding the TVS in Pyrenees
helped to eliminate the gap between high and low learners.
        </p>
        <p>This e ect was observed both in the original domain where
it was taught (in their case probability) and it transferred to
a new domain (physics), where students used Andes alone.
2.2 Data-Extraction and</p>
        <p>Data-Driven Tutoring.</p>
        <p>One of the longstanding goals of educational data-miners is
to support the development of data-driven tutoring systems.</p>
        <p>Such systems use past student data to structure pedagogical
and domain knowledge, administer conceptual and
pedagogical advice, or evaluate student performance and needs. A
number of attempts have been made to address these goals.</p>
        <p>
          One of the most successful data-driven systems is the Hint
Factory [
          <xref ref-type="bibr" rid="ref1 ref17 ref2">1, 2, 17</xref>
          ]. The Hint Factory takes an MDP-based
approach to hint generation. It takes as input a set of prior
student logs for a given problem, represented as a network of
interactions [
          <xref ref-type="bibr" rid="ref6 ref7">6, 7</xref>
          ]. Each vertex in this network represents the
state of a student's partial solution at some point during the
problem solving process, and each edge represents an action
that takes the student from one state to another. A complete
solution is represented as a path from the initial state to a
goal state. Each state in the interaction network is assigned
a weight via a value-iteration algorithm. A new student
requesting a hint is matched to a previously observed state and
given context-sensitive advice. If, for example, the student is
working on a problem that requires Bayes' Rule and has
already de ned p(A), p(B), and p(BjA) then the Hint Factory
would rst prompt them to consider de ning p(AjB), then
it would point them to Bayes Rule, before nally showing
them the equation p(AjB) = (p(BjA) p(A))=p(B).
        </p>
        <p>
          These hints are incorporated into existing tutoring systems
in the form of a lookup table that provides state-speci c
advice. When a user asks for help the tutor will match their
current state to an index state in the lookup table and will
prompt them to take the action that will lead them to the
highest value neighboring state. If their current state is not
found then the tutor will look for a known prior state or
will give up. The Hint Factory has been applied successfully
in a number of domains including logic proofs [
          <xref ref-type="bibr" rid="ref17">17</xref>
          ], data
structures [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ], and programming [
          <xref ref-type="bibr" rid="ref10 ref13 ref15">15, 10, 13</xref>
          ]. Researchers
have also explored other related methods for providing
datadriven hints. These include alternative state representations
[
          <xref ref-type="bibr" rid="ref13">13</xref>
          ], path construction algorithms [
          <xref ref-type="bibr" rid="ref14 ref16">16, 14</xref>
          ], and
examplebased model-construction [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ].
        </p>
        <p>
          The primary goal of the Hint Factory is to leverage prior
data to provide optimal state-speci c advice. By calculating
advice on a per-state basis, the system is able to adapt to
students' speci c needs by taking into account both their
current state and the paths that they can take to reach the
goal. As a consequence the authors of the Hint Factory
argue that this advice is more likely to be in the students'
Zone of Proximal Development and thus more responsive to
their needs than a less-sensitive algorithm.
3. METHODS
In order to investigate the application of data-driven
methods to model-based tutoring systems, we collected data from
two studies conducted with Andes and Pyrenees in the
domain of probability. We then transformed these datasets
into interaction networks, consisting of states linked with
actions. We used this representation to perform a variety of
quantitative and qualitative analyses with the goal of
evaluating the di erences between the two systems and the
impact of the speci c design decisions that were made in each.
3.1 The Andes and Pyrenees Datasets
The Andes dataset was drawn from an experiment
conducted at the University of Pittsburgh [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ]. This study was
designed to assess the di erential impact of instruction in
Andes and Pyrenees on students' meta-cognitive and
problemsolving skills. Participants in this study were college
undergraduates who were required to have taken high-school level
algebra and physics but not to have taken a course in
probability or statistics. The participants were volunteers and
were paid by time not performance.
        </p>
        <p>Forty-four students completed the entire study. However
for the purposes of the present analysis, we drew on all
66 students who completed at least one problem in
AndesProbability. This is consistent with prior uses of the Hint
Factory which draw from all students including those who
did not complete the problem. The Pyrenees-Probability
logs from this study were not used due to problems with the
data format that prevented us from completing our analysis.</p>
        <p>From this dataset we drew 394 problem attempts covering
11 problems. The average number of steps required to solve
the problems was 17.6. For each problem we analyzed
between 25 and 72 problem attempts, with an average of 35.8
attempts per problem. Some attempts were from the same
student, with at most two successful attempts per student.</p>
        <p>Over all problems, 81.7% of the attempts were successful,
with the remainder being incomplete attempts.</p>
        <p>The Pyrenees dataset was drawn from a study of 137
students conducted in the 200-level Discrete Mathematics course
in the Department of Computer Science at North Carolina
State University. This study used the same probability
textbook and pre-training materials as those used in the Andes
study. The students used Pyrenees as part of a homework
assignment, in which they completed 12 problems using the
tutoring system. One of these problems was not represented
in the Andes dataset. We therefore excluded it from our
analysis, leaving 11 shared problems.</p>
        <p>
          Unlike the Andes students, however, the Pyrenees students
were not always required to solve every problem. In this
study the system was con gured to randomly select some
problems or problem steps to present as worked examples
rather than as steps to be completed. In order to ensure
that the results were equivalent we excluded the
problemlevel worked examples and any attempt with a step-level
worked example from our analysis. As a consequence, each
problem included a di erent subset of these students. For
each problem we analyzed between 83 and 102 problem
attempts, with an average of 90.8 attempts per problem. Some
attempts were from the same student, with at most one
successful attempt per student. Over all problems, 83.4% of
the attempts were successful.
3.2 State and Action Representations
In order to compare the data from both tutors, we
represented each problem as an interaction network, a
representation used originally in the Hint Factory [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ]. In the
network a vertex, or state, represents the sum total of a
students' current problem solving steps at a given time during
a problem-solving attempt. Because Andes permits exible
step ordering while Pyrenees does not, we chose to represent
the problem solving state st as the set of valid variables and
equations de ned by the student at time t.
        </p>
        <p>A variable is a probabilistic expression, such as P (A [ B),
that the student has identi ed as important to solving the
problem, for which the probability is known or sought. An
equation represents the application of a principle of
probability, which relates the values of de ned variables, such as
the Complement Theorem, P (A) + P (:A) = 1. Because
such equations can be written in many algebraically
equivalent ways, we represent each equation as a 2-tuple,
consisting of the set of variables included in the equation (e.g.
fP (A); P (:A)g) and the principle being applied (e.g.
Complement Theorem). Because we only represent valid
equations, this representation uniquely identi es any equation
for a given problem. Because we used the same state
representation for both tutors, we were able to compare states
directly across tutors.</p>
        <p>Additionally, we opted to ignore incorrect entries. Pyrenees
prevents students from applying the principles of
probability improperly and forces them to correct any mistakes made
immediately therefore any errors in the student logs are
immediately removed making the paths uninformative. Andes,
by contrast, gives students free reign when writing equations
and making other entries. This freedom resulted in
syntactic errors and improper rule application errors arising in our
dataset. The meaning of these invalid equations is inherently
ambiguous and therefore di cult to incorporate into a state
de nition. However such errors are immediately agged by
the system and may be ignored by the student without
consequence as they do not a ect the answer validity therefore
they may be safely ignored as well.</p>
        <p>An edge, or action, in our network represents the correct
application of a rule or a correct variable de nition and leads
to a transition from one state to another. For the present
dataset and state representation, the possible actions were
the de nition or deletion of variables or equations. Each of
these actions was possible in both tutors.
4. ANALYSIS
In order to develop a broader understanding of our datasets,
we rst visualized the interaction network for each problem
as a weighted, directed graph. We included attempts from
both Andes and Pyrenees in the network, and weighted the
edges and verticies by the frequency with which it appeared
in the logs. We annotated each state and edge with the
weight contributed by each tutor. Two examples of these
graphs are given in Figure 3.</p>
        <p>Throughout this section, we will use these graphs to address
the points we outlined at the end of Section 1. We begin
with a case study from one problem and will explore the
student problem solving strategies using our graph
representation. We will then compare the Andes and Pyrenees
Systems with a variety of metrics based on this
representation. We will relate our observations back to the design
decisions of each system and identify evidence that may
support or question these decisions. Finally, we will show how
the analysis methods associated with data-driven hint
generation can be used to validate some of these ndings.
4.1 Case Study: Problem Ex242
The graphical representation of a problem is very helpful for
giving a high-level overview of a problem and performing
qualitative analysis. Problem Ex242, shown in Figure 3,
presents an interesting scenario for a number of reasons. The
problem was the 10th in a series of 12 practice problems, and
asked the following:</p>
        <p>Events A, B and C are mutually exclusive and
exhaustive events with p(A) = 0:2 and p(B) =
0:3. For an event D, we know p(DjA) = 0:04,
p(DjB) = 0:03, and p(CjD) = 0:3. Determine
p(BjD).
\zones" of knowledge. For example, a partial graph with
only concepts that belongs to a speci c topic, or concepts
that are prerequisites of a speci c concept. Another
interesting idea relates to recommendation of content: guide the
student to questions that will connect the isolated parts of
the knowledge graph or minimize the average path length of
the graph. Along the same lines, the analysis of the graph
shortest paths and overall connectivity can help in designing
assessment items that better connect distant concepts.</p>
        <p>Graph-based Modelling of Students’ Interaction Data from</p>
        <p>Exploratory Learning Environments
Alexandra Poulovassilis</p>
        <p>London Knowledge Lab
Birkbeck, Univ. of London
ap@dcs.bbk.ac.uk</p>
        <p>Sergio Gutierrez-Santos</p>
        <p>London Knowledge Lab
Birkbeck, Univ. of London
sergut@dcs.bbk.ac.uk</p>
        <p>Manolis Mavrikis</p>
        <p>London Knowledge Lab
UCL Institute of Education
m.mavrikis@lkl.ac.uk
ABSTRACT
Students' interaction data from learning environments has
an inherent temporal dimension, with successive events
being related through the \next event" relationship. Exploratory
learning environments (ELEs), in particular, can generate
very large volumes of such data, making their interpretation
a challenging task. Using two mathematical microworlds
as exemplars, we illustrate how modelling students'
eventbased interaction data as a graph can open up new querying
and analysis opportunities. We demonstrate the possibilities
that graph-based modelling can provide for querying and
analysing the data, enabling investigation of student-system
interactions and leading to the improvement of future
versions of the ELEs under investigation.</p>
        <p>
          Keywords
Exploratory Learning Environments, Interaction Data, Graph
Modelling
1. INTRODUCTION
Much recent research has focussed on Exploratory
Learning Environments (ELEs) which encourage students'
openended interaction within a knowledge domain, coupled with
intelligent techniques that aim to provide pedagogical
support to ensure students' productive interaction [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ]. The data
gathered from students' interactions with such ELEs
provides a rich source of information for both pedagogical and
technical research, to help understand how students are
using the ELE and how the intelligent support that it provides
may be enhanced to better support students' learning.
        </p>
        <p>
          In this paper, we consider how modelling students'
eventbased interaction data as a graph makes possible
graphbased queries and analyses that can provide insights into
the ways that students are using the a ordances of the
system and the e ects of system interventions on students'
behaviour. Our case studies are two intelligent ELEs: the
MiGen system, that aims to foster 11-14 year old students'
learning of algebraic generalisation [
          <xref ref-type="bibr" rid="ref15">15</xref>
          ]; and the iTalk2Learn
system that aims to support 8-10 year old students' learning
of fractions [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ]. Both systems provide students with
mathematical microworlds in which they undertake construction
tasks: in MiGen creating 2-dimensional tiled models using
a tool called eXpresser and in iTalk2learn creating fractions
using the FractionsLab tool. In eXpresser, tasks typically
require the construction of several models, moving from
speci c models involving speci c numeric values to a general
model involving the use of one or more variables; in parallel,
students are asked to formulate algebraic rules specifying
the number of tiles of each colour that are needed to fully
colour their models. In FractionsLab, tasks require the
construction, comparison and manipulation of fractions, and
students are encouraged to talk aloud about aspects of their
constructions, such as whether two fractions are equivalent.
        </p>
        <p>
          Both systems include intelligent components that provide
di erent levels of feedback to students, ranging from
unsolicited prompts and nudges, to low-interruption feedback
that students can choose to view if they wish. The aim
of this feedback is to balance students' freedom to explore
while at the same time providing su cient support to
ensure that learning is being achieved [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ]. The intelligent
support is designed through detailed cognitive task analysis and
Wizard-of-Oz studies [
          <xref ref-type="bibr" rid="ref13">13</xref>
          ], and it relies on meaningful
indicators being detected as students are undertaking construction
tasks. Examples of such indicators in MiGen are `student
has made a building block' (part of a model), `student has
unlocked a number' (i.e. has created a variable), `student
has unlocked too many numbers for this task'; while
examples of such indicators in FractionsLab are `student has
created a fraction', `student has changed a fraction'
(numerator or denominator), `student has released a fraction' (i.e.
has nished changing it).
        </p>
        <p>
          Teacher Assistance tools can subscribe to receive real-time
information relating to occurrences of indicators for each
student, and can present aspects of this information
visually to the teacher [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ]. Indicators are either task independent
(TI) or task dependent (TD). The former refer to aspects of
the student's interaction that are related to the microworld
itself and do not depend on the speci c task the student is
working on, while the latter require knowledge of the task
the student is working on, may relate to combinations of
student actions, and their detection requires intelligent
reasoning to be applied (a mixture of case-based, rule-based and
probablistic techniques). Detailed discussions of MiGen's TI
and TD indicators and how the latter are inferred may be
found in [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ].
        </p>
        <p>
          In this paper we explore how graph-based representation of
event-based interaction data arising from ELEs such as
MiGen and FractionsLab can aid in the querying and analysis
of such data, with the aim of exploring both the behaviours
of the students in undertaking the exploratory learning tasks
set and the e ectiveness of the intelligent support being
provided by the system to the students. Data relating to
learning environments has often been modelled as a graph
in previous work, for example in [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ] for providing support
to moderators in e-discussion environments; in [
          <xref ref-type="bibr" rid="ref16 ref18">16, 18</xref>
          ] for
supporting learning of argumentation; in [
          <xref ref-type="bibr" rid="ref17">17</xref>
          ] for modelling
data and metadata relating to episodes of work and learning
in a lifelong learning setting; in [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ] for learning path
discovery as students \navigate" through learning objects; in [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ] for
recognising students' activity planning in ELEs; and in [23]
for gaining better understanding of learners' interactions and
ties in professional networks.
        </p>
        <p>
          Previous work that is close to ours is the work on
interaction networks and hint generation [
          <xref ref-type="bibr" rid="ref4 ref5 ref6">6, 21, 20, 4, 5</xref>
          ], in which
the graphs used consist of nodes representing states within a
problem-solving space and edges representing students'
actions in transitioning between states. This approach targets
learning environments where students are required to select
and apply rules, and the interaction network aims to
represent concisely information relating to students'
problemsolving sequences in moving from state to state. Our focus
here di ers from this in that we are using graphs to model
        </p>
        <p>ne-grained event-based interaction data arising from ELEs.</p>
        <p>In our graphs, nodes are used to represent indicator
occurrences (i.e. events, not problem states) and edges between
such nodes represent the \next event" relationship. Also,
rather than using the information derived from querying and
analysing this data to automatically generate hints, our
focus is on investigating how students are using the system
and the e ects of the system's interventions in order to
understand how students interact with the ELEs and improve
their future versions.
2. GRAPH-BASED MODELLING
Figure 1 illustrates our Graph Data Model for ELE
interaction data. We see two classes of nodes: Event |
representing indicator occurrences; and EventType | representing
di erent indicator types. The instances of the Event class
are occurrences of indicators that are detected or generated
by the system as each student undertakes a task. We see
that instances of Event have several attributes: dateTime:
the date and time of the indicator occurrence; userID: the
student it relates to; sessionID: the class session that the
student was participating in at the time; taskID: the taskID
that the student was working on; and constrID: the
construction that the student was working on1.
1The model in Fig. 1 focusses on the interaction data. The
full data relating to ELEs such as eXpresser and
FractionsLab would also include classes relating to users, tasks,
sessions and constructions; and attributes describing instances
of these classes, such as a user's name and year-group, a
task's name and description, a construction's content and
description, and a session's description and duration.</p>
        <p>Event
dateTime
taskID
constrID
userID
sessionID
occurrenceOf
next</p>
        <p>EventType
eventID
eventStatus
eventCat
There is a relationship `next' linking an instance of Event
to the next Event that occurs for the same user, task and
session. There is a relationship `occurrenceOf' linking each
instance of Event to an instance of the EventType class.</p>
        <p>
          The instances of the EventType class include: startTask,
endTask, numberCreated, numberUnlocked,
unlockedNumberChanged, buildingBlockMade, correctModelRuleCreated,
incorrectModelRuleCreated, interventionGenerated,
interventionShown, in the case of eXpresser (see [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ] for the full list);
and startTask, endTask, fractionCreated, fractionChanged,
fractionReleased, inverventionShown, in the case of
FractionsLab.
        </p>
        <p>We see that instances of the EventType class have several
attributes, including:
eventID: a unique numerical identi er for each type of
indicator;
eventStatus: this may be -1, 0 or 1, respectively
stating that an occurrence of this type of indicator shows
that the student is making negative, neutral or
positive progress towards achieving the task goals; an
additional status 2 is used for indicators relating to system
interventions;
eventCat: the category into which this indicator type
falls; for example, startTask and endTask are
taskrelated indicators; interventionGenerated and
interventionShown are system-related ones; numberCreated,
numberUnlocked, unlockedNumberChanged are
numberrelated; and fractionCreated, fractionChanged,
fractionReleased are fraction-related.</p>
        <p>Figure 2 shows a fragment of MiGen interaction data
conforming to this graph data model. Speci cally, it relates to
the interactions of user 5 as he/she is working on task 2
during session 9. The user makes three constructions during
this task (with constrIDs 1, 2 and 3). The start and end
of the task are delimited by an occurrence of the startTask
and endTask indicator type, respectively | events 23041
and 33154. We see that the two events following 23041
relate to an intervention being generated and being shown to
the student (this is likely to be because the student was
inactive for over a minute after starting the task); following
which, the student creates a number | event 24115.</p>
        <p>There are additional attributes relating to events, not shown
here for simplicity, capturing values relating to the student's
next
next
23041
dateTime:
20150331091524
taskID:2
constrID:1
userID:5
sessionID:9
23921
dateTime:
20150331091637
taskID:2
constrID:1
userID:5
sessionID:9
23923
dateTime:
20150331091638
taskID:2
constrID:1
userID:5
sessionID:9
startTask
eventID:0
eventStatus:0
eventCat:taskEv
interventionGenerated
eventID:6001
eventStatus:2
eventCat:systemEv
occurrenceOf
next
interventionShown
eventID:6002
eventStatus:2
eventCat:systemEv
numberCreated
eventID:1006
eventStatus:1
eventCat:numberEv
occurrenceOf
next
...
next
next
344712
dateTime:
20150215091741
taskID:56
constrID:4
userID:5
sessionID:1
344758
dateTime:
20150215091828
taskID:56
constrID:4
userID:5
sessionID:1
344759
dateTime:
20150215091828
taskID:56
constrID:4
userID:5
sessionID:1
occurrenceOf
fractionChanged
eventID:1002
eventStatus:1
eventCat:sfractionEv
occurrenceOf
constructions and information relating to the system's
interventions. For example, for event 24115, the value of the
number created, say 5; for event 23921, the feedback
strategy used by the system to generate this intervention, say
strategy 8; and for event 23923, the content of the message
displayed to the user, say \How many green tiles do you need
to make your pattern?" and whether this is a high-level
interruption by the system or a low-level interruption that
the student can choose to view or not. Such information
can be captured through additional edges outgoing from an
event instance to a literal-valued node: 24115 valu!e 5, 23921
strateg!y 8, 23932 messag!e \How many green tiles do you need
to make your pattern?", 23932 lev!el \high". Since graph data
models are semi-structured (and graph data therefore does
not need to strictly conform to a single schema), this kind
of heterogeneity in the data is readily accommodated.</p>
        <p>Figure 3 similarly shows a fragment of FractionsLab
interaction data, relating to the interactions of user 5 working
on task 56 during session 1. The user makes one
construction during this task. We see events relating to the
student changing and `releasing' a fraction. Following which
the system displays a message (in this case, it was a
highinterruption message of encouragement \Great! Well Done").</p>
        <p>We see from Figures 2 and 3 that the sub-graph induced by
edges labelled `next' consists of a set of paths, one path for
each task undertaken by a speci c user in a speci c session.</p>
        <p>The entire graph is a DAG (directed acyclic graph): there
are no cycles induced by the edges labelled `next' since each
links an earlier indicator occurrence to a later one; while
the instances of EventType and other literal-valued nodes
can have only incoming edges. The entire graph is also a
bipartite graph, with the two parts comprising (i) the
instances of Event, and (ii) the instances of EventType and
the literal-valued nodes.</p>
        <p>
          As a nal observation, we note that Figures 1 { 3 adopt
a \property graph" notation (e.g. as used in the Neo4J
graph database, neo4j.com) in which nodes may have
attributes. In a \classical" graph data model, each attribute
of a node would be represented by an edge and its value by
a literal-valued node. So, for example, the information that
the taskID of event 23041 is 2 would be represented by an
edge 23041 taskI!D 2. The query examples in the next section
assume this \classical" graph representation.
3. GRAPH QUERIES AND ANALYSES
Because the sub-graph induced by edges labelled `next'
consists of a set of paths, the data readily lends itself to
exploration using conjunctive regular path (CRP) queries [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ]. A
CRP query, Q, consisting of n conjuncts is of the form
(Z1; : : : ; Zm)
        </p>
        <p>(X1; R1; Y1); : : : ; (Xn; Rn; Yn)
where each Xi and Yi is a variable or a constant, each Zi is
a variable that appears also in the right hand side of Q, and
each Ri is a regular expression over the set of edge labels.</p>
        <p>In this context, a regular expression, R, has the following
syntax:</p>
        <p>R := j a j j (R1:R2) j (R1jR2) j R j R+
where denotes the empty string, a denotes an edge label,
denotes the disjunction of all edge labels, and the operators
have their usual meaning. The answer to a CRP query on a
graph G is obtained by nding for each 1 i n a binary
relation ri over the scheme (Xi; Yi), where there is a tuple
(x; y) in ri if and only if there is a path from x to y in G
such that: x = Xi if Xi is a constant; y = Yi if Yi is a
constant; and the concatenation of the edge labels in the
path satis es the regular expression Ri. The answer is then
given by forming the natural join of the binary relations
r1; : : : ; rn and nally projecting on Z1; : : : ; Zm.</p>
        <p>To illustrate, the following CRP query returns pairs of events
x, y such that x is an intervention message shown to the user
by the system and y indicates that the user's next action {
in eXpresser { was to create a number (note, variables in
queries are distinguished by an initial question mark):
(?X,?Y) &lt;- (?X,occurrenceOf,interventionShown),
(?X,next,?Y),
(?Y,occurrenceOf,numberCreated)
The result would contain pairs such as (23923,24115) from
Figure 2, demonstrating that there are indeed situations
where an intervention message displayed by the MiGen
system leads directly to the creation of a number by the student.</p>
        <p>The following query returns pairs of events x, y such that
that x is an intervention message shown to the user by the
system and y is the user's next action; the type of y is also
returned, through the variable ?Z:
(?X,?Y,?Z) &lt;- (?X,occurrenceOf,interventionShown),
(?X,next,?Y),
(?Y,occurrenceOf,?Z)
The result would contain triples such as
(23923,24115,numberCreated) from Figure 2 and (344760,344761,clickButton)
from Figure 3, allowing researchers to see what types of
events directly follow the display of an intervention
message. This would allow the con rmation or contradiction of
researchers' expectations regarding the immediate e ect of
intervention messages on students' behaviours.</p>
        <p>Focussing for the rest of this section on the data in Figure 2,
the following query returns pairs of events x, y such that x is
any type of event and y indicates that the user's next action
was to unlock a number; the type of x is also returned,
through the variable ?Z:
(?X,?Y,?Z) &lt;- (?X,occurrenceOf,?Z),
(?X,next,?Y),
(?Y,occurrenceOf,numberUnlocked)
The result would allow researchers to see what types of
events immediately precede the unlocking of a number (i.e.
the creation of a variable). This would allow con rmation
of researchers' expectations about the design of the MiGen
system's intelligent support in guiding students towards
generalising their models by changing a xed number to an
`unlocked' one.</p>
        <p>The following query returns pairs of events x, y such that
that x is an intervention generated by the system and y is
any subsequent event linked to x through a path comprising
one or more `next' edges; the type of y is also returned,
through the variable ?Z:
(?X,?Y,?Z) &lt;- (?X,occurrenceOf,interventionGenerated),
(?X,constrID,?C), (?X,next+,?Y),
(?Y,constrlID,?C), (?Y,occurrenceOf,?Z)
The result would contain triples such as
(23921, 23923, interventionShown),
(23921, 24115, numberCreated),
(23921, 24136, numberUnlocked),
(23921, 24189, unlockedNumberChanged),
relating to construction 1 made by user 5 during session 9
for task 2 (two more events | 24136 and 24189 |
relating to construction 1 have been assumed here, in addition
to 23923 amd 24115 shown in Figure 2, for illustrative
purposes). The results would not contain
(23921,33154,endTask), since event 33154 relates to construction 3.</p>
        <p>
          To show more clearly the answers to the previous query in
the form of possible event paths, we can use extended regular
path (ERP) queries [
          <xref ref-type="bibr" rid="ref11">11</xref>
          ], in which a regular expression can
be associated with a path variable and path variables can
appear in the left-hand-side of queries. Thus, for example,
the following query returns the possible paths from x to y:
(?X,?P,?Y,?Z)
&lt;(?X,occurrenceOf,interventionGenerated),
(?X,constrID,?C), (?X,next+:?P,?Y),
(?Y,constrID,?C), (?Y,occurrenceOf,?Z)
The result would contain answers such as
(23921, [next], 23923, interventionShown),
(23921, [next, 23923, next], 24115, numberCreated),
(23921, [next, 23923, next, 24115, next], 24136,
numberUnlocked),
(23921, [next, 23923, next, 24115, next, 24136, next], 24189,
unlockedNumberChanged).
        </p>
        <p>
          The use of the regular expressions next and next+ in the
previous queries matches precisely one edge labelled `next',
or any number of such edges (greater than or equal to 1),
respectively. However, for ner control and ranking of query
answers, it is possible to use approximate answering of CRP
and ERP queries (see [
          <xref ref-type="bibr" rid="ref11 ref17">11, 17</xref>
          ]), in which edit operations such
as insertion, deletion or substitution of an edge label can be
applied to regular expressions.
        </p>
        <p>
          For example, using the techniques described in [
          <xref ref-type="bibr" rid="ref11 ref17">11, 17</xref>
          ], the
(?X,?Y,?Z) &lt;- (?X,occurrenceOf,interventionGenerated), user can chose to allow the insertion of the label `next' into
(?X,next+,?Y), a regular expression, at an edit cost of 1. Submitting then
(?Y,occurrenceOf,?Z) this query:
The result would contain triples such as (23921, 23923,
interventionShown), (23921, 24115, numberCreated), ... (23921,
33154, endTask), allowing researchers to see what types of
events directly or indirectly follow the display of an
intervention message by the system. This would allow the con
rmation or contradiction of researchers' expectations regarding
the longer-term e ect of intervention messages on students'
behaviours.
        </p>
        <p>We can modify the query to retain only pairs x, y that relate
to the same construction:
(?X,?P,?Y,?Z)
&lt;(?X,occurrenceOf,interventionGenerated),
(?X,constrID,?C), APPROX(?X,next:?P,?Y),
(?Y,constrID,?C), (?Y,occurrenceOf,?Z)
would return rst exact answers, such as
(23921, [next], 23923, interventionShown). The regular
expression next in the conjunct APPROX(?X,next:?P,?Y) would
then be automatically approximated to next.next, leading
to answers such as
(23921, [next, 23923, next], 24115, numberCreated)
at an edit distance of 1 from the original query. Following
this, the regular expression next.next would be
automatically approximated to next.next.next, leading to answers
such as
(23921, [next, 23923, next, 24115, next], 24136,
numberUnlocked)
at distance 2. This incremental return of paths of
increasing length can continue for as long as the user wishes, and
allows researchers to examine increasingly longer-term
effects of intervention messages on students' behaviours. It
would also be possible for users to specify from the outset a
minimum and maximum edit distance to be used in
approximating and evaluating the query, for example to request
paths encompassing between 2 and 4 edges labelled `next'.</p>
        <p>
          Queries based on evaluating regular expressions over a
graphbased representation of interaction data, such as those above,
can aid in the exploration of students' behaviours as they are
undertaking tasks using ELEs and the e ectiveness of the
intelligent support being provided by the ELE. The query
processing techniques employed are based on incremental
query evaluation algorithms which run in polynomial time
with respect to the size of the database graph and the size
of the query and which return answers in order of increasing
edit distance [
          <xref ref-type="bibr" rid="ref11">11</xref>
          ]. A recent paper [
          <xref ref-type="bibr" rid="ref19">19</xref>
          ] gives details of an
implementation, which is based on the construction of an
automaton (NFA) for each query conjunct, the incremental
construction of a weighted product automaton from each
conjunct's automaton and the data graph, and the use of
a ranked join to combine answers being incrementally
produced from the evaluation of each conjunct. The paper also
presents a performance study undertaken on two data sets
| lifelong learning data and metadata [
          <xref ref-type="bibr" rid="ref17">17</xref>
          ] and YAGO [22].
        </p>
        <p>The rst of these has rather `linear' data, similar to the
interaction data discussed here, while the second has `bushier'
connectivity. Query performance is generally better for the
former than the latter, and the paper discusses several
possible approaches towards query optimisation.</p>
        <p>
          In addition to evaluating queries over the interaction data,
by representing the data in the form of a graph it is possible
to apply graph structure analyses such as the following:
path nding and clustering: this would be useful for
determining patterns of interest across a whole dataset,
or focussing on particular students, tasks or sessions
c.f. [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ];
average path length: this would be useful for
determining the amount of student activity (i.e. the number of
indicator occurrences being generated per task) across
a whole dataset, or focussing on particular students,
tasks or sessions;
graph diameter: to determine the greatest distance
between any two nodes (which, due to the nature of the
data, would be event type nodes); this would be an
indication the most long-running and/or most intensive
task(s);
degree centrality: determining the in-degree centrality
of event type nodes would identify key event types
occurring in students' interactions; this analysis could be
6001
5004
5003
5002
5001
3009
3008
3007
6002 6003 e s
1001
        </p>
        <p>1002
3006</p>
        <p>1010
3002 1015
1014 1011
1003
1004
1005
1006
1007
1008
1009
applied across a whole dataset, or focussing on
particular students, tasks or sessions;
nodes that have a high probability of being visited on a
randomly chosen shortest path between two randomly
chosen nodes have high betweenness centrality;
determining this measure for pairs of event type nodes
(ignoring the directionality of the `occurrenceOf' edges)
would identify event types that play key mediating
roles between other event types.</p>
        <p>We have already undertaken some ad hoc analyses of
interaction data arising from classroom sessions using ELEs.</p>
        <p>For example, Figure 4 shows the normalised incoming
transitions for a 1-hour classroom session involving 22 students
using MiGen (in the diagram, s denotes the `startTask' and
e the `endTask' event types). Event types with an
adjacent circle show transitions where this type of event occurs
repeatedly in succession. The thickness of each arrow or
circle indicates the value of the transition probability: the
thicker the line, the higher the probability. Red (light grey)
is used for probabilities &lt; 0:2 and black for probabilities</p>
        <p>
          0:2. We can observe a black arrow 3007 ! 1005,
indicating transitions from events of type 3007 (detection by the
system that the student has made an implausible building
block for this task) to events of type 1005 (modi cation of a
rule by the student). Such an observation raises a
hypothesis for more detailed analysis or further student
observation, namely: \does the construction of an incorrect building
block lead students to self-correct their rules?". Developing
a better understanding of such complex interaction can lead
to improvement of the system. For this particular example,
we designed a new prompt that suggests to students to rst
consider the building block against the given task before
proceeding unnecessarily in correcting their rules. More
examples of such ad hoc analyses are given in [
          <xref ref-type="bibr" rid="ref14">14</xref>
          ].
Representing the interaction data in graph form will allow more
systematic, exible and scalable application of graph-structure
algorithms such as those identi ed above.
4. CONCLUSIONS AND FUTURE WORK
We have presented a graph model for representing
eventbased interaction data arising from Exploratory Learning
Environments, drawing on the data generated when students
undertake exploratory learning tasks with the eXpresser and
FractionsLab microworlds. Although developed in the
context of these systems, the model is a very general one and
can easily be used or extended to model similar data from
other ELEs.
        </p>
        <p>We have explored the possibilities that evaluating regular
path queries over this graph-based representation might
provide for exploring the behaviours of students as they are
working in the ELE and the e ectiveness of the intelligent
support that it provides to them. We have also identi ed
additional graph algorithms that may yield further insights
about learners, tasks and signi cant indicators.</p>
        <p>
          Planned worked includes transformation and uploading of
the interaction data sets gathered during trials and full
classroom sessions of the two systems into an industrial-strength
graph database such as Neo4J, following the graph model
presented in Section 2; followed by the design,
implementation and evaluation of meaningful queries, analyses and
visualisations over the graph data, building on the work
presented in Section 3. Equipped with an appropriate user
interface, educational researchers, designers or even
teachers with less technical expertise could in this way explore
the data from their perspective. This has the potential to
lead to an improved understanding of interaction in this
context and to feed back to the design of the ELEs. We
see this approach very much in the spirit of \polyglot
persistence" (i.e. using di erent data storage methods to
address di erent data manipulation problems), and hence
being used in conjunction with other EDM resources such as
DataShop [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ]. Another direction of research is investigation
of how the exible querying processing techniques for graph
data (including both query approximation and query
relaxation) that have been developed in the context of querying
lifelong learners' data and metadata [
          <xref ref-type="bibr" rid="ref11 ref17">11, 17</xref>
          ] might be
applied or adapted to the much ner-granularity interaction
data described here and the more challenging pedagogical
setting of providing e ective intelligent support to learners
undertaking exploratory tasks in ELEs.
        </p>
        <p>Acknowledgments
This work has been funded by the ESRC/EPSRC MiGen
project, the EU FP7 projects iTalk2Learn (#318051) and
M C Squared (#610467). We thank all the members of
these projects for their help and insights.</p>
        <p>Lorenzo Vigentini
Learning &amp; Teaching Unit</p>
        <p>UNSW Australia,
Lev 4 Mathews, Kensington 2065</p>
        <p>+61 (2) 9385 6226
l.vigentini@unsw.edu.au
ABSTRACT
In this paper we present an analysis (in progress) of a dataset
containing forum exchanges from three different MOOCs. The
forum data is enhanced because together with the exchanges and
the full text, we have a description of the design and pedagogical
function of forums in these courses and a certain level of detail
about the users, which includes achievement, completion, and in
some instances more details such as: education; employment; age;
and prior MOOC exposure.</p>
        <p>Although a direct comparison between the datasets is not possible
because the nature of the participants and the courses are
different, what we hope to identify using graph-based techniques
is a characterization of the patterns in the nature and development
of communication between students and the impact of the ‘teacher
presence’ in the forums. With the awareness of the differences, we
hope to demonstrate that student engagement can be directed
‘bydesign’ in MOOCs: teacher presence should therefore be planned
carefully in the design of large-scale courses.</p>
        <p>
          Keywords
MOOCs, Discussion forums, graph-based EDM, pedagogy.
1. INTRODUCTION
In the past couple of years MOOCs (Massive Open Online
Courses) have become the center of much media hype as
disruptive and transformational [
          <xref ref-type="bibr" rid="ref1 ref2">1, 2</xref>
          ]. Although the focus has
been on a few characteristics of the MOOCS – i.e. free courses,
massive numbers, massive dropouts and implicit quality
warranted by the status of the institutions delivering these courses
– a rapidly growing research interest has started to question the
effectiveness of MOOCS for learning and their pedagogies. If one
ignores entirely the philosophies of teaching driving the design
and delivery of MOOCs going from the the socio-constructivist
(cMOOC, [
          <xref ref-type="bibr" rid="ref4 ref5">4, 5</xref>
          ]) to instructivist (xMOOC, [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ]), at the practical
level, instructors have to make specific choices about how to use
the tools available to them. One of these tools is the discussion
forum. Forums are one of the most popular asynchronous tools to
support students’ communication and collaboration in web-based
learning environments [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ]. These can be deployed in a variety of
ways, ranging from a tangential support resource which students
can refer to when they need help, to a space for learning with
others, driven by the activities students have to carry out (usually
sharing work and eliciting feedback). The latter, in a sense,
emulates class-time in traditional courses providing a space for
structured discussions about the topics of the course. One could
argue that like in face-to-face classes, the value of the interaction
depends on the importance attributed to the forums by the
instructors. This is an interesting point to explore teachers’
presence and the value of their input in directing such
conversations. Mazzolini &amp; Maddison characterize the role of the
teacher and teacher presence in online discussion forums as
varying from being the ‘sage on the stage’, to the ‘guide on the
side’ or even ‘the ghost in the wings’ [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ]. Furthermore they argue
that the ‘ideal’ degree of visibility of the instructor in discussion
forums depends on the purpose of forums and their relationship to
assessment. There are also a number of accounts indicating that
students’ learning in forums is not very effective [
          <xref ref-type="bibr" rid="ref8 ref9">8, 9</xref>
          ]. However
if one looks at the data there are numerous examples indicating
that behaviours in forums are good predictors of performance in
the courses using them, particularly if forum activities are
assessed [
          <xref ref-type="bibr" rid="ref10 ref11 ref12 ref13">10,11,12,13</xref>
          ]. Yet, forums in MOOCs tend to attract
only a small portion of the student activity [
          <xref ref-type="bibr" rid="ref14">14</xref>
          ]. This is setting
forums in MOOCs apart from ‘tutorial-type’ forums used to
support students’ learning in online or blended courses in higher
education. Furthermore, some argue that active engagement is not
the only way of benefiting from discussion forums [
          <xref ref-type="bibr" rid="ref15">15</xref>
          ] and
students’ characteristics and preferences could be more important
than the course design in determining the way in which they take
full advantage of online resources [
          <xref ref-type="bibr" rid="ref16">16</xref>
          ].
2. THE THREE MOOCS IN DETAIL
In order to investigate the way in which students use the
discussion forums, we have extracted data from three MOOCS
delivered by a large, research intensive Australian university. The
three courses are: P2P (From Particles to Planets - Physics);
LTTO (Learning to Teach Online); and INTSE (Introduction to
Systems Engineering), which are broadly characterised in the top
of Table 1. The courses were specifically designed in quite
different ways to test hypotheses about their design, delivery and
effectiveness.
        </p>
        <p>In particular, P2P was designed emulating a traditional university
course in a sequential manner. All content was released on a
week-by-week basis dictating the pace of instruction. LTTO and
INTSE, instead were designed to provide a certain level of
flexibility for the students to elect their learning paths. All content
was readily available at the start, however for LTTO, the delivery
followed a week-on-week delivery focusing on the interaction
with students and a selective attention to particular weekly topics
(i.e. weekly feedback videos driven by the discussion forums as
well as weekly announcements). Although announcements were
used also in INTSE, the lack of weekly activities in the forums did
not impose a strong pacing. In INTSE, the forums had only a
tangential support value and were used mainly to respond to
students’ queries and to clarify specific topics emerging from the
quizzes. Table 1 provides an overview of the different courses.</p>
        <p>
          This also shows that the forum activity in the various courses is a
very small portion of all actions emerging from the logs of activity
which has been reported in the literature [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ].
3. DETAILS OF THE DATASET
3.1 The dataset
The data under consideration is an export form the Coursera
platform. Raw forum database tables (posts, comments, tags,
votes) as well as a JSON based web clickstream were used. The
clickstream events consist of a key which specifies action – either
a ‘pageview’ or ‘video’ item. Forum clickstream events were
identified by a common ‘/forum’ prefix.
        </p>
        <p>The clickstream was further classified into: browsing; profile
lookups; social interaction (looking at contributions); search;
tagging; and threads. From the classification it became evident the
clickstream did not record all events, such as when a post or
comment was made, or when votes were applied. For these,
specific database tables were used. In order to manage different
data sets and sources, a standardized schema was built, allowing
disparate sources to feed into, but exposing a common interface to
conduct analysis over forum activities. This is shown in Figure 1.
3.2 An overview of forums activity
There are very interesting trends which require more detailed
examination (bottom of table 1). As expected, in LTTO the forum
activity is larger than in the other courses and this is probably due
to the fact that students were asked to submit post in forums
following the learning activities. The proportion of active students
in forum is 4x in magnitude compared to the other courses. Yet, if
we look at the average amount of posts or comments, the patterns
are not straightforward to interpret, as the level of engagement is
similar across the courses with 3 to 5 posts per student and 1 to 3
comments (i.e. replies to existing posts), but with P2P showing a
higher level of engagement than the other courses. One possible
explanation is the different target group of the different courses
with INTSE including a majority of professional engineers with
postgraduate qualifications, P2P focusing on high school student
and teachers, and LTTO targeting a broad base of teachers across
different educational levels.</p>
        <p>Target group
Course length
Forums
Design mode
Delivery mode
Use of forums
N in forum
Tot posts
Tot comments
Registrants
Active
students1</p>
        <p>INTSE
Engineers
9 weeks
60%</p>
        <p>LTTO
Teachers at all
levels
8 weeks
63%</p>
        <p>P2P
High school
and teachers
8 weeks
47%
Completing2
The type of activity is summarised in Figure 2. In the chart, the
five categories refer to the following: View corresponds to listing
forums, threads and viewing posts; Post is the writing of a post or
start of a new thread; Comment is a reply to an existing post;
Social refers to all actions engaging directly with other’s status
(up-vote, down-vote and looking at profiles/reputation); Engage
refers to the additional interaction with forums content (searching,
tagging, ‘watching’ or subscribing to posts or threads).</p>
        <p>The viewing behaviour is the most prominent for both the student
and instructor groups and the figures are pretty much similar
across the board. A two-way ANOVA (2x5, role by activity) on
the percentage of distributions, shows that there is no significant
difference between students and instructors, but there is an
obvious difference between views and the other types of
behaviour (F(4,29) = 1656.3, p &lt; .01).</p>
        <p>If we consider the engagement over the timeline and compare the
type of activities carried out by students and instructors, Figure 3
(end of the paper) shows the patterns for the three courses. The
most striking pattern is that there doesn’t seem to be an obvious
one. For what concerns posts and views in all the three courses
there is a sense of synchronicity between the two groups, however
from this chart it is not possible to understand in more detail what
are the connections between what students and teachers do.</p>
        <p>
          Instructors’ comments are slightly offset, possibly as a reaction to
students’ posts. An interesting aspect is the amount of ‘social’
engagement in the P2P course that merits further analysis.
4. DIRECTIONS AND OPEN QUESTIONS
From this coarse analysis it is apparent that there seem to be
minimal behavioural differences in the way students and
instructors interact in the different courses, however more analysis
is required to tackle questions about the individual differences in
students’ and instructors’ patterns of interaction and their
interrelations. Furthermore little can be said about how the nature
of interactions drives the development of communication and
engagement. However a number of questions like the following
remain open and unanswered: how do discussions develop over
time? How teacher presence affects the development of
discussions? Is the number of forums affecting how students
engage with them (i.e. causing disorientation)?
4.1 The DM and graph-based approaches
A possible way to answer the questions about the types/patterns of
behaviours, the structure and development of networks and the
growth of groups/communities over time might be using data
mining and graph-based approaches. For example, [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ] used a
combination of quantitative, qualitative and social network
information about forum usage to predict students' success or
failure in a course by applying classification algorithms and
classification via clustering algorithms. In their approach the
activity of students in the forums is organized according to a set of
commonly used quantitative metrics and a couple of measures
borrowed from Social Network Analysis (table 2). Although this
seems to be a promising approach, there are two issues with this
methodology in the MOOCs: 1) only a tiny proportion of students
can be considered active and 2) it is hard to scale the instructor’s
evaluation. The first problem is not easily resolved and it is an
issue in the literature reviewed [
          <xref ref-type="bibr" rid="ref17 ref18">17, 18</xref>
          ]; non-posting behavior is
considered as an index of disengagement, partly because this is
easy to measure. In principle the latter could be substituted by
peer evaluation (up-vote, down-vote), but there is no easy way to
ensure consistency.
        </p>
        <p>Indicator
Messages
Threads
Words
Sentences
Reads
Time</p>
        <p>Type
Quantitative
Quantitative
Quantitative
Quantitative
Quantitative</p>
        <p>Quantitative
AvgScoreMsg</p>
        <p>Qualitative
Centrality
Prestige</p>
        <p>Social
Social</p>
        <p>Description
Number of messages written by
the student.</p>
        <p>Number of new threads created
by the student.</p>
        <p>Number of words written by
the student.</p>
        <p>Number of sentences written
by the student.</p>
        <p>Number of messages read on
the forum by the student.</p>
        <p>Total time, in minutes, spent
on forum by the student.</p>
        <p>Average score on the
instructor's evaluation of the
student's messages.</p>
        <p>Degree centrality of the
student.</p>
        <p>
          Degree prestige of the student.
An alternative method that can be explored is graph-based
approaches. For example, Bhattacharya et al. [
          <xref ref-type="bibr" rid="ref19">19</xref>
          ] used
graphbased techniques to explore the evolution of software and source
branching providing an insight in the process. Kruck et al. [20]
developed GSLAP, an interactive, graph‐based tool for analyzing
web site traffic based on user‐defined criteria.
        </p>
        <p>
          Kobayashi et al. [
          <xref ref-type="bibr" rid="ref18">18</xref>
          ] used a method to quickly identify and track
the evolution of topics in large datasets using a mix of assignment
of documents to time slices and clustering to identify discussion
topics. Yang et al [21] integrated graph-based clustering to
characterize the emergence of communities and text-based
analysis to portray the nature of exchanges. In fact, students move
in the various sub-forums taking different roles or stances as they
engage with different subsets of students. As the reasons to
engage in these discussions are partly determined by different
interests, goals, and issues, it is possible to construct a social
network graph based on the post-reply-comment structure within
threads. The network generated provides a possible view of a
student’s social participation within a MOOC, which may indicate
some detail about their values, beliefs and intentions.
        </p>
        <p>Furthermore, Brown et al [22] have already shown the value of
exploring the communities in discussion forums in MOOCs
particularly for what concerns the homogeneity of performance
but dissimilarity of motivations characterizing student hubs.
4.2 Discussion points
The examples above provide evidence of the potential for using
graph-based methods to obtain better insights into the process and
content analysis for our dataset and to extend its applicability to
MOOCs, however there are a number of contentious points to
raise which will provide opportunities for discussion.</p>
        <p>Firstly the number of students who are actively involved in
discussion is a very small proportion of the active participants.</p>
        <p>This means that the subset may not be representative at all. One
could argue that these students are already engaged or desperately
need help. Previous literature [21, 22, 23] focused on the ability
to predict performance and on the peer effect which can emerge
from the analysis of the graphs/social networks.</p>
        <p>Secondly, one could question the value of the communities in
xMOOCs: especially when courses are designed with an
instructivits approach leading to mastery, by definition this is an
individualistic perspective focused on the testing of one’s own
skills/learning. Of course in cMOOCs -connectivists by
designthe importance of the development of social support is essential.</p>
        <p>This seems to be supported by Brown et al [22]: they were not
able to uncover a direct relation between stated goals and
motivations with the participation in forums, and attributed this to
pragmatic needs. However, as the authors suggested earlier, the
instructors might play a fundamental role in shaping the
communities based on the value attributed to forums in their
plans/design and the level of engagement/interaction. Considering
the split between cMOOCs and xMOOCs again, interesting work
might come out of the experiment conducted by Rose’ and
colleagues in the DALMOOC in which automated agents were
deployed to support students’ conversations. In Coursera the
deployment of ‘community mentors’ will be an interesting space
to explore, given that the importance of design seems to be
removed from instructors in the ‘on-demand’ model.</p>
        <p>
          Lastly, more research is needed in the time-based dimension of
development of forums in MOOCs. Questions like how students
bond and create stable relations, how they become authoritative
and what motivates them to contribute over time are all open
questions which the analysis of graphs over time might be able to
address.
5. REFERENCES
[
          <xref ref-type="bibr" rid="ref1">1</xref>
          ] Dirk Jan van den Berg and Edward Crawley. Why MOOCS
        </p>
        <p>
          Are Transforming the Face of Higher Education. Retrieved
April 12, 2015 from
http://www.huffingtonpost.co.uk/dirkjan-van-den-berg/why-moocs-aretransforming_b_4116819.html
[
          <xref ref-type="bibr" rid="ref2">2</xref>
          ] Chris Parr. The evolution of Moocs. Retrieved April 12,
2015 from
http://www.timeshighereducation.co.uk/comment/opinion/th
e-evolution-of-moocs/2015614.article
[
          <xref ref-type="bibr" rid="ref3">3</xref>
          ] C. Osvaldo Rodriguez. 2012. MOOCs and the AI-Stanford
        </p>
        <p>Like Courses: Two Successful and Distinct Course Formats
for Massive Open Online Courses. European Journal of</p>
        <p>
          Open, Distance and E-Learning (January 2012).
[
          <xref ref-type="bibr" rid="ref4">4</xref>
          ] George Siemens. 2005. Connectivism: A learning theory for
the digital age. International journal of instructional
technology and distance learning 2, 1 (2005), 3–10.
[
          <xref ref-type="bibr" rid="ref5">5</xref>
          ] Stephen Downes. 2008. Places to go: Connectivism &amp;
connective knowledge, Innovate.
BOTS: Selecting Next-Steps from Player Traces in a Puzzle
        </p>
        <p>Game</p>
        <p>Drew Hicks
North Carolina State</p>
        <p>University
911 Oval Drive</p>
        <p>Raleigh, NC 27606
aghicks3@ncsu.edu</p>
        <p>Yihuan Dong
North Carolina State</p>
        <p>University
911 Oval Drive</p>
        <p>Raleigh, NC 27606
ydong2@ncsu.edu</p>
        <p>Rui Zhi
North Carolina State</p>
        <p>University
911 Oval Drive
Raleigh, NC 27606
rzhi@ncsu.edu
Veronica Cateté
North Carolina State</p>
        <p>University
911 Oval Drive</p>
        <p>Raleigh, NC 27606
vmcatete@ncsu.edu</p>
        <p>Tiffany Barnes
North Carolina State</p>
        <p>University
911 Oval Drive</p>
        <p>Raleigh, NC 27606
tmbarnes@ncsu.edu
ABSTRACT
In the eld of Intelligent Tutoring Systems, data-driven
methods for providing hints and feedback are becoming
increasingly popular. One such method, Hint Factory, builds an
interaction network out of observed player traces. This data
structure is used to select the most appropriate next step
from any previously observed state, which can then be used
to provide guidance to future players. However, this method
has previously been employed in systems in which each
action a player may take requires roughly similar e ort; that
is, the \step cost" is constant no matter what action is taken.</p>
        <p>We hope to apply similar methods to an interaction network
built from player traces in our game, BOTS; However, each
edge can represent a varied amount of e ort on the part of
the student. Therefore, a di erent hint selection policy may
be needed. In this paper, we discuss the problems with our
current hint policy, assuming all edges are the same cost.</p>
        <p>Then, we discuss potential alternative hint selection policies
we have considered.</p>
        <p>Keywords
Hint Generation, Serious Games, Data Mining
1. INTRODUCTION
Data-driven methods for providing hints and feedback are
becoming increasingly popular, and are especially useful for
environments with user- or procedurally-generated content.</p>
        <p>
          One such method, Hint Factory, builds an interaction
network out of observed player traces. An Interaction Network
is a complex network of student-tutor interactions, used to
model student behavior in tutors, and provide insight into
problem-solving strategies and misconceptions. This data
structure can be used to provide hints, by treating the
Interaction Network similarly to a Markov Decision Process and
selecting the most appropriate next step from the requesting
user's current state. This method has successfully been
employed in systems in which each action a player may take is
of similar cost; for example in the Deep Thought logic tutor
each action is an application of a particular axiom. Applying
this method to an environment where actions are of di
erent costs, or outcomes are of varying value will require some
adaptations to be made. In this work, we discuss how we
will apply Hint Factory methods to an interaction network
built from player traces in a puzzle game, BOTS. In BOTS,
each \Action" is the set of changes made to the program
between each run. Therefore, using the current hint
selection policy would result in very high-level hints comprising
a great number of changes to the student's program. Since
this is undesirable, a di erent hint selection policy may be
needed.
2. DATA-DRIVEN HINTS AND FEEDBACK
In the ITS community, several methods have been proposed
for generating hints/feedback from previous observations of
users' solutions or behavior. Rivers et al propose a
datadriven method to generate hints automatically for novice
programmers based on Hint Factory[
          <xref ref-type="bibr" rid="ref8">8</xref>
          ]. They present a
domain-independent algorithm, which automates hint
generation. Their method relies on solution space, which utilizes
graph to represent the solution states. In solution space,
each node represents a candidate solution and each edge
represents the action used to transfer from one state to another.
        </p>
        <p>Due to the existence of multiple ways to solve a
programming problem, the size of the solution space is huge and thus
it is impractical to use. A Canonicalizing model is used to
reduce the size of the solution space. All states are
transformed to canonicalized abstract syntax trees (ASTs). If the
canonical form of two di erent states are identical, they can
be combined together. After simplifying the solution space,
hint generation is implemented. If the current state is
incorrect and not in the solution space, the path construction
algorithm will nd an optimal goal state in the solution space
which is closest to current state. This algorithm uses change
vectors to denote the change between current state and goal
state. Once a better goal state is found during
enumerating all possible changes, it returns the current combination
of change vectors. Each change vector can be applied to
current state and then form an intermediate state. The
intermediate states are measured by desirability score, which
represents the value of the state. And then the path
construction algorithm generates optimal next states based on
the rank of the desirability scores of all the intermediate
states. Thus a new path can be formed and added to the
solution space, and appropriate hints can be generated.</p>
        <p>
          Jin et al propose linkage graph to generate hints for
programming courses[
          <xref ref-type="bibr" rid="ref4">4</xref>
          ]. Linkage graph uses nodes to represent
program statements and direct edges to indicate ordered
dependencies of those statements. Jin's approach applies
matrix to store linkage graph for computation. To generate
linkage matrix, rst, they normalize variables in programs
by using instructor-provided variable speci cation le. After
variable normalization, they sort the statement with 3 steps:
(i) preprocessing, which breaks a single declaration for
multiple variables (e.g. int a, b, c) into multiple declaration
statements (e.g. int a; int b; int c;); (ii) creating statement
sets according to variable dependencies, which put
independent statements into rst set, put statements depend only
on statements in the rst set into second set, put statements
depends only on statements in the rst and second set into
third set, and so on; (iii) in-set statement sorting, during
which the statements are sorted in decreasing order within
set using their variable signatures. In hint generation, they
        </p>
        <p>rst generate linkage graphs with a set of correct solutions,
as the sources for hint generation. They also compose the
intermediate steps during program development into a large
linkage graph, and assign a reward value to each state and
the correct solution. Then, they apply value iteration to
create a Markov Decision Process (MDP). When a student
requires hint, tutor will generate a linkage graph for the
partial program and try to nd the closest match in MDP. If
a match is found in MDP, the tutor would generate hint
with the next best state based on highest assigned value.</p>
        <p>If a match is not found in current MDP, which means the
student is taking a di erent approach from existing correct
solutions, the tutor will try to modify those correct solutions
to t student's program and then provide hints.</p>
        <p>
          Hint Factory[
          <xref ref-type="bibr" rid="ref9">9</xref>
          ] is an automatic hint generation technique
which uses Markov decision processes (MDPs) to generate
contextualized hints from past student data. It mainly
consists of two parts - Markov Decision Process (MDP)
generator and hint provider. The MDP generator runs a process
to generate MDP values for all states seen in previous
students' solutions. In this process, all the students' solutions
are combined together to form a single graph. Each node
of the graph represents a state, and each edge represents an
action one student takes to transform from current state to
another state. Once the graph is built, the MDP generator
uses Bellman backup to assign values for all nodes. After
updating all values, a hint le is generated. The hint provider
uses hint le to provide hint. When a student asks for a hint
at a existing state, hint provider will retrieve current state
Figure 1: The BOTS interface. The robot's program
is along the left side of the screen. The \toolbox" of
available commands is along the top of the screen.
information and check if hints are available for the state.
        </p>
        <p>
          The action that leads to subsequent state with the highest
value is used to generate a hint sequence. A hint sequence
consists of four types of hints and are ordered from
general hint to detailed hint. Hint provider will then show hint
from top of the sequence to the student. Hint Factory has
been applied in logic tutors which helps students learn logic
proof. The result shows that the hint-generating function
could provide hints over 80% of the time.
3. BOTS
BOTS is a programming puzzle game designed to teach
fundamental ideas of programming and problem-solving to
novice computer users. The goal of the BOTS project is
to investigate how to best use community-authored content
within serious games and educational games. BOTS was
inspired by games like LightBot [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ] and RoboRally [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ], as
well as the success of Scratch and it's online community [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ]
[
          <xref ref-type="bibr" rid="ref5">5</xref>
          ]. In BOTS, players take on the role of programmers
writing code to navigate a simple robot around a grid-based 3D
environment, as seen in Figure 1. The goal of each puzzle
is to press several switches within the environment, which
can be done by placing an object or the robot on them.
        </p>
        <p>To program the robots, players will use simple graphical
pseudo-code, allowing them to move the robot, repeat sets
of commands using \for" or \while" loops, and re-use chunks
of code using functions. Within each puzzle, players' scores
depend on the number of commands used, with lower scores
being preferable. In addition, each puzzle limits the
maximum number of commands, as well as the number of times
each command can be used. For example, in the tutorial
levels, a user may only use the \Move Forward" instruction
10 times. Therefore, if a player wants to make the robot
walk down a long hallway, it will be more e cient to use a
loop to repeat a single \Move Forward" instruction, rather
than to simply use several \Move Forward" instructions one
after the other. These constraints are meant to encourage
players to re-use code and optimize their solutions.</p>
        <p>
          In addition to the guided tutorial mode, BOTS also
contains an extensive \Free Play" mode, with a wide selection
of puzzles created by other players. The game, in line with
the \Flow of Inspiration" principles outlined by Alexander
Repenning [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ], provides multiple ways for players to share
knowledge through authoring and modifying content.
Players are able to create their own puzzles to share with their
peers, and can play and evaluate friends' puzzles,
improving on past solutions. Features such as peer-authored hints
for di cult puzzles, and a collaborative ltering approach
to rating are planned next steps for the game's online
element. We hope to create an environment where players can
continually challenge their peers to nd consistently better
solutions for increasingly di cult problems.
        </p>
        <p>User-generated content supports replayability and a sense
of a community for a serious game. We believe that
usercreated puzzles could improve interest, encouraging students
to return to the game to solidify their mastery of old skills
and potentially helping them pick up new ones.
4. ANALYSIS
4.1 Dataset
Data for the BOTS studies has come from a middle school
computer science enrichment program called SPARCS. In
this program, the students attend class on Saturday for 4
hours where computer science undergraduates teach them
about computational thinking and programming. Students
attend a total of 7 sessions, each on a di erent topic, ranging
from security and encryption to game design. The students
all attend the same magnet middle school. The
demographics for this club are 74.2% male, 25.8% female, 36.7% African
American, and 23.3% Hispanic. The student's grade
distribution is 58% 6th grade, 36% 7th grade and 6% 8th grade.</p>
        <p>
          From these sessions, we collected gameplay data for 20
tutorial puzzles as well as 13 user-created puzzles, With this
data, we created an Interaction Network in order to be able
to provide hints and feedback for future students [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ].
However, using program edits as states, the interaction networks
produced were very sparse. In order to be better able to
relate similar actions, we produced another interaction
network using program output as our state de nition [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ].
4.2 States and Transitions
Based on the data collected, we can divide the set of
observed states into classes. First among these is the start state
in which the problem begins. By de nition, every player's
path must begin at this state. Next is the set of goal states
in which all buttons on the stage are pressed. These are
reported by the game as correct solutions. Any complete
solution, by de nition, ends at one such state. Among states
which are neither start nor goal states, there are three
important classi cations: Intermediate states (states a robot
moves through during a correct solution), mistake states
(states a robot does not move through during a correct
solution), and error states (states which result from illegal
output, like attempting to move the robot out-of-bounds).
        </p>
        <p>Based on these types of states, we classi ed our hints based
on the transitions they represented.
4.2.1</p>
        <p>Subgoal Transition
c
e</p>
        <p>Error
b
d
f
(start/intermediate) ! (intermediate/goal) These transitions
occur when a student moves the robot to an intermediate
state rather than directly to the goal. Since players run
their programs to produce output, we speculate that these
may represent subgoals such asmoving a box onto a speci c
switch. After accomplishing that task, the user then
appends to their program, moving towards a new objective,
until they reach a goal state. Hint B in Figure 2 shows a
hint generated from such a transition.
4.2.2 Correction Transition
(error/mistake) ! (intermediate/goal) This transition
occurs when a student makes and then corrects a mistake.</p>
        <p>These are especially useful because we can o er hints based
on the type of mistake. Hints D and E in Figure 2 show hints
built from this type of transition; however, hint E shows a
case where a student resolved the mistake in a suboptimal
way.
4.2.3 Simple Solution Transition
(start) ! (goal) This occurs when a student enters an entire,
correct program, and solves the puzzle in one attempt. This
makes such transitions not particularly useful for generating
hints, other than showing a potential solution state of the
puzzle. Hint F in Figure 2 shows this type of transition.
4.2.4 Rethinking Transition
(intermediate) ! (intermediate/goal) This transition occurs
when rather than appending to the program as in a subgoal
transition, the user deletes part or all of their program, then
moving towards a new goal. As a result, the rst state is
unrelated to the next state the player reaches. O ering this
state as a hint would likely not help guide a di erent user.</p>
        <p>
          Hint A in Figure 2 shows an example of this. Finding and
recognizing these is an important direction for future work.
4.2.5 Error Transition
(start/intermediate) ! (mistake/error) This corresponds to
a program which walks the robot out of bounds, into an
object, or other similar errors. While we disregarded these
as hints, this type of transition may still be useful. In such
a case, the last legal output before the error could be a
valuable state. Hint C in Figure 2 is one such case.
4.3 Next Steps
While this approach was able to help us identify
interesting transitions, as well as signi cantly reduce the sparseness
of the Interaction Network by merging states with similar
output, we violate several assumptions of the Hint Factory
technique by using user compilation as an action.
Essentially, the cost of an action can vary widely. In the most
extreme examples, the best next state selected by Hint
Factory will simply be the goal state.
4.4 Current Hint Policy
Our current hint selection policy is the same as the one used
in the logic tutor Deep Thought with a few exceptions [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ].
        </p>
        <p>We combine all student solution paths into a single graph,
mapping identical states to one another (comparing either
the programs or the output). Then, we calculate a tness
value for each node. We assign a large positive value (100)
to each goal state, a low value for dead-end states (0) and
a step cost for each step taken (1). Setting a non-zero cost
on actions biases us towards shorter solutions. We then
calculate tness values V (s) for each state s, where R(s) is
the initial tness value for the state, is a discount factor,
and P (s; s0) is the observed frequency with which users in
state s go to state s0 next, via taking the action a. The
equation for determining the tness value of a state is as
follows:</p>
        <p>V (s) := R(s) + max X Pa(s; s0)V (s0)
a</p>
        <p>(1)
s0
However, in our current representation there is only one
available action from any state: \run." Di erent players
using this action will change their programs in di erent ways
between runs, so it is not useful to aggregate across all the
possible resulting states. Instead, we want to consider each
resulting state on its own. As a result, we use a simpli ed
version of the above, essentially considering each possible
resulting state s0 as the de nite result of its own action:</p>
        <p>V (s) := R(s) + maxP (s; s0)V (s0)
s0
Since the action \run" can encompass many changes,
selecting the s0 which maximizes the value may not always be the
best choice for a hint. The di erence between s and s0 can
be quite large, and this is usually the case when an expert
user solves the problem in one try, forming an edge directly
between the \start" state and \goal" state. These and other
\short-circuits" make it di cult to assess which of the child
nodes would be best to o er as a hint by simply using the
calculated tness value.</p>
        <p>Another problem which arises from this state representation
is seen in Hints C and E above. These hints show states
where a student traveled from a state to a worse state before
ultimately solving the problem. Since we limit our search for
hintable states to the immediate child states of s in s0, we are
unable to escape from such a situation if the path containing
the error is the best or only observable path to the goal.
4.5 Proposed Hint Policies
One potential modi cation of the hint policy involves
analyzing the programs/output on the nodes, using some
distance metric (s; s0). This measurement would be used in
addition to the state's independent tness value R(s) which
takes into account distance from a goal, but is irrespective
of the distance from any previous state. For example in the
short-circuit example above, using \di erence in number of
lines of code" as a distance metric we could take into
account how far the \Goal" state is from the \Start" state, and
potentially choose a nearer state as a hint. This also helps
correct for small error-correction steps in player solutions;
if the change between the current state and the target hint
state is very small, we may want to consider hinting toward
the next step instead, or a di erent solution path altogether.</p>
        <p>V (s) := R(s) + max X
a
s0
(s; s0)P (s; s0)V (s0)
One potential downside to this approach is that it requires
somewhat more knowledge of the domain to be built into the
model. If the distance metric used is inaccurate or awed,
there may be cases where we choose a very suboptimal hint.
using di erence in lines of code as our distance metric, the
change between a state where a player is using no functions
and a state where the user writes existing code into a
function may be very small. Hints selected in these cases might
guide students away from desired outcomes in our game.</p>
        <p>Another problem we need to resolve with our current hint
policy, as discussed above, is the case where the best or
only path to a goal from a given state s has an error as
a direct child s0. One method of resolving this could be,
instead of o ering s0 as a hint, continuing to ask for
nextstep hints from s0 until some s0 is a hintable, non-error state.</p>
        <p>This solution requires no additional knowledge of the game
domain, however it's possible that the hint produced will
be very far from s, or that we may skip over important
information about how to resolve the error or misconception
that led the student into state s in the rst place.</p>
        <p>Other modi cations to the hint selection policy may produce
better results than these. We hope to look into as many
possible modi cations as we can, seeing which modi cations
produce the most suitable hints on our current dataset
before settling on an implementation for the live version of the
game.
5. ACKNOWLEDGMENTS
Thanks to the additional developers who have worked on this
project or helped with our outreach activities so far,
including Aaron Quidley, Trevor Brennan, Irena Rindos, Vincent
Bugica, Victoria Cooper, Dustin Culler, Shaun Pickford,
Antoine Campbell, and Javier Olaya. This material is based
upon work supported by the National Science Foundation
Graduate Research Fellowship under Grant No. 0900860
and Grant No. 1252376.</p>
        <p>
          [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ] W. Jin, T. Barnes, J. Stamper, M. J. Eagle, M. W.
        </p>
        <p>
          Johnson, and L. Lehmann. Program representation for
automatic hint generation for a data-driven novice
programming tutor. In Intelligent Tutoring Systems,
pages 304{309. Springer, 2012.
[
          <xref ref-type="bibr" rid="ref5">5</xref>
          ] D. J. Malan and H. H. Leitner. Scratch for budding
computer scientists. ACM SIGCSE Bulletin,
39(1):223{227, 2007.
[
          <xref ref-type="bibr" rid="ref6">6</xref>
          ] B. Peddycord III, A. Hicks, and T. Barnes.
        </p>
        <p>
          Generating hints for programming problems using
intermediate output.
[
          <xref ref-type="bibr" rid="ref7">7</xref>
          ] A. Repenning, A. Basawapatna, and K. H. Koh.
        </p>
        <p>
          Making university education more like middle school
computer club: facilitating the ow of inspiration. In
Proceedings of the 14th Western Canadian Conference
on Computing Education, pages 9{16. ACM, 2009.
[
          <xref ref-type="bibr" rid="ref8">8</xref>
          ] K. Rivers and K. R. Koedinger. Automating hint
generation with solution space path construction. In
Intelligent Tutoring Systems, pages 329{339. Springer,
2014.
[
          <xref ref-type="bibr" rid="ref9">9</xref>
          ] J. Stamper, T. Barnes, L. Lehmann, and M. Croy.
        </p>
        <p>The hint factory: Automatic generation of
contextualized help for existing computer aided
instruction. In Proceedings of the 9th International
Conference on Intelligent Tutoring Systems Young</p>
        <p>
          Researchers Track, pages 71{78, 2008.
[
          <xref ref-type="bibr" rid="ref10">10</xref>
          ] D. Yaroslavski. LightBot. [Video Game], 2008.
        </p>
        <p>Semantic Graphs for Mathematics Word Problems based
on Mathematics Terminology
Rogers Jeffrey Leo John</p>
        <p>Center for Computational</p>
        <p>Learning Systems
Columbia University</p>
        <p>New York, NY, USA
rl2689@columbia.edu</p>
        <p>Thomas S. McTavish</p>
        <p>Center for Digital Data,
Analytics &amp; Adaptive Learning</p>
        <p>Pearson</p>
        <p>Austin, TX, USA
tom.mctavish@pearson.com</p>
        <p>Rebecca J. Passonneau</p>
        <p>Center for Computational</p>
        <p>Learning Systems
Columbia University</p>
        <p>New York, NY, USA
becky@ccls.columbia.edu
ABSTRACT
We present a graph-based approach to discover and extend
semantic relationships found in a mathematics curriculum
to more general network structures that can illuminate
relationships within the instructional material. Using words
representative of a secondary level mathematics curriculum
we identi ed in separate work, we constructed two
similarity networks of word problems in a mathematics textbook,
and used analogous random walks over the two networks
to discover patterns. The two graph walks provide similar
global views of problem similarity within and across
chapters, but are a ected di erently by number of math words
in a problem and math word frequency.
1. INTRODUCTION
Curricula are compiled learning objects, typically presented
in sequential order and arranged hierarchically, as in a book's
Table of Contents. Ideally, a domain model captures
relationships between the learning objects and the knowledge
components or skills they exercise. Unfortunately, domain
models are not often granular enough for optimal learning
experiences. For example, prerequisite relationships may be
lacking, or the knowledge components associated with an
exercise may be unknown. In such cases, assessments on
those learning objects will be insu cient to enable
appropriate redirection unless expert (i.e. teacher) intervention
is explicitly given. Domain models remain coarse because
using experts to enumerate and relate the knowledge
components is costly.</p>
        <p>
          As a means to automatically discover relationships among
learning objects and to reveal their knowledge components,
we demonstrate the use of direct similarity metrics and
random graph walks to relate exercises in a mathematics
curriculum. We rst apply a standard cosine similarity measure
between pairs of exercises, based on bag-of-word vectors
consisting of math terms that we identi ed in separate work
[
          <xref ref-type="bibr" rid="ref7">7</xref>
          ]. Then, to extract less explicit relationships between
exercises, we randomly walk a graph using the cosine distance
as edge weights. We also recast the problem as a bipartite
graph with exercises on one side and words on the other,
providing an edge when an exercise contains the math word.
        </p>
        <p>We contrast these two di erent types of random walks and</p>
        <p>
          nd somewhat similar results, which lends con dence to the
analysis. The bipartite graph walks, however, are more
sensitive to di erences in word frequency. Casting measures of
similarity as graphs and performing random walks on them
a ords more nuanced ways of relating objects, which can be
used to build more granular domain models for analysis of
prerequisites, instructional design, and adaptive learning.
2. RELATED WORK
Random walks over graphs have been used extensively to
measure text similarity. Applications include similarity of
web pages [
          <xref ref-type="bibr" rid="ref15">15</xref>
          ] and other documents [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ], citations [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ],
passages [
          <xref ref-type="bibr" rid="ref14">14</xref>
          ], person names in email [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ] and so on. More
recently, general methods that link graph walks with external
resources like WordNet have been developed to produce a
single system that handles semantic similarity for words,
sentences or text [
          <xref ref-type="bibr" rid="ref16">16</xref>
          ]. Very little work compares walks over
graphs of the same content, where the graphs have di
erent structure. We create two di erent kinds of graphs for
mathematics word problem and compare the results. We
        </p>
        <p>nd that the global results are very similar, which is good
evidence for the general approach, and we nd di erences in
detail that suggest further investigation could lead to
customizable methods, depending on needs.</p>
        <p>
          An initiative where elementary science and math tests are a
driver for arti cial intelligence has led to work on knowledge
extraction from textbooks. Berant et al. [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ] create a system
to perform domain-speci c deep semantic analysis of a 48
paragraphs from a biology textbook for question answering.
        </p>
        <p>Extracted relations serve as a knowledge base against which
to answer questions, and answering a question is treated as</p>
        <p>
          nding a proof. A shallow approach to knowledge extraction
from a fourth grade science curriculum is taken in [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ], and
the knowledge base is extended through dialog with users
until a path in the knowledge network can be found that
supports a known answer. In the math domain, Kushman et
al. [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ] generate a global representation of algebra problems
in order to solve them by extracting relations from sentences
and aligning them. Seo et al. [
          <xref ref-type="bibr" rid="ref18">18</xref>
          ] study text and diagrams
together in order to understand the diagrams better through
textual cues. We are concerned with alignment of content
Two machines produce the same type of widget. Machine
A produces W widgets, X of which are damaged. Machine B
produces Y widgets, Z of which are damaged. The fraction of
damaged widgets for Machine A is WX or (simpli ed fraction).
        </p>
        <p>The fraction of damaged widgets for Machine B is YZ or
(simpli ed fraction). Write each fraction as a decimal and a
percent. Use pencil and paper. Select a small percent that
would allow for a small number of damaged widgets. Find
the number of widgets by which each machine exceeded the
acceptable number of widgets.</p>
        <p>
          Other work that addresses knowledge representation from
text includes ontology learning [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ], which often focuses on
the acquisition of sets of facts from text [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ]. There has
been some work on linking lexical resources like WordNet
or FrameNet to formal ontologies [
          <xref ref-type="bibr" rid="ref13 ref17">17, 13</xref>
          ], which could
provide a foundation for reasoning over facts extracted from
text. We nd one work that applies relation mining to
elearning: Simko and Bielikova [
          <xref ref-type="bibr" rid="ref19">19</xref>
          ] apply automated relation
mining to extract relations to support e-course authoring in
the domain of teaching functional programming. Li et al.
[
          <xref ref-type="bibr" rid="ref11">11</xref>
          ] apply k-means clustering to a combination of problem
features and student performance features, and propose the
clusters correspond to Knowledge Components [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ].
3. METHODS
3.1 Data
We used 1800 exercises from 17 chapters of a Grade 7
mathematics curriculum. Most are word problems, as illustrated in
Figure 1. They can incorporate images, tables, and graphs,
but for our analysis, we use only the text. The
vocabulary of the resulting text consists of 3,500 distinct words.
        </p>
        <p>We construct graphs where math exercises are the nodes, or
in a bipartite graph, math exercises are the left side nodes
and words are the right side nodes. Our initial focus is on
exercise similarity due to similarity of the math skills that
exercises tap into, and we use mathematics terminology as
an indirect proxy of skills a problem draws upon.
3.2 Math Terminology
The text of the word problems includes ordinary language
expressions unrelated to the mathematics curriculum, such
as the nouns machines, widgets shown in problem in
Figure 1, or the verbs produces, damaged. For our purposes,
mathematics terminology consists of words that expresses
concepts that are needed for the mathematical competence
the curriculum addresses. To identify these terms, we
developed annotation guidelines for human annotators who label
words in their contexts of use, and assessed the reliability of
annotation by these guidelines. Words can be used in the
math texts sometimes in a math sense and sometimes in a
non-math sense. Annotators were instructed to label terms
based on the most frequent usage.</p>
        <p>
          Using a chance-adjusted agreement coe cient in [
          <xref ref-type="bibr" rid="ref1">-1,1</xref>
          ] [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ],
reliability among three annotators was 0.81, representing
high agreement. All the non-stop words were then labeled
by a trained annotator. We developed a supervised machine
learning approach to classify vocabulary into math and
nonmath words [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ] that can be applied to new mathematics
curricula. For the text used here, there were 577 math terms.
3.3 Random Walks in Graphs
A random walk on a graph starts at a given node and steps
with random probability to a neighboring node. The same
random decision process is employed at this and every
subsequent node until a termination criterion is met. Each time
a node is visited, it is counted. Open random walks require
that the start node and end nodes di er. Traversal methods
may employ a bias to navigate toward or away from certain
neighbors through edge weights or other graph attributes.
        </p>
        <p>In a graph, G = (V; E) with nodes V and edges E, a
random walk that begins at vx and ends at vy can be denoted as
(vx; :::; vy). By performing several random walks, the
fraction of times the node vy is visited converges to the
probability of target vy being visited given the start node vx,
which can be expressed as P (vyjvx) under the conditions of
the walk. In the case of a random walk length of 1, P (vyjvx)
will simply measure the probability of vy being selected as
an adjacent node to vx.
3.4 Cosine Similarity Graph
Math exercises are represented as bag-of-words vectors with
boolean values to indicate whether a given math term is
present. Cosine similarity quanti es the angle between the
two vectors, and is given by the dot product of two vectors.</p>
        <p>cos(t; e) =</p>
        <p>te
ktkkek</p>
        <p>Pn
= pPn i=1 tieii=1 (ei)2
i=1 (ti)2pPn
Similarity values of 1 indicate that both the vectors are the
same whereas a value of zero indicates orthogonality between
the two vectors. Pairwise cosine similarities for all 1800
exercises were computed, yielding a cosine similarity matrix
Mcos. The matrix corresponds to a graph where non-zero
cosine similarities are edge weights between exercises.</p>
        <p>In a graph walk, the probability that a node vy will be
reached in one step from a node vx is given by the
product of the degree centrality of vx and the normalized edge
weight (vx; vy). With each exercise as a starting node, we
performed 100,000 random walks on the cosine-similarity
graph, stepping with proportional probability to all
outgoing cosine similarity weights. To measure 2nd degrees of
separation, with each walk we made two steps.</p>
        <p>For two math vectors considered as the sets A and B, cosine
similarity can be conceptualized in terms of the intersection
set C = A [ B and set di erences A n B and B n A. Cosine
similarity is high when jCj A n B and jCj B n A.</p>
        <p>The degree of a node a ects the probability of traversing
any edge from that node. The two factors that a ect
degree centrality of a start node are the document frequencies
of its math words, and the total number of math words.</p>
        <p>Here, document frequency (df) is the normalized number of
exercises a word occurs in. A high df math word in a
problem increase its degree centrality because there will be more
problems it can share words with, resulting in non-zero
cosine values and therefore edges. The number of math words
in a problem also increases its degree centrality.
3.5 Bipartite exercise and word graph
The set of exercises Ve are the left-side nodes and the math
words Vw are the right-side nodes in the undirected bipartite
graph G = (Ve; Vw; E), where an edge exists between vex and
vwi if exercise x contains the math word i.</p>
        <p>We performed open random walks on this graph to measure
similarity between nodes. To measure the similarity of
exercises, we walk in even steps { a step to a connected word
followed by a step back to one of the exercises that shares
that word. The degrees of separation between vertices on
the same side of the graph (e.g. exercise-to-exercise) will be
l=2 where l is the length of the walk. In this paper, we
explored rst and second degrees of separation so our bipartite
graphs had a walk length of 4.
minimum
maximum
mean
median
std. dev.</p>
        <p>rwcos
Because exercise nodes are connected via word nodes, we
interpret the fraction of node visits as a similarity measure
between the source node and any node visited. We performed
100,000 random walks from each node. Exercise-to-exercise
similarity can be visualzed as square matrices with source
nodes in the rows and target nodes in the columns. To
factor out the times a source may have been selected as one of
the targets, we set the diagonal of the matrix to zero. We
then normalized across the rows so that we could interpret
the distribution across the row as a probability distribution
to all other nodes for that source node.
4. RESULTS
We compare the three measures of similarity between
exercises: 1) cosine similarity, 2) random walks using cosine
similarity as edge weights, and 3) random walks along a
bipartite graph of exercises and words.
4.1 Exercise-to-Exercise Similarity
We describe exercise-to-exercise similarity with square
matrices where each exercise is represented as a row-column. A
number of features of the measures are embedded in Figure
2, which shows heatmaps of color values for pairs of exercises
in chapter 6 for each matrix. We nd that within chapters
and especially within sections of those chapters, there is a
high degree of similarity between exercises regardless of the
measure. This demonstrates that words within sections and
chapters share a common vocabulary. We can see that Mcos
has more extreme values than Mcosrw; as explained below,
it has both more zero cosine values, and more very high
values. This is most likely because Mcosrw, from doing the
walk, picks up exercises that are another degree of
separation away. When the row of the matrix is normalized to
capture the distribution of the source node, the otherwise
high values from Mcos are tempered in the Mcosrw matrix.</p>
        <p>This shift to a large number of lower scores is shown in the
bottom panel of Figure 3. Mbp and Mcosrw are very similar,
but Mbp generally has a wider dynamic range.
4.2 Comparison of the Graph Walks
Table 1 provides summary statistics for cosine similarity and
the two random walks for all pairs of problems (N=3,250,809).</p>
        <p>The cosine matrix is very sparse, as shown by the median
value of 0. Of the two random walk similarities, rwcos has
a lower standard deviation around the mean, but otherwise
the two random walks produce similar distributions.</p>
        <p>The similarity values given by cosine and the cosine random
walk will increasingly di er the more that the start problem
has relatively higher degree centrality due either to more
words or higher frequency of words in exercises (df). For
reference, the word that occurs most frequently, number,
has a df of 0.42, and the second most frequent occurs in
only 15% of the exercises. Fifty eight nodes have no edges
(0 degree), the most frequent number of edges is 170, and
the maximum is 1,706. Table 2 gives the summary statistics
for df, number of math words, and degree centrality.</p>
        <p>Inspection of the data shows that for pairs of problems in
the two chapters for our case study, if the cosine
similarity between a pair is high ( 0.75), the similarity values
for rwcos tend to go down as the number of shared word
increases from 3 to between 5 and 7. For the rwbp, the
opposite trend occurs, where the similarity goes up as the
number of words increases. This di erence helps account for
an observed divergence in the two graph walks for sections
5 and 6 of Chapter 6.</p>
        <p>Table 3 illustrates two pairs of problems from section 5 that
have high cosine similarities, and relatively higher rwbp
similarities (greater than the rw means of 0.0055) and relatively
lower rwcos (lower than the rw means). The reverse pattern
is seen for two pairs of problems from section 6 that have
high cosine similarities. These problems have higher than
average rwcos and lower than average rwbp. What di
erentiates the two pairs of problems is that the section 5
problems have a relatively large number of words in common:
14 for the rst pair, 12 for the second pair. In both pairs,
some of the words have relatively high document frequency.</p>
        <p>As discussed above, these two properties increase the degree
centrality of the start node of a step in the rwcos graph, and
thus lower the probability of hitting each of the start node's
one-degree neighbors. This e ect propagates along the two
steps of the walk. For the rwbp graph, however, as the
number of shared math words for a pair of problems increases,
the number of paths from one to the other also increases,
thus raising the probability of the traversal. This e ect also
propagates through a two-step walk. In contrast to the
section 5 problems, the two section 6 problems have relatively
fewer words in common: 3 for both pairs.</p>
        <p>For problem pairs where the cosine similarity is between
0.40 and 0.60, the mean similarity from rwbp is 30% higher
than for rwcos for when the number of math words in
common is 3 (0.0033 vs. 0.0043), 80% higher when the number
of math words in common is 6 (0.0024 versus 0.0045), and
three as high when the number of math words in common
is 9 (0.0023 versus 0.0068). For problems pairs where the
minimum
maximum
mean
median
std. dev.</p>
        <p>df
10 4
10 3
max df
0.42
0.13
0.11
0.11
cosine similarity is less than 0.20, the two walks produce
very similar results. The average similarity values for the
bipartite walk are about 20% higher, and the maximum
values are higher, but the two walks produce similar means,
independent of the lengths of the common word vectors, or
the total number of math words.</p>
        <p>Since we normalized the matrices across rows, which are
the source nodes, di erences between the bipartite matrix,
Mbp, and the cosine matrices implied that the degree of the
target node had a greater impact on the variability in the
bipartite matrix. To measure the impact of the edge degree
on the target nodes, we considered the column sum for those
targets that had 1 edge, those that had 2, etc. up to 20
edges. The results are summarized in Figure 4. As can be
seen, the column sum varies linearly by the number of target
edges in the bipartite matrix, whereas the cosine matrices
do not. We found the cubed root of the column sum in Mbp
approaches the distribution of column sums of the cosine
matrices, which is provided in Figure 4.
5. CONCLUSION
Visualization of the three similarity matrices shows they
reveal the same overall patterns, thus each is con rmed by
the others. However, the bipartite walk was the most
sensitive to word frequency across exercises, and the number
of words in problems. With our goal of automatically
discovering knowledge components and identifying their
relationships, the random walk that stepped in proportion to
its cosine similarity performed best. It was able to discover
second-degree relationships that seem reasonable as we
explore by eye those matches. Future work will test these
relationships with student performance data. We should nd,
for example, that if two exercises are conceptually similar,
then student outcomes should also be similar and learning
curves should reveal shared knowledge components. In this
respect, such automatically constructed knowledge graphs
can create more re ned domain models that intelligent
tutoring systems and robust assessments can be built upon.</p>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>Y.</given-names>
            <surname>An</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Janssen</surname>
          </string-name>
          , and
          <string-name>
            <given-names>E. E.</given-names>
            <surname>Milios</surname>
          </string-name>
          .
          <article-title>Characterizing and mining the citation graph of the computer science literature</article-title>
          .
          <source>Knowledge and Information Systems</source>
          ,
          <volume>6</volume>
          (
          <issue>6</issue>
          ):
          <volume>664</volume>
          {
          <fpage>678</fpage>
          ,
          <year>2004</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>J.</given-names>
            <surname>Berant</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Srikumar</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.-C.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. Vander</given-names>
            <surname>Linden</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Harding</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Huang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Clark</surname>
          </string-name>
          , and
          <string-name>
            <given-names>C. D.</given-names>
            <surname>Manning</surname>
          </string-name>
          .
          <article-title>Modeling biological processes for reading comprehension</article-title>
          .
          <source>In Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP)</source>
          , pages
          <fpage>1499</fpage>
          {
          <fpage>1510</fpage>
          ,
          <string-name>
            <surname>Doha</surname>
          </string-name>
          , Qatar,
          <year>October 2014</year>
          .
          <article-title>Association for Computational Linguistics</article-title>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>P.</given-names>
            <surname>Buitelaar</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Frank</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Hartung</surname>
          </string-name>
          , and
          <string-name>
            <given-names>S.</given-names>
            <surname>Racioppa</surname>
          </string-name>
          .
          <article-title>Ontology-based information extraction and integration from heterogeneous data sources</article-title>
          ,
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>A.</given-names>
            <surname>Carlson</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Betteridge</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Kisiel</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Settles</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E. H.</given-names>
            <surname>Jr.</surname>
          </string-name>
          , and
          <string-name>
            <given-names>T. M.</given-names>
            <surname>Mitchell</surname>
          </string-name>
          .
          <article-title>Toward an architecture for never-ending language learning</article-title>
          .
          <source>In Proceedings of the 24th Conference on Arti cial Intelligence (AAAI)</source>
          , volume
          <volume>2</volume>
          , pages
          <fpage>1306</fpage>
          {
          <fpage>1313</fpage>
          ,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>G.</given-names>
            <surname>Erkan</surname>
          </string-name>
          and
          <string-name>
            <given-names>D. R.</given-names>
            <surname>Radev</surname>
          </string-name>
          . Lexrank:
          <article-title>Graph-based lexical centrality as salience in text summarization</article-title>
          .
          <source>J. Artif. Int. Res.</source>
          ,
          <volume>22</volume>
          (
          <issue>1</issue>
          ):
          <volume>457</volume>
          {
          <fpage>479</fpage>
          ,
          <string-name>
            <surname>Dec</surname>
          </string-name>
          .
          <year>2004</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>B.</given-names>
            <surname>Hixon</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Clark</surname>
          </string-name>
          , and
          <string-name>
            <given-names>H.</given-names>
            <surname>Hajishirzi</surname>
          </string-name>
          .
          <article-title>Learning knowledge graphs for question answering through conversational dialog</article-title>
          .
          <source>In Proceedings of the 2013 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies</source>
          , Denver, CO, May-June
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>R. J.</given-names>
            L. John, R. J.
            <surname>Passonneau</surname>
          </string-name>
          , and
          <string-name>
            <given-names>T. S.</given-names>
            <surname>McTavish</surname>
          </string-name>
          .
          <article-title>Semantic similarity graphs of mathematics word problems: Can terminology detection help</article-title>
          ?
          <source>In Proceedings of the Eighth International Conference on Educational Data Mining</source>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>K. R.</given-names>
            <surname>Koedinger</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. T.</given-names>
            <surname>Corbett</surname>
          </string-name>
          , and
          <string-name>
            <given-names>C.</given-names>
            <surname>Perfetti</surname>
          </string-name>
          .
          <article-title>The knowledge-learning-instruction (KLI) framework: Toward bridging the science-practice chasm to enhance robust student learning</article-title>
          .
          <source>Cognitive Science</source>
          ,
          <volume>36</volume>
          (
          <issue>5</issue>
          ):
          <volume>757</volume>
          {
          <fpage>798</fpage>
          ,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>K.</given-names>
            <surname>Krippendor</surname>
          </string-name>
          .
          <article-title>Content analysis: An introduction to its methodology</article-title>
          .
          <source>Sage Publications</source>
          , Beverly Hills, CA,
          <year>1980</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>N.</given-names>
            <surname>Kushman</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Artzi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Zettlemoyer</surname>
          </string-name>
          , and
          <string-name>
            <given-names>R.</given-names>
            <surname>Barzilay</surname>
          </string-name>
          .
          <article-title>Learning to automatically solve algebra word problems</article-title>
          .
          <source>In Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)</source>
          , pages
          <fpage>271</fpage>
          {
          <fpage>281</fpage>
          ,
          <string-name>
            <surname>Baltimore</surname>
          </string-name>
          , Maryland,
          <year>June 2014</year>
          .
          <article-title>Association for Computational Linguistics</article-title>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>N.</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W. W.</given-names>
            <surname>Cohen</surname>
          </string-name>
          , and
          <string-name>
            <given-names>K. R.</given-names>
            <surname>Koedinger</surname>
          </string-name>
          .
          <article-title>Discovering student models with a clustering algorithm using problem content</article-title>
          .
          <source>In Proceedings of the 6th International Conference on Educational Data Mining</source>
          ,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>E.</given-names>
            <surname>Minkov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W. W.</given-names>
            <surname>Cohen</surname>
          </string-name>
          ,
          <article-title>and</article-title>
          <string-name>
            <given-names>A. Y.</given-names>
            <surname>Ng</surname>
          </string-name>
          .
          <article-title>Contextual search and name disambiguation in email using graphs</article-title>
          .
          <source>In Proceedings of the 29th Annual International ACM SIGIR Conference on Research and Development in Information Retrieval, SIGIR '06</source>
          , pages
          <fpage>27</fpage>
          {
          <fpage>34</fpage>
          , New York, NY, USA,
          <year>2006</year>
          . ACM.
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>I.</given-names>
            <surname>Niles</surname>
          </string-name>
          and
          <string-name>
            <given-names>A.</given-names>
            <surname>Pease</surname>
          </string-name>
          .
          <article-title>Mapping WordNet to the SUMO ontology</article-title>
          .
          <source>In Proceedings of the IEEE International Knowledge Engineering Conference</source>
          , pages
          <volume>23</volume>
          {
          <fpage>26</fpage>
          ,
          <year>2003</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>J.</given-names>
            <surname>Otterbacher</surname>
          </string-name>
          , G. Erkan, and
          <string-name>
            <given-names>D. R.</given-names>
            <surname>Radev</surname>
          </string-name>
          .
          <article-title>Biased lexrank: Passage retrieval using random walks with question-based priors</article-title>
          .
          <source>Information Processing and Management</source>
          ,
          <volume>45</volume>
          (
          <issue>1</issue>
          ):
          <volume>42</volume>
          {
          <fpage>54</fpage>
          ,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>L.</given-names>
            <surname>Page</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Brin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Motwani</surname>
          </string-name>
          , and
          <string-name>
            <given-names>T.</given-names>
            <surname>Winograd</surname>
          </string-name>
          .
          <article-title>The pagerank citation ranking: Bringing order to the web</article-title>
          .
          <source>Technical Report 1999-66</source>
          ,
          <string-name>
            <surname>Stanford</surname>
            <given-names>InfoLab</given-names>
          </string-name>
          ,
          <year>November 1999</year>
          .
          <article-title>Previous number = SIDL-</article-title>
          <string-name>
            <surname>WP-</surname>
          </string-name>
          1999-0120.
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <surname>T. M. Pilehvar</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          <string-name>
            <surname>Jurgens</surname>
            , and
            <given-names>R.</given-names>
          </string-name>
          <string-name>
            <surname>Navigli</surname>
          </string-name>
          .
          <article-title>Align, disambiguate and walk: A uni ed approach for measuring semantic similarity</article-title>
          .
          <source>In Proceedings of the 51st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)</source>
          , pages
          <fpage>1341</fpage>
          {
          <fpage>1351</fpage>
          . Association for Computational Linguistics,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <surname>J. Sche czyk</surname>
          </string-name>
          , A. Pease, and
          <string-name>
            <given-names>M.</given-names>
            <surname>Ellsworth</surname>
          </string-name>
          .
          <article-title>Linking FrameNet to the suggested upper merged ontology</article-title>
          . In B. Hennett and C. Fellbaum, editors,
          <source>Formal Ontology in Information Systems</source>
          , pages
          <fpage>289</fpage>
          {. IOS Press,
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <surname>M. J. Seo</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          <string-name>
            <surname>Hajishirzi</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Farhadi</surname>
            , and
            <given-names>O.</given-names>
          </string-name>
          <string-name>
            <surname>Etzioni</surname>
          </string-name>
          .
          <article-title>Diagram understanding in geometry questions</article-title>
          .
          <source>In Proceedings of the 28th AAAI Conference on Arti cial Intelligence</source>
          ,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <given-names>M.</given-names>
            <surname>Simko</surname>
          </string-name>
          and
          <string-name>
            <given-names>M.</given-names>
            <surname>Bielikova</surname>
          </string-name>
          .
          <article-title>Automatic concept relationships discovery for an adaptive e-course</article-title>
          .
          <source>In Proceedings of the Second International Conference on Educational Data Mining (EDM)</source>
          , pages
          <fpage>171</fpage>
          {
          <fpage>179</fpage>
          ,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>