LARGE MODEL-BASED INFORMATION PROCESSING
Abstract
A large model-based information processing method, an apparatus, a device, and a medium are provided, which relate to the technical field of artificial intelligence, particularly to the technical fields of machine learning, deep learning, large models and the like. The method includes: obtaining a user input; determining a target working mode from a plurality of predefined working modes, where each predefined working mode has a corresponding inference strategy and is provided with a mode control identifier for triggering the inference strategy; and inputting the user input and the mode control identifier of the target working mode into the large model to obtain target output data generated by the large model based on the inference strategy of the target working mode.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 0 · Forward citations: 1.
Claims (14 — 3 Independent, 11 Dependent)
- Claim 1Independent Claim
A computer-implemented large model-based information processing method, comprising: obtaining a user input; determining a target working mode from a plurality of predefined working modes, wherein each predefined working mode is associated with a corresponding inference strategy and a mode control identifier for triggering the corresponding inference strategy; and inputting the user input and the mode control identifier of the target working mode into the large model to obtain target output data generated by the large model based on the inference strategy corresponding to the target working mode.
- Claim 2Depends on #1
The method according to claim 1, wherein the respective mode control identifiers corresponding to the plurality of predefined working modes are each configured to include a unified inference start identifier, and indicate the large model to trigger the corresponding inference strategy by appending or omitting a subsequent identifier after the unified inference start identifier, wherein the subsequent identifier include an inference end identifier and/or a logical separation identifier.
- Claim 3Depends on #2
The method according to claim 2, wherein the plurality of predefined working modes includes a forced inference mode, and the mode control identifier corresponding to the forced inference mode includes the logical separation identifier appended after the inference start identifier and does not include the inference end identifier, in response to the large model detecting a mode control identifier corresponding to the forced inference mode, the target output data sequentially includes an inference process text, the inference end identifier, and response data for the user input generated based on the inference process text.
- Claim 4Depends on #2
The method according to claim 2, wherein the plurality of predefined working modes includes a non-inference mode, and the mode control identifier corresponding to the non-inference mode includes the inference end identifier appended after the inference start identifier, wherein in response to the large model detecting a mode control identifier corresponding to the non-inference mode, the target output data includes response data for the user input generated by the large model after skipping the inference process.
- Claim 5Depends on #2
The method according to claim 2, wherein the plurality of predefined working modes includes a large model autonomous inference mode, and the mode control identifier corresponding to the large model autonomous inference mode omits the subsequent identifier after the inference start identifier, wherein in response to the large model detecting a mode control identifier corresponding to the large model autonomous inference mode and the large model autonomously determining, based on the user input, that an inference process needs to be performed, the target output data sequentially includes the logical separation identifier, an inference process text, the inference end identifier, and response data for the user input generated based on the inference process text.
- Claim 6Depends on #5
The method according to claim 5, wherein in response to the large model detecting a mode control identifier corresponding to the large model autonomous inference mode and the large model autonomously determining, based on the user input, that no inference process needs to be performed, the target output data includes the inference end identifier and response data for the user input generated by the large model after skipping the inference process.
- Claim 7Depends on #2
The method according to claim 2, further comprising: determining a target inference intensity, wherein the target inference intensity represents a desired target length of the inference process text generated by the large model, wherein in response to determining that the large model needs to perform an inference process, the large model generates the inference process text based on the inference intensity.
- Claim 8Depends on #7
The method according to claim 7, wherein the large model generates, using an autoregressive approach, the target output data based on the user input, the mode control identifier corresponding to the target working mode, and the generated tokens, and the inputting the user input and the mode control identifier of the target working mode into the large model comprises: forcibly inputting, in response to the length of the inference process text that has been generated by the current large model exceeding the target length, the inference end identifier to the large model; and obtaining the response data for the user input generated by the large model after the inference end identifier.
- Claim 9Depends on #7
The method according to claim 7, further comprising: inputting the inference intensity as system information into the large model.
- Claim 10Depends on #2
The method according to claim 2, wherein the large model is trained using the following data: inference sample data, including a first sample input, the inference start identifier, a first inference process text, the inference end identifier, and first sample response data; and non-inference sample data, including a second sample input, the inference start identifier, the inference end identifier, and second sample response data.
- Claim 11Depends on #10
The method according to claim 10, wherein the semantic complexity of the first sample input is greater than the semantic complexity of the second sample input.
- Claim 12Depends on #10
The method according to claim 10, wherein the large model is trained using the following operations: generating, for the same sample input, a plurality of inference paths using a large model to be trained, wherein each inference path has a corresponding inference process text and response data; calculating, for each inference path, an inference overhead; identifying at least one inference path with correct response data and ranking the at least one inference path based on the inference overhead; and preferentially using, based on the ranking result, the inference path with lower inference overhead to guide training of the large model to be trained to obtain the large model.
- Claim 13Independent Claim
An electronic device, comprising: one or more processors; a memory storing one or more programs configured to be executed by the one or more processors, the one or more programs including instructions for: obtaining a user input; determining a target working mode from a plurality of predefined working modes, wherein each predefined working mode is associated with a corresponding inference strategy and a mode control identifier for triggering the corresponding inference strategy; and inputting the user input and the mode control identifier of the target working mode into the large model to obtain target output data generated by the large model based on the inference strategy corresponding to the target working mode.
- Claim 14Independent Claim
A non-transient computer-readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by one or more processors of an electronic device, cause the electronic device to: obtain a user input; determine a target working mode from a plurality of predefined working modes, wherein each predefined working mode is associated with a corresponding inference strategy and a mode control identifier for triggering the corresponding inference strategy; and input the user input and the mode control identifier of the target working mode into the large model to obtain target output data generated by the large model based on the inference strategy corresponding to the target working mode.
Technical Overview & Description
CROSS REFERENCE TO RELATED APPLICATION This application claims priority to Chinese Patent Application No. 202510830476.6, filed on Jun. 19, 2025, the contents of which are hereby incorporated by reference in their entirety for all purposes. TECHNICAL FIELD The present disclosure relates to the technical field of artificial intelligence, particularly to the technical fields of machine learning, deep learning, large models and the like, and specifically to a large model-based information processing method, a large model-based information processing apparatus, an electronic device, a computer-readable storage medium, and a computer program product. BACKGROUND Artificial intelligence is the discipline of studying how computers can simulate certain thinking processes and intelligent behaviors of a human being (such as learning, reasoning, thinking, planning, etc.), and there are both hardware-level and software-level technologies. The artificial intelligence hardware technologies generally include technologies such as sensors, special artificial intelligence chips, cloud computing, distributed storage, big data processing, etc. The artificial intelligence software technologies mainly include natural language processing technology, computer vision technology, speech recognition technology, machine learning/deep learning, big data processing technology, knowledge graph technology and other major technological directions. With the rapid development of large language models (LLM), large models that support inference have achieved significant results in multiple tasks. Such a model can generate intermediate steps of the inference process, decompose a complex problem into a plurality of sub-problems, progressively validate the inference chain, and provide the basis for subsequent response content. Subsequently, the large model for generation can complete the final output based on the inference result. This approach not only enhances the accuracy of the output content but also
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 12,809,391 B2 | Systems and methods for building and controlling a self-driving robot | 2026 | 0 |
References Cited — Backward Prior Art (0)
No backward patent references recorded.