OpenAI Patents a Row-Marker System to Speed Up AI Image Generation
When an AI generates an image, it has to keep track of thousands of tiny pieces at once, and that gets expensive fast. OpenAI's new patent describes a system of "border tokens" that act like row numbers in a spreadsheet, making it easier for the AI to know where it is while drawing.

- Publication number
- US 2026/0289826 A1(US20260289826A1)
- Applicant
- OpenAI OpCo, LLC.
- Filed · Published
- Jun 23, 2025 · Sep 24, 2026
- Inventors
- Matthew Chan, Wayne Chang, Prafulla Dhariwal, Gabriel Goh, Ishaan Gulrajani, Allan Jabri, Mengchao Zhong
- Status when we published
- Company responded; back with the examiner
- Document
- 20 claims
- US classification
- 345/418
- Examiner
- YANG, YI (Art Unit 2616)
- Parent application
- Claims priority from a provisional application 63776634 (filed Mar 24, 2025)
What OpenAI's border token image trick actually does
Imagine asking an AI to draw a picture, and instead of painting it all at once, it builds the image one piece at a time, left to right, top to bottom, like a dot-matrix printer. Every piece has to "remember" where it fits relative to every other piece, and the more pieces there are, the harder and slower that gets.
OpenAI's patent describes a fix: drop a special marker token at the start of each row, like a chapter heading. Instead of each image piece having to look all the way back through the entire image to figure out where it is, it just looks at the nearest row marker. It's a bit like numbering the rows on a spreadsheet so any cell can instantly know its position.
The patent also covers a training improvement that stops text-understanding and image-generating tasks from interfering with each other inside the same AI model. That's the kind of behind-the-scenes work that, if it holds up, could make multimodal AI tools produce better images with less computing power.
… sampling, by the AI model, a border token to indicate a beginning of the respective row of tokens; attending, by the AI model, to at least one of the tokens making up the respective row by referencing the border token at the beginning of the respective row to locate the at least one of the tokens making up the respective row; …
Translation: The system marks the start of each picture row so the AI can track where everything goes.
How the AI uses row markers to find pixels fast
Modern AI image generators work by producing a sequence of tokens (small encoded chunks of data) one at a time, in order. To generate each new token correctly, the model uses a process called attention, which means it looks back at all the tokens it has already produced to understand context. The problem: as images get larger, the number of tokens grows fast, and attending to all of them becomes computationally expensive.
OpenAI's system inserts a border token at the start of each row of image tokens. Think of it like a bookmark at the beginning of every line of text. When the model needs to understand where a particular image token sits spatially, it references that row's border token rather than scanning the entire sequence from the beginning. This lets it determine position more efficiently.
The generation loop works like this:
- Receive a prompt requesting an image.
- For each row, sample a border token to mark the row's start.
- Generate tokens for that row, using the border token as a spatial anchor.
- Repeat until the full image is assembled.
The patent also addresses a separate problem in multimodal models (AI that handles both text and images): training the two capabilities together can cause them to interfere with each other, degrading performance on both. The filing describes a training approach designed to reduce that interference, though the specific mechanism is described at a high level in the abstract.
… using border tokens output by an AI model at the beginning of respective rows of a set of image tokens. Thus, the AI model can reference an image token's position based on its position from a border token.
Translation: By measuring distance from these row markers, the AI figures out token positions much faster.
What this means for AI image tools you already use
For everyday users, a more efficient image-generation process means faster results and potentially higher-resolution images without requiring dramatically more computing power. OpenAI's run of multimodal architecture filings suggests the company is investing seriously in making text-and-image models work better together, which matters for products like ChatGPT that already mix the two.
The border-token approach is also notable because it is a structural change to how the model processes images, not just a matter of throwing more hardware at the problem. If it works as described, it could apply to any autoregressive image model, not just OpenAI's own, making this a filing that competitors will study closely.
OpenAI's second filing we've tracked in our AI image and video coverage since September builds on one that picks and redraws photos.
Source: US 2026/0289826 A1 at the USPTO (PDF). Full patent text and figures are in the official publication.
Get our take in your Top Stories
Liked this breakdown? Add Patentlyze as a preferred source on Google, and our plain-English take shows up more often in your Top Stories the next time OpenAI patent news breaks.
We read every patent application Big Tech publishes and send you the ones worth knowing. Plain English, free, every week.
The drawings · 10 sheets
10 drawing sheets from US 2026/0289826 A1 · click any drawing to enlarge

No comments yet