Edison Advances
← Research

Improving Scientific Writing by Learning from Good Examples

2026-11-11 Albert Bou, Siddharth Narayanan
Paper
arXiv:2610.38851↗
Code
GitHub↗
Data
Hugging Face↗

One of these is the real abstract from a funded NIH grant, and our model wrote the other. Which one is real? Click the one you think is real to reveal the answer.

Loading examples…

Motivation

Reinforcement learning-based post-training of LLMs typically relies on the ability to discriminate better versus worse LLM outputs. RL with human feedback (RLHF) and direct preference optimization (DPO) require humans to supply preference rankings, RL with verifiable rewards (RLVR) uses a “verifier” - a (often binary) reward function that can judge the correctness of an output.

At Edison Scientific, we work on training systems and LLMs to conduct challenging scientific research tasks. Some of these tasks are verifable, such as those in LabBench21 or BixBench32. However, many critical tasks do not easily admit rubrics or determinstic reward functions. Consider writing scientific documents - while an expert in a field can determine if a paper, patent, or regulatory document is well-written, they would be hard-pressed to enumerate all of their evaluation criteria.

Such a task may seem ideal for RLHF, but RLHF requires a large number of human evaluators to provide training signal. This can be especially challenging when judging scientific writing, when careful evaluation of the content and writing style requires more than a cursory read. On the other hand, we have millions of examples of good scientific writing in the public domain: papers, patents, etc. We were motivated to develop a method that would teach LLMs to learn directly from positive demonstrations, without requiring the construction of synthetic negatives, auxiliary reward functions, or additional labels.

Method

We started with an idea that has a long lineage: adversarially training a policy and a reward function. Learning a reward from demonstrations is the premise of inverse reinforcement learning,3 and adversarial methods such as GAIL4 and AIRL5 made it work for robotics and control. Early attempts to adapt it to language6 came before modern reasoning models (and would require examples of good reasoning traces to apply to reasoning models). We bring that line of work to modern reasoning models and demonstrate its effectiveness at scientific writing. We refer to our method as Reinforced Adversarial Learning (RAL).

We are not alone in revisiting adversarial training for LLM post-training. We detail the differences between RAL and prior/concurrent methods in Section 2 of our paper.

RAL trains two models together. The generator produces a reasoning trace followed by a final answer. The judge sees only the final answer, never the reasoning, and estimates the probability that it came from the reference set, a collection of real examples of good work, rather than from the generator. That probability is the generator’s reward. The generator is trained with GRPO7 to maximize the probability of fooling the judge, while the judge is trained with a cross-entropy loss to tell references from generated answers, so the two improve as adversaries. Because the judge scores only the final answer, the reasoning itself is never rewarded. A reasoning trace pays off only when it leads to an answer the judge finds convincing, so the generator must develop reasoning that actually works rather than reasoning that looks right.

RAL overview. Task data with prompts and reference answers, but no reasoning traces, feeds a generator that produces reasoning and an answer. A judge sees only the answer and decides whether it is a reference or generated; its reference probability is the generator's reward. A replay buffer of past generations feeds the judge, and an inset shows the learned reward. Example tasks show the prompt, a reasoning trace, and the answer for integer multiplication, SMILES to formula, Countdown-Code, and NIH grant abstracts.

The two models improve together, each moving the target for the other. Co-training two models this way can be unstable. To keep the judge from becoming too strong too quickly, we skip its updates when its accuracy exceeds a threshold, preserving a useful learning signal for the generator. We also keep a replay buffer of past generations and mix them into the judge’s training batches, so it does not forget strategies the generator has already tried.

Integer multiplication 4137 × 8264 = ?

Before turning to scientific writing, we check that the judge can learn a meaningful reward on a task where we know the right answer. A natural worry is that the adversarial game stays superficial, with the judge telling the two distributions apart by length, formatting, or word choice. We therefore start with a reasoning-heavy task whose answers offer no such cues, multiplying two four-digit integers. To get the product right, the generator must break the problem into steps in its reasoning, such as partial products, before committing to an answer. A product is either right or wrong, so the judge can separate references from generations only by learning what makes a product correct. A verifier withheld during training measures the result.

With enough judge capacity and co-training, RAL matches or outperforms training against the verifier directly, and larger judges learn rewards that track correctness more closely. Today’s LLM judges can therefore look past surface differences. Our paper reports the same pattern on two more verifiable tasks.

Multiplication results, four panels: generator verifiable reward, judge accuracy, generator relative error, and correlation of judge probability with relative error.

Writing when there is no verifier

We then return to the scientific artifacts that motivated this post, whose quality experts can assess but no simple rule can capture. For this demonstration, we limit ourselves to scientific abstracts. In practice, an abstract reports results from the paper or proposal behind it. For simplicity, we do not tie the generator to specific results. Conditioning the generator on real results, and showing them to the judge, is a natural next step.

