Human multi-dimensional preference relevance mining method based on Bayesian learning
Through Bayesian learning, human multidimensional preference correlation mining method solves the problem of human multidimensionality and multi-preference correlation in human-machine collaboration algorithm, and realizes reducing human participation and making the best decision in the decision-making process Effect.
Patent Information
- Application Number
- CN202410955834.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-17
- Publication Date
- 2024-11-15
AI Technical Summary
Existing human-machine collaboration algorithms fail to effectively consider the potential correlation between human multidimensionality and multi-preference, resulting in failure to make the best decisions in the decision-making process, increasing the need for human participation.
Using the human multidimensional preference correlation mining method based on Bayesian learning, we define the multi-constrained Gaussian best arm recognition problem by setting decision and constraint functions, solve it using dynamic multi-constrained algorithm, and extend the feasible solution set to determine the optimal solution. Reduce human participation.
In a given environment, balance exploring different human multidimensional preferences and leveraging previous experience, using the least human preferences to find the best path of action, maximizing specific performance metrics, and making the best decisions.
Smart Images

Figure CN118964438A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of human-machine collaboration, and in particular to a method for mining human multi-dimensional preference association based on Bayesian learning. Background Art
[0002] In recent years, with the rapid development of science and technology, computer software and hardware technology has continued to advance, and significant progress has been made in the fields of machine learning and artificial intelligence; this series of progress has provided new and efficient methods for solving complex problems in the fields of computer vision, speech recognition, natural language processing, etc. For example, face recognition technology can accurately identify the facial features of individuals, thereby ensuring security and identity confirmation; speech recognition systems can accurately recognize human voices and perform corresponding operations, making human-computer interaction more convenient; object detection technology gives computer vision capabilities, enabling it to accurately identify target objects in the surrounding environment, which has important applications in fields such as autonomous driving. These technologies have not only achieved excellent performance in theoretical research, but have also gradually been integrated into commercial applications, such as access control and attendance systems, customer service chatbots, and self-driving cars. However, although deep learning models have made significant progress in test performance, their intelligence mainly depends on learning algorithms and data, so there are still some systematic weaknesses and blind spots. For example, the most advanced deep learning classifiers sometimes make unexpected errors in image and text recognition, and autonomous driving systems may also make unpredictable decisions in complex road conditions, leading to potential risks.
[0003] Therefore, hybrid systems of AI algorithms and human collaboration are emerging and becoming the focus of AI and human-computer interaction research. This collaborative model takes full advantage of the respective strengths of humans and machines. Humans have strong perception, reasoning, and judgment capabilities when dealing with complex, uncertain, and open problems. Machines are known for their high accuracy, data processing capabilities, speed, and consistency. This collaborative work not only helps solve challenges of diversity and complexity, promotes technological progress in production lines such as autonomous driving, industry, and manufacturing, but also provides strong support for future technological innovation and social development. Summary of the invention
[0004] The embodiment of the present invention provides a method for mining the correlation of human multidimensional preferences based on Bayesian learning, so as to at least solve the technical problem that the existing human-computer collaboration algorithm does not consider the multidimensionality of human preferences and the potential correlation between multiple preferences, the potential impact of human multidimensional preferences on the human-computer collaboration system in an input-driven environment, and the use of the machine's metacognitive evaluation of multidimensional preferences in the interactive decision-making process to reduce human participation, resulting in human-computer collaboration not making the best decision.
[0005] According to one aspect of an embodiment of the present invention, a method for mining the association of multi-dimensional human preferences based on Bayesian learning is provided. The method may include: setting a set of decisions, each decision corresponding to an unknown reward function and a set of unknown constraint functions, wherein each unknown constraint function corresponds to a one-dimensional preference of human beings, and each unknown constraint function is greater than or equal to a preset constraint threshold; based on multiple sets of decisions, defining a multi-constrained Gaussian best arm identification problem; solving the multi-constrained Gaussian best arm identification problem through a dynamic multi-constraint algorithm, and obtaining a set of constraint functions that meet the maximum reward function value.
[0006] Optionally, based on multiple groups of decisions, a multi-constrained Gaussian best arm identification problem is defined as: Among them, among them, Indicates that the reward function value is the largest, r(x t ) represents an unknown reward function corresponding to each set of decisions, x t represents each set of decisions, c i (x t ) represents a set of unknown constraint functions corresponding to each set of decisions, τ i represents the preset constraint threshold of each set of constraint functions, i represents the subscript of each set of constraint functions, It means that i belongs to [N], [N] = {1, 2, ..., n}∈Z, where Z represents the set of positive integers.
[0007] Optionally, a dynamic multi-constraint algorithm includes: combining an unknown reward function and a set of unknown constraint functions to obtain an intrinsic regionalization model based on context information; modeling the aggregation function based on the intrinsic regionalization model based on context information to obtain a modeled target aggregation function; solving the target aggregation function to obtain a set of feasible solutions and a set of uncertain solutions; expanding the feasible solution set to obtain an extended feasible solution set; determining a target feasible solution based on the extended feasible solution set, wherein the target feasible solution is used to characterize a strategy with the maximum reward function value that meets a preset constraint threshold.
[0008] Optionally, solving the target aggregation function to obtain a feasible solution set and an uncertain solution set includes: defining a feasible solution region corresponding to the target aggregation function as: Among them, S t The set of feasible solutions for the current round, i represents the subscript of each set of constraint functions, x represents each decision, S t-1 represents the feasible solution set of the previous round, X represents each group of decisions, l i,t (x) represents the lower bound of the confidence interval of the posterior distribution of the Gaussian process of the target aggregation function, τ iRepresents the preset constraint threshold of each set of constraint functions; based on the feasible solution region, the feasible solution set is obtained, and the expression of the feasible solution set is: Among them, S t represents the feasible solution set of the current round, S t-1 represents the feasible solution set of the previous round, X represents each group of decisions; the uncertain solution region corresponding to the aggregation function is defined as: U t =∩ i {x∈X\S t |u i,t (x)≥τ i}(4), where, where, U t represents the set of uncertain solutions, i represents the subscript of each set of constraint functions, X\S t Represents the elements in the X set with S removed t The elements of the remaining set of elements in the set, S t-1 represents the feasible solution set of the previous round, X represents each group of decisions, u i,t (x) represents the elements in the set X with S removed t The elements in the set The elements of the remaining set All constraint functions The confidence interval upper bound, τ i represents the preset constraint threshold of each set of constraint functions, and i represents the subscript of each set of constraint functions; based on the uncertain solution region, the uncertain solution set is obtained, and the expression of the uncertain solution set is: Among them, U t represents the set of uncertain solutions, U t-1 represents the set of uncertain solutions in the previous round, and X represents each set of decisions.
[0009] Optionally, the feasible solution set is expanded to obtain an expanded feasible solution set, including: expanding the feasible solution set by obtaining a function to obtain the expanded feasible solution set.
[0010] Optionally, based on the extended feasible solution set, determining the target feasible solution includes: optimizing the expression of the reward function in the extended feasible solution set by an online optimization method as follows: Among them, x t represents the tth decision, S t represents the set of feasible solutions, x∈S t Indicates that x belongs to S t Set, μ 0,t-1 (x,z) represents the mean based on x and z, 0 represents the subscript of the target aggregation function, t-1 represents the number of iterations, x represents each decision, z represents the context information, β t represents the parameter for adjusting the confidence interval, σ 0,t-1(x,z) represents the variance of x and z. Based on the t-th decision, under the dynamic constraint selection strategy, the key constraint set is obtained; based on the key constraint set, the reward function of the t-th decision and the observed values of the constraint functions belonging to the key constraint set are obtained; based on the observed values of the constraint functions, the posterior distribution and confidence interval of the Gaussian process model of the aggregation function are updated; based on the t-th decision, the optimal t-th decision in the extended feasible solution set is searched in a loop until the number of loops is twice the number of elements in the feasible solution set, the loop ends, and the target feasible solution in the extended feasible solution set is obtained.
[0011] Optionally, based on the t-th decision, under the dynamic constraint selection strategy, a key constraint set is obtained, including: The dynamic constraint selection strategy process is: Among them, weight i,t (x) represents the contribution value of the i-th constraint at time t, α represents a constant, |.| represents the number of elements in the extended feasible solution set, S i,t represents the set of extended feasible solutions of the ith constraint function, |S i,t ∩S i,t-1 | represents the number of decisions shared by the current extended feasible solution set and the extended feasible solution set obtained in the previous iteration, δ 0,i Indicates the correlation between the ith constraint function and the reward function; based on the contribution value of the ith constraint at time t, the contribution value of the ith constraint function at time t is converted into a normalized weight using a normalization method. The conversion expression is: in, represents the normalized contribution value of the ith constraint function at time t, weight max,t (x) represents the maximum contribution value among the contribution values of the 1st to nth constraint functions at time t, weight min,t (x) represents the minimum contribution value among the contribution values of the 1st to nth constraint functions at time t; based on the normalized weight and the target constraint threshold, the key constraint set is obtained.
[0012] Optionally, based on the normalized weights and target constraint thresholds, the expression of the key constraint set is obtained as follows: Among them, C t is the key constraint set, represents the normalized contribution value of the ith constraint function at time t, λ represents the target constraint threshold, and i∈[N] represents i belongs to [N].
[0013] Beneficial effects of the present invention:
[0014] The present invention proposes a method for mining the association of human multi-dimensional preferences based on Bayesian learning. First, a group of decisions are set, each decision corresponds to an unknown reward function and a group of unknown constraint functions, wherein each unknown constraint function corresponds to a one-dimensional preference of human, and each unknown constraint function is greater than or equal to a preset constraint threshold; based on multiple groups of decisions, a multi-constrained Gaussian best arm identification problem is defined; the feasible solutions in the multi-constrained Gaussian best arm identification problem are expanded, and an uncertain solution set is calculated. The solutions in the uncertain solution set are expanded into an extended feasible solution set by obtaining a function, and the optimal solution is determined from the extended feasible solution set. The existing human-computer collaboration algorithm does not consider the multi-dimensionality of human preferences and the potential association between multiple preferences. In an input-driven environment, the potential impact of human multi-dimensional preferences on the human-computer collaboration system and the meta-cognitive evaluation of multi-dimensional preferences by machines in the interactive decision-making process in the decision-making process reduce human participation, resulting in the technical problem that human-computer collaboration does not make the best decision. The technical effect of balancing the exploration of different human multi-dimensional preferences and the use of previous experience in a given environment, using the least human preferences to find the best action path to maximize specific performance indicators, and thus making the best decision is achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0016] Figure 1 The present invention is a flowchart of a method for mining human multi-dimensional preference association based on Bayesian learning according to an embodiment of the present invention. DETAILED DESCRIPTION
[0017] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only embodiments of a part of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0018] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchangeable where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0019] Example 1
[0020] According to an embodiment of the present invention, a method for mining the association of multidimensional human preferences based on Bayesian learning is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system comprising at least one set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0021] Figure 1 is a flow chart of a method for mining human multi-dimensional preference association based on Bayesian learning according to an embodiment of the present invention. Figure 1 As shown, the method may include the following steps:
[0022] Step S101, setting a group of decisions, each decision corresponds to an unknown reward function and a group of unknown constraint functions, wherein each unknown constraint function corresponds to a one-dimensional preference of a human being, and each unknown constraint function is greater than or equal to a preset constraint threshold.
[0023] In the technical solution provided in step S101 of the present invention, given a set of decisions Each decision corresponds to an unknown reward function Represents the system goal and a set of unknown constraint functions Where [N]: = {1, 2, ..., n} ∈ Z, where each constraint function corresponds to a one-dimensional preference of humans, where the dimension of the preference is equal to the number of constraint functions, represents the set of real numbers, Z represents the set of positive integers; for each constraint function, a threshold is defined In each round of decision making, the machine chooses a discrete decision x t ∈X, represents a set of discrete finite decision sets, D represents a set of positive integers; for each decision, it is required to satisfy
[0024] Step S102, based on multiple groups of decisions, a multi-constrained Gaussian best arm identification problem is defined.
[0025] In the technical solution provided in the above step S102 of the present invention, a multi-constrained Gaussian best arm identification problem is defined based on multiple groups of decisions.
[0026] Step S103, solving the Gaussian best arm identification problem with multiple constraints by using a dynamic multi-constraint algorithm, and obtaining a set of constraint functions that satisfies the maximum reward function value.
[0027] In the technical solution provided in step S103 of the present invention, a dynamic multi-constraint algorithm is used to solve the Gaussian best arm identification problem with multiple constraints, and a set of constraint functions that satisfies the maximum reward function value are obtained. The input of the initialization algorithm includes the decision set X, the aggregation function f i (x),i∈{0}∪[N]GP Gaussian prior probability model (including reward function r(x) and a set of independent constraint functions ), propose the ICM-CI kernel function k(.), and constrain the threshold τ i , constraint weight threshold λ, precision threshold ε (expansion stage), precision threshold (Optimization phase), aggregation function f i (x),i∈{0}∪[N] and the ICM-CI kernel function are as follows: First, define an aggregation function f(x). In the multi-constrained Gaussian best arm identification problem, it contains multiple black-box functions, namely the reward function r(x) and a set of independent constraint functions They form a set of unknown functions: Here, we use the index form to distinguish the reward function and constraint function in, f0(x) represents the reward function f i (x), i≠0 represents the constraint function c i (x) Define a new kernel (Intrinsic Coregionalization Model with Contextual Information, abbreviated as ICM-CI), which can combine contextual information and jointly model the reward and constraint functions, so that the algorithm can more effectively detect the multi-dimensional potential preferences of humans and their intrinsic correlations through auxiliary contextual information. It is defined as: Where i represents the index of the aggregation function, x represents the input space, and z represents the context information. represents the Kronecker product. K((i,x),(i',x')) is a basic kernel (Intrinsic Coregionalization Model, abbreviated as ICM), on which context information is added, so K(z,z') represents the kernel function of context information. Specifically, consider N dynamic contexts {z i ,i∈[N]}, where each context is associated with the information of the i-th constraint and changes with the dynamic changes of the environment. Mathematically, the contextual information of the i-th constraint is defined as the ratio between the number of times the constraint threshold requirement is met and the total number of iterations to represent the results of constraint satisfaction and violation: Among them, T represents the total number of iterations, count i represents the number of iterations that satisfy the i-th constraint during the iteration process. The contextual information of the constraints is incorporated into the ICM-CI kernel, which enables the machine to obtain patterns of reward and constraint functions about the changes in various contexts. Since the contextual information determined by the dynamics of the environment is usually time-varying, the ICM-CI kernel with a covariance function can improve the ability of the kernel function to capture the temporal correlation of human preferences compared to the traditional ICM kernel.
[0028] The above method of this embodiment is further introduced below.
[0029] As an optional embodiment, in step S102, based on multiple groups of decisions, an expression of a multi-constrained Gaussian best arm identification problem is defined as: in, Indicates that the reward function value is the largest, r(x t ) represents an unknown reward function corresponding to each set of decisions, x t represents each set of decisions, c i (x t ) represents a set of unknown constraint functions corresponding to each set of decisions, τ i represents the preset constraint threshold of each set of constraint functions, i represents the subscript of each set of constraint functions, It means that i belongs to [N], [N] = {1, 2,…, n}∈Z, where Z represents the set of positive integers.
[0030] In this embodiment, a multi-constrained Gaussian best arm identification problem is defined based on multiple groups of decisions.
[0031] As an optional implementation method, step S103, a dynamic multi-constraint algorithm, includes: combining an unknown reward function and a set of unknown constraint functions to obtain an intrinsic regionalization model based on context information; modeling the aggregation function based on the intrinsic regionalization model based on context information to obtain a modeled target aggregation function; solving the target aggregation function to obtain a feasible solution set and an uncertain solution set; expanding the feasible solution set to obtain an extended feasible solution set; based on the extended feasible solution set, determining a target feasible solution, wherein the target feasible solution is used to characterize a strategy with the maximum reward function value that meets a preset constraint threshold.
[0032] In this embodiment, an unknown reward function and a set of unknown constraint functions are combined to obtain an intrinsic regionalization model based on context information; the aggregation function is modeled based on the intrinsic regionalization model based on context information to obtain a modeled target aggregation function; the target aggregation function is solved to obtain a feasible solution set and an uncertain solution set; the feasible solution set is expanded to obtain an extended feasible solution set; in the extended feasible solution set, a target feasible solution is determined, wherein the target feasible solution is used to characterize a strategy with the maximum reward function value that satisfies a preset constraint threshold.
[0033] As an optional implementation method, solving the target aggregation function to obtain a feasible solution set and an uncertain solution set includes: defining a feasible solution region corresponding to the target aggregation function as: Among them, S t The set of feasible solutions for the current round, i represents the subscript of each set of constraint functions, x represents each decision, S t-1 represents the feasible solution set of the previous round, X represents each group of decisions, l i,t (x) represents the lower bound of the confidence interval of the posterior distribution of the Gaussian process of the target aggregation function, τ i is the preset constraint threshold for each set of constraint functions; based on the feasible solution region, the feasible solution set is obtained, and the expression of the feasible solution set is: Among them, S t represents the feasible solution set of the current round, S t-1 represents the feasible solution set of the previous round, X represents each group of decisions; the uncertain solution region corresponding to the aggregation function is defined as: U t =∩ i {x∈X\S t |u i,t (x)≥τ i}(4), where U t represents the set of uncertain solutions, i represents the subscript of each set of constraint functions, X\S t Represents the elements in the X set with S removed t The elements of the remaining set of elements in the set, St-1 represents the feasible solution set of the previous round, X represents each group of decisions, u i,t (x) represents the elements in the set X with S removed t The elements in the set The elements of the remaining set All constraint functions The confidence interval upper bound, τ i represents the preset constraint threshold of each set of constraint functions, and i represents the subscript of each set of constraint functions; based on the uncertain solution region, the uncertain solution set is obtained, and the expression of the uncertain solution set is Among them, U t represents the set of uncertain solutions, U t-1 represents the set of uncertain solutions in the previous round, and X represents each set of decisions.
[0034] In this embodiment, the first stage of the algorithm is the expansion stage, which expands the known feasible or safe area as much as possible, where the safe area is defined as: That is, the lower bound of the confidence interval of the Gaussian process posterior distribution is compared with each constraint threshold. If the lower bound of the decision is not less than the threshold τ of each constraint function i , then it is considered to belong to the feasible solution set: In addition, the feasible solution set is constantly expanding, so each time the feasible solution set is calculated, it is necessary to include the feasible solution set calculated last time, that is, it satisfies: Initialize S0 to an empty set, and calculate a set of extension points U based on the feasible solution set. t , that is, the set of uncertain solutions, is the set of points that currently have the potential to be expanded into feasible solutions: U t =∩ i {x∈X\S t |u i,t (x)≥τ i}, where the uncertain solution set U t It is to remove S from the elements of the X set t After the elements in the set, the upper bounds of the confidence intervals of all constraint functions of the remaining elements in the set are compared with the constraint threshold τ i By comparison, the set of elements whose upper bound of the confidence interval is greater than the threshold, as the set of feasible solutions continues to expand, the uncertainty set gradually shrinks, which means that fewer and fewer points can be expanded into feasible solutions:
[0035] Initialize U0 to the set X.
[0036] As an optional implementation manner, the feasible solution set is expanded to obtain an expanded feasible solution set, including: expanding the feasible solution set by obtaining a function to obtain the expanded feasible solution set.
[0037] In this embodiment, after defining the feasible solution set and the uncertain solution set, we define an acquisition function to select the next sample point to expand the feasible solution set by combining the principle of the Gaussian confidence bound interval upper bound algorithm (GP Upper Confidence Bound, referred to as GP-UCB) and the uncertainty-based selection standard step. The acquisition function has two branches. First, the proportion of the true value of the function value falling within the confidence interval of the Gaussian process posterior distribution is calculated, which is ε t , we get the accuracy of the predicted value ε t , when ε t When <ε, the accuracy of GP prediction is low, and the optimal solution is selected using the current known information.
[0038] As an optional embodiment, based on the extended feasible solution set, determining the target feasible solution includes: optimizing the expression of the reward function in the extended feasible solution set by an online optimization method as follows: Among them, x t represents the tth decision, S t represents the set of feasible solutions, x∈S t Indicates that x belongs to S t Set, μ 0,t-1 (x,z) represents the mean based on x and z, 0 represents the subscript of the target aggregation function, t-1 represents the number of iterations, x represents each decision, z represents the context information, β t represents the parameter for adjusting the confidence interval, σ 0,t-1 (x,z) represents the variance based on x and z; based on the t-th decision, under the dynamic constraint selection strategy, the key constraint set is obtained; based on the key constraint set, the reward function of the t-th decision and the observed values of the constraint functions belonging to the key constraint set are obtained; based on the observed values of the constraint functions, the posterior distribution and confidence interval of the Gaussian process model of the aggregation function are updated; based on the t-th decision, the optimal t-th decision in the extended feasible solution set is searched in a loop until the number of loops is twice the number of elements in the feasible solution set, the loop ends, and the target feasible solution in the extended feasible solution set is obtained.
[0039] In this embodiment, according to the GP-UCB criterion, in the feasible solution set S t Select the next feasible solution When ε t When ≥ε, the GP prediction accuracy is high. At this time, the feasible solution set is expanded and the uncertainty criterion is used to select the solution from the uncertain solution set U t The expression for selecting the next feasible solution is: Select the sample point with the largest uncertainty in the set, reduce the uncertainty within the set, and find a new feasible solution, and finally expand S tThis acquisition function implicitly balances exploration and utilization, and is more efficient than traditional GP-UCB. After the sample points are determined by the acquisition function, the key constraint set C is obtained using the dynamic constraint selection strategy designed by us t ; After determining the key constraint set, obtain the reward function with noise for the selected sample point and the reward function belonging to the set C t According to the observed values, the posterior distribution and confidence interval are updated according to the multi-output Gaussian process probability model defined by the kernel function, and the expansion phase algorithm is repeated until the uncertain solution set is empty U t =φ; The second stage of the algorithm is the optimization stage. After the expansion of the feasible solution set in the first stage, it has been determined which ones in the set X are feasible and which ones are not. Next, it is necessary to find the optimal solution that meets the constraints in the feasible solution, that is, the solution with the maximum reward function. In theory, any standard online optimization method can be used at this stage to optimize the reward function in the expanded feasible solution set. Here, the GP-UCB algorithm is used. The sample point x is determined by the GP-UCB algorithm. t Afterwards, the key constraint set C is obtained by using the designed dynamic constraint selection strategy. t ; After determining the key constraint set, obtain the reward function with noise for the selected sample point and the reward function belonging to the set C t According to the observed values (noisy human preferences), the posterior distribution and confidence interval are updated according to the Gaussian process probability model, and the optimization phase algorithm is repeated until the number of iterations per round is T = 2|X|, where |X| is the number of elements in the set X.
[0040] As an optional implementation mode, based on the t-th decision, under the dynamic constraint selection strategy, a key constraint set is obtained, including: the dynamic constraint selection strategy process is: Among them, weight i,t (x) represents the contribution value of the i-th constraint at time t, α represents a constant, |.| represents the number of elements in the extended feasible solution set, S i,t represents the set of extended feasible solutions of the ith constraint function, |S i,t ∩S i,t-1 | represents the number of decisions shared by the current extended feasible solution set and the extended feasible solution set obtained in the previous iteration, δ 0,i Indicates the correlation between the ith constraint function and the reward function; based on the contribution value of the ith constraint at time t, the contribution value of the ith constraint function at time t is converted into a normalized weight using a normalization method. The conversion expression is: in, represents the normalized contribution value of the ith constraint function at time t, weight max,t (x) represents the maximum contribution value among the contribution values of the 1st to nth constraint functions at time t, weight min,t (x) represents the minimum contribution value among the contribution values of the 1st to nth constraint functions at time t; based on the normalized weight and the target constraint threshold, the key constraint set is obtained.
[0041] In this embodiment, the dynamic constraint selection strategy (DCS) refers to selectively observing the unknown constraint functions that are more valuable to the decision-making process in each iteration to reduce the number of required samples and improve data efficiency while ensuring learning performance. Through the new DCS strategy, DMCL can effectively learn key preferences and integrate this knowledge into decision-making, thereby achieving human-machine complementarity with minimal manpower. Specifically, a standard is first defined to evaluate the contribution of constraints to the decision-making process. The contribution of constraints to the DMCL algorithm is reflected in two aspects: first, the constraints expand the range of feasible solution sets, thereby narrowing the range of uncertain solutions and accelerating the search process; second, according to the covariance function defined in the ICM-CI kernel, a covariance matrix is used between the constraints and the reward function to measure the contribution of the constraints to the reward function. In other words, constraints that meet the above two conditions may contribute to the preference learning of the algorithm. Therefore, the contribution value of the i-th constraint at time t can be defined by the following formula:
[0042] Where α is a constant, |.| represents the number of elements in the set, and S i,t represents the set of feasible solutions defined by the i-th constraint:
[0043] S t =∩ i S i,t |S i,t ∩S i,t-1 | represents the number of decisions shared by the current feasible set and the feasible solution set obtained in the previous iteration, δ 0,i The term reflects the correlation between the i-th constraint function and the reward function and is implicitly defined in the ICM-CI kernel. After obtaining the contribution value of the i-th constraint at time t, a normalized method is used to convert it into a weight:
[0044]
[0045] As an optional implementation mode, based on the normalized weight and the target constraint threshold, the expression of the key constraint set is obtained: Among them, C trepresents the key constraint set, represents the normalized contribution value of the ith constraint function at time t, λ represents the target constraint threshold, and i∈[N] represents i belongs to [N].
[0046] In this embodiment, after the normalized weight is obtained, it is compared with the constraint threshold λ, and the constraint function corresponding to the normalized weight is used as the key constraint set C t :C t ={i∈[N]|weight i,t * ≥λ}.
[0047] In an embodiment of the present invention, a group of decisions are set, each decision corresponds to an unknown reward function and a group of unknown constraint functions, wherein each unknown constraint function corresponds to a one-dimensional preference of a human being, and each unknown constraint function is greater than or equal to a preset constraint threshold; based on multiple groups of decisions, a multi-constrained Gaussian best arm identification problem is defined; the multi-constrained Gaussian best arm identification problem is solved by a dynamic multi-constraint algorithm, and a group of constraint functions that satisfy the maximum reward function value are obtained, which solves the problem that the multi-dimensionality of human preferences and the potential correlation between multiple preferences are not considered in the existing human-computer collaboration algorithm, and in an input-driven environment, the potential impact of human multi-dimensional preferences on the human-computer collaboration system and the use of the machine's metacognitive evaluation of multi-dimensional preferences in the interactive decision-making process in the decision-making process reduce human participation, resulting in the technical problem that human-computer collaboration does not make the best decision, and achieves the technical effect of balancing the exploration of different human multi-dimensional preferences and the use of previous experience in a given environment, using the least human preferences to find the best action path to maximize specific performance indicators, thereby making the best decision.
[0048] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0049] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0050] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0051] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed over multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0052] In addition, each functional unit in each embodiment of the present invention may be integrated into a first processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0053] The above are only preferred embodiments of the present invention. It should be pointed out that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A method for mining human multidimensional preference association based on Bayesian learning, characterized in that: include: A set of decisions is set, each decision corresponds to an unknown reward function and a set of unknown constraint functions, wherein each unknown constraint function corresponds to a one-dimensional preference of a human being, and each unknown constraint function is greater than or equal to a preset constraint threshold; Based on multiple groups of decisions, a multi-constrained Gaussian best arm identification problem is defined; The multi-constrained Gaussian best arm identification problem is solved by a dynamic multi-constraint algorithm, and a set of constraint functions that satisfies the maximum reward function value is obtained.
2. The method according to claim 1, characterized in that The expression for defining a multi-constrained Gaussian best arm identification problem based on multiple groups of decisions is: in, Indicates that the reward function value is the largest, r(x t ) represents an unknown reward function corresponding to each set of decisions, x t represents each set of decisions, c i (x t ) represents a set of unknown constraint functions corresponding to each set of decisions, τ i represents the preset constraint threshold of each set of constraint functions, i represents the subscript of each set of constraint functions, It means that i belongs to [N], [N] = {1, 2, ..., n}∈Z, where Z represents the set of positive integers.
3. The method according to claim 1, characterized in that: The dynamic multi-constraint algorithm comprises: Combining the unknown reward function with a set of unknown constraint functions to obtain an intrinsic regionalization model based on context information; Modeling the aggregation function based on the intrinsic regionalization model based on context information to obtain a modeled target aggregation function; Solving the target aggregation function to obtain a feasible solution set and an uncertain solution set; Expanding the feasible solution set to obtain an expanded feasible solution set; Based on the extended feasible solution set, a target feasible solution is determined, wherein the target feasible solution is used to represent a strategy with a maximum reward function value that satisfies a preset constraint threshold.
4. The method according to claim 3, characterized in that The target aggregation function is solved to obtain a feasible solution set and an uncertain solution set, including: The feasible solution region corresponding to the objective aggregation function is defined as: Among them, S t The set of feasible solutions for the current round, i represents the subscript of each set of constraint functions, x represents each decision, S t-1 represents the feasible solution set of the previous round, X represents each group of decisions, l i,t (x) represents the lower bound of the confidence interval of the posterior distribution of the Gaussian process of the target aggregation function, τ i Representing a preset constraint threshold value of each set of constraint functions; Based on the feasible solution region, the feasible solution set is obtained, and the expression of the feasible solution set is: Among them, S t represents the feasible solution set of the current round, S t-1 represents the feasible solution set of the previous round, and X represents each group of decisions; The uncertain solution region corresponding to the aggregation function is defined as: U t =∩ i {x∈X\S t |u i,t (x)≥τ i } (4) Among them, U t represents the uncertain solution set, i represents the subscript of each set of constraint functions, X\S t Represents the elements in the X set with S removed t The elements of the remaining set of elements in the set, S t-1 represents the feasible solution set of the previous round, X represents each group of decisions, u i,t (x) represents the elements in the set X with S removed t The elements in the set The elements of the remaining set All constraint functions The confidence interval upper bound, τ i represents a preset constraint threshold of each set of constraint functions, and i represents the subscript of each set of constraint functions; Based on the uncertain solution region, the uncertain solution set is obtained, and the expression of the uncertain solution set is: Among them, U t represents the uncertain solution set, U t-1 Represents the set of uncertain solutions in the previous round, and X represents each group of decisions.
5. The method according to claim 3, characterized in that: The step of expanding the feasible solution set to obtain an expanded feasible solution set includes: The feasible solution set is expanded by obtaining a function to obtain the expanded feasible solution set.
6. The method according to claim 3, characterized in that: The step of determining a target feasible solution based on the extended feasible solution set includes: The expression of the reward function in the set of optimized and extended feasible solutions is: Among them, x t represents the tth decision, S t represents the set of feasible solutions, x∈S t Indicates that x belongs to the S t Set, μ 0,t-1 (x,z) represents the mean based on x and z, 0 represents the subscript of the target aggregation function, t-1 represents the iteration number, x represents each decision, z represents the context information, β t represents the parameter for adjusting the confidence interval, σ 0,t-1 (x,z) represents the variance based on x and z; Based on the t-th decision, a key constraint set is obtained under a dynamic constraint selection strategy; Based on the key constraint set, obtaining the reward function of the t-th decision and the observed values of the constraint functions belonging to the key constraint set; Based on the observed values of the constraint function, updating the posterior distribution and confidence interval of the Gaussian process model of the aggregation function; Based on the t-th decision, the optimal t-th decision in the extended feasible solution set is searched in a loop until the number of loops is twice the number of elements in the feasible solution set. The loop ends and the target feasible solution in the extended feasible solution set is obtained.
7. The method according to claim 6, characterized in that Based on the t-th decision, under the dynamic constraint selection strategy, a key constraint set is obtained, including: The dynamic constraint selection strategy process is: Among them, weight i,t (x) represents the contribution value of the i-th constraint at time t, α represents a constant, |.| represents the number of elements in the extended feasible solution set, S i,t represents the set of extended feasible solutions of the ith constraint function, |S i,t ∩S i,t-1 | represents the number of decisions shared by the current extended feasible solution set and the extended feasible solution set obtained in the previous iteration, δ 0,i Indicates the degree of correlation between the i-th constraint function and the reward function; Based on the contribution value of the i-th constraint at time t, the contribution value of the i-th constraint function at time t is converted into a normalized weight using the normalization method. The conversion expression is: in, represents the normalized contribution value of the ith constraint function at time t, weight max,t (x) represents the maximum contribution value among the contribution values of the 1st to nth constraint functions at time t, weight min,t (x) represents the minimum contribution value among the contribution values of the 1st to nth constraint functions at time t; Based on the normalized weights and the target constraint threshold, a key constraint set is obtained.
8. The method according to claim 7, characterized in that The expression of the key constraint set based on the normalized weight and target constraint threshold is: Among them, C t represents the key constraint set, represents the normalized contribution value of the ith constraint function at time t, λ represents the target constraint threshold, and i∈[N] represents that i belongs to [N].
9. A processor, characterized in that: The processor is used to run a program, wherein the program executes the method according to any one of claims 1 to 8 when running.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method according to any one of claims 1 to 8.
