Adobe · Filed Mar 4, 2025 · Published Sep 10, 2026 · verified — real USPTO data

Adobe Patents an AI Coding System That Learns by Studying Its Own Mistakes

Most AI coding tools get tuned on examples of correct code. Adobe's patent describes a system that also studies its own mistakes, pairing good answers against bad ones to steer the model away from errors over time.

A diagram shows how a large language model generates code, evaluates it as correct or incorrect, and then adjusts its parameters based on the feedback. Drawing from patent filing US 2026/0267618 A1.
A diagram shows how a large language model generates code, evaluates it as correct or incorrect, and then adjusts its parameters based on the feedback.
See all 11 drawings from this filing ↓
Publication number US 2026/0267618 A1
Applicant Adobe Inc.
Filing date Mar 4, 2025
Publication date Sep 10, 2026
Inventors Xiang Chen, Tung Mai, Tong Yu, Saayan Mitra, Ryan A. Rossi, Leitian Tao
CPC classification 717/106
Grant likelihood Low
Examiner CENTRAL, DOCKET (Art Unit OPAP)
Status Docketed New Case - Ready for Examination (Apr 8, 2025)
Document 20 claims

What Adobe's self-correcting code AI actually does

You're asking an AI assistant to write a function that filters data in your spreadsheet, and it keeps producing code that almost works but crashes on edge cases. Getting the AI to improve means someone has to manually label thousands of examples, which takes forever.

Adobe's patent describes a smarter training loop. The AI generates many possible code answers to a single question, then the system automatically checks which answers run correctly and which fail. Those passing and failing answers get paired up to form a teaching dataset.

The model then studies those pairs, learning to prefer the structure and patterns of correct code over broken code. No human needs to label every example. The system uses the code's own execution results, meaning whether it actually runs, as the signal for what good looks like.

From the filing · CLAIM 1
generating, utilizing a large language model, a set of code responses from a natural language query …

Translation: The system starts by asking an AI to write several code options based on a plain text request.

How the preference dataset reshapes the model's parameters

The patent covers a three-stage pipeline built around preference-guided fine-tuning of a large language model (LLM) for writing code.

  • Generation: A base LLM is given a natural-language prompt (a description of what the code should do) and produces a batch of candidate code responses.
  • Evaluation: Each candidate is compared against a ground truth (a known correct answer), producing two buckets: correct responses and incorrect ones.
  • Dataset construction: The system builds a preference dataset from paired examples, one correct and one incorrect response to the same prompt. These pairs teach the model which direction is better.

The final step is fine-tuning using a loss function (a mathematical penalty score) derived from those preference pairs. When the model's parameters are updated to minimize that penalty, the model becomes less likely to generate the broken patterns it saw in the incorrect bucket.

This approach borrows from a technique called preference learning, used in human feedback training for chatbots, but replaces human judgments with objective code execution results. Whether the code runs correctly is the arbiter, not a human annotator.

From the filing · THE ABSTRACT
… compare the set of code responses to a ground truth code response to generate a set of correct code responses and a set of incorrect code responses …

Translation: The software checks the AI's work against a known correct answer to separate the good code from the bad.

What this means for AI coding tools inside Adobe products

For anyone using AI coding assistants inside Adobe products, a model trained this way should produce fewer one-off errors and require less manual correction. The practical payoff is that the AI gets better at writing executable code, not just code that looks plausible.

Adobe's growing investment in AI-assisted creative tools makes code generation increasingly relevant, especially as scripting and automation features move into products like Firefly and Acrobat. A self-improving code model could reduce the friction in building custom automations without needing a developer on hand.

That makes this Adobe's eighth filing we've tracked since July in our AI guardrails race watchlist, following one on fact-checking image captions and one on teaching AI to decline.

Editorial take

Claim 1 covers any system that takes a plain-English request, generates code responses, sorts those responses into correct and incorrect piles by checking them against a right answer, and then uses that sorting to retrain the model. The claim does not specify which model architecture is used, how the checking is done, or how pairs are selected, making it quite wide.

That width has real consequences. Any competing tool running the same basic loop, generating code, grading it, and feeding the grades back into training, would fall within a straightforward reading of this claim if granted.

The practical question is whether the patent office finds earlier work covering the same general process, because the claim's strength and its reach are the same thing. A narrow claim survives scrutiny more easily; a broad one blocks more territory but gives examiners more prior art to work with.

There are more where this came from

We read every patent application Big Tech publishes and send you the ones worth knowing. Plain English, free, every week.

The drawings

11 drawing sheets from US 2026/0267618 A1 · click any drawing to enlarge

Patent filing page

Source. Full patent text and figures from the official USPTO publication PDF.