When AI-generated texts reach the courtroom
The possibility that a petition, a message or a product review was written with a language model has begun to come up in cases that reach lawyers and courts. In such a case the question is whether the text was written by a person or produced with a language model, and it is often hard to give a definite answer.
Why should automatic detection tools be approached with caution?
Many tools on the internet give the likelihood that a text was written with AI as a percentage. A good number of them produce their score by looking at how predictable the words of the text are from the point of view of a language model, yet human texts written in formulaic and formal language can also score highly on this measure.
The problem can be seen concretely in a study that a research team from Stanford University published in the journal Patterns in 2023. Seven widely used detection tools classified more than half of the essays written by students whose first language was not English as AI-generated, while they made almost no errors on texts written by students whose first language was English (Liang et al., 2023). Although Liang and colleagues obtained their finding for English, it suggests that similar errors may occur with Turkish texts, and with short texts these scores may be even less reliable.
What does a linguistic examination look at?
Rather than settling for the score a tool produces, the linguist examines the text itself. The questions can include how closely the text follows the conventions of its genre, how often the same structures recur, whether it contains details specific to that situation and, where they exist, how well it matches other texts by the same person. None of these questions gives a definite answer on its own, but unlike a percentage score, the reasoning behind every finding can be shown and another expert can check it.
In practice, many texts are written neither wholly by a person nor wholly by a machine. Texts that a person wrote and had a language model correct, or drafts produced by a model and then revised by a person, complicate the question "human or machine?" from the start. For this reason it is often more useful to reframe the question as "in which part of the text, and how much of it?"
What matters for evidential value?
In an article that Melik Kartal and I published in Laws in 2026, we discussed the problems that arise for the right to a fair trial when AI tools begin to produce evidence and influence judicial assessment in criminal proceedings. Procedure is built on human reasoning that the parties can question, and an AI output often cannot be questioned in that way. In the article we therefore proposed six safeguards that could be required before AI-generated material is admitted as evidence.
When the use of AI is in dispute in a case, it seems a sounder course to ask for a reasoned examination of the linguistic features of the text than to rely only on the score a tool produces.