Our first task asks the generator for a credible research-paper abstract and specifies no field. Every reference abstract, however, comes from a biomedical paper. The judge must notice this from the examples alone and steer the generator toward biomedicine while keeping its outputs diverse. This tests whether a learned reward captures what the references are about, not only how they are written.

Biomedical abstract results, three panels over 2,000 training steps comparing RAL with a co-trained Qwen3-14B judge against a frozen Haiku judge: judge reward, generation diversity as pairwise cosine distance, and the fraction of generations classified as clearly biomedical.

A frozen judge (Claude Haiku 4.5) fails at this, even with more help than ours. We showed it each generation beside a real abstract, told it the target domain, and asked it to pick the real one. The generator earned a reward of 1 whenever Haiku picked its abstract, and 0 otherwise. The generator’s reward climbs steadily, yet its abstracts never become biomedical. Instead, it exploits the judge. Nearly every generation converges on a single narrow topic that the frozen judge keeps mistaking for real, even though it lies far outside the field. Because the judge never updates, nothing stops the exploit. RAL’s judge, Qwen3-14B, keeps learning, so an exploit stops paying off once the judge catches it. Given no hint of the domain, the co-trained judge still steers almost every generation into biomedicine. Diversity dips early, then recovers to its starting level.

NIH grant abstracts

Finally, we turn our method to writing abstracts for U.S. National Institutes of Health (NIH) grant proposals. Given only a proposal title, the generator must write a plausible abstract. The judge learns from real abstracts of grants funded in fiscal year 2026, chosen to reduce the likelihood of overlap with the underlying models’ training data. It must learn both what makes a credible NIH abstract and whether the abstract fits the proposal’s title.

NIH grant abstract results. Top: fooling rates for human experts across models as a bar chart (ours 0.55, Qwen3-32B 0.44, GPT-5.6 Sol 0.37, Claude Opus 5 0.27, Gemini 3.7 Flash 0.21), fooling rate against an ensemble of five frontier LLM judges over training, and co-trained judge accuracy on latest versus replayed generations. Bottom: excerpts of the reasoning trace and abstract for one held-out title at steps 0 and 2000, with highlighted strategies such as building on previous findings, designing aims to test the hypothesis, designing experiments to rule out alternatives, testing alternative explanations, and weighing scope and limits.

Both an ensemble of frontier LLMs and biomedical experts mistake RAL abstracts for real ones more often than they do abstracts from frontier-model baselines. RAL reaches a mean fooling rate of roughly 35% against the LLM judges (top middle), compared with at most 4% for the baselines, and 55% against human experts (top left), compared with 21–37%. The top-right plot suggests how this progress unfolds. Judge accuracy repeatedly drops and recovers on fresh generations (red) while remaining high on replayed generations (blue), consistent with the generator finding new strategies and the judge learning to recognize them without forgetting earlier ones.

The excerpts at the bottom show what changes. Abstracts from the start of training are generic. By the end, they build a scientific argument, with a hypothesis motivated by preliminary findings, aims designed to test it, and experiments that rule out alternative explanations. The reasoning traces change too. They grow more specific and shape the final abstract more closely, even though the judge never sees them. We hypothesize that LLM judges also detect subtler differences that humans miss, which could explain their lower fooling rates, though we have not tested this explanation directly. This task produced the abstracts you can compare at the top of the page.

AI Research at Edison

At Edison we build Kosmos,8 an AI Scientist that reads literature, analyzes data, generates hypotheses, and executes scientific workflows. Our ML research starts from the problems we meet while making Kosmos a better scientist, and RAL grew out of one of them. We are hiring people to work on these problems. If this line of research interests you, take a look at the open roles on our team.

References

Footnotes

  1. Edison Scientific. “LABBench2: An Improved Benchmark for Measuring AI in Biology Research.” ↩

  2. Edison Scientific. “BixBench3: Benchmarking AI agents on research-study-scale computational biology tasks.” ↩

  3. Andrew Y. Ng and Stuart Russell. “Algorithms for Inverse Reinforcement Learning.” ICML (2000). ↩

  4. Jonathan Ho and Stefano Ermon. “Generative Adversarial Imitation Learning.” NeurIPS (2016). ↩

  5. Justin Fu, Katie Luo, and Sergey Levine. “Learning Robust Rewards with Adversarial Inverse Reinforcement Learning.” arXiv:1710.11248 (2017). ↩

  6. Qingyang Wu, Lei Li, and Zhou Yu. “TextGAIL: Generative Adversarial Imitation Learning for Text Generation.” AAAI (2021). ↩

  7. Zhihong Shao et al. “DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models.” arXiv:2402.03300 (2024). ↩

  8. Edison Scientific. “How We Built Kosmos.” ↩