Removing Names From Student Feedback: What Automatic De-Identification Can and Cannot Do
What the research on text anonymisation and student-text de-identification shows about removing names and contact details from open-text course evaluation comments, and what it leaves behind.
Koji Education Team
Product
In short: Automatic de-identification can strip most names, email addresses and phone numbers out of open-text student feedback before it reaches teaching staff, but it cannot make the comments anonymous on its own. The research on text anonymisation shows that tools tuned to catch direct identifiers still miss some, and almost none deal with the indirect details (a tutorial group, a placement, a personal story) that let a reader in a small cohort work out who wrote a comment. Treat automatic removal as a first pass that you then check, not as a guarantee.
Why this question matters now
Course evaluations collect more free text than they used to. Conversational and interview-style evaluations in particular invite students to explain themselves, and when people explain, they name things: the lecturer who ran the seminar, the classmate who never turned up to group work, the GP practice where they did their placement, the email address they want a reply sent to. All of that lands in a transcript that may then be read by a programme director, a teaching committee, an external examiner or an accreditation panel.
Two duties pull in different directions here. The institution wants the comments to be rich enough to act on. It also has a duty to the students who wrote them, and under the GDPR, to any third party they mention. The question for a quality office is practical: what can automatic redaction actually remove, what does it leave behind, and what does a careful process around it look like?
What the research says
The anchor: text anonymisation is harder than it looks
The clearest statement of the problem comes from Lison, Pilán, Sánchez, Batet and Øvrelid (2021), "Anonymisation Models for Text Data: State of the Art, Challenges and Future Directions", a peer-reviewed long paper at ACL-IJCNLP 2021, the main venue of the computational linguistics field. It is a position paper rather than an experiment. The authors review how text anonymisation has been tackled and point out that the work has grown up in two fields that rarely talk to each other. Natural language processing treats the task as sequence labelling: find the spans that look like names, places or dates and mask them. Privacy-preserving data publishing treats it as a question of disclosure risk: given what is left, how likely is it that someone can be re-identified?
Their central argument is that the sequence-labelling approach on its own is not enough. A tool that finds every name in a document can still leave the person identifiable, because identity also leaks through combinations of ordinary details and through what a reader can infer. They call for anonymisation methods that measure disclosure risk explicitly and that balance it against how useful the text remains afterwards.
The evidence: direct identifiers are found more reliably than indirect ones
The same group made the argument measurable in Pilán et al. (2022), "The Text Anonymization Benchmark (TAB)", published in Computational Linguistics. TAB is a corpus of 1,268 English-language judgments from the European Court of Human Rights, annotated by hand for every piece of personal information, with each item marked as a direct identifier (such as a full name) or a quasi-identifier (such as a date, a place or a job). Two things in the annotation stand out. First, direct identifiers were a small minority of what needed protecting: roughly 4% of annotated entities, against about 63% quasi-identifiers. Second, when the authors scored off-the-shelf tools on that data, an approach could look reasonable when measured token by token yet still miss a large share of the direct identifiers it was built to catch. The general-purpose privacy tool they tested found fewer than half of the direct identifiers at the entity level, while a neural model fine-tuned for named-entity recognition caught far more but at the cost of low precision, masking many things that did not need masking.
The lesson for course evaluation is not the exact numbers, which come from legal text, but the shape of the result: recall on names can be pushed high, and the price is over-redaction; and the larger risk sits in details that are not names at all.
The education studies: names in student writing are messy
Student text adds problems that court judgments do not have. Bosch, Crues, Shaik and Paquette (2020), in "Hello, [REDACTED]: Protecting Student Privacy in Analyses of Online Discussion Forums" (Educational Data Mining 2020, nominated for best paper), built a machine-learning classifier to find names in forum posts from two online courses at a US public university. Their motivation was that standard named-entity tools did poorly on student writing, where names are misspelt, written in lower case, shortened to nicknames or run together with grammatical errors. Their method combined features such as a word's position in the sentence and its presence on census name lists and lists of places, and they released it as open code.
More recently, Singhal, Zambrano, Pankiewicz, Liu, Porter and Baker (2024), "De-Identifying Student Personally Identifying Information with GPT-4" (Educational Data Mining 2024), tested a large language model on discussion posts from nine MOOCs. It reached an average recall of about 0.96 for the personal information that needed removing and caught some cases human redactors had missed, but its precision was only about 0.53: it over-redacted, removing names and places that were not personal information. A follow-up study by the same group with newer models reported the same pattern of high recall and middling precision.
What students actually write
How much of this is a real-world problem in course evaluations? Tucker (2014), writing in Higher Education, had a single reviewer read 30,684 comments from 17,855 student surveys collected in one semester at an Australian university. Only 13 comments (about 0.04%) were abusive and 46 (about 0.15%) were unprofessional. Her conclusion was that the great majority of students use anonymous comment boxes responsibly. The point for de-identification is different but related: comments that name a person are not usually abusive; they are ordinary feedback that happens to mention someone. That is why a redaction step matters even in a cohort that behaves well.
The legal frame
The Article 29 Working Party's Opinion 05/2014 on Anonymisation Techniques (WP216) sets out three tests for whether data is anonymous: can a person be singled out, can records be linked to them, and can facts about them be inferred? It is explicit that pseudonymised data, where a name is swapped for a label but the rest stays, can usually still be singled out and linked, and so stays personal data under data-protection law. Its successor body, the EDPB, has since revisited the guidance, but the three tests remain the standard way to reason about the problem.
Why it matters in practice
For a quality assurance office, the research points to four practical conclusions.
-
Redaction is pseudonymisation, not anonymisation. Replacing "Dr Okafor" with "[NAME]" in a comment about the only Thursday seminar group on a module does not stop the lecturer, or anyone else on the module, from knowing who is meant. Under WP216 the comment is still personal data, so the institution still needs a lawful basis, a retention period and access controls for it.
-
The bigger risk in small cohorts is indirect. A comment that says "as the only part-time student who commutes from the coast" contains no name and no email, and it identifies the writer to anyone who knows the class. TAB's finding that quasi-identifiers vastly outnumber direct ones is the general version of this. Small programmes, specialist electives and placements are where it bites hardest.
-
Decide what you want to remove before you switch it on. In a course evaluation, the most frequent names in the comments are often staff names, and sometimes a committee needs to know which tutor a comment is about in order to act. Removing every name protects staff from having a comment quoted at them out of context. It also means the comment can no longer be attributed to a teaching assistant whose seminar went badly. Neither choice is wrong. It is a policy decision, and it belongs in your evaluation procedure, not in a default someone forgot to check.
-
Over-redaction has a cost too. The education studies show that tools tuned for high recall remove things that did not need removing. If a module name or a building gets masked, the comment may lose the context that made it useful. Someone should read a sample of cleaned comments to see whether the meaning survives.

