Objective
Online courses generate large amounts of discussion text, and education researchers often study it to see how students build understanding together. A popular lens is cognitive presence, which describes how learners make meaning through discussion and reflection. It uses the Practical Inquiry Model, which sorts messages into four phases: Triggering (noticing a problem), Exploration (searching for information and ideas), Integration (pulling ideas together into a possible solution) and Resolution (applying or defending a solution).
Sorting messages by hand into these phases is a method called content analysis. It takes expert training and many hours, and it is usually done by two coders who must also check that they agree. Earlier teams automated this with machine-learning programs, but those require programming skill that most instructors do not have. This study asked whether large language models from OpenAI (GPT) could do the job with less technical work. The three research questions were:
- How reliable are GPT models at sorting messages into the four phases, using a simple prompt (one example per phase) or a more detailed prompt with extra guidance?
- How efficient are they in time and money compared with trained researchers?
- What else does automated coding reveal about cognitive presence?
Methods
This was a computational study that compared GPT's coding with that of human researchers. It is a preprint and has not been peer reviewed. It used a process called LLM content analysis, adapted from earlier work, with eight steps from building the codes to checking the model against humans.
The data came from three week-long discussion threads in an online graduate instructional design course on the Canvas system, taught over a 16-week semester. The discussions were case-based, meaning students analyzed a case (about K-12 teaching, training in higher education and project management) using four questions that matched the four phases. The posts were anonymized and split into paragraphs, giving 293 paragraphs to code.
The researchers rewrote the standard codebook into full instruction sentences that GPT could follow. They wrote two prompts. The one-shot prompt gave the definition and one example for each phase. The few-shot prompt added detailed indicators for each phase, such as messages that agree without explaining. Both prompts told the model to act as a qualitative coder, to reason step by step and to give a reason of about 75 words.
Steps in the test:
- 15% of the paragraphs (45) were randomly picked as training data. Two researchers coded them and reached a weighted Cohen's kappa above .8, a score of agreement beyond chance.
- A GPT model (gpt-turbo-0125) was fine-tuned, meaning further trained on those examples, separately for each prompt. A version with no fine-tuning was also tested.
- The other 248 paragraphs formed the test set. Researchers coded these, and the models' codes were compared with theirs using kappa and percent agreement.
The team also recorded time and cost for humans and models.
Key Findings
Overall, GPT was far quicker and cheaper than people, but its agreement with researchers was only fair to moderate, and it worked well for only one of the four phases.
Reliability
- The two human coders agreed strongly with each other (weighted kappa .84).
- Without fine-tuning, agreement with the researchers was fair: kappa 0.36 with the detailed prompt and 0.39 with the simple one-shot prompt.
- With fine-tuning, the one-shot prompt reached a moderate kappa of 0.59 and the detailed prompt reached 0.52. The simpler prompt did better in both cases. The authors suggest the codebook indicators may not be needed, but they say this is a guess. The gap between the two prompts (0.07 in kappa after fine-tuning) is small.
- Overall percent agreement was 51.6% for the fine-tuned one-shot model, 44.8% for the fine-tuned detailed model, 45.2% for the untrained one-shot model and 42% for the untrained detailed model.
By phase
The test set had 33 Triggering Event, 81 Exploration, 104 Integration and 30 Resolution paragraphs, so Integration was the biggest group.
- The models were good at the Integration phase, with 87.5% agreement for the best fine-tuned model and above 75% in every model (89.9% for the untrained detailed prompt).
- They did poorly on Exploration (37% for the best model), Triggering Event (12.1%) and Resolution (10%). Both untrained models scored 0% on Resolution.
- The best model most often confused neighboring phases. It labeled 48 Exploration paragraphs as Integration and 28 Triggering paragraphs as Exploration, and it called 22 Resolution paragraphs Integration. It never mixed up the two extremes.
Time and cost
The cost estimate for people was based on the average hourly pay for two assistant professors in the United States.
- Two trained researchers needed 5 hours 48 minutes and about $311. Untrained models needed about 1 hour 33 to 35 minutes at 13 to 21 cents. Fine-tuned models, including training and testing, took under ten minutes (about 9 minutes 20 to 30 seconds) at $1.16 to $1.64.
Reasons the models gave
- The models wrote longer explanations than the researchers. Fine-tuning made the reasons more standard and improved accuracy, but they were less varied.
Implications
The authors suggest that GPT-based coding could make this type of analysis more reachable for researchers and instructors who cannot build machine-learning programs. They also stress that moderate accuracy means it cannot yet replace careful human coding.
For researchers
- A simple codebook with a short example per category may work better than a long detailed one, and the authors suggest the long-used cognitive presence codebook could be simplified.
- Fine-tuning may be cheaper and more accurate for large data sets, since the instructions do not have to be paid for with every request.
- The cost savings can hide a skills cost. The authors note that using these tools at scale still takes data and programming skills that the efficiency numbers leave out.
For instructors
- An untrained model with a clear prompt may be the easiest place to start, since it needs less technical skill than fine-tuning, according to the authors' discussion.
- The authors suggest such a tool could be used to check the whole group, to give feedback on how a class discussion is going, and not to single out individual students.
Our reading (not the authors' recommendation): because the model almost never recognized the Resolution phase and missed most Triggering paragraphs, an instructor should not rely on it to say whether students reached a final solution. A person should check the results before any grades or feedback depend on them.
Limitations
The authors list several limits. The study covered only cognitive presence, not the other two parts of the Community of Inquiry framework, and used one type of course (case-based discussions in graduate instructional design) with prompts built around the model. Students' bold type, italics and bullet points were lost in preparing the text. Each paragraph could get only one code, though the lines between Exploration and Integration, and between Exploration and Resolution, are blurry. The data set was unbalanced, with few Triggering and Resolution paragraphs. GPT models change over time and are not fully repeatable, and the work was done in March 2024, so results could differ within months.
The paper does not mention, but only two researchers did the human coding, who were also authors, and the human coding is treated as the correct answer even though the researchers themselves note the phases are hard to tell apart.
The paper does not mention, but the fine-tuned model was trained on only 45 paragraphs, and the test came from the same course, so the results may not carry over to other classes or groups of students. The comparison of cost also left out the time for setting up the code and learning the tools, as the authors themselves note.
Future Directions
The authors suggest several next steps:
- Try small changes to the prompt and codebook to raise agreement from moderate to substantial, and use GPT to test such changes.
- Test other language models, such as Gemini, LLaMA or Claude, and other courses and subjects.
- Allow more than one code per paragraph, and test how the model handles the in-between cases noted in earlier coding schemes.
- Extend the work to the other parts of the Community of Inquiry framework: teaching presence and social presence.
- Build tools with no programming needed, such as stand-alone assistants, so that any instructor could use them.
- Go beyond labeling to give instructors advice, such as follow-up questions that might move students to the next phase of thinking.
An open question is why the models found Integration paragraphs so much more easily than other phases. The study offers possible reasons but does not test them.
The bottom line: In this preprint, GPT sorted graduate students' online discussion paragraphs into four phases of thinking much faster and more cheaply than two trained researchers, but its agreement with them was only moderate at best (kappa 0.59). It worked well for the Integration phase and poorly for the Triggering and Resolution phases. The test used one course and a small training set, so it is a promising first step and not a replacement for human judgment. Researchers might use it to speed up a first pass, with people checking the results.
Comments 0
No comments yet. Be the first to share a thought.
Get new research summaries by email
Every new summary each morning, a weekly digest, or a monthly report. You choose, and you can unsubscribe in one click.