A New Qualcomm Patent Folds a Chatbot's Safety Checker Into the Chatbot Itself
A chatbot's safety filter is usually a second AI that reads every answer before you do. Qualcomm's patent application describes squeezing that filter into a few thousand extra numbers attached to the chatbot itself.

- Publication number
- US 2026/0387480 A1(US20260387480A1)
- USPTO patent title:
- Distilling Machine Learning Systems via Learnt Soft Prompts
- Applicant
- QUALCOMM Incorporated
- Filed · Published
- May 29, 2025 · Dec 3, 2026
- Inventors
- Motasem H.A. ALFARRA, Dana KIANFAR, Cristina PINNERI, Christos LOUIZOS
- Status when we published
- Examiner raised objections; the company can respond
- Document
- 20 claims
- US classification
- 704/9
- Examiner
- DORVIL, RICHEMOND (Art Unit 2658)
What Qualcomm's built-in chatbot safety check does
You ask a chatbot on your phone something borderline. Before the answer reaches you, a second AI reads it and decides whether to show it or swap in a refusal like "Sorry, I cannot help with this matter." That safety checker is called a guard model, and running it next to the chatbot means running two big AI programs at once.
Qualcomm's patent application describes a shortcut. Instead of keeping the checker around, the company trains a small set of extra numbers, called a soft prompt, that gets attached to whatever you type. Those numbers carry what the checker would have taught, so the single chatbot answers normally when things are fine and refuses when the two-model setup would have.
The filing says a few thousand of these numbers can be enough, and that they stay fixed once the chatbot is out on a device.
… obtain second embeddings that represent a distillation of a reference model system comprising a reference language model and a guard model, the guard model configured to filter content generated by the reference language model; …
Translation: It packs the safety filter directly into the language model's inner workings.
How a learned soft prompt stands in for the guard
The claims cover a language model (the AI that writes replies) that works in a few steps. First, your typed prompt goes through the model's embedding layer, which turns words into lists of numbers the model can work with. Those are the first embeddings.
Second, the model pulls in a stored set of extra embeddings that represent a distillation (a compressed copy of learned behavior) of a reference setup: a regular language model plus a guard model that filters its output. The two sets are combined, in one version by joining them end to end (concatenating). The combined list then runs through the rest of the model, such as attention layers and feed-forward layers, to produce a response.
Training happens ahead of time. The extra embeddings, called a soft prompt, are adjusted until the single model's output sits as close as possible to what the two-model setup would have produced, including its refusal message and the fluency of its answers. The filing describes a loss function (a score of how far off the copy is) built on total variation distance (a measure of how far apart two sets of likely answers are), plus an upper-bound version that is easier to optimize. Once learned, the numbers are frozen.
The description also says the same learned parameters could be packaged as low-rank adapters (small add-on modules that tweak a frozen model).
… combine the first embeddings and the second embeddings to generate combined embeddings, process the combined embeddings using an additional layer of the language model to generate a response, and process the response to generate output content.
Translation: The AI merges the user prompt with the safety data to craft a secure final answer.
Why phone-sized chatbots need cheaper safety checks
If this works the way the filing describes, a chatbot running on your own phone could carry its safety rules inside itself instead of leaning on a second AI. That means less memory, less battery drain and less waiting. The description says running two large models at once is impractical for devices with limited computing power, and it also points out that squeezing a model down to fit on a device can make unsafe replies more likely.
Keep expectations in check. The filing gives no figures beyond saying a few thousand parameters is enough, and it admits that guard-model setups can be fooled by adversarial prompts. The examiner's first review rejected the claims as filed, which is routine and usually followed by amendments.
Qualcomm's sixth filing we've tracked since July in the AI guardrails race follows earlier applications including one on grading AI cell-tower predictions and another rating accuracy per task.
Source: US 2026/0387480 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 Qualcomm 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 · 9 sheets
9 drawing sheets from US 2026/0387480 A1 · click any drawing to enlarge

No comments yet