Limitations and honest caveats
- The benchmarks are not course evaluations. TAB is built from court judgments and the education studies from discussion forums. Evaluation comments are shorter and more focused, and no study we found measures redaction recall on course-evaluation comments directly. The direction of the findings is likely to carry over. The specific numbers should not be quoted as if they describe your survey.
- Most of the evidence is in English. Name detection in Dutch, German, Polish or Finnish text, or in comments that switch between languages, may perform differently, and the published education studies do not test it.
- Language models change quickly. The 2024 results describe one model version on one dataset. Newer models may do better or worse, and any tool's performance on your data is an empirical question.
- Recall is never 100%. Even the best-performing approaches in these studies missed some identifiers, and human redactors miss some too.
- Removing identifiers can change what you learn. If students write more candidly because they know names will be removed, that is a benefit. If they are told their comments are "anonymous" and then recognise themselves in a quoted line, trust in the next evaluation suffers. Be precise in what you promise.
How Koji incorporates this
Koji for Education runs course evaluations as short AI-moderated interviews, by text or voice, so it collects more open text than a traditional form, and it has a per-study setting to deal with what that text contains.
- A per-study "Remove personal details" setting. In a study's privacy settings, an evaluation owner can turn on removal of personal details. When an interview finishes, Koji finds names of people, email addresses, phone numbers, street addresses and postcodes, and the organisations someone works for or studies at, and replaces each one in the transcript with a label such as [NAME] or [EMAIL]. The detection is done by a language model, but the replacement itself is done by exact matching on whole words, so the model cannot paraphrase or drop what the student said; it can only mark spans to replace.
- Removal happens before analysis. The clean-up runs as the interview is finalised and before Koji writes the summary, per-question results and report, so themes, report quotes and exports are all built from the cleaned text. A name the student said is also removed where the AI interviewer repeated it back.
- The original is not kept. Koji overwrites the transcript rather than hiding a copy, which matches WP216's distinction between removing and merely masking. If anything was removed, the voice recording of that interview is not kept either, because it holds the same details in the student's own voice.
- What it deliberately leaves. Products and tools a student mentions stay. So do job titles, cities, countries and ages, and answers to a pre-interview form the evaluation owner set up, since those are fields the institution asked for by name. This matches the research: the setting is designed to mitigate the direct-identifier problem, and it leaves the indirect-identifier problem for a human to judge.
- It applies going forward and can miss things. The setting covers interviews that finish after it is turned on, and Koji's own guidance says it can miss some details, so responses should be checked before they are shared. That is the honest position the evidence supports.
For the indirect risk, Koji's thematic report helps by letting a committee read what a cohort said as themes with supporting quotes rather than as a pile of raw transcripts, but choosing which quotes are safe to show in a small cohort remains a judgement for the institution.
The same interview engine, and the same setting, are used for product and customer research on koji.so, where interviewees name colleagues and employers just as students name tutors.
Frequently asked questions
Does removing names make course-evaluation comments anonymous under the GDPR?
Usually not. Replacing a name with a label is pseudonymisation. The Article 29 Working Party's anonymisation opinion says such data can generally still be singled out or linked to a person, so it remains personal data. True anonymity also requires that indirect details cannot identify the writer.
Should we remove lecturers' names from student comments?
It depends on what the comments are for. Removing staff names protects them from having remarks quoted out of context, and it suits reports that go to wide audiences. If a committee needs to know which tutor or seminar a comment refers to, keep that link in a restricted view. Write the choice into your evaluation procedure.
How accurate is automatic redaction of student text?
In published education studies, the best tools caught most personal identifiers, with recall around 0.96 for a large language model on MOOC forum posts, but they also removed many things that were not personal information. No tool reached perfect recall, so a human check is still needed.
What does automatic redaction usually miss?
Indirect identifiers. A combination such as part-time status, a placement site and a commuting detail can point to one student in a small class without containing a name. Benchmarks of text anonymisation find that these quasi-identifiers far outnumber direct identifiers such as names.
Does redaction change what students are willing to write?
It can, depending on how it is explained. Telling students that names and contact details are removed may make them more open. Promising full anonymity and then quoting a recognisable comment can damage trust. Describe exactly what is removed and what may remain.
Related Resources
- Can a Student Be Re-Identified From Their Course Feedback? Small-Class Anonymity, k-Anonymity and GDPR
- Does Anonymity Make Students More Honest? Social Desirability and Course Feedback
- Abusive Open-Text Comments in Course Evaluations: The Evidence and the Duty of Care
- What Can Open-Text Student Comments Tell You That Likert Scores Cannot?
- Can a Large Language Model Code Your Open-Text Course Feedback?
- Course Evaluation Vendor Due Diligence: The GDPR Article 28 DPA and Sub-Processor Checklist
References
- Lison, P., Pilán, I., Sánchez, D., Batet, M., & Øvrelid, L. (2021). Anonymisation models for text data: State of the art, challenges and future directions. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), 4188–4203. https://doi.org/10.18653/v1/2021.acl-long.323
- Pilán, I., Lison, P., Øvrelid, L., Papadopoulou, A., Sánchez, D., & Batet, M. (2022). The Text Anonymization Benchmark (TAB): A dedicated corpus and evaluation framework for text anonymization. Computational Linguistics, 48(4), 1053–1101. https://doi.org/10.1162/coli_a_00458
- Bosch, N., Crues, R. W., Shaik, N., & Paquette, L. (2020). "Hello, [REDACTED]": Protecting student privacy in analyses of online discussion forums. In Proceedings of the 13th International Conference on Educational Data Mining (EDM 2020), 39–49. https://educationaldatamining.org/edm2020/proceedings/
- Singhal, S., Zambrano, A. F., Pankiewicz, M., Liu, X., Porter, C., & Baker, R. S. (2024). De-identifying student personally identifying information with GPT-4. In Proceedings of the 17th International Conference on Educational Data Mining (EDM 2024), 559–565. https://zenodo.org/records/12729884
- Tucker, B. (2014). Student evaluation surveys: Anonymous comments that offend or are unprofessional. Higher Education, 68(3), 347–358. https://doi.org/10.1007/s10734-014-9716-2
- Article 29 Data Protection Working Party. (2014). Opinion 05/2014 on Anonymisation Techniques (WP216, 0829/14/EN).
Related articles
Course Evaluation Vendor Due Diligence: The GDPR Article 28 DPA & Sub-Processor Checklist
A procurement and DPO checklist for reviewing a course evaluation vendor as a data processor: the mandatory Article 28(3) data-processing-agreement clauses, sub-processor governance, international transfers, breach SLAs, deletion on exit, and audit rights — mapped to what to verify and to Koji outputs.
Can a Large Language Model Code Your Open-Text Course Feedback? What the Agreement Studies Show
Peer-reviewed evidence on how closely GPT-4-class models match human coders when categorising open-ended student comments — agreement statistics, where they fail, and how to use them responsibly in course-evaluation quality assurance.
Abusive Open-Text Comments in Course Evaluations: The Evidence and the Duty of Care
Lakeman et al. (2022) found that 91% of surveyed Australian academics received non-constructive anonymous comments — insults, threats, remarks on appearance. A research-grounded look at abusive student feedback, its effect on staff wellbeing, and how to moderate open text responsibly.
Can a Student Be Re-Identified From Their Course Feedback? Small-Class Anonymity, k-Anonymity and GDPR
"Anonymous" course evaluations in small classes often are not. What re-identification research and GDPR actually require — and how to report small-cohort feedback without breaching either confidentiality or law.