How The ChatGPT Watermark Works And Why It Might Be Defeated

Posted by

OpenAI’s ChatGPT introduced a method to automatically produce content however prepares to present a watermarking function to make it easy to identify are making some people worried. This is how ChatGPT watermarking works and why there might be a way to beat it.

ChatGPT is an amazing tool that online publishers, affiliates and SEOs simultaneously love and dread.

Some marketers like it because they’re finding brand-new ways to use it to produce content briefs, outlines and complex posts.

Online publishers are afraid of the prospect of AI material flooding the search results page, supplanting expert short articles composed by human beings.

As a result, news of a watermarking function that unlocks detection of ChatGPT-authored content is likewise anticipated with stress and anxiety and hope.

Cryptographic Watermark

A watermark is a semi-transparent mark (a logo or text) that is ingrained onto an image. The watermark signals who is the original author of the work.

It’s mostly seen in photos and significantly in videos.

Watermarking text in ChatGPT includes cryptography in the type of embedding a pattern of words, letters and punctiation in the kind of a secret code.

Scott Aaronson and ChatGPT Watermarking

An influential computer scientist named Scott Aaronson was employed by OpenAI in June 2022 to work on AI Safety and Alignment.

AI Security is a research study field worried about studying manner ins which AI may posture a harm to human beings and creating ways to avoid that kind of unfavorable interruption.

The Distill clinical journal, featuring authors connected with OpenAI, specifies AI Safety like this:

“The goal of long-term expert system (AI) security is to make sure that advanced AI systems are dependably lined up with human worths– that they reliably do things that people want them to do.”

AI Positioning is the artificial intelligence field interested in making sure that the AI is aligned with the intended objectives.

A big language design (LLM) like ChatGPT can be utilized in such a way that might go contrary to the goals of AI Positioning as specified by OpenAI, which is to produce AI that advantages mankind.

Appropriately, the reason for watermarking is to prevent the misuse of AI in a way that damages humanity.

Aaronson discussed the factor for watermarking ChatGPT output:

“This could be handy for avoiding academic plagiarism, clearly, but also, for instance, mass generation of propaganda …”

How Does ChatGPT Watermarking Work?

ChatGPT watermarking is a system that embeds a statistical pattern, a code, into the choices of words and even punctuation marks.

Material produced by expert system is generated with a fairly foreseeable pattern of word choice.

The words written by human beings and AI follow an analytical pattern.

Altering the pattern of the words used in produced content is a way to “watermark” the text to make it easy for a system to find if it was the item of an AI text generator.

The technique that makes AI material watermarking undetected is that the circulation of words still have a random look similar to typical AI generated text.

This is referred to as a pseudorandom distribution of words.

Pseudorandomness is a statistically random series of words or numbers that are not really random.

ChatGPT watermarking is not currently in use. However Scott Aaronson at OpenAI is on record stating that it is planned.

Right now ChatGPT is in sneak peeks, which allows OpenAI to discover “misalignment” through real-world usage.

Presumably watermarking may be introduced in a last variation of ChatGPT or sooner than that.

Scott Aaronson wrote about how watermarking works:

“My primary project so far has actually been a tool for statistically watermarking the outputs of a text design like GPT.

Generally, whenever GPT produces some long text, we want there to be an otherwise unnoticeable secret signal in its options of words, which you can utilize to show later that, yes, this originated from GPT.”

Aaronson described further how ChatGPT watermarking works. However initially, it is necessary to understand the principle of tokenization.

Tokenization is an action that happens in natural language processing where the maker takes the words in a file and breaks them down into semantic units like words and sentences.

Tokenization changes text into a structured form that can be utilized in artificial intelligence.

The procedure of text generation is the machine guessing which token comes next based on the previous token.

This is done with a mathematical function that figures out the possibility of what the next token will be, what’s called a likelihood circulation.

What word is next is anticipated however it’s random.

The watermarking itself is what Aaron refers to as pseudorandom, because there’s a mathematical factor for a particular word or punctuation mark to be there but it is still statistically random.

Here is the technical description of GPT watermarking:

“For GPT, every input and output is a string of tokens, which could be words however likewise punctuation marks, parts of words, or more– there are about 100,000 tokens in total.

At its core, GPT is continuously creating a possibility distribution over the next token to produce, conditional on the string of previous tokens.

After the neural net produces the circulation, the OpenAI server then actually samples a token according to that circulation– or some customized variation of the circulation, depending on a criterion called ‘temperature level.’

As long as the temperature level is nonzero, however, there will normally be some randomness in the option of the next token: you could run over and over with the very same timely, and get a various completion (i.e., string of output tokens) each time.

So then to watermark, rather of picking the next token arbitrarily, the concept will be to choose it pseudorandomly, utilizing a cryptographic pseudorandom function, whose secret is known only to OpenAI.”

The watermark looks completely natural to those reading the text because the option of words is simulating the randomness of all the other words.

But that randomness consists of a bias that can just be discovered by someone with the key to translate it.

This is the technical explanation:

“To show, in the diplomatic immunity that GPT had a bunch of possible tokens that it evaluated equally likely, you could merely pick whichever token made the most of g. The option would look consistently random to someone who didn’t understand the secret, however somebody who did know the secret could later on sum g over all n-grams and see that it was anomalously big.”

Watermarking is a Privacy-first Solution

I have actually seen conversations on social networks where some individuals recommended that OpenAI might keep a record of every output it generates and utilize that for detection.

Scott Aaronson verifies that OpenAI could do that however that doing so presents a privacy concern. The possible exception is for law enforcement situation, which he didn’t elaborate on.

How to Find ChatGPT or GPT Watermarking

Something interesting that appears to not be well known yet is that Scott Aaronson noted that there is a way to defeat the watermarking.

He didn’t state it’s possible to defeat the watermarking, he stated that it can be defeated.

“Now, this can all be beat with adequate effort.

For example, if you utilized another AI to paraphrase GPT’s output– well all right, we’re not going to have the ability to discover that.”

It seems like the watermarking can be defeated, at least in from November when the above statements were made.

There is no indicator that the watermarking is presently in usage. However when it does come into usage, it may be unknown if this loophole was closed.


Check out Scott Aaronson’s post here.

Included image by Best SMM Panel/RealPeopleStudio