Training a (Stealthy) Model
Agape Keleta
When I saw the release of the Pangram 4 Technical Report, I felt an irresistible urge to see how hard it would be to bypasss it. I should stress that Pangram v4 is not like the flimsy perplexity detectors of 2023. According to 3rd party leaderboards and their own technical report, it is basically insane, achieving a 0.34% FNR on 520,000 open-ended generations from 26 frontier models (0.20% for Anthropic and 0.32% for OpenAI), a 0.004% FPR on 1M+ human documents, and 98.83% on 13 commercial humanizers. If you look at their ablations you can tell they have gone to absurd lengths to make this happen. They use an open-weight MoE as a backbone, sample overlapping 512-token windows, use a linear-chain CRF to score clause-level lexical realizations, and run a stop-gradient humanizer probe. And, finally, they only classify documents as Human if , i.e. 90% of the document ‘truly’ looks human-written.I think this is different for Pangram v4.1, since it does token level classification. The question then becomes, how hard could it be to build a humanizer that can carry AI prose past this wall, without ‘corrupting’ its underlying content?
Humble Beginnings
My first instinct was to see if we could just trick a frontier model into ‘sounding human’. Unfortunately, this is hopeless. Naively prompting instruct tuned models with ‘sound human’ results in 0/209 (the AI score remains 1.000 -> 1.000). Even conditioning on the output of an existing working humanizer (i.e. ‘imitate this writing style’) results in 0/60. It’s also not possible to just construct a heuristic based on ‘burstiness’, stylometrics, perplexity, and the like. Across n=4,704 draws, none of those surface features ever exceeded an AUROC of 0.55.
The obvious thing to do next is to finetune a model.
The most natural way to do this is to do supervised finetuning (SFT) on ‘lossless’ examples, where we start with a human document , have an LLM rewrite it into an ‘AI’ document that preserves 100% of the content/claims, and then do reverse SFT via
This seems like a perfectly reasonable way to proceed! After all, given a ‘lossless’ example, there is nothing the model needs to ‘invent’ in order to generate . I’ve tried this on Qwen3.6-27B (LoRA r=64) using five distinct lossless constructions (per-paragraph paraphrasing, conditioning on Pangram-flagged inputs, and regenerating from shuffled fact lists), and every single model has hit the exact same ~3-7% Human ceiling on native AI drafts.
This is completely explained by two direct measurements. First, a ‘lossless’ AI paraphrase of a human document still inherits the human’s claim selection. It scores only a median 0.675 Pangram likelihood (vs 1.000 for native AI drafts) and retains a large conditional token dependence
So SFT learns a tight local copy-and-polish map, not a distributional shift. Second, exact per-token logprob accounting shows passing draws sit nats/tok down in the policy’s own tail ( vs nats/tok in 16/20 docs), which over tokens compounds to
Breaking the copy channel
The trick that eventually cracked the distribution was to SFT on backtranslated pairs. The intuition is quite simple. I noticed that if you replace the human source with an exact paraphrase (in other words, a function that is lossless and can be executed in-place), then the distribution refuses to move from the center of the AI manifold. The conditional token dependence of the target document on the prompt is +1.46 nats/tok, which suggests that the model has “learned” how to copy certain human-style syntax patterns that we would like to have it imitate. However, this is obviously not what is happening. Instead, the “lossless” relationship between and effectively creates a channel where information can flow from the prompt to the response, with SFT subsequently optimizing for this transmission. But we can break that copy channel with an information bottleneck! The trick is to take each human document and, again with the help of an LLM, compress it into a set of telegraphic notes that only contain facts and no stylistic flourishes (in practice, I take one information-dense ‘note block’ per paragraph, not even making complete sentences). Subsequently, I take the notes and ask a frontier model to freely generate a polished AI document from scratch (‘freegen’), such that . Using these pairs, I then train the model to write .
This creates exactly the information bottleneck we want between prompt and response, and we can measure it. For the ‘serve’ model, the conditional token dependence drops from +0.69 to +0.24 nats/tok, and the distribution finally “moves” into the human manifold. The effect of this on performance is best seen by an ablation where I take training pairs of either aligned, lossless documents, or ‘backtranslated’ documents (notes freegen). The lossless documents create a model that scores 0.648 AI (or 0.864 on out of distribution blocks), while the backtranslated documents score 0.054 (or 0.036 out of distribution). It’s clear that the ‘shape’ of the training set matters much more than its size, which is what this exact comparison shows.
American immigration policy is unwelcoming to immigrants. Often, the only ways to enter the US legally are to marry someone in the US or to get the sponsorship of a powerful tech company. It takes several months even under the best of circumstances. I just wanted clarify that Russians living in the US face no prejudice.
US immigration policy unwelcoming · legal entry often through marriage or major tech-company sponsorship · process takes months even in best circumstances · Russians in US face no prejudice, per writer
American immigration policy is not especially welcoming. In practice, legal entry often depends on marrying an American or persuading a major technology company to sponsor you, and even under favorable circumstances the process takes months. That said, in my experience Russians already living in the United States do not face prejudice for being Russian.
Once you have this trick in hand, it’s straightforward to scale up. The backtranslated approach goes to 67.4% Human on Pangram v4 when writing 3-paragraph windows. Scaling up to 350-900 word documents across 10 different genresQwen3.6-27B LoRA r=64, 3 epochs, lr , a ‘grounding prompt’ header plus random tag dropout for controlling ‘information surplus’, ~4,500 pairs total. leads to a score of 33.7% Human/draw on our internal 33 document AI-native benchmark. This is almost 5x better than the score of 7.2% we get from aligned SFT.
SFT conserves Human × faithful
It’s difficult to make a backtranslation dataset that does not suffer from this problem. The bottleneck is almost never informationally complete with respect to , and so in 91% of our pairs, the human response contained additions relative to . For example, some important nuance or a funny story was forgotten, or the speaker’s personality came through more in than in . In contrast to e.g. summarization, we are asked to reconstruct the exact from , not find some sufficiently coherent from . Standard SFT does not have a notion of “faithfulness to ”. It only tries to reduce the next-token NLL of (which is to say, cross-entropy). The model can trivially reduce this NLL by learning to unconditionally hallucinate. Indeed, our 3 paragraph model scored 67.4% in Human, but had 2.5 hallucinations on average in passing responses, with a joint Human & faithful score of only 0.8% (where faithful means no hallucinations).
It seems that the joint Human & faithful score is a conservation law when using SFT alone. Across all of our SFT datasets, we have found that
Specifically, we got 3.0% for aligned SFT, 3.8% for mixed SFT, and 3.0% for the backtranslated SFT. You can increase by filtering in pairs but will automatically decrease correspondingly, and vice versa.
It’s tempting to think you can solve this problem with a few offline tricks, for example by not backproping on the unfaithful parts of (i.e. zeroing their loss). In our experience, this too preserves the conservation law. We applied loss masking to 33% of the target characters and found that the model “lived up to its personality” less, but at the cost of crashing the Human score from 4/6 to 1/6 and just transferring the hallucinations to the main text instead. Adding more SFT epochs caused the tail of passing responses to shrink. If you self-train the model on 610 of its own passing Human responses, you can increase the response length from to of the input, but decrease the Human score from 49.2% to 42.8%. Finally, offline DPO gave a tradeoff of 19 points Human (68.2% -> 49.2%), length ratio and an increase of Pangram’s humanizer flag from 23% to 38%.
Constrained RL on the joint
The breakthrough came when I started treating the data as disposable. The key insight is that once backtranslation has expanded the policy’s support, you don’t need the human texts anymore! Sure, a naive attempt to leverage them through rejection sampling failed, but we can do a lot better with online RL. In particular, we can use the human realizations to move the policy support in the right direction, and then leverage online policy gradient RL to directly optimize the native AI-drafted setting. samples per document, learning rate . This eliminates the need for ‘anchor’ distributions altogether, since the AI inputs are now ‘directly’ being treated as the fidelity target!
To make this work, I deployed an online Lagrangian RL setup, using two rewards. Namely, for each sample we have a detector reward and a fidelity reward
In particular, the former relies on the (extremely good) Pangram detector, while the latter relies on a calibrated 397B LLM judge with hard zeros for detected copies, out of range lengths (), and tampered with placeholders. Both are z-scored within each document’s group and then combined with an adaptive Lagrange multiplier
…where is increased every time the held-out faithfulness falls below a given target . The first version of this setup, dubbed ‘DEPO v2’, was an unqualified triumph. The held-out joint rate jumped from 6.1% to 24.4%! However, when I got more curious and started to read actual generations, it became obvious that the length ratio had silently regressed from 1.01x to 0.81x. In particular, many cover letters ‘forgot’ to include their entire work experience section, since the LLM judge (evaluated at document-level) did not notice missing ‘chunks’ of text. This created the opportunity to do a quick ‘DEPO v3’, which (1) uses per-paragraph coverage multiplier for the judge score, (2) applies a soft length penalty below 0.80 (a hard one +/-15% greatly hurt Human rates down to 8-12%), (3) pins the letter header and sign-off outside the rewrite window (the model edits ‘just’ the body), and (4) uses stricter regexes for placeholders like and .
For a clean final result, I evaluated this pipeline on a held-out set of 33 documents (, no cherry picking). The clean joint rate jumps roughly 24× from 3.0% to 72.9%, the Human/draw rate reaches 99.3%, all 33 documents get at least one clean joint draw, and length violations drop from 19.3% to 1.5%.
| Stage | Training Method | Human / Draw | Clean Joint | Docs w/ Clean Draw (K=8) | Length Violations |
|---|---|---|---|---|---|
| 1 | Lossless aligned paraphrase SFT (~1,700 pairs) | 7.2% | 3.0% | 15.2% | 8.0% |
| 2 | Whole-doc backtranslated SFT (~4,500 pairs) | 33.7% | 3.0% | 12.1% | 11.0% |
| 3 | Online Lagrangian RL, DEPO v2 (doc-level judge) | 53.8% | 5.7% | 18.2% | 19.3% |
| 4 | Online Lagrangian RL, DEPO v3 (per-para coverage + soft len) | 99.3% | 72.9% | 100% | 1.5% |
The cultural complaint about meeting productivity has reached a fever pitch because the modern workplace has scaled up communication while losing sight of its purpose. In the digital age, meetings have become the path of least resistance for indecision—a corporate security blanket where collaboration is routinely confused with actual progress.
At the heart of this frustration is the "calendar creep" enabled by platforms like Outlook and Teams. With one click, anyone can hijack an hour of a colleague's day. Consequently, calendars are treated as public property, leaving knowledge workers with fragmented schedules. This disruption destroys "deep work"—the focused, uninterrupted time required for high-level problem-solving. When a professional is forced to constantly shift context between meetings, their actual output plummets, creating a stressful cycle of working late just to complete their day job.
Why do so many people feel like meetings are a waste of time? It seems to be ingrained in our culture that meetings aren't productive. I think there are a few reasons for this, primarily due to the way we communicate at work these days. Meetings have become the easy way out when it comes to making decisions in the digital age. It's our security blanket for being collaborative at work.
With scheduling tools like Outlook and Teams, it is super easy to add a meeting to someone's calendar with the click of a button. As a result, meetings tend to creep onto our calendars, stealing an hour here and there. Our calendars become public property and our days become super fragmented. We lose our ability to do deep work (high-level problem solving) because we are constantly switching contexts throughout the day to accommodate meetings. As a result, our work output suffers and it becomes stressful as we stay late to get our day job done.