Objective

Many students drop out of computer science in the first years of college. Most learning software for these early courses is an intelligent tutoring system, a program that acts like an expert teacher. Students tend to accept a tutor's authority and rarely argue with it. The researchers wanted to know whether a computer peer, one that solves problems alongside the student and can be challenged, could help students understand data structures such as linked lists (a chain of items where each item points to the next).

The team built an agent called KSC-PaL. Earlier work on pairs of human students found that learning went along with task initiative shifts, which means moments when one partner adds a new idea to the problem solving without being asked and the other partner then does so in turn. So the agent was designed to track who is leading and to nudge the student to take the lead when the student seemed to let the agent do most of the thinking.

The study asked three questions:

  • Do students learn when they work with the agent?
  • Does an agent that tracks and encourages initiative shifts lead to more learning than one that does not?
  • Can the agent actually change how often students take the lead, and do those shifts go along with learning?

Methods

This was a small randomized experiment: students were randomly placed into one of two groups, which lets researchers compare the groups fairly. Twenty-six students from introductory computer science courses at four universities (Pittsburgh, Illinois at Chicago, DePaul and Carnegie Mellon) took part. Thirteen worked with the experimental agent (twelve males, one female) and thirteen with the control agent (eleven males, two females). One male student in the control group was left out of almost all analyses because he had taken the course six years earlier and took much longer than average (48 minutes versus 29), leaving 25 students in the main results.

Each student took a five-question pre-test on linked lists (25 minutes) and a short interface tutorial (10 minutes). Then the student chatted with the agent for about 30 minutes (average 29.29 minutes) to solve two code explanation problems, where they explain what a piece of code does and draw the resulting structure. The interface had a problem area, a code area, a chat area and a drawing area for nodes and links. Finally, students took the identical test again as a post-test (20 minutes).

The two agents differed in one way. The experimental agent tracked who held task initiative and, when shifts were rare, used moves meant to invite the student to lead: a deliberate mistake, a short prompt such as "hmmm," a hedge such as "I think," or a request for feedback. The control agent did not track initiative, although it could still produce such moves by chance.

The agent did not fully understand language by itself. A human interpreter reviewed its reading of each chat message and accepted or changed it from a fixed menu, but did nothing else. Students were told this. The average wait was 4.42 seconds. The researchers compared test scores with repeated measures statistics, and used regressions to look at links between initiative shifts and post-test scores. The paper does not mention ethics approval in this text.

Key Findings

Students scored higher after working with the agent, but the version that tried to steer initiative did not produce more learning than the plain version, even though it did change how the conversation went.

Learning

  • Across both groups, post-test scores were significantly higher than pre-test scores (F(1,23)=8.01, p=.01). The paper's table of the actual scores is not in the text available here, so the size of the gain is not reported in this article.
  • There was no meaningful difference between the experimental and control groups (F(1,23)=.02, p=.90). Tracking and encouraging initiative did not add measurable learning in this sample.
  • Because every student used an agent and there was no group without one, the study cannot show how much of the gain came from the agent versus simply taking the test twice and practicing.

Did the nudging work?

  • The experimental agent produced significantly more initiative-inviting moves than the control agent (chi-square 24.2; F(1,23)=10.57, p<.01). The control agent produced some too, because moves like short prompts also occur for other reasons.
  • Students took the lead after such moves more often with the experimental agent (F(1,23)=7.64, p=.01). A further analysis found that the number of inviting moves, not the group, predicted how often students took initiative.
  • In the experimental group, the agent made 31 hedges, 21 requests for feedback, 18 prompts and 11 deliberate mistakes.
  • Of the 11 deliberate mistakes, students corrected six right away. One student seemed frustrated at first and then agreed, after which the agent changed its mind. Four were ignored at first; three of those were addressed when the agent repeated the mistake, and one was never addressed.

