Result generation method, generation model training method, electronic device, and storage medium

US2025384070A1 · US · A1

Patent metadata
FieldValue
Publication numberUS-2025384070-A1
Application numberUS-202418933349-A
CountryUS
Kind codeA1
Filing dateOct 31, 2024
Priority dateJun 18, 2024
Publication dateDec 18, 2025
Grant date

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Provided is a result generation method, a generation model training method, an electronic device and a storage medium, relating to the field of computer technologies, and in particular, to the field of search and generative model technologies. The result generation method includes: acquiring a change query corresponding to an input query; obtaining a reference result by searching according to the input query and the change query corresponding to the input query; and generating an output result corresponding to the input query according to the input query, the change query corresponding to the input query and the reference result.

First claim

Opening claim text (preview).

We claim: 1 . A result generation method, comprising: acquiring a change query corresponding to an input query; obtaining a reference result by searching according to the input query and the change query corresponding to the input query; and generating an output result corresponding to the input query according to the input query, the change query corresponding to the input query and the reference result. 2 . The method of claim 1 , wherein the acquiring of the change query corresponding to the input query, comprises: searching a change query dictionary for the change query corresponding to the input query. 3 . The method of claim 1 , wherein the obtaining of the reference result by searching according to the input query and the change query corresponding to the input query comprises: obtaining a multi-intent query according to the input query and the change query corresponding to the input query; and inputting the multi-intent query into a search engine to obtain the reference result. 4 . The method of claim 3 , wherein the obtaining of the multi-intent query according to the input query and the change query corresponding to the input query comprises: obtaining the multi-intent query by using a large language model to induce the input query and the change query corresponding to the input query. 5 . The method of claim 3 , wherein the generating of the output result corresponding to the input query according to the input query, the change query corresponding to the input query and the reference result comprises: inputting the multi-intent query and the reference result into a generation model to obtain the output result corresponding to the input query. 6 . The method of claim 1 , wherein a training sample of a generation model comprises a prompt and an answer, and the prompt comprises an original query, a change query, a search result, and a target instruction. 7 . The method of claim 1 , wherein an original query and the change query are obtained by sampling a change query dictionary. 8 . The method of claim 1 , further comprising: cleaning a plurality of change queries associated with an original query in a session according to a search intention of the original query. 9 . The method of claim 8 , wherein cleaning the plurality of change queries associated with the original query in the session according to the search intention of the original query comprises at least one of: obtaining, based on keyword matching, a first similarity between the original query and the change query in the session, determining whether the search intention of the original query is similar to a search intention of the change query according to the first similarity, and retaining the change query has the search intention similar to the original query; or obtaining, based on semantic understanding for intention discrimination, a second similarity between the original query and the change query in the session, determining whether the search intention of the original query is similar to the search intention of the change query according to the second similarity, and retaining the change query has the search intention similar to the original query. 10 . The method of claim 8 , further comprising: ranking the plurality of change queries associated with the original query based on a key feature, wherein the key feature includes at least one of: a change query rate, a change query source or feedback information after change query; and selecting a retained change query from the plurality of change queries associated with the original query according to a ranking result. 11 . The method of claim 10 , further comprising: aggregating, based on a dynamic time window, the original query and the retained change query according to the search intention. 12 . A generation model training method, comprising: inputting a prompt of a training sample into a generation model to be adjusted to obtain a predicted answer; and adjusting the generation model according to an expected answer of the training sample and the predicted answer, wherein the prompt of the training sample includes an original query, a change query, a search result and a target instruction. 13 . The method of claim 12 , wherein the prompt is assembled by: obtaining the original query and the change query corresponding to the original query by sampling a change query dictionary; obtaining a multi-intent query according to the original query and the change query; inputting the multi-intent query into a search engine to obtain a reference result; and assembling a task description area, an interactive information area, a search result area and an instruction area of the prompt according to the original query, the change query, the reference result and the target instruction. 14 . An electronic device, comprising: at least one processor; and a memory connected in communication with the at least one processor; wherein the memory stores an instruction executable by the at least one processor, and the instruction, when executed by the at least one processor, enables the at least one processor to execute the method of claim 1 . 15 . The electronic device of claim 14 , wherein the acquiring of the change query corresponding to the input query, comprises: searching a change query dictionary for the change query corresponding to the input query. 16 . An electronic device, comprising: at least one processor; and a memory connected in communication with the at least one processor; wherein the memory stores an instruction executable by the at least one processor, and the instruction, when executed by the at least one processor, enables the at least one processor to execute the method of claim 12 . 17 . The electronic device of claim 16 , wherein the prompt is assembled by: obtaining the original query and the change query corresponding to the original query by sampling a change query dictionary; obtaining a multi-intent query according to the original query and the change query; inputting the multi-intent query into a search engine to obtain a reference result; and assembling a task description area, an interactive information area, a search result area and an instruction area of the prompt according to the original query, the change query, the reference result and the target instruction. 18 . A non-transitory computer readable storage medium storing a computer instruction wherein the computer instruction causes a computer to perform the method of claim 1 . 19 . The non-transitory computer readable storage medium of claim 18 , wherein the acquiring of the change query corresponding to the input query, comprises: searching a change query dictionary for the change query corresponding to the input query. 20 . A non-transitory computer readable storage medium storing a computer instruction wherein the computer instruction causes a computer to perform the method of claim 12 .

Assignees

Inventors

Classifications

  • Machine learning · CPC title

  • Semantic analysis · CPC title

  • using natural language analysis · CPC title

  • Reuse of stored results of previous queries · CPC title

  • using system suggestions · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US2025384070A1 cover?
Provided is a result generation method, a generation model training method, an electronic device and a storage medium, relating to the field of computer technologies, and in particular, to the field of search and generative model technologies. The result generation method includes: acquiring a change query corresponding to an input query; obtaining a reference result by searching according to t…
Who is the assignee on this patent?
Baidu Com Times Tech Beijing Co Ltd
What technology area does this patent fall under?
Primary CPC classification G06F16/3349. Mapped technology areas include Physics.
When was this patent published?
Publication date Thu Dec 18 2025 00:00:00 GMT+0000 (Coordinated Universal Time) (A1). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 5 related publications on this page (citations in our corpus or others sharing the same primary CPC).