An intelligent decision-making method and system based on automatic formalization
By transforming tasks and scenarios into a set of formalized decision problems, and utilizing mathematical solutions and bias calibration mechanisms, the problem of insufficient decision-making accuracy of intelligent agents is solved, thereby achieving reliability and accuracy of decisions, suppressing goal drift, and ensuring the interpretability and optimality of decisions.
Patent Information
- Application Number
- CN202611408147.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-11
- Publication Date
- 2026-11-27
AI Technical Summary
Existing intelligent agents struggle to guarantee the accuracy of their decisions during task execution. As the number of interaction rounds increases, the goals set in the early stages are easily diluted or forgotten, and the lack of a mechanism to correct deviations leads to decisions that deviate from the true objectives.
The task and scenario descriptions are transformed into a formalized set of candidate decision problems. The most credible decision problem is selected by a mathematical solver, the real-world scenario state is updated in real time, and decision bias is corrected through bias calculation and backtracking calibration mechanisms to ensure the accuracy of the decision.
It improves the reliability and accuracy of decision-making, effectively suppresses target drift in long-term tasks, maintains the interpretability and optimality of decisions, and can automatically correct errors in modeling assumptions.
Smart Images

Figure CN123180359A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of artificial intelligence technology, and in particular to an intelligent decision-making method and system based on automatic formalization. Background Technology
[0002] Large language models have been widely used in recent years to build autonomous intelligent agents, which can make decisions based on input task information and then perform corresponding actions to complete the corresponding tasks.
[0003] Since a task is often impossible to complete in one go, current intelligent agents typically concatenate the task and historical interaction records into natural language prompts, which are then input into the model. The model then outputs suggestions for the next action based on these prompts. After executing the suggested action, the result is appended to the context, and this process is repeated until the task is completed.
[0004] However, the decision-making basis of existing methods is unverifiable, which can easily lead to decisions deviating from the intended service goals at certain steps. Furthermore, as the number of interaction rounds increases and context accumulates, the initially set goals are diluted or forgotten in the text, thus deviating from the original objectives. Moreover, the lack of a mechanism to correct deviations forces decisions to be made passively based on flawed understanding. Therefore, existing methods cannot guarantee the accuracy of decision-making. Summary of the Invention
[0005] In view of the shortcomings of the prior art, this application provides an intelligent decision-making method and system based on automatic formalization to solve the problem that the prior art cannot effectively guarantee the accuracy of decision-making.
[0006] To achieve the above objectives, this application provides the following technical solution:
[0007] The first aspect of this application provides an intelligent decision-making method based on automatic formalization, including:
[0008] The descriptions of tasks and situations are transformed into a formalized set of candidate decision problems, forming a candidate space;
[0009] Based on the current belief distribution in the candidate space, the most credible decision problem is selected from the set of candidate decision problems;
[0010] Solve the most credible decision problem, output recommended decisions, and collect the actual implementation of the decisions and their true implementation results;
[0011] Update the state of the real-world situation based on the actual execution decision and its actual execution results;
[0012] Analyze the predicted execution results of the actual execution decision, and calculate the deviation between the predicted execution results and the actual execution results;
[0013] If the deviation exceeds the set deviation threshold, the current belief distribution is backtracked and calibrated based on the actual executed decision and its true execution result, and the most credible decision problem is reselected.
[0014] If the deviation does not exceed the set deviation threshold, then determine whether the state of the real situation has reached the preset termination condition;
[0015] If the state of the real-world situation does not meet the preset termination condition, then return to selecting the most credible decision problem again until the state of the real-world situation meets the preset termination condition.
[0016] Optionally, in the above-described intelligent decision-making method based on automatic formalization, the step of converting the description of the task and situation into a formalized set of candidate decision problems, constituting a candidate space, includes:
[0017] The large language model is invoked to transform the description of the task and situation into a formalized set of candidate decision problems according to a predefined structured pattern, forming a candidate space; wherein each candidate decision problem is defined by decision variables, constraints and objectives, and corresponds to an assumption in the real situation.
[0018] Optionally, in the above-described intelligent decision-making method based on automatic formalization, solving the most reliable decision problem and outputting a recommended decision includes:
[0019] By calling a mathematical solver to optimize the objective of the most credible decision problem while satisfying the constraints of the most credible decision problem, the optimal recommendation decision is obtained by adjusting the decision variables of the most credible decision problem.
[0020] The recommendation decision is output to the external environment or user to execute the recommendation decision.
[0021] Optionally, in the above-described intelligent decision-making method based on automatic formalization, after converting the description of the task and situation into a formalized set of candidate decision problems to form a candidate space, the method further includes:
[0022] For each candidate decision problem in the set of candidate decision problems, a target verification is performed; wherein, the target verification includes type checking, constraint satisfaction checking, and target attainability reasonableness checking;
[0023] Each candidate decision problem that fails the target verification is removed from the candidate decision problem set;
[0024] If none of the candidate decision questions pass the target verification, or if the confidence level of each candidate decision question is lower than the confidence level threshold, a clarification operation or an exploration operation is triggered to obtain supplementary information.
[0025] The supplementary information is added to the description of the task and situation, and the process returns to the step of converting the description of the task and situation into a formalized set of candidate decision problems, forming a candidate space.
[0026] Optionally, in the above-described intelligent decision-making method based on automatic formalization, after performing backtracking calibration on the current belief distribution based on the actual executed decision and its true execution result, the method further includes:
[0027] Based on the preset rules and the deviation, determine whether the candidate decision problem set needs to be updated;
[0028] If it is determined that the set of candidate decision problems needs to be updated, then the set of candidate decision problems will be reconstructed or newly added.
[0029] A second aspect of this application provides an intelligent decision-making system based on automatic formalization, comprising:
[0030] Candidate building blocks are used to transform the descriptions of tasks and situations into a formalized set of candidate decision problems, forming a candidate space;
[0031] A selection unit is used to select the most credible decision problem from the set of candidate decision problems based on the current belief distribution in the candidate space;
[0032] The decision-solving unit is used to solve the most credible decision problem and output a recommended decision.
[0033] The data acquisition unit is used to collect actual implementation decisions and their true implementation results;
[0034] A state update unit is used to update the state of the real-world situation based on the actual execution decision and its actual execution result.
[0035] The deviation calculation unit is used to analyze the predicted execution result of the actual execution decision and calculate the deviation between the predicted execution result and the actual execution result;
[0036] The calibration unit is used to perform backtracking calibration on the current belief distribution based on the actual execution decision and its true execution result when the deviation exceeds a set deviation threshold, and then return it to the selection unit.
[0037] The termination judgment unit is used to determine whether the state of the real situation has reached the preset termination condition when the deviation does not exceed the set deviation threshold.
[0038] The loop unit is used to return to the selection unit when the state of the real situation does not meet the preset termination condition, until the state of the real situation meets the preset termination condition.
[0039] Optionally, in the above-described intelligent decision-making system based on automatic formalization, the candidate construction unit includes:
[0040] The candidate construction subunit is used to call the large language model to transform the description of the task and situation into a formalized set of candidate decision problems according to a predefined structured pattern, thus forming a candidate space; wherein, each candidate decision problem is defined by decision variables, constraints and objectives, and corresponds to an assumption in the real situation.
[0041] Optionally, in the above-described intelligent decision-making system based on automatic formalization, the decision-solving unit includes:
[0042] The problem-solving unit is used to call a mathematical solver to optimize the objective of the most credible decision problem by adjusting the decision variables of the most credible decision problem under the constraints of the most credible decision problem, and to obtain the optimal recommendation decision.
[0043] The decision-making unit is used to output the recommendation decision to the external environment or user in order to execute the recommendation decision.
[0044] Optionally, the above-mentioned intelligent decision-making system based on automatic formalization also includes:
[0045] The verification unit is used to perform target verification on each candidate decision problem in the candidate decision problem set; wherein, the target verification includes type checking, constraint satisfaction checking, and target reachability reasonableness checking;
[0046] The elimination unit is used to eliminate each of the candidate decision problems that fail the target verification from the candidate decision problem set;
[0047] The supplementary information acquisition unit is used to trigger a clarification operation or an exploration operation to acquire supplementary information when all of the candidate decision problems fail the target verification or the confidence level of all of the candidate decision problems is lower than the confidence level threshold.
[0048] The supplementary unit is used to add the supplementary information to the description of the task and the context, and then return to execute the candidate construction unit.
[0049] Optionally, the above-mentioned intelligent decision-making system based on automatic formalization also includes:
[0050] An update judgment unit is used to determine whether the candidate decision problem set needs to be updated based on the preset rules and the deviation.
[0051] The update unit is used to trigger the reconstruction or addition of the candidate decision problem set when it is determined that the candidate decision problem set needs to be updated.
[0052] A third aspect of this application provides an electronic device, comprising:
[0053] Memory and processor;
[0054] The memory is used to store programs;
[0055] The processor is used to execute the program, which, when executed, is specifically used to implement the intelligent decision-making method based on automatic formalization as described in any of the above.
[0056] The fourth aspect of this application provides a computer storage medium for storing a computer program, which, when executed by a processor, is used to implement the intelligent decision-making method based on automatic formalization as described in any of the preceding claims.
[0057] This application provides an intelligent decision-making method based on automatic formalization. It transforms the description of the task and situation into a formalized set of candidate decision problems, forming a candidate space. Based on the current belief distribution in the candidate space, it selects the most credible decision problem from the set. This creates a set of explicit, verifiable, and solvable formalized candidate decision problems, characterizing the non-uniqueness of real-world assumptions, making decisions more accurate and verifiable. The most credible decision problem is then solved, outputting a recommended decision. The actual execution of the decision and its true results are collected. Through mathematical solution, the decision basis can be verified and solved by the machine, and decisions that violate constraints, are suboptimal, or infeasible can be eliminated before execution, improving the reliability, interpretability, and optimality of the decision. Furthermore, the problem's objective and constraints are reused in each round through solution, effectively suppressing goal drift and maintaining focus in long-term tasks. The state of the real-world situation is then updated based on the actual execution decisions and their true results. Finally, the predicted execution results of the actual decisions are analyzed, and the deviation between the predicted and actual results is calculated. If the deviation exceeds a set deviation threshold, the current belief distribution is backtracked and calibrated based on the actual executed decisions and their true results, and the system returns to select the most credible decision problem again. If the deviation does not exceed the set deviation threshold, it is determined whether the state of the real situation has reached the preset termination condition. If the state of the real situation has not reached the preset termination condition, the system returns to select the most credible decision problem again until the state of the real situation reaches the preset termination condition. This introduces a mechanism for detecting the deviation between prediction and reality, and a backtracking correction mechanism based on actual execution feedback. It also corrects decisions and their results that can be used but may not be recommended. Therefore, when the agent's modeling assumptions about reality are incorrect, the system can automatically detect and correct them based on real-world feedback, avoiding the continuous accumulation of erroneous decisions based on incorrect cognitions and ensuring the accuracy of decisions. Attached Figure Description
[0058] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.
[0059] Figure 1 A flowchart illustrating an intelligent decision-making method based on automatic formalization, provided as an embodiment of this application;
[0060] Figure 2 A flowchart illustrating a method for verifying a candidate decision problem, provided in an embodiment of this application;
[0061] Figure 3 A flowchart illustrating a method for solving the most credible decision problem and outputting a recommended decision, as provided in this application embodiment;
[0062] Figure 4 A schematic diagram of the architecture of an intelligent decision-making system based on automatic formalization is provided for an embodiment of this application;
[0063] Figure 5 This is a schematic diagram of the architecture of an electronic device provided in an embodiment of this application. Detailed Implementation
[0064] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0065] In this application, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0066] This application provides an intelligent decision-making method based on automatic formalization, such as... Figure 1 As shown, it includes the following steps:
[0067] S101. Transform the description of the task and situation into a formalized set of candidate decision problems, forming a candidate space.
[0068] It should be noted that, in this embodiment of the application, in order to ensure that the decision-making aligns with the real-world context, it is necessary to describe not only the task input information in natural language, but also the current context information of the task input in natural language. At this point, the system will receive descriptions of both the task and the context.
[0069] To facilitate the verification of decision-making basis and avoid decisions deviating from the goal, the description of the task and situation is transformed into a set of explicit, verifiable, and solvable formal decision problems. The "coexistence of multiple candidates" characterizes the non-uniqueness of the reality assumptions, which can eliminate decisions that violate constraints, are not optimal, or are infeasible before execution, thereby improving the reliability, interpretability, and optimality of the decision.
[0070] Optionally, in another embodiment of this application, one specific implementation of step S101 includes:
[0071] The large language model is invoked to transform the description of the task and context into a formalized set of candidate decision problems according to a predefined structured pattern, thus forming a candidate space.
[0072] Each candidate decision problem is defined by decision variables, constraints, and objectives, and corresponds to an assumption in the real-world context.
[0073] Specifically, in this embodiment, a large language model is invoked to automatically formalize the description of the task and situation into a set of candidate formal decision problems {M1, M2, ..., Mk} according to a predefined structured pattern, forming a formal candidate space A. Each candidate decision problem Mi is defined by decision variables V, constraints C, and objective O, and corresponds to a set of different assumptions about the real-world situation. Variable V is the set of decision variables characterizing the decision content. Constraint C is the set of conditions that the variables must satisfy, encoding the assumptions and restrictions made to reality. Objective O is a measurable optimization objective. For example, taking a resource scheduling task as an example, objective O can be formalized as "minimizing the total delay while satisfying capacity and time constraints." Variable V may include the start time and resource allocation of each task, and constraints C may include capacity limits, order of priority, time windows, etc. Different candidates may correspond to different assumptions such as "equipment capacity is taken as nominal value / depreciation value."
[0074] Optionally, in order to eliminate decisions that violate constraints, are suboptimal, or are infeasible in advance, in another embodiment of this application, after performing step S101, the candidate decision problem is further validated. Figure 2 As shown in the embodiment of this application, a method for verifying a candidate decision problem includes:
[0075] S201. Determine whether the confidence level of each candidate decision problem is lower than the confidence level threshold.
[0076] Optionally, the confidence level of the candidate decision question can be generated during the generation of the candidate decision question. Specifically, when analyzing the description of the task and context using a large language model to generate candidate decision questions, the confidence level of the candidate decision question is output simultaneously.
[0077] If the confidence level of each candidate decision problem is lower than the confidence threshold, it means that none of the candidate decision problems are usable, so step S205 is executed. If the confidence level of each candidate decision problem is not lower than the confidence threshold, that is, there are usable candidate decision problems, so further verification can be performed, and step S202 is executed.
[0078] S202. Perform target verification on each candidate decision problem in the candidate decision problem set.
[0079] The target verification includes type checking, constraint satisfaction checking, and target reachability reasonableness checking.
[0080] Optionally, type checking can verify whether the types and ranges of each variable, constraint, and objective are valid. Constraint satisfaction checking can include whether the constraint set C is consistent and whether a feasible solution exists.
[0081] S203. Remove each candidate decision problem that fails the target verification from the candidate decision problem set.
[0082] Candidate decision problems that fail the target validation are deemed unusable and are therefore removed from the candidate decision problem set.
[0083] S204. Determine whether each candidate decision problem has failed the target verification.
[0084] If none of the candidate decision problems pass the target validation, it indicates that the current situation is difficult to reliably formalize, and all candidate decision problems are unusable. Therefore, step S205 is executed. If any candidate decision problem passes the target validation, step S102 can be executed.
[0085] S205, trigger a clarification or exploration operation to obtain supplementary information.
[0086] Since the current information is insufficient to generate usable candidate decision questions, a clarification or exploration action is triggered, such as gathering more information or asking questions of the user or environment, in order to obtain supplementary information.
[0087] S206. Add supplementary information to the description of the task and scenario.
[0088] Specifically, supplementary information is added to the description of the task and context to make the description more complete. After obtaining a more complete description, i.e., after executing step S206, the process returns to step S101 to generate accurate candidate decision questions using the more complete description.
[0089] S102. Based on the current belief distribution in the candidate space, select the most credible decision problem from the set of candidate decision problems.
[0090] It should be noted that, in this embodiment, a current belief distribution (world model) is maintained in the current candidate space. The current belief distribution characterizes the credibility of each candidate decision problem in relation to the real-world context. Optionally, its initial value can be derived from historical experience, meta-knowledge priors, or the prior rationality of each candidate (such as the degree of fit with the known context, model complexity penalty, etc.).
[0091] Furthermore, it also maintains a state of the current real-world context, so as to maintain a state that matches the current real-world context in real time, thereby recording the actual status of the current task execution.
[0092] Therefore, based on the current belief distribution in the candidate space, the most credible decision problem can be selected from the set of candidate decision problems, that is, the candidate decision problem that best fits the real situation can be selected as the most credible decision problem.
[0093] S103. Solve the most credible decision problem, output the recommended decision, and collect the actual implementation of the decision and its true implementation results.
[0094] It should be noted that, in the embodiments of this application, the decision is no longer obtained by the agent through implicit trial and error in the natural language space, that is, it is not directly generated by the agent through a large model. Instead, the optimal or most feasible solution is found on the selected candidate formalization through mathematical solution, thereby making the decision verifiable, interpretable, and recalculated. Furthermore, since the goal and constraints are reused in each round through solution, goal drift can be effectively suppressed and attention can be maintained in long-term tasks, ensuring that the decision is consistent with the goal.
[0095] Specifically, the most reliable decision problem is solved mathematically to find the optimal or most reliable solution, i.e., the recommended decision. The recommended decision is then output, and corresponding actions are executed according to it. However, considering the influence of real-world scenarios, the actual actions executed may not perfectly match the recommended decisions, and the recommended decisions may not always achieve the expected results. Therefore, the actual executed decisions and their actual execution results are collected in real time.
[0096] Optionally, in another embodiment of this application, a method for solving the most credible decision problem and outputting a recommended decision is provided, such as... Figure 3 As shown, it includes:
[0097] S301. Call the mathematical solver to optimize the objective of the most credible decision problem by adjusting the decision variables of the most credible decision problem under the constraints of the most credible decision problem, and obtain the optimal recommendation decision.
[0098] Specifically, a mathematical solver is invoked to solve the problem. Under the constraints of the most credible decision problem, the solver continuously adjusts the decision variables to optimize the objective. When the objective of the most credible decision problem reaches its optimum, the optimal recommended decision is output based on the current decision variables.
[0099] S302. Output the recommendation decision to the external environment or user to execute the recommendation decision.
[0100] Specifically, the recommendation decision is submitted to the external environment or the user, who then performs the corresponding actions based on the recommendation decision.
[0101] S104. Update the state of the real-world situation based on the actual implementation of the decision and its actual implementation results.
[0102] It should be noted that the actual execution decision and its actual execution result reflect the current status of the task. Therefore, the current actual execution decision can be updated based on the actual execution decision and its actual execution result to reflect the state of the real situation after the actual execution result is achieved. This will facilitate subsequent analysis to determine whether the state of the real situation has been executed to the expected level.
[0103] S105. Analyze the predicted execution results of the actual implementation decisions and calculate the deviation between the predicted execution results and the actual execution results.
[0104] In order to correct any deviations in a timely manner, we first predict the most reliable decision problem M. The predicted execution result obtained by executing the actual decision D′ can be denoted as pred(M). (D′). Then calculate the deviation between the predicted execution result and the actual execution result y. Optionally, this deviation can be measured using an appropriate measure of difference, such as absolute or relative error or distribution divergence.
[0105] S106. Determine whether the deviation exceeds the set deviation threshold.
[0106] Specifically, it can be determined whether the absolute value of the deviation exceeds a set deviation threshold. If the absolute value of the deviation exceeds the set deviation threshold, it indicates that the formal hypothesis selected based on the current belief distribution, i.e., the most credible decision problem, does not match the real environment. Therefore, step S107 is executed at this time. If the deviation does not exceed the set deviation threshold, it indicates that the most credible decision problem matches the real environment, so step S108 is executed at this time to determine whether the current task has been completed.
[0107] S107. Based on the actual implementation of decisions and their true implementation results, backtrack and calibrate the current belief distribution.
[0108] In this application embodiment, a mechanism is established to retrofit the world model with real-world execution feedback. Specifically, when the deviation between the selected formalized prediction of the executed decision and the actual result exceeds a threshold, the candidate belief distribution is reweighted based on the actual (decision, result). The "executed decision" specifically used for correction can differ from the decision recommended by the system; that is, correcting the actual executed decision allows the system to learn from the real feedback that "the suggestion was not adopted." This is the core means of suppressing long-range drift and correcting modeling assumptions in this application.
[0109] Specifically, based on the actual implementation decisions and their true results, the belief in candidate decision problems corresponding to the implemented decisions is reduced, while the belief in candidate decision problems that better match the true results is increased. This makes the current belief distribution more accurate, allowing for the selection of more accurate decision problems. Therefore, after executing step S107, the process returns to reselect the most credible decision problem, i.e., returning to step S102.
[0110] Optionally, in another embodiment of this application, considering that the deviation may be large and adjusting the belief distribution may not significantly or effectively improve the accuracy of selecting candidate decision problems, the method further includes the following after executing step S107 and before returning to execute step S102:
[0111] Based on the preset rules and the deviation, determine whether the candidate decision problem set needs to be updated.
[0112] If it is determined that the candidate decision problem set needs to be updated, the process first triggers the reconstruction or addition of candidate decision problem sets, and then returns to step S102. If it is determined that the candidate decision problem set does not need to be updated, the process directly returns to step S102.
[0113] Optionally, the preset rule could be to update the set of candidate decision problems when the deviation exceeds a set threshold. Of course, other rules can also be used.
[0114] Since adjusting the belief distribution cannot significantly or effectively improve the accuracy of selecting candidate decision problems, the set of candidate decision problems is updated. Specifically, this could involve completely reconstructing the set of candidate decision problems, or rebuilding some candidate decision problems and adding them to the set.
[0115] S108. Determine whether the state of the real situation has reached the preset termination condition.
[0116] Specifically, the preset termination condition can be the goal of the current task that has already been achieved, or the optimal state of consciousness under the current belief distribution.
[0117] If the state of the real-world situation does not meet the preset termination condition, it means that further decision-making is still possible. Therefore, the process returns to selecting the most credible decision problem again, i.e., returning to step S102 to further execute the operations required for the current task. If the state of the real-world situation meets the preset termination condition, step S109 is executed, thereby ending the loop.
[0118] S109. Confirm completion of the current task.
[0119] This application provides an intelligent decision-making method based on automatic formalization. It transforms the description of the task and situation into a formalized set of candidate decision problems, forming a candidate space. Based on the current belief distribution in the candidate space, it selects the most credible decision problem from the set. This creates a set of explicit, verifiable, and solvable formalized candidate decision problems, characterizing the non-uniqueness of real-world assumptions, making decisions more accurate and verifiable. The most credible decision problem is then solved, outputting a recommended decision. The actual execution of the decision and its true results are collected. Through mathematical solution, the decision basis can be verified and solved by the machine, and decisions that violate constraints, are suboptimal, or infeasible can be eliminated before execution, improving the reliability, interpretability, and optimality of the decision. Furthermore, the problem's objective and constraints are reused in each round through solution, effectively suppressing goal drift and maintaining focus in long-term tasks. The state of the real-world situation is then updated based on the actual execution decisions and their true results. Finally, the predicted execution results of the actual execution decisions are analyzed, and the deviation between the predicted and actual results is calculated. If the deviation exceeds a set deviation threshold, the current belief distribution is backtracked and calibrated based on the actual executed decisions and their true results, and the system returns to select the most credible decision problem again. If the deviation does not exceed the set deviation threshold, it is determined whether the state of the real situation has reached the preset termination condition. If the state of the real situation has not reached the preset termination condition, the system returns to select the most credible decision problem again until the state of the real situation reaches the preset termination condition. This introduces a mechanism for detecting the deviation between prediction and reality, and a backtracking correction mechanism based on actual execution feedback. It also corrects decisions and their results that can be used but may not be recommended. Therefore, when the agent's modeling assumptions about reality are incorrect, the system can automatically detect and correct them based on real-world feedback, avoiding the continuous accumulation of erroneous decisions based on incorrect cognitions and ensuring the accuracy of decisions.
[0120] The second aspect of this application provides an intelligent decision-making system based on automatic formalization, such as... Figure 4 As shown, it includes:
[0121] Candidate building unit 401 is used to transform the description of the task and the situation into a formalized set of candidate decision problems, forming a candidate space.
[0122] Selection unit 402 is used to select the most credible decision problem from the set of candidate decision problems based on the current belief distribution in the candidate space.
[0123] The decision-solving unit 403 is used to solve the most credible decision problem and output the recommended decision.
[0124] The data acquisition unit 404 is used to collect the actual implementation decisions and their true implementation results.
[0125] The state update unit 405 is used to update the state of the real situation based on the actual execution decision and its actual execution result.
[0126] The deviation calculation unit 406 is used to analyze the predicted execution results of the actual execution decision and calculate the deviation between the predicted execution results and the actual execution results.
[0127] The calibration unit 407 is used to perform backtracking calibration on the current belief distribution based on the actual execution decision and its true execution result when the deviation exceeds the set deviation threshold, and then return to the selection unit 402.
[0128] The termination judgment unit 408 is used to determine whether the state of the real situation has reached the preset termination condition when the deviation does not exceed the set deviation threshold.
[0129] The loop unit 409 is used to return to the selection unit 402 when the state of the real situation has not reached the preset termination condition, until the state of the real situation reaches the preset termination condition.
[0130] Optionally, in another embodiment of the intelligent decision-making system based on automatic formalization provided in this application, the candidate construction unit includes:
[0131] The candidate construction subunit is used to call the large language model to transform the description of the task and context into a formalized set of candidate decision problems according to a predefined structured pattern, forming the candidate space. Each candidate decision problem consists of decision variables, constraints, and an objective definition, and corresponds to an assumption in the real-world context.
[0132] Optionally, in another embodiment of the intelligent decision-making system based on automatic formalization provided in this application, the decision-solving unit includes:
[0133] The problem-solving unit is used to call the mathematical solver to optimize the objective of the most credible decision problem by adjusting the decision variables under the constraints of the most credible decision problem, thereby obtaining the optimal recommendation decision.
[0134] The decision-making unit is used to output recommendation decisions to the external environment or users in order to execute the recommendation decisions.
[0135] Optionally, in another embodiment of the intelligent decision-making system based on automatic formalization provided in this application, the system further includes:
[0136] The verification unit is used to perform objective verification on each candidate decision problem in the candidate decision problem set. Objective verification includes type checking, constraint satisfaction checking, and objective reachability reasonableness checking.
[0137] The elimination unit is used to remove each candidate decision problem that fails the target validation from the candidate decision problem set.
[0138] The supplementary information acquisition unit is used to trigger clarification or exploration operations to obtain supplementary information when none of the candidate decision problems pass the target verification or when the confidence level of each candidate decision problem is lower than the confidence level threshold.
[0139] Supplementary units are used to add supplementary information to the description of tasks and contexts and return candidate building blocks for execution.
[0140] Optionally, in another embodiment of the intelligent decision-making system based on automatic formalization provided in this application, the system further includes:
[0141] The update judgment unit is used to determine whether the candidate decision problem set needs to be updated based on preset rules and deviations.
[0142] The update unit is used to trigger the reconstruction or addition of candidate decision problem sets when it is determined that the candidate decision problem set needs to be updated.
[0143] It should be noted that the specific working process of each unit provided in the above embodiments of this application can be referred to the implementation process of the corresponding steps in the above method embodiments, and will not be repeated here.
[0144] Another embodiment of this application provides an electronic device, such as... Figure 5 As shown, it includes:
[0145] Memory 501 and processor 502.
[0146] The memory 501 is used to store the program.
[0147] The processor 502 is used to execute the program stored in the memory 501. When the program is executed, it is specifically used to implement the intelligent decision-making method based on automatic formalization as provided in any of the above embodiments.
[0148] Another embodiment of this application provides a computer storage medium for storing a computer program, which, when executed by a processor, is used to implement the intelligent decision-making method based on automatic formalization as provided in any of the above embodiments.
[0149] Computer storage media, including both permanent and non-permanent, removable and non-removable media, can store information using any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0150] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0151] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. An intelligent decision-making method based on automatic formalization, characterized in that, include: The descriptions of tasks and situations are transformed into a formalized set of candidate decision problems, forming a candidate space; Based on the current belief distribution in the candidate space, the most credible decision problem is selected from the set of candidate decision problems; Solve the most credible decision problem, output recommended decisions, and collect the actual implementation of the decisions and their true implementation results; Update the state of the real-world situation based on the actual execution decision and its actual execution results; Analyze the predicted execution results of the actual execution decision, and calculate the deviation between the predicted execution results and the actual execution results; If the deviation exceeds the set deviation threshold, the current belief distribution is backtracked and calibrated based on the actual executed decision and its true execution result, and the most credible decision problem is reselected. If the deviation does not exceed the set deviation threshold, then determine whether the state of the real situation has reached the preset termination condition; If the state of the real-world situation does not meet the preset termination condition, then return to selecting the most credible decision problem again until the state of the real-world situation meets the preset termination condition.
2. The method according to claim 1, characterized in that, The process of transforming the description of the task and context into a formalized set of candidate decision problems constitutes a candidate space, including: The large language model is invoked to transform the description of the task and situation into a formalized set of candidate decision problems according to a predefined structured pattern, forming a candidate space; wherein each candidate decision problem is defined by decision variables, constraints and objectives, and corresponds to an assumption in the real situation.
3. The method according to claim 1, characterized in that, Solving the most reliable decision problem and outputting a recommended decision includes: By calling a mathematical solver to optimize the objective of the most credible decision problem while satisfying the constraints of the most credible decision problem, the optimal recommendation decision is obtained by adjusting the decision variables of the most credible decision problem. The recommendation decision is output to the external environment or user to execute the recommendation decision.
4. The method according to claim 1, characterized in that, After converting the descriptions of the task and context into a formalized set of candidate decision problems to form a candidate space, the process further includes: For each candidate decision problem in the set of candidate decision problems, a target verification is performed; wherein, the target verification includes type checking, constraint satisfaction checking, and target attainability reasonableness checking; Each candidate decision problem that fails the target verification is removed from the candidate decision problem set; If none of the candidate decision questions pass the target verification, or if the confidence level of each candidate decision question is lower than the confidence level threshold, a clarification operation or an exploration operation is triggered to obtain supplementary information. The supplementary information is added to the description of the task and situation, and the process returns to the step of converting the description of the task and situation into a formalized set of candidate decision problems, forming a candidate space.
5. The method according to claim 1, characterized in that, After performing backtracking calibration on the current belief distribution based on the actual execution decision and its true execution result, the method further includes: Based on the preset rules and the deviation, determine whether the candidate decision problem set needs to be updated; If it is determined that the set of candidate decision problems needs to be updated, then the set of candidate decision problems will be reconstructed or newly added.
6. An intelligent decision-making system based on automatic formalization, characterized in that, include: Candidate building blocks are used to transform the descriptions of tasks and situations into a formalized set of candidate decision problems, forming a candidate space; A selection unit is used to select the most credible decision problem from the set of candidate decision problems based on the current belief distribution in the candidate space; The decision-solving unit is used to solve the most credible decision problem and output a recommended decision. The data acquisition unit is used to collect actual implementation decisions and their true implementation results; A state update unit is used to update the state of the real-world situation based on the actual execution decision and its actual execution result. The deviation calculation unit is used to analyze the predicted execution result of the actual execution decision and calculate the deviation between the predicted execution result and the actual execution result; The calibration unit is used to perform backtracking calibration on the current belief distribution based on the actual execution decision and its true execution result when the deviation exceeds a set deviation threshold, and then return it to the selection unit. The termination judgment unit is used to determine whether the state of the real situation has reached the preset termination condition when the deviation does not exceed the set deviation threshold. The loop unit is used to return to the selection unit when the state of the real situation does not meet the preset termination condition, until the state of the real situation meets the preset termination condition.
7. The system according to claim 6, characterized in that, The candidate building units include: The candidate construction subunit is used to call the large language model to transform the description of the task and situation into a formalized set of candidate decision problems according to a predefined structured pattern, thus forming a candidate space; wherein, each candidate decision problem is defined by decision variables, constraints and objectives, and corresponds to an assumption in the real situation.
8. The system according to claim 6, characterized in that, The decision-solving unit includes: The problem-solving unit is used to call a mathematical solver to optimize the objective of the most credible decision problem by adjusting the decision variables of the most credible decision problem under the constraints of the most credible decision problem, and to obtain the optimal recommendation decision. The decision-making unit is used to output the recommendation decision to the external environment or user in order to execute the recommendation decision.
9. The system according to claim 6, characterized in that, Also includes: The verification unit is used to perform target verification on each candidate decision problem in the candidate decision problem set; wherein, the target verification includes type checking, constraint satisfaction checking, and target reachability reasonableness checking; The elimination unit is used to eliminate each of the candidate decision problems that fail the target verification from the candidate decision problem set; The supplementary information acquisition unit is used to trigger a clarification operation or an exploration operation to acquire supplementary information when all of the candidate decision problems fail the target verification or the confidence level of all of the candidate decision problems is lower than the confidence level threshold. The supplementary unit is used to add the supplementary information to the description of the task and the context, and then return to execute the candidate construction unit.
10. The system according to claim 6, characterized in that, Also includes: An update judgment unit is used to determine whether the candidate decision problem set needs to be updated based on the preset rules and the deviation. The update unit is used to trigger the reconstruction or addition of the candidate decision problem set when it is determined that the candidate decision problem set needs to be updated.
