IBM · Filed Jan 29, 2025 · Published Jul 30, 2026 · verified — real USPTO data

IBM Patent: Finding the Best Instructions and Settings for AI to Give Accurate Answers

Getting an AI model to give good answers isn't just about what you ask, it's also about dozens of invisible dials controlling how the model thinks. IBM wants to tune both at the same time, automatically.

IBM Patent: Auto-Tuning AI Prompts and Model Settings — figure from US 2026/0220501 A1
Figure from the official USPTO publication.
See all 13 drawings from this filing ↓
Publication number US 2026/0220501 A1
Applicant International Business Machines Corporation
Filing date Jan 29, 2025
Publication date Jul 30, 2026
Inventors Anna Wanda Topol, Dharmashankar Subramanian, Radu Marinescu, Long Vu, Elizabeth Daly
CPC classification 706/46
Grant likelihood Medium
Examiner CENTRAL, DOCKET (Art Unit OPAP)
Status Docketed New Case - Ready for Examination (Mar 19, 2025)
Document 20 claims

What IBM's prompt-and-settings auto-tuner actually does

Imagine you're trying to get a consistent, accurate answer from an AI assistant at work. You tweak the question, rephrase it, try it as a bullet list instead of a paragraph, and you still don't know if the settings behind the scenes are working against you. That's the problem IBM is addressing here.

The system described in this patent tries different combinations of question formats (called prompt templates) and technical model settings (like how creative or conservative the AI's responses are) simultaneously. It scores each combination against a set of correct answers you already know, and surfaces the pairing that performs best.

The practical effect: instead of a developer manually experimenting with dozens of settings and dozens of prompt formats separately, a tool would run that search automatically and hand you the winning combination.

How the search engine scores prompt-and-hyperparameter combos

The patent describes a system that treats both prompt templates (the structural format of the question you send to an AI) and inference hyperparameters (settings like temperature, top-p, and max tokens that control how the AI generates its response) as variables to optimize together.

Here's the flow:

  • You provide natural language questions and a set of sample prompts, along with the answers those prompts should produce.
  • The system builds a search space combining all possible prompt structures and all candidate hyperparameter values.
  • A hyperparameter optimization algorithm (a structured search that efficiently explores a large set of combinations rather than brute-forcing every option) runs across that space.
  • Each candidate combination is scored using a loss metric (a number measuring how far the AI's output strays from the expected correct answer). Lower loss means better performance.

The result is a single recommended pairing: one prompt template and one set of model settings that together produce the most accurate outputs on your test cases. The system then presents that combination to the user.

What this means for teams building on generative AI

For any company using a generative AI model internally, prompt engineering and model configuration are usually handled separately, by different people, often by trial and error. This patent describes combining those two processes into one automated search, which could cut the setup time for deploying an AI tool from days to hours.

IBM's enterprise customers are the obvious audience: large organizations that need AI outputs to be reliable and reproducible across thousands of queries. If this becomes a product feature inside IBM's watsonx platform, it would give buyers a faster on-ramp to trustworthy AI behavior without needing deep machine-learning expertise on staff.

Editorial take

This is a solid, practical piece of automation aimed squarely at the friction point every enterprise AI team hits: the painful overlap between prompt design and model configuration. It's not a flashy research breakthrough, but it addresses a real workflow problem. IBM's positioning here is sensible, even if competitors like Google and Microsoft are working on similar ideas.

The drawings

13 drawing sheets from US 2026/0220501 A1 · click any drawing to enlarge

Patent filing page

Which company should we read for you?

We track 17 companies here. Pro is the same weekly breakdown for any company you choose, delivered privately. Type a name and we'll scope it and send you a quote.

Get one Big Tech patent every Sunday

Plain English, intelligent commentary, no hype. Free.

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

Editorial commentary on a publicly published patent application. Not legal advice.