Peking University School of Mathematical Sciences Alumni Takes Action: ChatGPT Ghostwriting to Become 'Real-Name'

marsbitPublished on 2026-10-08Last updated on 2026-10-08

Abstract

OpenAI introduces "textGrain," a new watermarking system for its AI-generated text. This technique subtly embeds a unique, secret key into each word chosen by models like ChatGPT, making the output traceable back to OpenAI without altering readability or quality. The watermark is immediately available for API users and will roll out to ChatGPT and Codex soon. Key features include high detection rates (over 90% for 400-token samples with a 1% false positive rate), minimal performance impact on models like GPT-6 Astra, and controlled access—detection tools are reserved for approved researchers and institutions, while the watermark method itself is open-source. The technology is based on "optimal transport," a centuries-old mathematical problem about efficiently moving mass. textGrain uses it to allocate a "randomness budget," ensuring watermarking doesn’t significantly reduce output diversity. The process groups potential next words, biases selection using the key, but averages out to appear unbiased without the key. The research is led by a team including Peking University alumni and scholars from UPenn and Yale, with OpenAI’s Su Weijie as corresponding author. As major AI firms like Google and Anthropic adopt similar provenance measures, AI-generated content is entering an era of built-in "identification." While direct copy-pasting of AI text becomes riskier, the detectors are not yet publicly accessible. Ultimately, watermarking proves text comes from AI, but doesn’t prov...

Just now, the words written by ChatGPT are starting to have 'secret codes' embedded word by word!

This watermark is called textGrain. Each time the model chooses a word, it secretly mixes in a key that only OpenAI knows.

It’s invisible to the naked eye, reads exactly the same as before, but once a detector scans it, it can immediately identify whether this text originated from OpenAI’s model.

From now on, if you copy and paste the homework, resume, or weekly report ghostwritten by AI as is, it might be caught on the spot.

Key points, the most crucial aspects of this release are four.

1. Effective Immediately: Global API clients can enable the watermark themselves starting today; ChatGPT and Codex will also be integrated in the coming weeks.

2. High Detection Rate: With a false positive rate controlled at 1%, over 90% of a 400-token psychology-related answer can be detected. OpenAI also issued a bold statement, claiming the performance matches or even surpasses Google’s SynthID.

3. Virtually No Performance Loss: The flagship model GPT-6 Astra, after adding the watermark, shows essentially the same scores on 8 core benchmarks, with 5 even slightly improved.

4. Controlled Detection Access: The detector is not publicly available for now; it will only be distributed to approved researchers and professional institutions, while textGrain itself will be open-sourced.

The era of 'real-name system' for AI writing has officially begun.

Thus, the three giants—Google, Anthropic, and OpenAI—have all equipped AI-generated text with an 'ID card'.

The 1781 Earth-Moving Problem Has Been Brought Into ChatGPT

When a large language model writes, it outputs only one word at a time. Before outputting, it assigns a probability to each candidate word, then samples one according to these probabilities.

For example, after "The morning was ___", "warm" might have a 30% probability, "cold" 25%, with the rest distributed among a few other words.

What the watermark does is make this sampling secretly obey a key.

But there is an iron law that cannot be broken, called 'unbiased'. Averaged over all possible keys, the probability of each word being selected must remain exactly the same as before.

This way, someone without the key sees completely normal, random text, and the model's intended message remains unchanged.

The first version of the watermark, created by Scott Aaronson at OpenAI, satisfied unbiasedness but left a flaw—

For the same prompt and the same key, the model would choose the same word at each step; asking the same question ten times could yield identical responses.

The solution for textGrain, however, comes from a mathematical problem nearly 250 years old: Optimal Transport.

Its origin is literally about 'moving earth'.

In 1781, French mathematician Gaspard Monge pondered a very concrete problem. A pile of earth needs to be moved to fill another pit; where should each portion of earth be transported to minimize the total cost?

By the 1940s, Soviet mathematician Leonid Kantorovich relaxed the problem: a portion of earth could be split and transported to multiple destinations, as long as the total amounts at both ends matched. The earth-moving problem thus became linear programming.

Kantorovich later shared the 1975 Nobel Prize in Economics with Tjalling Koopmans for his theory of optimal resource allocation.

Coincidentally, Koopmans was an economist at Yale, and one of the authors of this technical report, Xiaohong Chen, now holds a professorship named after him at Yale.

Later, Cédric Villani, the 2010 Fields Medalist, connected optimal transport with geometry, probability, and partial differential equations.

In 2013, Marco Cuturi introduced entropy regularization and the Sinkhorn algorithm, dramatically speeding up the originally expensive computations, making optimal transport a common tool in machine learning.

