IBM Patents Chatbot AI That Reads and Responds Without Exposing Private Data
Doing math on encrypted data can be up to 100,000 times slower than normal. IBM's patent application goes after the exact step that makes chatbot-style AI so hard to run that way.

- Publication number
- US 2026/0379637 A1(US20260379637A1)
- USPTO patent title:
- Encryption-Friendly Autoregressive Transformers for Efficient Decoding
- Applicant
- International Business Machines Corporation
- Filed · Published
- May 22, 2025 · Nov 26, 2026
- Inventors
- Itamar Zimerman, Reut Meiri, Matan Avitan, Nir Drucker, OMRI SOCEANU
- Status when we published
- Waiting for an examiner
- Document
- 20 claims
- US classification
- 706/46
What IBM's encrypted-chatbot patent actually does
Every time you send a message to an AI chatbot, your words land on someone else's computer, and that computer normally has to unscramble them to write a reply. Encryption protects the message on the way there and while it sits in storage, but not while the machine is working on it.
There is a workaround called homomorphic encryption, where the computer does its math on data that stays scrambled the whole time, and only you can read the answer. The catch is speed: the filing says it can run two to five orders of magnitude slower, which means 100 to 100,000 times slower.
IBM's patent application reworks how a text-writing AI picks its next word so it needs far fewer of those slow steps. The trick is to do part of the math ahead of time, using notes the AI already saved from earlier words, instead of redoing it for every new word.
… converting a defined attention function to a modified attention function having enhanced computationalities over homomorphic encryption; …
Translation: Rewriting the AI's core math so it can process data while it remains fully encrypted.
How IBM moves a costly division out of the way
The patent describes a way to rebuild a transformer (the design behind most chatbot-style AI) so it can write text one piece at a time while all the data stays encrypted. Encryption of this type can mostly add and multiply, so the hard functions inside the AI, like division, get swapped for polynomial stand-ins (simple add-and-multiply formulas that approximate them).
The key change is inside the Softmax step, the calculation that scores how much each earlier word matters to the next one. Normally it divides by a total that includes the current word, so the division cannot start until that word arrives. The patent drops the current word from that total, using a small constant instead, and replaces a dot product with a sum over the saved keys. The results:
- The division depends only on saved (cached) data, so it can be done before the next word arrives.
- Divisions for every layer of the AI can be batched and run in parallel.
- The formula 1/x is swapped for 1/(1+x), or a square-root version, which is easier to approximate.
This saves time because each back-to-back multiplication adds noise to the encrypted data, and too many force a slow refresh called bootstrapping. The filing estimates the multiplication depth per generated word drops from about N times K to about N plus K, where N is the number of layers and K is the depth of one division. The model is then retrained or fine-tuned.
Approximate non-polynomial computation techniques are applied to a transformer model of the modified transformer architecture to generate a polynomial transformer.
Translation: Simplifying complex AI equations into a math format that works with encrypted data.
What this means for private AI in the cloud
If you have ever hesitated before pasting something private into a chatbot, this is the problem the patent targets. With encryption that allows math on scrambled data, a cloud server could in principle answer without ever seeing your text. Claim 8 names privacy-preserving natural language processing as the goal. The obstacle is speed, and IBM's approach goes after the number of slow refresh steps (bootstraps) that deep AI models trigger layer after layer.
The filing also ties the work to HElayers, IBM's software kit for running encrypted workloads, saying the method would let it support transformers. One caution: the only result shown is a chart of accuracy, where the modified model reaches comparable perplexity (a measure of how well it predicts the next word) after enough training. The filing gives no real-world speed numbers, so how fast this would be is still unknown.
This is the 15th IBM filing we've tracked since July in our on-device AI privacy watchlist, following work on training on hidden data and keeping company data hidden.
Source: US 2026/0379637 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 IBM patent news breaks.
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 · 5 sheets
5 drawing sheets from US 2026/0379637 A1 · click any drawing to enlarge

No comments yet