Objective

People who write education policy need to hear from the people affected by it, such as legislators, school administrators, teachers and community leaders. Interviews are a good way to collect those views, but reading and coding even a moderate number of them by hand takes a lot of time. When decisions must be made quickly, that cost can mean stakeholders' voices are not fully used.

Large language models (LLMs), such as GPT-4, are AI systems that read and write text. They might speed up this work, but they can be a black box, and they may not know the specialized context of school policy. The authors ask a direct question: how much can policymakers and researchers trust an LLM to analyze stakeholder feedback when the decisions are high-stakes and depend on context?

The study is part of a larger project about policies and programs that help or hinder educational equity in Washington State's public K-12 schools in 2022. Here, equity means reducing gaps in learning opportunities and results for students from racial-ethnic minority groups and for students from low-income families. The authors asked two kinds of questions.

  • About the policy: What key themes did stakeholders raise, and which did they see as helping or hurting equity?
  • About the method: How closely do GPT-4's theme labels and sentiment labels match those of human experts, compared with older computer methods?

Methods

The researchers combined qualitative coding by people with computer methods, and then compared the results. This kind of study can show how well a tool agrees with human coders, but it cannot show whether either set of labels is the final truth.

Data. The team held 24 interviews over Zoom, each lasting 45 to 60 minutes, with people chosen to cover different levels of the school system, regions and roles. They included state legislators, state-level policymakers, district administrators, teachers and coaches, union representatives, advocates and community leaders. After transcripts were cleaned, there were about 1,400 paragraphs, each holding one complete thought.

Building the codebook. Human experts built a list of themes from an equity framework and a close reading of sample interviews. They also ran a traditional method called Latent Dirichlet Allocation (LDA), which finds word patterns that suggest topics. Of 30 topics it found, 25 were judged useful. The final codebook had 8 parent (broad) codes and 28 child (specific) codes.

Human coding as the benchmark. Two trained doctoral assistants coded every paragraph with up to three themes. On a shared set of 50 paragraphs they agreed on over 75% of the coding before moving on. The two lead authors then reviewed their work. The lead authors also labeled each paragraph as positive, neutral or negative in sentiment.

GPT-4. The team wrote and tested several prompts. A step-by-step prompt, which asked GPT-4 to pick broad themes first and then specific ones with reasons, did better than a simple prompt (77% against 54% agreement). The temperature setting, which controls randomness, was 0.5. For sentiment, a separate prompt followed the same rules as the human coders. A word-list tool called VADER served as the comparison for sentiment.

Key Findings

GPT-4 agreed with human coders far better on broad themes than on specific ones, and it beat the older methods the team compared against. It still made clear mistakes.

What stakeholders said

  • Human coding showed that data topics, such as data access, reporting and transparency, were the most common theme (9.32% of coded themes). Four of the top five themes related to inclusive governance, such as building relationships with families and communities.
  • Groups focused on different things. Educators talked more about staffing, such as diversifying the teacher workforce, and student supports. Administrators and policymakers talked more about school finance and legislation. Non-profit advocates stressed governance and community.
  • Few areas got mostly positive comments. Progressive funding and reform of multilingual programs drew more positive views. Student mental health support, data access and accountability were common concerns.

How GPT-4 compared on themes

  • About 77.89% of GPT-4's specific theme labels matched human labels, against 60.65% for LDA. For broad themes, the match was 96.02% against 76.13%.
  • When labels were shuffled across paragraphs, GPT-4's match fell to 17.89%, suggesting its labels were tied to each paragraph.
  • On a test of 50 paragraphs, over 98% of GPT-4's step-by-step results were reproducible when run again, even with the temperature set above zero.
  • Agreement was higher for broad, less specialized themes such as multilingual programs and lower for more specialized ones such as progressive funding and local control.
  • GPT-4 caught most human-labeled themes but also suggested extra ones that humans had not chosen. Some of these looked reasonable on review, such as an anti-racism tone that human coders overlooked.
  • GPT-4 did less well at telling similar themes apart, tended to over-apply broad themes and sometimes missed a theme that was clearly present.

