Watermarking AI-generated text is getting easier

Watermarking AI-generated text is getting easier

STEALING PHRASES from another author was once the worst act of which a writer could be accused. The rise of large language models (LLMs), though, has raised the spectre of a still more dastardly offence: stealing phrases from a machine. University students have faced such charges since the launch of ChatGPT in 2022. Recently novelists, literary prize-winners and academics have all been accused of passing off AI-generated material as their own. Suspicions often arise from “tells” such as em-dashes and uncommon words like “delve”—or from scores delivered by commercial tools like Pangram or Turnitin, which train their own models on human- and AI-generated material before asking them to rule on suspicious passages.LLM makers have developed highly effective ways of imprinting digital watermarks into the text that they create. (Unsplash)None of these signals offers irrefutable proof, however—and given the consequences for a false accusation, the prospect of a mistake is uncomfortable. Fortunately, LLM makers have developed highly effective ways of imprinting digital watermarks into the text that they create. Adding watermarks to rich media like video, music or photography is relatively easy. The files are comprised of millions of bits, leaving plenty of nooks in which a creator might secrete tiny markers without compromising the content’s integrity. Watermarking AI-generated text is more complicated and more controversial. Since a string of words consists of very few digital bits, it does not leave a great deal of space in which to operate. Some chatbots have added invisible characters in between words or in code, but these are easily circumvented by online tools that strip down text that is pasted in.An alternative concept that uses mind-bending maths to solve the problem was dreamed up in 2022 by Scott Aaronson, a theoretical computer scientist then working at OpenAI. Colleagues had shown him a pre-release version of ChatGPT; he foresaw the avalanche of fake text the chatbot was about to create. To combat the coming onslaught, he wondered if it would be possible to encode imperceptible messages into the output. His proposal—known as the Gumbel-Softmax scheme—offered a novel way of leaving invisible statistical breadcrumbs.Imagine an AI model as a robot attempting to make it through a dense forest criss-crossed with pathways. Every time the machine reaches a junction it chooses, more or less at random, which of the possible trails in front of it to take. In an LLM, each direction corresponds to the next word or token in a chain, and is assigned a probability. The most popular next step might have a 30 percent chance of being picked; the next might have a 20 percent chance, and so on, all the way down to the least likely. The machine relies on these probabilities to forge its way through the thicket of exponentially branching decisions.Dr Aaronson’s proposal involved influencing this decision-making. Imagine if, instead of picking an entirely random next step, the machine chose the second-most likely choice: this would create a traceable signature to those in the know. Now bury this pattern deeper by using a secret set of commands instead of a single crude one. Today’s systems (such as Google’s SynthID and Anthropic’s Claude Watermarking) generate these patterns in much the same way that online security systems generate a “random” SMS security code: by using a complex cryptographic algorithm that will always produce the same number from a particular “seed”. When this pseudorandom technique is applied to the choices an AI makes, the result is a traceable pattern of decisions that is impossible for an outsider to spot, but easy to see if you know the secret key.This watermarking technique can be extremely effective. In theory, as few as 20 words are needed to identify AI-generated text: With certain combinations of words, something as short as a tweet could have just a one in 10,000 chance of producing a false positive, says John Thickstun, a computer scientist at Cornell University. The developers of these techniques claim this kind of fingerprinting can often survive light editing.If watermarked output is any the worse for it, it certainly seems impossible for humans to spot. A team of researchers at Google looked at user feedback to 20 million Gemini responses. Their results, published in Nature in 2024, found there was no appreciable difference in their reactions to watermarked and non-watermarked output.Google began deploying its watermarking methods to its AI products as early as 2023, a list which now includes text, video and audio, adding extra statistical layers and sampling methods to the original techniques to further reduce any distortion of the model’s output.Other large AI firms have been more resistant to watermarking, believing that users would prefer models with unidentifiable output. They are, nonetheless, moving towards the practice. Anthropic said in August it would begin using similar watermarking techniques with its Claude chatbot. OpenAI followed suit this October by introducing a watermark it calls “textGrain.”These changes were taken largely to placate regulators, which have voiced growing concern about fakes and inauthentic digital content. In California, AI transparency laws call for AI-generated material to have its origins disclosed in a manner that is “permanent or extraordinarily difficult to remove”. Meanwhile the European Union’s AI Act, which requires that artificially generated material should be “detectable”, went into effect over the summer and will apply across Europe by the end of 2026. The punishment for non-compliance with Brussels is up to 3% of a company’s annual worldwide turnover.Watermarks appear in more unusual forms of AI output, too. Google DeepMind recently said it had successfully tested SynthID Bio, which applies watermarking techniques to AI-generated protein structures. Instead of watching for patterns in word choice, the steps through the forest are made of amino acids, chosen in a way that is recognisable to the system but does not change the function of the resulting protein. The technique is still young, but such developments offer the potential to make AI-derived compounds traceable to their creator, increasing biosecurity and accountability as well as helping with claims of priority. While American copyright law says that outputs generated solely by AI are not copyrightable, the courts have yet to determine exactly how much human involvement is required for ownership to be established.Even when the rules are clear, not everyone follows them. The makers of open-weight models—particularly those originating in China, such as DeepSeek—have not added watermarking to their systems. The EU requires some form of detectability to be provided by either the model provider or the service that uses it, which potentially leaves small companies that deploy open-weight models at risk of legal action.Useful though statistical watermarking can be, it is not invulnerable. Cunning users can run a piece of text through several different models to muddle the fingerprinting, for example, or translate their chatbot’s base output into a foreign language and then translate it back. Meanwhile researchers then at Northern University in Bangladesh looked at three watermarking implementations and argued that none of them would be statistically certain enough to qualify as forensic evidence in an American courtroom. Still, if watermarking continues to improve, the payoff could be large: AI-generated books or research papers might get as easy to spot as they are to produce.

Original Source

Read the full article at Hindustantimes →

KhanList aggregates and links to publicly available news content. We do not host full articles from third-party sources. Always verify important information with original sources.