Two centuries later, textGrain brought this mathematical chain into large language models. This time, what's being moved around is the probability of the next word.

The core idea of textGrain is to set a 'randomness budget' for the watermark.

The paper proves an identity. The extra correlation introduced by the watermark between word selection and the key precisely equals the average randomness lost by the model; they are the same quantity.

How much statistical correlation the watermark gains, it must pay for with how much randomness, not a fraction off.

Thus, OpenAI can preset a ratio, defining how much of the original randomness the watermark can spend at most. For example, setting it to 0.2 means preserving at least 80% randomness on average, leaving room for answer diversity.

The specific process involves three steps.

Step 1: The key, together with the preceding context, randomly divides the candidate words into several groups, summing the probabilities for each group.

In the diagram, six words are divided into three groups: "warm, calm" at 0.40, "cold, sunny" at 0.35, "mild, bright" at 0.25. After grouping, probabilities only need to be allocated among the groups.

Step 2: OpenAI essentially prepares 4 sets of 'biased' plans; the 4 columns in the diagram represent these 4 plans.

The key generates a random score for each 'group × plan' cell. Then, using optimal transport with entropy constraints and the Sinkhorn algorithm, it iteratively adjusts rows and columns, moving probabilities as much as possible towards high-scoring cells, until the budget is used up.

Each plan favors a different group on average; when averaged over the 4 plans, each group's probability remains 0.40, 0.35, 0.25—unbiased.

Step 3: The key selects one of these plans. In the diagram, the 2nd column is selected, raising the probability of the "cold, sunny" group from 0.35 to 0.69.

Then, within the group, a word is chosen according to the original 25-to-10 ratio, writing "cold".

Someone without the key sees a normal sampling process; someone with the key knows which group this step was supposed to favor.

During detection, the question to answer is essentially one: is the word selection in this text always 'coincidentally' hitting the preferences specified by the key?

Text written by an ordinary person has no relation to the key; the score at each position is purely random, and the total score falls within a range that can be precisely calculated using an existing probability distribution.

Text with a watermark, however, will land on high-scoring cells, resulting in a total score that is outrageously high.

The entire detection requires only the original text and the key; it doesn't need to invoke the model or know what budget was set during generation.

It's worth noting that this watermark does not make the model dumber.

Among the 8 benchmarks for GPT-6 Astra, 5 showed slight improvement with the watermark added, and the worst drop was only 1.12 points; tests within ChatGPT also showed almost no change in users' 'thumbs-down' rates.

Led by Peking University School of Mathematical Sciences Alumni, Penn and Yale Collaborate with OpenAI

Among the authors of this 20-page technical report are 4 scholars from universities. The backgrounds of the 9 authors span statistics, economics, optimization, and machine learning.

The first author, Xiang Li, completed his undergraduate and PhD in Statistics at Peking University under the supervision of Zhihua Zhang. In recent years, he has specialized in large language model text watermarking and evaluation. He will join the Rutgers University Statistics Department as an assistant professor in January next year.

Qi Long from the University of Pennsylvania is a biostatistician, a graduate of the University of Science and Technology of China's Special Class for the Gifted Young, and now heads the Institute for Biomedical Informatics at Penn.

From Yale, Xiaohong Chen is a member of the American Academy of Arts and Sciences and, together with Gregory Chow, received the 2017 China Economics Prize.

Gang Wen is a fifth-year PhD student in Yale's Department of Statistics and Data Science, an undergraduate alumnus of Peking University's School of Mathematical Sciences, focusing on high-dimensional probability and random matrices, and has been conducting research under Weijie Su since 2021.

Among the OpenAI authors, Qingquan Song is from the base model team and is one of the authors of the open-source tool Auto-Keras; Arzav Jain and Florent Joly have both been involved in ChatGPT search development.

The corresponding author, Weijie Su, is the one who brought this team together.

He officially joined OpenAI in May this year while remaining a professor in the Statistics and Data Science Department at the Wharton School, University of Pennsylvania.

Weijie Su is from the class of 2007 at Peking University's School of Mathematical Sciences. At Peking University, he ranked first in his major and also won the inaugural S.T. Yau College Student Mathematics Contest All-Around Gold Medal. He then went to Stanford for a PhD in Statistics under the supervision of Emmanuel Candès.

His research spans statistical machine learning, high-dimensional inference, optimization, and privacy protection. ICML 2023 even conducted an experiment using his proposed 'incentive mechanism', asking authors to rank their own submissions to calibrate review scores.

When he won the COPSS Presidents' Award in February this year, the first line of the citation mentioned the statistical foundations of generative AI, including research on watermarking.

'I Wrote This' Begins to Require Proof

After explaining the principles, let's return to the question everyone cares about most: will things written with AI be detected?