How well did each part of the agent work?

  • Recognizing who held the lead was right for 80.15% of 937 student messages and drawing actions (747 of them). Agreement with human coders was low, though (kappa of .357 for messages and .465 for drawings), so there is room to improve.
  • The agent set a threshold of about one shift per five messages, taken from human pairs. But conversations with the agent were much shorter, 18 messages on average versus 55 for human pairs. That left only two or three chances per session to nudge, which the authors think was too few.

Initiative shifts and learning

  • Across all students, the number of initiative shifts was a significant or borderline predictor of post-test scores after accounting for pre-test scores, but it explained only a small share of the differences.
  • Among students with below-average pre-test scores the link was larger but not statistically significant. In earlier human-pair data, the link was stronger than here.

Implications

For teachers and instructors. A chat-based peer partner is a plausible extra practice tool for early programming courses, especially for explaining what code does. This study is too small and too early to justify replacing human tutoring or classroom help. A reasonable reading is that such a tool could supplement practice, which is also what the authors suggest when they say peer agents could serve as an alternative to or supplement for tutoring systems.

For course designers. The agent's tasks used both code and diagrams, because the researchers saw students draw pictures and mark up code on their own. Giving students several ways to represent a data structure, along with problems that focus on what code means rather than on syntax, is the authors' design choice. They hope it also supports women and other groups underrepresented in computer science, but they say this was not tested.

For developers and researchers. The authors suggest that deliberate mistakes, hedges, prompts and requests for feedback can invite students to contribute, and that the nudging method could even be used between two human students to remind one to give the other a chance. They recommend a lower threshold for nudging because the agent's sessions are short. They also note that fully removing the human interpreter would be needed before wide use.

What to be careful about. The main result that matters for practice, that nudging improves learning, was not found. Deliberate mistakes confused some students at first, so anyone using them should expect that. Until larger studies appear, schools should treat this as promising research, not a ready product.

Limitations

The sample was small: 25 students in the main analysis, split into two groups of about 12 or 13. The authors say a real but small effect of the nudging could have been missed. Almost all participants were male, so the results may not apply to other students, and all were volunteers from four universities.

The study measured learning in one short session on one topic (linked lists) with a five-question test given twice. Students saw the same questions before and after, so some of the gain may come from practice or remembering the questions. There was no group without an agent, so the study cannot show how much the agent itself contributed. The paper does not say whether gains lasted beyond the session.

A human interpreter helped the agent read what students typed. The paper has not yet analyzed how often the interpreter overrode the agent, so we do not know how well the agent would work alone. The authors also say the agent's behavior had room for improvement, with too few chances to nudge and low agreement with human coders on who held the lead. They point out that the control agent could still produce some nudging moves, which may have made the two versions harder to tell apart.

The paper does not mention, but a researcher present during the sessions interacted directly with the students, which could affect how students behaved. The links between initiative shifts and learning come from regression analyses, so they show association rather than cause.

Future Directions

The authors point to several next steps.

  • Can the agent work without a human interpreter? They want to measure how often the interpreter changed the agent's reading and improve its language understanding.
  • Would a larger study, now easier because computer science enrollments are higher, reveal a small benefit of nudging?
  • Would a weaker control agent, one that actively avoids initiative shifts, make the effect easier to see?
  • Can the agent recognize who leads more accurately, perhaps using extra clues such as new words in a message, and can it nudge more often given the shorter sessions?
  • Does a peer agent help some learners more than a tutor does, for example students with high versus low prior knowledge?
  • Does the focus on code meaning and the multiple representations help women and minority students stay in computer science? The authors say this is a hypothesis for future work.

The bottom line: In a small randomized experiment with 25 introductory computer science students, working with a chat-based computer peer went along with higher scores on a linked-list test. The version built to encourage students to take the lead did create more of those encouraging moments, but it did not produce more learning than the plain version. The evidence is early: few students, one short session, no group without an agent, and a human helping the agent understand messages. Treat the agent as a promising practice tool worth testing further, not as proof that nudging works.