Get the newsletter
Tesla · Automotive · Filed Jun 25, 2025 · USPTO published Oct 1, 2026 · Oct 1 release

Tesla Patents a Faster Method for Teaching Its Self-Driving AI to Focus

Every time a Tesla's self-driving system scans the road, an AI model has to sort through a flood of information and decide what matters. Tesla just filed a patent for a trick that lets that sorting happen faster, without a step that normally wastes a lot of memory.

A self-driving car navigates a complex intersection with other vehicles and a pedestrian. Drawing from patent filing US 2026/0296484 A1.
A self-driving car navigates a complex intersection with other vehicles and a pedestrian.All 10 drawings ↓
Publication number
US 2026/0296484 A1(US20260296484A1)
Applicant
Tesla, Inc.
Filed · Published
Jun 25, 2025 · Oct 1, 2026
Inventors
Ritvik RAWAT, Srihari SAMPATHKUMAR
Status when we published
Examiner raised objections; the company can respond
Document
20 claims
US classification
701/24
Examiner
OVALLE JR., DAVID MESQUITI (Art Unit 3669)
Parent application
Claims priority from a provisional application 63780063 (filed Mar 28, 2025)

What Tesla's attention-masking shortcut does for its cars

Every time a self-driving car processes the world around it, an AI model called a transformer runs in the background, weighing which pieces of sensor data are relevant to each other. That process involves a kind of filter called an attention mask, and building that filter the traditional way takes up a large chunk of memory.

Tesla's patent describes a way to run the same filter without ever fully building it. Instead, the system figures out on the fly whether each piece of data should be included or excluded, using just the position of that piece in the sequence. The check gets folded into a calculation that was already happening, so there's almost no added cost.

The result is that the AI can handle more data at once, or run faster on the same hardware, which matters a lot when a car has to make decisions in a fraction of a second.

From the filing · CLAIM 1
… generating, by the one or more processors, a score in accordance with a softmax computation and a masking condition based on the row index value and the column index value; and transmitting, by the one or more processors, to an autonomous navigation application, at least one weight based on the score …

Translation: The system calculates attention scores while applying rules to ignore irrelevant data, then sends these weights to the driving software.

How Tesla skips the full mask and still gets the right answer

Transformer models (the same family of AI behind large language models) process sequences of data by scoring how much each element should "attend to" every other element. In self-driving, those elements might be frames of camera data, radar pings, or map features.

The standard approach builds a full attention mask, a large matrix of ones and zeros that tells the model which pairs of data points are allowed to interact. For long sequences, that matrix can be enormous and slow to generate.

Tesla's method skips materializing that matrix entirely. Instead:

  • The input matrix is split into smaller chunks called submatrices, one per available processor.
  • Each processor is told only the row and column coordinates of its chunk, not the full mask.
  • A simple comparison (is this row index greater than or equal to this column index?) decides whether a given data pair should be masked out.
  • That comparison is fused into the softmax step, meaning the check happens as part of a calculation the processor was already doing, adding almost no extra time.

The patent specifically covers causal masks (which prevent the model from looking ahead in a sequence) and batched masks (which handle multiple sequences at once). Both are common in real-time AI inference on edge hardware, like the computer inside a vehicle.

From the filing · THE ABSTRACT
This approach supports causal and batched masks with minimal overhead and is well-suited for applications such as autonomous navigation, where computed weights guide downstream decision-making.

Translation: This method handles the heavy math efficiently so self-driving cars can make split-second steering and braking decisions.

What this means for real-time decisions inside a self-driving car

For a self-driving system, the speed of AI inference is a hard limit on safety. A model that takes too long to process a scene may produce a steering or braking decision that arrives too late. Reducing the memory overhead of attention calculations means the same chip can either run faster or handle more complex inputs, both of which help at the margins.

Tesla keeps filing on on-vehicle AI inference This is an internal optimization, not a new sensor or new model architecture. It won't change what the car perceives, but it could reduce the computational cost of perceiving it, which matters most when Tesla's custom AI hardware is already running near capacity during complex driving situations.

Tesla's ninth filing we've tracked since May on our camera-only vision work builds on earlier applications including one mapping still objects nearby and one reading cameras for blind spots.

Source: US 2026/0296484 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 Tesla patent news breaks.

There are more where this came from

We read the new patents from Big Tech, carmakers and more and send you the ones worth knowing. Plain English, free, every week.

The drawings · 10 sheets

10 drawing sheets from US 2026/0296484 A1 · click any drawing to enlarge

Self-driving cars and human connected system., drawing sheet 1 from US 2026/0296484 A1
Sheet 1 Self-driving cars and human connected system.
Self-driving car sensors and systems., drawing sheet 2 from US 2026/0296484 A1
Sheet 2 Self-driving car sensors and systems.
Self-driving car with external sensors., drawing sheet 3 from US 2026/0296484 A1
Sheet 3 Self-driving car with external sensors.
Steps for AI attention matrix processing., drawing sheet 4 from US 2026/0296484 A1
Sheet 4 Steps for AI attention matrix processing.
Grid for AI attention matrix., drawing sheet 5 from US 2026/0296484 A1
Sheet 5 Grid for AI attention matrix.
Grid for AI attention matrix., drawing sheet 6 from US 2026/0296484 A1
Sheet 6 Grid for AI attention matrix.
Processing element row and column indices., drawing sheet 7 from US 2026/0296484 A1
Sheet 7 Processing element row and column indices.
Data structures for processing elements., drawing sheet 8 from US 2026/0296484 A1
Sheet 8 Data structures for processing elements.
Show the other 2 sheets
Tesla Patents a Faster Method for Teaching Its Self-Driving AI to Focus patent drawing, sheet 9
Sheet 9
Tesla Patents a Faster Method for Teaching Its Self-Driving AI to Focus patent drawing, sheet 10
Sheet 10
Patent filing page

Watchlists this filing belongs to

All watchlists →
Reader comments

No comments yet

Start the discussion

Real name or a handle, either is fine. Comments are read by a person before they appear, so allow a little time. Keep it about the filing.