Notice of Pre-AIA or AIA Status
The present application, filed on or after March 16, 2013, is being examined under the first inventor to file provisions of the AIA .
Response to Amendment
Claims 1, 7, 12, 14, 16 have been amended. Claims 1-20 are presented for examination.
Response to Arguments
Applicants’ arguments filed on 9/04/2026 have been reviewed. Following are the responses to the amendments.
Rejection under 35 U.S.C. 101
Applicant arguments have been considered and are persuasive, hence the rejection under
35 U.S.C. 101 is withdrawn.
Rejection under 35 U.S.C. 102/103
Applicant argues that the previously applied prior art fails to disclose the amended
limitations of independent claims 1, 12. Examiner agrees that the previously applied
combination does not disclose the amended limitations. Accordingly, a new ground of rejection
has been entered based on Tiwari in view of Zhou and Wang as below.
Claim Rejections - 35 USC § 103
The following is a quotation of 35 U.S.C. 103 which forms the basis for all obviousness rejections set forth in this Office action:
A patent for a claimed invention may not be obtained, notwithstanding that the claimed invention is not identically disclosed as set forth in section 102, if the differences between the claimed invention and the prior art are such that the claimed invention as a whole would have been obvious before the effective filing date of the claimed invention to a person having ordinary skill in the art to which the claimed invention pertains. Patentability shall not be negated by the manner in which the invention was made.
The factual inquiries for establishing a background for determining obviousness under 35 U.S.C. 103 are summarized as follows:
1. Determining the scope and contents of the prior art.
2. Ascertaining the differences between the prior art and the claims at issue.
3. Resolving the level of ordinary skill in the pertinent art.
4. Considering objective evidence present in the application indicating obviousness or nonobviousness.
Claims 1, 3, 4, 6, 7, 8, 9, 11, 12, 15, 16, 17, 18, 20 are rejected under 35 U.S.C. 103 as being unpatentable over Tiwari et al. (US 20260093931 A1) in view of Zhou et al. (US 20250061286) and Wang et al. (“Hallucination Detection for Generative Large Language models by Bayesian Sequential Estimation”, Association for Computational Linguistics, pg. 15361-15371, December 2023)
Regarding claim 1, Tiwari teaches receiving an answer to a question from a large
language model into a hallucination detection system (Para 0039, “the language model server 202 may generate a response to the query and directly transmit the response to the hallucination detection server 302); checking the answer with predefined rules (Para 0016, “Determining … that one of the plurality of hallucination scores is above a hallucination score threshold; and in response … determining, by the one or more processors, the
confidence score without performing remaining hallucination evaluation”); and
determining a score for the answer using a model, wherein the score is a probability of whether
the answer is a hallucination. (Para 0007, “to determine a probabilistic score based on a
probability of the response to the query having a hallucination.”).
Tiwari doesn’t teach receiving an answer to a question from a retrieval augmented generation system into a hallucination detection system, wherein the hallucination detection system receives a context including a plurality of sources retrieved by the retrieval augmented generation system; calculating feature values for the answer after checking the answer with the predefined rules, wherein the feature values include adherence scores between each sentence in the answer and each source in the context
However, Zhou teaches receiving an answer to a question from a retrieval augmented generation system into a hallucination detection system, wherein the hallucination detection system receives a context including a plurality of sources retrieved by the retrieval augmented generation system (Para 0040, “multiple paragraphs may be retrieved … from different sections of different documents”); calculating feature values for the answer after checking the answer with the predefined rules, wherein the feature values include adherence scores between each sentence in the answer and each source in the context (Para 0048, “Each sentence of the natural language answer is compared with sentences in the natural language context information” and Para 0057 “the processor 112 determines the embedding similarity between each combination of sentences by calculating a cosine similarity”),
It would have been obvious to a person of ordinary skill in the art to modify Tiwari
before the effective filing date in such a way as to incorporate the teachings of Zhou in order to improve identification of unsupported statements, by determining sentence level adherence scores (Para 0048).
Tiwari modified by Zhou does not teach wherein, for each sentence in the answer, a most adherent source is identified based on the adherence scores, and wherein the feature values further include one or more of a minimum, a maximum, a mean, or a standard deviation calculated using a best adherence score for each sentence, and wherein the model is a classification model that receives the feature values as input.
However, Wang teaches wherein, for each sentence in the answer, a most adherent source is identified based on the adherence scores (Sec. 4.2, “selected the highest score as the veracity score for the sentence”), and wherein the feature values further include one or more of a minimum, a maximum, a mean, or a standard deviation calculated using a best adherence score for each sentence (Sec. 4.1, “we calculate the average score of all sentences in a passage”, wherein this constitutes a calculation using an average of all sentences), and wherein the model is a classification model that receives the feature values as input (Sec. 3.3, “The entailment feature is then input into a Naïve Bayes Classifier” wherein a Naïve Bayes Classifier constitutes a classification model).
It would have been obvious to a person of ordinary skill in the art to modify Tiwari before the effective filing date in such a way as to incorporate the teachings of Wang in order to allow the system to better identify unsupported sentences of generated answers (Sec. 4).
Regarding claim 3, Tiwari teaches wherein the predefined rules comprise hard rules
configured to determine whether the answer is a hallucination or not a hallucination (Tiwali
0072, “Instead, the query classification module 308a evaluates features of the query using a set
of rules to determine the probabilistic score.”), wherein the hallucination detection system
outputs a score of 100% hallucination when the answer satisfies at least one of the hard rules. (Para 0072, “For example, the query classification module 308a may assign a probability of 0 to
queries that request numerical or factual information and may assign a probability of 1 to queries
that do not” wherein the probability of 1 corresponds to a 100% probability that the output is a
hallucination).
Regarding claim 4 Tiwari teaches wherein the predefined rules comprise skipping rules
configured to determine whether the answer has sufficient context (hallucination score based on
the response and factual information, Fig 5 the numerical and factual evaluation
module 308b may determine whether the numbers and specific facts in the response match with
other reliable sources (e.g., sources in the database 154), Para 0073), wherein the hallucination
detection system outputs a score of 100% hallucination when the answer does not have sufficient
context (confidence score based on the reliability (factual information), 0073)
Although Tiwari teaches the hallucination confidence, it teaches the low confidence corresponds
to hallucination. It would have been obvious to one of ordinary skill in the art to assign the
maximum hallucination score when the evaluation indicated that there was insufficient context.
Doing so would represent a predictable use of Tiwari’s scoring to indicate the highest level of
hallucination risk.
Regarding claim 6, Tiwari teaches determining feature values, wherein at least one of the
feature values is determined by a model. (Para 0071 The query classification module 308 may
identify different features of the query).
Regarding claim 7, Tiwari teaches wherein the features include one or more features selected from the group consisting of: a word frequency similarity score, one or more ROUGE scores, an adherence score between the question and a context, an adherence score between the answer and the context, adherence scores between each sentence in the answer and each source in the context, adherence scores between each sentence and all sources in the context, textual entailment scores between the context and the answer. (Para 0128, “The RAGAs module 308f may then determine a faithfulness score based on the number of statements in the response that are supported by the context.” Wherein the faithfulness score is analogous to an adherence score between the answer and the context).
Regarding claim 8, Tiwari teaches inputting the features into the model to generate an
output (Para 0068, “the query classification module 308a may apply the features of the query to
the query classification model to determine the probabilistic score for the query.”), wherein the
output is a probability that the answer is a hallucination, wherein the model is a classification
model. (Para 0068, “to determine a probabilistic score based on a probability of the response
including a hallucination.”).
Regarding claim 9, Tiwari teaches performing feature engineering prior to training the
classification model (Para 0066, “the query classification module 308a may analyze each of the
queries in the first and second set to identify features of each query.”), and training the
classification model with a hallucination dataset and the engineered features. (Para 0067, “can
then train the query classification model using this dataset, so that the query classification model
… can distinguish between queries that are likely to result in hallucinations and queries that are
not.”).
Regarding claim 11, Tiwari teaches adjusting a threshold to change a level of
hallucination. (Para 0158, “For example, if the confidence score is above a
first threshold (0.85… but above a second threshold (e.g., between 0.7 and 0.85), the aggregation
module 308h may categorize the confidence score as medium.”).
Claim 12 is analogous to claim 1 in that it recites substantially the same limitations. It is therefore rejected for the same reasons set forth above.
Claim 15 is analogous to claim 6 in that it recites substantially the same limitations. It is therefore rejected for the same reasons set forth above.
Claim 16 is analogous to claim 7 in that it recites substantially the same limitations. It is therefore rejected for the same reasons set forth above.
Claim 17 is analogous to claim 8 in that it recites substantially the same limitations. It is therefore rejected for the same reasons set forth above.
Claim 18 is analogous to claim 9 in that it recites substantially the same limitations. It is therefore rejected for the same reasons set forth above.
Claim 20 is analogous to claim 11 in that it recites substantially the same limitations. It is therefore rejected for the same reasons set forth above.
Claim 2, 13 are rejected under 35 U.S.C. 103 as being unpatentable over Tiwari (US
20260093931 A1), Zhou (US 20250061286) and Wang (“Hallucination Detection for Generative Large Language models by Bayesian Sequential Estimation”, Association for Computational Linguistics, pg. 15361-15371, December 2023) as above and further in view of Cao et al. (US 20260099693 A1).
Regarding claim 2, Tiwari modified by Zhang does not teach wherein the answer
includes an answer to the question and sources retrieved by the retrieval augmented generation
system.
However, Cao teaches wherein the answer includes an answer to the question and sources
retrieved by the retrieval augmented generation system. (Para 0018, “the RAG response 128 is
either verbatim identical to the LLM response 126 or modified somehow by the RAG
assistant 106 (via re-formatting, addition of citations to source document(s)).” Where the
response can include citations).
It would have been obvious to a person of ordinary skill in the art to modify Tiwari
before the effective filing date in such a way as to incorporate the teachings of Cao in order to
improve transparency and verifiability of the response. (Para 0018).
Claim 13 is analogous to claim 2 in that it recites substantially the same limitations. It is
therefore rejected for the same reasons set forth above.
Claim 5, 14 are rejected under 35 U.S.C. 103 as being unpatentable over Tiwari (US
20260093931 A1), Zhou (US 20250061286) and Wang (“Hallucination Detection for Generative Large Language models by Bayesian Sequential Estimation”, Association for Computational Linguistics, pg. 15361-15371, December 2023) as above and further in view of Lok et al. (US 20250166026 A1).
Regarding claim 5, Tiwari modified by Zhou and Wang does not teach wherein the predefined rules comprise discarding rules configured to determine whether the answer includes generic text, wherein generic text is discarded from the answer when the discarding rules are satisfied.
However, Lok teaches wherein the predefined rules comprise discarding rules configured
to determine whether the answer includes generic text (Para 0087, “may insert a summary of the
product review that LLM 110 may have generated … to … remove filler content” wherein Lok
removes filler content from the output of a model), wherein generic text is discarded from the
answer when the discarding rules are satisfied. (Para 0087).
It would have been obvious to a person of ordinary skill in the art to modify
Tiwari before the effective filing date in such a way as to incorporate the teachings of
Lok in order to remove extraneous information which doesn’t contribute to the desired
evaluation (Para 0087).
Regarding claim 14, Tiwari teaches wherein the predefined rules comprise hard rules
configured to determine whether the answer is a hallucination or not a hallucination (Para 0072,
“Instead, the query classification module 308a evaluates features of the query using a set of rules
to determine the probabilistic score.”), wherein the hallucination detection system outputs a score
of 100% hallucination when the answer satisfies at least one of the hard rules (Para 0072, “For
example, the query classification module 308a may assign a probability of 0 to queries that request numerical or factual information and may assign a probability of 1 to queries that do
not”). wherein the predefined rules comprise skipping rules configured to determine whether the
answer has sufficient context ( hallucination score based on the response and factual information,
Fig 5 the numerical and factual evaluation module 308b may determine whether the numbers
and specific facts in the response match with other reliable sources (e.g., sources in the
database 154), Para 0073) , wherein the hallucination detection system outputs a score of 100%
hallucination when the answer satisfies at least one of the skipping rules ( confidence score based
on the reliability ( factual information), 0073). Although Tiwari teaches the hallucination
confidence, it teaches the low confidence corresponds to hallucination. It would have been
obvious to one of ordinary skill in the art to assign the maximum hallucination score when the
evaluation indicated that there was insufficient context. Doing so would represent a predictable
use of Tiwari’s scoring to indicate the highest level of hallucination risk.
Tiwari modified by Zhou and Wang does not teach wherein the predefined rules comprise discarding rules configured to determine whether the answer includes generic text, wherein generic text is discarded from the answer when the discarding rules are satisfied.
However, Lok teaches wherein the predefined rules comprise discarding rules configured
to determine whether the answer includes generic text (Para 0087, “may insert a summary of the
product review that LLM 110 may have generated … to … remove filler content” wherein Lok
removes filler content from the output of a model), wherein generic text is discarded from the
answer when the discarding rules are satisfied. (Para 0087).
It would have been obvious to a person of ordinary skill in the art to modify Tiwari
before the effective filing date in such a way as to incorporate the teachings of Lok in order to
remove extraneous information which doesn’t contribute to the desired evaluation (Para 0087).
Claim 10, 19 are rejected under 35 U.S.C. 103 as being unpatentable over Tiwari (US
20260093931 A1), Zhou (US 20250061286) and Wang (“Hallucination Detection for Generative Large Language models by Bayesian Sequential Estimation”, Association for Computational Linguistics, pg. 15361-15371, December 2023) as above and further in view of Zhang (US 20260072960 A1)
Regarding claim 10, Tiwari modified by Zhou and Wang does not teach performing hyperparameter optimization using multiple configurations of features, models, metrics, and the hallucination dataset.
However, Zhang teaches performing hyperparameter optimization using multiple
configurations of features, models, metrics, and the hallucination dataset. (Para 0046, “evaluation and tuning module 128 performs continuous model tuning by using hyperparameter optimization. Evaluation and tuning module 128 performs an exploration of the hyperparameter space using algorithms, such as grid search, random search, or more sophisticated methods like Bayesian optimization.”).
It would have been obvious to a person of ordinary skill in the art to modify
Tiwari before the effective filing date in such a way as to incorporate the teachings of
Zhang in order to improve model performance and optimize hallucination detection accuracy
(Para 0046).
Claim 19 is analogous to claim 10 in that it recites substantially the same limitations. It is
therefore rejected for the same reasons set forth above.
Conclusion
THIS ACTION IS MADE FINAL. Applicant is reminded of the extension of time policy as set forth in 37 CFR 1.136(a).
A shortened statutory period for reply to this final action is set to expire THREE MONTHS from the mailing date of this action. In the event a first reply is filed within TWO MONTHS of the mailing date of this final action and the advisory action is not mailed until after the end of the THREE-MONTH shortened statutory period, then the shortened statutory period will expire on the date the advisory action is mailed, and any nonprovisional extension fee (37 CFR 1.17(a)) pursuant to 37 CFR 1.136(a) will be calculated from the mailing date of the advisory action. In no event, however, will the statutory period for reply expire later than SIX MONTHS from the mailing date of this final action.
Any inquiry concerning this communication or earlier communications from the examiner should be directed to MICHAEL ALAN FOSTER JR. whose telephone number is (571)272-8874. The examiner can normally be reached M - F 8:00am - 5:00pm, Alternate Fridays Off.
Examiner interviews are available via telephone, in-person, and video conferencing using a USPTO supplied web-based collaboration tool. To schedule an interview, applicant is encouraged to use the USPTO Automated Interview Request (AIR) at http://www.uspto.gov/interviewpractice.
If attempts to reach the examiner by telephone are unsuccessful, the examiner’s supervisor, Hai Phan can be reached at (571) 272-6338. The fax phone number for the organization where this application or proceeding is assigned is 571-273-8300.
Information regarding the status of published or unpublished applications may be obtained from Patent Center. Unpublished application information in Patent Center is available to registered users. To file and manage patent submissions in Patent Center, visit: https://patentcenter.uspto.gov. Visit https://www.uspto.gov/patents/apply/patent-center for more information about Patent Center and https://www.uspto.gov/patents/docx for information about filing in DOCX format. For additional questions, contact the Electronic Business Center (EBC) at 866-217-9197 (toll-free). If you would like assistance from a USPTO Customer Service Representative, call 800-786-9199 (IN USA OR CANADA) or 571-272-1000.
/MICHAEL A FOSTER JR/Examiner, Art Unit 2654
/Richa Sonifrank/Primary Examiner, Art Unit 2654