Those copied verbatim are indeed at risk. A few hundred words strung together are enough for the detector to identify.

However, those who can check are not currently your teachers or your HR.

According to the official announcement, OpenAI's detector is only for approved researchers, and Anthropic's is only open to regulators, media, researchers, and educational institutions.

The door isn't open yet, but the direction is clear.

ChatGPT is used by 1.2 billion people weekly; more and more text originates from models. Google, Anthropic, and OpenAI have all chosen the same path: embedding the origin directly into the text itself.

Mathematics used over two hundred years ago to calculate costs for earthmoving projects is now being used to label the origin of machine-written words.

But a watermark can only prove a passage came from AI; it cannot prove a passage came from you.

In the future, the statement 'I wrote this' might also require evidence.

References:

https://openai.com/index/eu-text-provenance/

https://cdn.openai.com/pdf/e9508624-d767-41b6-a26d-e34ca798ada6/textgrain-entropy-calibrated-watermarking-for-language-model-text.pdf

This article is from the WeChat public account "新智元" (New Wisdom Era), author: ASI启示录, editor: Moses

Related Questions

QWhat is OpenAI's new text watermark system called, and what is its main purpose?

AOpenAI's new text watermark system is called textGrain. Its main purpose is to embed a subtle, undetectable signature into text generated by its models, allowing for the detection and identification of AI-generated content while being imperceptible to human readers.

QHow does the textGrain watermark ensure that it does not bias the AI's text generation or reduce its quality?

AtextGrain operates under a principle of "unbiasedness." It uses a method based on "optimal transport" and incorporates a "randomness budget," ensuring that the statistical association between the chosen words and the secret key comes at an exact cost of reduced randomness. This allows the model to retain most of its original diversity and performance, with benchmark tests showing negligible impact on output quality.

QWho are the key academic contributors to the development of textGrain?

AThe key academic contributors include Xiang Li (Peking University, lead author), Qi Long (University of Pennsylvania), Xiaohong Chen (Yale University), and Gangwen Wan (Yale University). The corresponding author is Weijie Su, a professor at UPenn Wharton now at OpenAI, who led the research team bridging statistics, economics, optimization, and machine learning.

QWill the public or individual users have access to the detection tool for the watermark?

ANo, the detection tool will not be made available to the public or individual users initially. According to OpenAI, access to the detector will be restricted to vetted researchers and approved professional institutions. Similarly, policies from Anthropic and Google indicate their detection tools are primarily for researchers, regulators, media, and educational bodies.

QWhat is a potential social implication of the widespread adoption of AI text watermarking as discussed in the article?

AA key implication is the shift towards a 'real-name' or provenance era for AI-generated text. While watermarks can prove content came from an AI, they cannot prove it was written by a human. This means the statement 'I wrote this' may increasingly require proof, impacting areas like academic work, job applications, and professional reporting.

Related Reads

Democrats Plan to Investigate Apple, Meta and Musk, Trump's Silicon Valley Allies Face 'Reckoning'

Democrats, after winning majorities in both chambers of Congress, are rapidly setting investigative priorities targeting Trump's Silicon Valley allies. The House is preparing to examine Trump's use of Musk's AI chatbot Grok in planning a military operation to abduct Venezuelan President Maduro; Apple and Meta are under scrutiny over an ICE tracking app and local government data center agreements, respectively. The probe scope may extend well beyond these three companies, reviewing major corporations' most controversial business activities over the past two years and their ties to the Trump administration. Since Trump's second term, tech billionaires and executives have frequently attended White House events, donated to his ballroom project, and given gifts, while companies backed by Trump family members and Wall Street executives received billions in government funding. Groundwork Collaborative labeled Big Tech, private prison operators, and natural gas firms as "high-value" targets. Even before formal investigations begin, companies are preparing: Washington law firms are holding emergency meetings to advise founders and executives on congressional inquiries, and many are seeking to become Musk's personal counsel, anticipating subpoenas and high-profile legal work. Some VCs advise startups to close financing before year-end in case executives are called to testify or Pentagon spending shifts. Incoming House Oversight Committee Chairman Robert Garcia warned companies to "hire lawyers," and Senator Ed Markey said tech executives will need plenty of paper for subpoenas. Lawyers expect Democratic control of Congress to accelerate and intensify investigations, with detailed corporate inquiries potentially more effective than letters to Trump agencies since companies are more likely to respond and disclose dealings with officials. Apple, Meta, X, and Musk did not immediately respond to requests for comment. Covington & Burling lawyer Robert Kelner said the investigative wave is all but certain: "We've been telling clients, winter is coming. Now, winter is here."

marsbit42m ago

Democrats Plan to Investigate Apple, Meta and Musk, Trump's Silicon Valley Allies Face 'Reckoning'

