IBM · Filed Apr 30, 2025 · Published Nov 5, 2026

IBM Files Patent for an AI Chatbot That Decides How Hard to Search Before Answering

IBM's filing describes an AI that sizes up each question before it searches, then learns from your clicks whether it dug too deep or not deep enough. Easy questions get a quick lookup, and hard ones get the full treatment.

An overview of how an AI chatbot learns whether to answer with a quick keyword check or by combing through full documents. Drawing from patent filing US 2026/0350006 A1.
An overview of how an AI chatbot learns whether to answer with a quick keyword check or by combing through full documents.
See all 11 drawings from this filing ↓
Publication number US 2026/0350006 A1 US20260350006A1
Applicant INTERNATIONAL BUSINESS MACHINES CORPORATION
Filing date Apr 30, 2025
Publication date Nov 5, 2026
Inventors Vipul MAHAJAN, Bharath BHUSHAN S N, Serge MONNEY
US classification 707/718
Examiner MARI VALCARCEL, FERNANDO MARIANO (Art Unit 2159)
Status when we published Waiting for an examiner (Sep 16, 2026)
Document 20 claims

What IBM's search-depth patent does for AI answers

A librarian gets two requests in the same hour. One person wants to know when the library closes. Another wants everything on how freelance tax rules changed in three countries. Nobody would send both requests through the same process.

Many AI chat tools that look up documents before answering do roughly that, according to this IBM filing: they use one fixed search setting for every question. That can waste computer power on easy questions or leave hard ones with too little to work from.

IBM's patent application describes a program that sizes up each question first, then picks a quick keyword search, a deeper meaning-based search, or a mix of the two. It then learns from your clicks and from how long the answer took, so its choices improve over time.

From the filing · CLAIM 1
dynamically determining, using a reinforcement machine learning model, a retrieval depth for a retrieval process of the hybrid retrieval engine based on the query to the hybrid retrieval engine …

Translation: An AI model figures out how deeply to search for information based on the user's question.

How IBM's AI scores a question before it searches

The filing covers a retrieval-augmented generation system (RAG, an AI setup where a chatbot first looks up relevant documents in a database, then hands them to a large language model to write the answer). Claim 1 adds a layer in front of that lookup: a reinforcement learning model (a program that learns by trial, reward and penalty) picks a retrieval depth for each question, based partly on how complex the question is.

The depth is a choice among search strategies:

  • Shallow: keyword search, fast but surface-level.
  • Intermediate: keyword filtering first to narrow things down, then a meaning-based search on what is left.
  • Deep: semantic search, which matches on meaning and costs more computing power.

Complexity is judged using language processing on traits like question length, keyword density and specialized terms. If a question has several parts, the system splits it into sub-questions and picks a depth for each. It can also tune how much time the search gets and how many documents it pulls.

Learning comes from feedback turned into numerical rewards. Clicks on relevant documents earn a positive reward, while high delay or no interaction earns a negative one. The description names Q-learning (a table of scores for each possible choice) and an epsilon-greedy policy (mostly use what has worked, occasionally try something new).

From the filing · THE ABSTRACT
… based, at least in part, on complexity of the query to the hybrid retrieval engine.

Translation: The depth of the search depends on how complicated the question is.

Why faster, cheaper AI lookups matter for IBM

If you have ever waited while an AI assistant chewed on a simple question, this is the problem the filing targets. Matching effort to the question could mean quicker replies to easy asks and more thorough digging for hard ones, with less computing power burned on the easy ones. The filing's own examples lean toward business settings: cloud technical support, troubleshooting automated systems and data engineering.

For companies running these systems, the draw is cost and scale. The description says the control can be added to existing RAG systems and spread across multiple computers, with advance fetching to cut delay on complex questions. The claims also cover learning from user feedback, so the system would adjust to the questions its own users actually ask.

IBM's 48th filing in the AI assistant and agent patents we've tracked since May follows one on grading your AI prompts and one on AI coding memory.

Editorial take

Of everything an AI company could patent, this one sits close to ready. It needs no new hardware: it is a decision layer placed in front of a document search system a company already runs. The parts it relies on (a question scorer, three search modes, a click and delay tracker) are ordinary software, and the filing says it can be added to existing systems.

What has to exist first is the plumbing. A company needs a working lookup setup with both keyword and meaning-based search, plus enough real users to produce click and timing data for the learning to work with. The filing says the model can start with fixed rules and improve from there, which is the sensible shortest route to a product.

The filing gives no test results. Whether the learned choices beat a simple rule like 'short question, quick search' is the open question. Verdict: a routine idea, and a practical one to put into use.

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.

There are more where this came from

We read every patent application Big Tech publishes and send you the ones worth knowing. Plain English, free, every week.

The drawings

11 drawing sheets from US 2026/0350006 A1 · click any drawing to enlarge

Hardware and cloud networks that host the AI system, drawing sheet 1 from US 2026/0350006 A1
Sheet 1 Hardware and cloud networks that host the AI system
Software parts that decide search depth and handle feedback, drawing sheet 2 from US 2026/0350006 A1
Sheet 2 Software parts that decide search depth and handle feedback
Steps for answering a prompt and improving future searches, drawing sheet 3 from US 2026/0350006 A1
Sheet 3 Steps for answering a prompt and improving future searches
Main components of the question answering server, drawing sheet 4 from US 2026/0350006 A1
Sheet 4 Main components of the question answering server
Training the AI model using real examples and quality checks, drawing sheet 5 from US 2026/0350006 A1
Sheet 5 Training the AI model using real examples and quality checks
How messages travel between parts during a single question, drawing sheet 6 from US 2026/0350006 A1
Sheet 6 How messages travel between parts during a single question
Complete setup for ingesting documents and returning answers, drawing sheet 7 from US 2026/0350006 A1
Sheet 7 Complete setup for ingesting documents and returning answers
Picking search depth based on prompt difficulty and past scores, drawing sheet 8 from US 2026/0350006 A1
Sheet 8 Picking search depth based on prompt difficulty and past scores
Show the other 3 sheets
Combining retrieved data into an AI prompt, drawing sheet 9 from US 2026/0350006 A1
Sheet 9 Combining retrieved data into an AI prompt
Using response ratings and speed to train future searches, drawing sheet 10 from US 2026/0350006 A1
Sheet 10 Using response ratings and speed to train future searches
How the AI learns over time when to search deeply, drawing sheet 11 from US 2026/0350006 A1
Sheet 11 How the AI learns over time when to search deeply
Browse all the drawings 11 drawing sheets
Patent filing page

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

Be the first to weigh in

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.