How GPT-4 compared on sentiment

  • GPT-4 agreed with human sentiment labels 58% of the time (accuracy 0.58), against an accuracy of 0.31 for the word-list tool, which overstated positive feeling. The agreement score between GPT-4 and humans was moderate (0.38).
  • GPT-4 did best where stakeholders spoke plainly about equity. For example, it correctly read a clear complaint about unfair school discipline as negative.
  • Humans sometimes read a plain job description as neutral, while GPT-4 read satisfaction with data systems into it and called it positive. The authors say this shows a fresh view that can help, since GPT-4 judges each paragraph on its own.
  • GPT-4 handled clear complaints well but tended to call mixed feelings neutral when humans called them negative.

Implications

What the authors say. The authors conclude that GPT-4 can be a useful partner in analyzing interviews, especially for broad themes, but that it cannot yet work alone. They say human domain experts are needed throughout, to guide the work and check the results, because of the risks of overlooked themes, difficulty with fine distinctions and over-generalizing. They also say the quality of GPT-4's work depends on putting domain knowledge into the prompt, including the codebook. They suggest asking the model to consider all options, adding examples, or coding in two layers, broad themes first and specific ones second.

On time. The authors report that the first round of human coding took three expert coders about 720 hours in total. Coding with a codebook informed by LDA took about 60 hours including codebook development. GPT-4 finished coding in about 6 hours.

For policy researchers. Our reading (not the authors' recommendation): GPT-4 may be a quick first pass to sort a large set of interviews, as long as a person reviews the output and checks a sample against their own reading.

For policymakers. The authors say the stakeholder views point to needs in data access, funding, mental health support and teacher diversity. Our reading (not the authors' recommendation): policy teams could use AI-assisted sorting to speed up listening to stakeholders, but not to replace reading what people actually said.

This is one state, one set of interviews and one model version, so the results are a starting point and not a rule.

Limitations

The authors point out several weak spots in GPT-4's work. It over-applied broad themes because it could not pick fewer than three themes the way human coders could. It struggled to separate codes with overlapping meanings, such as mixing up targeted funding and progressive funding. It sometimes missed a code that clearly applied, possibly because the codebook was too large. Its sentiment labels leaned toward neutral for mixed feelings. The authors also say that the machine outputs, which always gave about three labels, naturally produced more false positives than the human coders' flexible zero to three labels.

The paper does not mention, but the study covers 24 interviews from one state at one point in time, so the results may not apply to other places, topics or interview styles. The paper does not mention, but the human labels were treated as the benchmark even though human coders can differ, and the lead authors who reviewed the benchmark also designed the codebook and the prompts, so the comparison was not fully independent.

The paper does not mention, but only GPT-4 was tested and results with other models or later versions might differ. The paper does not mention, but the sentiment comparison used the word-list tool with its default settings, which may make it look weaker than a tuned version. The paper does not mention, but the study did not test whether policy decisions improve when GPT-4 is used. The authors also note that GPT-4 is a black box.

Future Directions

The authors suggest several ways to improve this approach. They recommend telling the model to consider all available options before it answers, adding more rounds that include examples, and running separate analyses on parts of the data or the codebook, such as coding broad themes first and then specific ones. They also say codebook and prompt descriptions should be more detailed so GPT-4 can tell closely related themes apart.

The study also leaves open questions:

  • Would the same results hold with interviews from other states or countries, or with other kinds of text such as open-ended survey answers?
  • Do newer models or other prompts close the gap at the specific-theme level?
  • How should extra themes found by GPT-4 and not chosen by people be judged, as a gain in insight or as errors?
  • Does using AI-assisted analysis change which stakeholder views reach decision-makers, and how quickly?

The bottom line: In this study of 24 school equity interviews from Washington State, GPT-4 matched human coders on broad themes 96.02% of the time, but only 77.89% for specific themes. It also agreed with human sentiment labels more than an older word-list tool did, but only 58% of the time. The authors argue it is a promising helper that can save time and spot extra themes, but it is not ready to work without human experts. The study is small and tested one model, so treat the results as an early guide.