marsbit42m ago

Anthropic's Strongest Model 4 Revealed for the First Time: RSI Soars at 2x Speed

Anthropic's unreleased "Model 4," reportedly trained between September and October, has surfaced via a third-party METR evaluation, scoring 178.6 on Anthropic's internal Aggregate Evaluation Capability Index (AECI)—outpacing public models Opus 5.5 (174.5) and Mythos 5.1 (172.5). Model 4 passed all 15 benchmarks at above 50% accuracy, a first compared with Opus 4.6 nine months earlier; removing three flawed benchmarks would push its score to 179.7. METR's 11-week investigation of internal data concludes Anthropic's model improvement has roughly doubled, with an inflection point in October 2025: AECI growth accelerated from about 15 points per year to 29 points per year (1.9x), meaning one year now covers what previously took two. Notably, METR estimates about 80% of this acceleration stems from AI assisting its own R&D rather than increased training compute, researcher headcount, or inference scaling—Claude is effectively helping build a stronger Claude. Internal employee surveys report self-assessed productivity gains rising from 1.3–1.4x in spring 2025 to about 5x by June and roughly 12x by October with Model 4, as researchers shift from using Claude as autocomplete to orchestrating many parallel agents, cutting idea-to-experiment time by up to 80%. METR researcher Ryan Greenblatt calls the report a signal pointing toward ASI within one to two years. Roughly 100 pages were submitted to Anthropic, but much of the most sensitive evidence—including a table forecasting future model capability scores—was redacted in the public version. METR sees no obvious bottleneck in algorithms, compute, or data over the next 12 months, and no brake in sight.

marsbit1h ago

Anthropic's Strongest Model 4 Revealed for the First Time: RSI Soars at 2x Speed

marsbit1h ago

US 401(k) proposal leaves door open to altcoins, but hurdles remain

A proposed US Labor Department rule could allow smaller cryptocurrencies (altcoins) in 401(k) retirement plans, but experts say they face more hurdles than Bitcoin and Ether. The rule, now under White House final review, aims to ease offering alternative investments like crypto while giving employers and plan managers more legal protection. It doesn't specify which digital assets qualify or set a minimum market cap, but directs plan managers to weigh six factors: performance, fees, liquidity, valuation, benchmarks and complexity. Experts expect Bitcoin and Ether to be offered first given their established markets and investment products. Teresa Goody Guillén of Bellementis PLLC said altcoins aren't automatically excluded, but plan managers must show their choices are prudent, noting "big doesn't mean suitable, and small doesn't mean disqualified." Bernardo Brites of Trace Finance said most tokens fail on track record or benchmark, and the practical test is whether a plan committee can document a reliable daily price from a regulated wrapper. ETFs and managed funds will likely precede direct crypto holdings, fitting existing custody and recordkeeping systems. Brites expects some crypto options by 2027, ETFs at larger employers later that year, and wider availability by 2028, noting the rule changes legal risk, not infrastructure. Legal uncertainty remains: the proposal offers some lawsuit protection but doesn't prevent suits, and future administrations could reverse the rule, potentially making employers hesitant.

cointelegraph5h ago

US 401(k) proposal leaves door open to altcoins, but hurdles remain

cointelegraph5h ago

Russia finalizes crypto trading rules ahead of Nov. 17 rollout

Russia’s central bank has finalized rules allowing exchanges to offer Bitcoin, Ether and Tether USDt to retail investors starting Nov. 17. Non-qualified investors can buy up to 300,000 rubles (about $3,700) in crypto annually through each intermediary, including brokers, asset managers and crypto exchange providers. Qualified investors face no purchase limits, but all investors must pass a mandatory test before trading. The directive builds on legislation signed by President Vladimir Putin on Aug. 4 establishing a regulated crypto market under central bank oversight. On Aug. 11, the Bank of Russia published draft regulations identifying BTC, ETH and USDT as eligible for public trading based on market capitalization, average daily trading volume and at least five years of price history on foreign exchanges. The law took effect Sept. 1, and the Bank of Russia later authorized Sberbank, the country’s largest bank, to offer crypto exchange services in October. Moscow Exchange, Russia’s largest securities exchange and a publicly traded company, is preparing to launch crypto trading on Dec. 1, initially offering the three cryptocurrencies through pilot transactions. While expanding regulated access, Russia is also tightening restrictions outside those channels. Direct peer-to-peer crypto trading will be prohibited starting July 1, 2027, transfers from regulated digital accounts to self-custody wallets are already banned, and cryptocurrency cannot be used to pay for goods and services.

cointelegraph6h ago

Russia finalizes crypto trading rules ahead of Nov. 17 rollout

cointelegraph6h ago

Trading

Spot
活动图片