Method for evaluating learning ability of intelligent agent and electronic device
By acquiring multiple interaction information of the agent on open tasks, and calculating the unit information collapse rate, interaction complexity compression ratio, feedback causal dependency strength, and transferable gain, the problem of the inability to comprehensively evaluate the learning ability of the agent in the existing technology is solved, and a multi-dimensional quantitative evaluation of the agent's learning ability and accurate differentiation of the real learning ability are realized.
Patent Information
- Application Number
- CN202611647981.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-23
- Publication Date
- 2026-11-20
AI Technical Summary
Existing technologies cannot comprehensively and reliably evaluate the learning ability of intelligent agents, especially in open task scenarios where they cannot distinguish between the agent's true online learning ability and pseudo-learning phenomena, leading to misjudgment of evaluation results.
By acquiring multiple interaction information of the agent on open tasks, the unit information collapse rate, interaction complexity compression ratio, feedback causal dependency strength, and transferable gain are calculated to comprehensively evaluate the agent's learning ability.
It enables multi-dimensional quantitative evaluation of the learning ability of intelligent agents, accurately distinguishes between real learning and pseudo-learning, and provides evaluation results that are more in line with the real learning characteristics of intelligent agents.
Smart Images

Figure CN123138079A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of artificial intelligence technology, and in particular to a method and electronic device for evaluating the learning ability of an intelligent agent. Background Technology
[0002] With the rapid development of large-scale models and autonomous agent technologies, agents capable of trial-and-error search and environmental interaction are widely used in open-ended tasks such as parameter optimization and solution design. Typically, the evaluation of an agent's learning ability relies solely on the final performance metrics of the task; this method fails to distinguish the underlying reasons why the agent achieves good task results. Therefore, a comprehensive and reliable method for evaluating an agent's learning ability is urgently needed. Summary of the Invention
[0003] In view of this, the purpose of this application is to propose a method and electronic device for evaluating the learning ability of an intelligent agent, so as to solve the problem of the inability to comprehensively and reliably evaluate the learning ability of an intelligent agent.
[0004] To achieve the above objectives, in a first aspect, this application provides a method for evaluating the learning ability of an intelligent agent, comprising:
[0005] Acquire the first interaction information generated when the agent under test performs multiple interactions on an open task;
[0006] Based on the first interaction information, the unit information collapse rate corresponding to each interaction is determined; wherein, the unit information collapse rate is used to characterize the degree to which the amount of new information added during each interaction reduces the search space of the candidate solutions corresponding to the open task.
[0007] Based on the first interaction information, an interaction complexity compression ratio is determined; wherein, the interaction complexity compression ratio is used to characterize the relative reduction factor of the number of interactions when the agent under test achieves the target score on the open task relative to the reference number of interactions;
[0008] Based on the first interaction information, the feedback causal dependency strength is determined; wherein, the feedback causal dependency strength is used to characterize the degree to which the interaction of the agent under test depends on the feedback information in the first interaction information;
[0009] Determine the transferable gain of the task knowledge information obtained by the agent under test during the operation of the open task;
[0010] The learning ability value of the agent under test is determined based on the unit information collapse rate, the interaction complexity compression ratio, the feedback causal dependency strength, and the transferable gain.
[0011] Based on the same inventive concept, in a second aspect, this application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable by the processor, wherein the processor implements the method described above when executing the computer program.
[0012] As described above, the intelligent agent learning ability evaluation method and electronic device provided in this application include the following steps: First, acquiring the first interaction information generated when the intelligent agent under test performs multiple interactions on an open-ended task. This interaction information contains complete interaction trajectory data, including each round of sampling actions, environmental feedback, candidate solutions, scores, and interaction timing, serving as the original data source for all subsequent index calculations. Based on the first interaction information, determining the unit information collapse rate corresponding to each interaction; whereby the unit information collapse rate characterizes the degree to which the newly added information during each interaction reduces the search space of the candidate solutions corresponding to the open-ended task. The unit information collapse rate measures the information utilization efficiency of a single interaction. With each interaction, the intelligent agent under test receives feedback information, eliminating unreasonable candidate solutions and narrowing the range of possible solutions. A higher unit information collapse rate indicates a stronger ability of the intelligent agent under test to compress the search space. Based on the first interaction information, determining the interaction complexity compression ratio; whereby the interaction complexity compression ratio characterizes the relative decrease in the number of interactions when the intelligent agent under test achieves the target score on the open-ended task relative to a reference number of interactions. The interaction complexity compression ratio reflects the degree of cost savings in interaction. A higher compression ratio means the tested agent needs fewer interaction rounds to complete the task and achieve the preset target score. Based on the first interaction information, the feedback causal dependency strength is determined; this strength characterizes the degree to which the tested agent's interaction depends on the feedback information in the first interaction. The degree of dependency on feedback information verifies whether each interaction of the tested agent is causally driven by environmental information. The transferability gain of the task knowledge information obtained by the tested agent during operation on the open task is determined. This transferability gain measures whether the experience and strategies learned by the tested agent on the current task can be reused and transferred to other similar tasks; a higher transferability gain indicates more general knowledge. Based on the unit information collapse rate, the interaction complexity compression ratio, the feedback causal dependency strength, and the transferability gain, the learning ability value of the tested agent is determined. By integrating these four dimensions, a multi-dimensional quantitative evaluation of the agent's learning ability in open task scenarios is achieved, making the evaluation results more consistent with the agent's actual learning characteristics. Attached Figure Description
[0013] To more clearly illustrate the technical solutions in this application or related technologies, the drawings used in the description of the embodiments or related technologies 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 these drawings without creative effort.
[0014] Figure 1 This is a flowchart illustrating the intelligent agent learning ability evaluation method according to an embodiment of this application;
[0015] Figure 2 This is a schematic diagram of the structure of the intelligent agent learning ability evaluation device according to an embodiment of this application;
[0016] Figure 3 This is a schematic diagram of the hardware structure of an electronic device according to an embodiment of this application. Detailed Implementation
[0017] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with specific embodiments and the accompanying drawings.
[0018] It should be noted that, unless otherwise defined, the technical or scientific terms used in the embodiments of this application should have the ordinary meaning understood by one of ordinary skill in the art to which this application pertains. The terms "first," "second," and similar terms used in the embodiments of this application do not indicate any order, quantity, or importance, but are merely used to distinguish different components. Terms such as "comprising" or "including" mean that the element or object preceding the word encompasses the elements or objects listed after the word and their equivalents, without excluding other elements or objects. Terms such as "connected" or "linked" are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. Terms such as "upper," "lower," "left," and "right" are only used to indicate relative positional relationships; when the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0019] With the rapid development of large-scale modeling and autonomous agent technologies, agents capable of trial-and-error search and environmental interaction are widely used in open-ended task scenarios such as prescription development, parameter optimization, and solution design. These agents can continuously output candidate solutions to the task environment and receive environmental feedback during task execution, continuously adjusting subsequent search strategies. The industry generally expects that agents can learn task-related general rules through online interaction with the environment, reducing the number of interactions required for subsequent searches and achieving true learning gains.
[0020] However, the relevant technology has a core flaw: relying solely on the final performance metrics of the task cannot distinguish the underlying reasons why the agent achieves good task results. There are several possibilities for an agent to obtain a high evaluation score in open-ended tasks. The first is genuine online learning: the agent can update its own cognition based on environmental feedback, relying on feedback causality to drive search behavior, extracting experiential knowledge that can be reused across tasks, and gradually shrinking unnecessary search space. The second is pseudo-learning: the agent relies solely on the model's built-in prior knowledge, large-scale random enumeration trial and error, or fixed preset search rules, and happens to find a high-quality candidate solution; in this scenario, even if the task score is met, the agent does not update its cognition based on real-time feedback, the search space does not effectively shrink with interactive information, and the learned content cannot be transferred to new tasks of the same family.
[0021] Currently, a certain performance evaluation system has been established for intelligent agents with long-cycle autonomous interactive iteration capabilities. However, the existing evaluation system has fundamental technical defects and cannot accurately determine the true online learning ability of intelligent agents. In particular, it is not suitable for open task scenarios where the optimal solution is unknown and relies on continuous trial and error iteration, such as scientific research inverse problem solving, complex combinatorial optimization, and formal proof tasks.
[0022] Traditional intelligent agent evaluation schemes suffer from a core limitation: prioritizing endpoint results over underlying mechanisms. Their evaluation criteria are limited to terminal performance indicators such as the agent's final task score, task pass rate, and optimal solution score. These evaluation metrics can only intuitively reflect the final effect of the agent's task execution and answer the question of the agent's optimal task-solving capacity upper limit, but they cannot trace the underlying causes of performance improvement. They cannot distinguish whether the agent's performance optimization stems from effective information mining, strategy iteration, and knowledge acquisition during interaction with the environment, or simply from accumulating excellent results through large-scale, undirected, and blind trial and error. The evaluation dimensions are one-sided and lack the ability to discern mechanisms at the mechanistic level, failing to meet the evaluation needs of the learning characteristics of long-term autonomous interactive intelligent agents.
[0023] To compensate for the shortcomings of traditional indicators, related technologies have gradually developed evaluation paradigms based on performance growth curves. These paradigms demonstrate an agent's environmental learning ability by fitting a saturation growth curve of performance as interaction frequency and duration changes. Performance refers to the quantitative score corresponding to the agent's output solution in a task, used to measure the degree to which the current candidate solution meets the task objective. However, this evaluation method has flaws and lacks scientific validity. According to extreme value statistics theory, by conducting independent random sampling within the task solution space and continuously recording the score of the best solution to date, its performance will exhibit a monotonically increasing, marginally decreasing, and eventually saturating pattern with the increase in the number of attempts, naturally forming a smooth curve with extremely high fitting (such as a log-sigmoid saturation curve). Therefore, a performance growth curve with excellent shape is not a unique characteristic of effective learning by an agent. Completely directionless, blind trial-and-error search can also generate highly similar curve trends. Existing evaluation methods based on curve shape cannot distinguish between effective learning behavior and random trial-and-error behavior of an agent, resulting in serious misjudgment of learning ability.
[0024] Furthermore, existing evaluation systems cannot effectively distinguish between task-specific overfitting and general knowledge acquisition in agents, further exacerbating evaluation distortion. Agents, after prolonged trial and error in a single task instance to approximate a high-quality solution, often only accumulate personalized, non-transferable local experience adapted to the current task. This is essentially task-specific overfitting, merely transforming traditional model weight overfitting into context-experience overfitting. Existing evaluation methods cannot distinguish between this type of localized experience and general structured knowledge and atomic operation capabilities that can be reused across similar tasks, failing to determine whether the agent has developed genuine general learning capabilities. Simultaneously, existing public evaluation benchmarks commonly suffer from training data leakage, further interfering with the accuracy of evaluation results, amplifying the probability of misjudgments of high-scoring performance, and ultimately preventing current technologies from achieving accurate and reliable quantitative evaluation of agents' online interactive learning capabilities.
[0025] In view of this, this application proposes a method for evaluating the learning ability of intelligent agents, which assesses and judges the learning ability of intelligent agents at the mechanism level.
[0026] The embodiments of this application will be described in detail below with reference to the accompanying drawings.
[0027] This application provides a method for evaluating the learning ability of an intelligent agent, referencing... Figure 1 This includes the following steps:
[0028] Step 101: Obtain the first interaction information generated when the agent under test interacts multiple times on an open task.
[0029] Specifically, open-ended tasks differ from closed-ended tasks with fixed answers in that there is no single standard solution. The first interaction information contains complete interaction data, including each sampled interaction action of the agent, environmental feedback, candidate solutions, scores, and interaction sequence, and serves as the original data source for calculating all subsequent metrics.
[0030] The agent under test performs a continuous run on an open-ended task, which includes multiple interactions. All possible candidate solutions to the open-ended task form a set, which constitutes the solution space, denoted as . In the first In this interaction, the agent under test produces candidate solutions. The environment returns feedback information. With rating .go through The interaction trajectory obtained after the interaction is recorded as follows:
[0031] (1)
[0032] in, Let represent the candidate solution generated in the i-th interaction. Indicates the environment is targeted The returned feedback information This represents the rating for the i-th interaction. This represents the total number of interactions. Also, it defines the number of interactions up to the [number]. The best score is .
[0033] Step 102: Based on the first interaction information, determine the unit information collapse rate corresponding to each interaction; wherein, the unit information collapse rate is used to characterize the degree to which the amount of new information added during each interaction reduces the search space of the candidate solutions corresponding to the open task.
[0034] Specifically, the unit information collapse rate can be used to measure the information rate of a single interaction. Each time the agent under test interacts with the environment, it receives feedback information, which can be used to eliminate unreasonable candidate solutions and narrow down the range of possible solutions. The higher the unit information collapse rate, the stronger the agent's ability to compress the search space for the same amount of new information.
[0035] Furthermore, determining the unit information collapse rate corresponding to each interaction based on the first interaction information includes:
[0036] Define the probability distribution of the first candidate solution after each interaction. The probability distribution of the first candidate solution is the probability determined by the agent under test based on the first interaction information to characterize each candidate solution as a high-quality solution.
[0037] Based on the probability distribution of the first candidate solution, the volume of the search space is determined by conversion using the differential entropy exponent.
[0038] Based on the probability distribution of the first candidate solutions corresponding to two adjacent interactions, the amount of new information corresponding to the later interaction in the two adjacent interactions is determined; wherein, the amount of new information is used to characterize the information gain generated by the later interaction relative to the earlier interaction; based on the volume of the search space and the amount of new information, the unit information collapse rate corresponding to the later interaction is determined.
[0039] Specifically, to characterize how the agent under test's understanding of the "solution space" changes with interaction, we define the probability distribution of the first candidate solution after each interaction. This probability distribution is also the agent's posterior belief distribution regarding the "location of the optimal solution" after obtaining the interaction trajectory, denoted as... The probability distribution of the first candidate solution In solution space The above satisfies: Based on the first interaction information, the agent under test assigns probability values to all candidate solutions to the task, forming a first candidate solution probability distribution. Each probability in the first candidate solution probability distribution represents the likelihood that the corresponding candidate solution is a high-quality solution. This first candidate solution probability distribution represents the posterior belief currently held by the agent under test, reflecting the agent's judgment on the quality of each candidate solution.
[0040] Based on the probability distribution of the first candidate solution, the volume of the search space is calculated using the differential entropy exponent. This volume is not the geometric dimension of the true solution space, but rather a measure of the equivalent search space corresponding to the probability distribution. The volume of the search space for the k-th interaction is defined as follows. :
[0041] (2)
[0042] in, for The differential entropy (information entropy) indicates that the larger the differential entropy, the more dispersed the probability distribution of the first candidate solution, the higher the uncertainty, and the larger the volume of the search space. The larger the value, the smaller the differential entropy, the more concentrated the probability is in a few high-quality candidate solutions, and the larger the volume of the search space. The smaller the value. The exponent in equation (2) is used to reduce the differential entropy to the dimension of "equivalent volume," which is the volume of the search space. The larger the value, the larger the effective space that the agent under test still needs to search.
[0043] In the initial stage of the interaction, the probability distribution of the first candidate solution is uniform, and the volume of the search space is... Take the maximum value As effective learning occurs, the probability distribution of the first candidate solution gradually concentrates. Monotonous decline.
[0044] Based on the probability distribution of the first candidate solutions corresponding to two adjacent interactions, the amount of new information corresponding to the later interaction in two adjacent interactions is determined. First, the amount of new information obtained by the k-th interaction is defined. The information gain of the probability distribution of the first candidate solution of the agent under test relative to the previous interaction is represented by KL divergence:
[0045] (3)
[0046] in, This represents the probability distribution of the first candidate solution after the k-th interaction. This represents the probability distribution of the first candidate solution after the (k-1)th interaction. (This is achieved by adding new information.) The magnitude of the probability distribution update of the first candidate solution brought about by the k-th interaction can be measured in nats.
[0047] Furthermore, determining the unit information collapse rate corresponding to subsequent interactions based on the volume of the search space and the amount of newly added information includes:
[0048] The volume of the search space corresponding to the first interaction in multiple interactions is determined as the first volume; the volume of the search space corresponding to the last interaction in multiple interactions is determined as the second volume; the logarithmic difference between the first volume and the second volume is determined; the ratio of the logarithmic difference to the sum of all newly added information in multiple interactions is taken as the unit information collapse rate.
[0049] Specifically, determine the volume of the search space corresponding to the first interaction in a series of interactions, and use it as the first volume. Determine the volume of the search space corresponding to the last interaction in a series of interactions, and use it as the second volume. Determine the logarithmic difference between the first volume and the second volume. The ratio of the logarithmic difference to the sum of all newly added information in multiple interactions is taken as the unit information collapse rate. :
[0050] (4)
[0051] in, The numerator represents the volume of the search space at the time of the first interaction. The numerator represents the logarithmic factor by which the search space is compressed during the entire operation, and the denominator represents the total amount of new information acquired during the entire operation.
[0052] The unit information collapse rate characterizes how much the search space is narrowed by each unit of newly added information. Directed exploration can efficiently transform small amounts of feedback into a significant contraction of the search space. The larger the probability distribution, the more independent the interactions become, and feedback is not used to narrow the probability distribution. It hardly decreased. 0. Therefore, through It can characterize whether the increase in information leads to a directional contraction of the search space. It distinguishes whether the high scores of the tested agent stem from effective information learning or simply random trial and error. The unit information collapse rate establishes a quantitative relationship between the increase in information and the degree of search space compression, providing a calculable and objective indicator for evaluating the agent's information utilization efficiency, and offering a mechanistic quantitative basis for assessing the learning ability of the tested agent.
[0053] It should be noted that, in engineering implementation, the aforementioned probability distribution of the first candidate solution is itself an abstract belief within the agent and cannot be directly read. Therefore, in engineering, observable agent variables are used to approximate the probability distribution of the first candidate solution. Three feasible implementation methods are listed below. First, approximation is made using the empirical distribution of subsequent sampling points. Guided by the current probability distribution, the agent under test will continuously sample in the candidate solution space, generate candidate solutions, and submit interactions. The sampling points of subsequent candidate solutions are statistically analyzed, and the frequency of sampling in each candidate region is counted. The empirical distribution formed by these frequencies is used as an approximation of the probability distribution of the first candidate solution. The agent's sampling strategy generally favors regions it considers more likely to be high-quality solutions; the sampling point frequency reflects the agent's probability distribution regarding the quality of candidate solutions.
[0054] Secondly, the internal scores of the agent to be tested for candidate solutions are approximated by softmax normalization. The agent's internal scores (scalar values, higher scores indicating the agent's preference for the candidate solution) for each candidate solution are read. All candidate solution scores are fed into the softmax function for normalization, converting the original scores into a probability distribution with a sum of 1, thus approximating the probability distribution of the first candidate solution. Softmax maps a set of real-valued scores to probabilities, preserving the relative ranking of candidate solutions and transforming the agent's internal preferences into probabilistic form.
[0055] Third, the probability distribution is obtained by fitting a Bayesian surrogate model. Using a Bayesian surrogate model, such as a Gaussian process, a predicted probability distribution of scores on the unknown candidate solution space is fitted based on completed interaction samples and corresponding feedback scores. This probability distribution gives the probability that each candidate solution is a high-quality solution, serving as an approximation of the probability distribution of the first candidate solution. The Bayesian surrogate model can utilize existing interaction data to model the performance mean and uncertainty of candidate solutions across the entire continuous solution space, obtaining a global posterior probability, not limited to the already sampled discrete candidate points.
[0056] Step 103: Determine the interaction complexity compression ratio based on the first interaction information; wherein, the interaction complexity compression ratio is used to characterize the relative reduction factor of the number of interactions when the agent under test achieves the target score on the open task relative to the reference number of interactions.
[0057] Specifically, the number of reference interactions is generally taken from a baseline task as a benchmark. The interaction complexity compression ratio reflects the degree of cost savings in interaction. The higher the interaction complexity compression ratio, the fewer interactions the agent under test needs to complete the task and achieve the preset target score.
[0058] Furthermore, determining the interaction complexity compression ratio based on the first interaction information includes:
[0059] A baseline task corresponding to the open task is constructed, and second interaction information generated when the agent under test performs multiple interactions on the baseline task is obtained; wherein there is no causal relationship between the multiple interactions performed by the agent under test on the baseline task; the number of interactions when the agent under test reaches the target score on the baseline task is determined from the second interaction information, and is used as the reference interaction number; the interaction complexity compression ratio is determined based on the first interaction information and the reference interaction number.
[0060] Specifically, the baseline task is a control task with a task structure, solution space, and evaluation rules completely identical to the open task, but with all environmental feedback and causal guidance removed. It is used to provide benchmark performance through "no learning, purely random trial and error." Each round of interaction in the baseline task is independently and randomly sampled, with no information transfer, policy updates, or feedback utilization between interactions. In other words, the baseline task does not generate any learning, does not converge search strategies, and does not accumulate experience; it is merely blind trial and error without direction. The second interaction information generated by the agent under test during multiple interactions on the baseline task is obtained. The number of interactions by the agent under test when it reaches the target score on the baseline task is determined from the second interaction information and used as the reference interaction number, denoted as . ,in This represents the target score. Specifically, by traversing the baseline non-causal interaction trajectory, the average number of attempts required to reach the target score under conditions of blind trial and error is calculated, yielding the reference interaction count. Based on the first interaction information and the reference interaction count, the interaction complexity compression ratio is determined. The first interaction information is the information generated by the agent under test through real learning on the open-ended task, while the reference interaction count is the information obtained by the agent under test without learning on the baseline task. By determining the interaction complexity compression ratio using the first interaction information and the reference interaction count, the compression ratio can be quantified by how many times the agent under test, relying on interaction learning, has reduced the number of interactions that originally required a large number of blind trial and error attempts.
[0061] Furthermore, determining the interaction complexity compression ratio based on the first interaction information and the reference interaction count includes:
[0062] The number of interactions required for the agent under test to achieve the target score on the open task is determined from the first interaction information and is taken as the target interaction number; the ratio of the reference interaction number to the target interaction number is determined as the interaction complexity compression ratio.
[0063] Specifically, the number of interactions required to reach the target score is determined from the first interaction information and recorded as the target interaction number. Interaction complexity compression ratio Determined by the following formula:
[0064] (5)
[0065] in, Characterizing the agent under test improves interaction efficiency by a factor of two compared to blind trial and error. If This indicates that the agent under test is not more efficient than random search, and its score improvement can be attributed to the number of attempts rather than directionality. A value much greater than 1 indicates that the score improvement of the tested agent relies on directional exploration.
[0066] In this embodiment, by constructing a baseline task without causal correlation, the performance gain brought by the inherent success rate of random trial and error is accurately removed, avoiding the misjudgment of the score improvement from naturally random sampling as the learning ability of the tested agent, thus fundamentally solving the misjudgment defects of existing evaluation mechanisms. Using the reference number of interactions of the same agent under no-feedback learning conditions as a benchmark, fair comparison is achieved for the same agent, the same solution space, and the same scoring rules, eliminating the interference of model prior ability and task difficulty on the evaluation results, resulting in high reliability of the quantification results. It can objectively measure the true ability of the tested agent to reduce invalid searches and lower trial and error costs through online interactive learning, no longer relying on fuzzy inferences based on endpoint performance or curve shape.
[0067] Step 104: Determine the feedback causal dependency strength based on the first interaction information; wherein the feedback causal dependency strength is used to characterize the degree to which the interaction of the agent under test depends on the feedback information in the first interaction information.
[0068] Specifically, the strength of causal dependency can be used to distinguish whether a tested agent makes decisions based on its own learned task knowledge or relies heavily on real-time environmental feedback for trial and error. Higher dependency strength indicates that each action of the agent requires significant external feedback guidance. Lower dependency strength suggests that the agent can reason autonomously based on existing knowledge and relies less on immediate feedback.
[0069] Furthermore, determining the strength of the feedback causal dependency based on the first interaction information includes:
[0070] At least a portion of the feedback information in the first interaction information is modified to generate intervention feedback information; the agent under test is instructed to perform multiple interactions based on the intervention feedback information on an open task to obtain third interaction information; the feedback causal dependency strength is determined based on the first interaction information and the third interaction information.
[0071] Specifically, the first interaction information includes the actual feedback information generated by the agent under test during interactions on the open-ended task. A portion of the feedback information in the first interaction information is modified to generate intervention feedback information. The essence of intervention is to disrupt the causal correspondence between the original feedback information and candidate solutions, meaning that the feedback information received by the agent under test no longer reflects the merits of the candidate solutions themselves. The agent under test is then instructed to interact multiple times on the open-ended task based on the intervention feedback information. That is, keeping the task environment, candidate solution space, and the initial state of the agent under test unchanged, only the feedback information is replaced with the intervention feedback information, allowing the same agent under test to conduct multiple rounds of interaction again. The third interaction information generated from these multiple rounds of interaction is then collected. The third interaction information records the probability distribution of each candidate solution updated by the agent under test based on the intervention feedback information, and the sampling strategy is adjusted accordingly. By comparing the first and third interaction information, the differences in the evolution of candidate solution probability distribution, score changes, and the number of interactions required to reach the target score are analyzed, quantifying the feedback causal dependency strength. The feedback causal dependency strength characterizes the degree to which the agent under test's search behavior and score improvement depend on the causal information carried by the feedback from the real environment. If the causal dependency of the feedback is high, it indicates that the behavior of the agent under test highly relies on the feedback information. Once the feedback is tampered with, the search strategy will deviate significantly, and the score will drop rapidly, indicating that the agent under test does indeed rely on environmental feedback to learn and update the probability distribution of each candidate solution. If the causal dependency of the feedback is low, the interaction trajectory and score of the agent under test will be almost unaffected after the feedback information is tampered with, indicating that the high score of the agent under test does not come from environmental feedback learning, but is most likely the result of a fixed strategy, random sampling, or its own inherent prior knowledge.
[0072] Furthermore, determining the feedback causal dependency strength based on the first interaction information and the third interaction information includes:
[0073] In the first interaction information, determine the first sampling distribution information of the next interaction corresponding to the feedback information;
[0074] In the third interaction information, the second sampling distribution information for the next interaction corresponding to the intervention feedback information is determined;
[0075] The feedback causal dependency strength is determined based on the first sampling distribution information and the second sampling distribution information.
[0076] Specifically, the feedback information in the first interaction is recorded as... The intervention feedback information in the third interactive information is recorded as Before intervention, for each round of real feedback information, the probability distribution of each candidate solution updated by the agent under test based on this feedback information is extracted, and the sampling distribution used by the candidate solutions in the next round is generated as the first sampling distribution information, denoted as... The first sampling distribution information reflects the sampling preference of the agent under test for subsequent candidate solutions under the guidance of real feedback. After intervention, for each round of intervention feedback information, the sampling distribution used by the agent under test to update the probability distribution of each candidate solution based on the intervention feedback information is extracted, and then used as the second sampling distribution information for the next round of candidate solutions. The second sampling distribution information reflects the sampling preference of the agent under test for subsequent candidate solutions under the guidance of intervention feedback. The difference between the first sampling distribution information corresponding to the actual feedback and the second sampling distribution information corresponding to the intervention feedback is compared to calculate the causal dependency strength of the feedback. The specific formula is as follows:
[0077] (6)
[0078] in, This represents the set of interactions in which intervention was applied. This indicates the number of interactions that resulted in intervention. This represents the sampling distribution information of the (k+1)th interaction of the agent under test, based on real feedback information. This represents the sampling distribution information of the agent under test in k+1 interactions under the intervention feedback information. This is the Jensen-Shannon divergence, with a value between 0 and ln2, used to symmetrically measure the difference between the first and second sampled distribution information.
[0079] The strength of causal dependency in feedback measures the sensitivity of subsequent interaction sampling to the feedback content. If... ≈0 indicates that the agent under test is not sensitive to the feedback content, and the sampling of its next interaction has no causal relationship with the feedback, belonging to undirected search. If A value much greater than 0 indicates that the next interaction sampling of the agent under test is guided by feedback and has directionality. By comparing the sampling differences under real feedback and intervention feedback, causal dependence is quantified at the probability distribution level, with finer granularity of measurement, which can quantitatively characterize the causal control ability of feedback information on the subsequent search behavior of the agent under test.
[0080] Step 105: Determine the transferable gain of the task knowledge information obtained by the agent under test when running on the open task.
[0081] Specifically, transferability gain measures whether the experience, policies, and knowledge structures learned by the agent under test on an open task can be reused and transferred to other similar tasks in the same family. The higher the transferability gain, the more general the knowledge learned by the agent under test is, rather than being a local policy that is only adapted to the current open task.
[0082] Furthermore, determining the transferable gain of the task knowledge information obtained by the agent under test during the operation of the open task includes:
[0083] The agent under test is instructed to perform multiple interactions on the target task based on the task knowledge information to obtain fourth interaction information; wherein, the target task is another task with the same task structure as the open task; the transferable gain is determined based on the fourth interaction information.
[0084] Specifically, task knowledge information refers to the experience, strategies, and other knowledge accumulated and refined by the agent under test during open-ended task interactions. This task knowledge information is then transferred to the target task, allowing the agent under test to conduct multiple rounds of interaction within the target task, collecting the fourth interaction information generated during this process. The target task maintains the same task structure as the open-ended task, meaning the solution space type, evaluation rules, and task paradigm are consistent, differing only in the specific task instance, ensuring that the transfer test is not affected by differences in task structure.
[0085] Based on information such as score changes and interaction counts in the fourth interaction information, the performance of the agent under test on the target task after reusing the aforementioned task knowledge is evaluated, and the transferable gain is obtained. Let the open task be A, and the target task of the same family be B. The task knowledge information (such as the refined context summary, reusable subroutines, lemmas, or policies) learned by the agent under test in a single run on A is denoted as . This is then picked up and injected into the B-oriented execution, with the cross-task transferable gain defined by the following formula:
[0086] (7)
[0087] in, This represents the starting score on B, beginning from zero (without transfer). Indicates injection The initial score on B is then given. This indicates the upper limit of the score for B. This represents the number of interactions required for the score on B to reach half of the target score without transfer. This represents the number of interactions required for the score on B to reach half of the target score when there is transfer. In Equation (7), the first term in parentheses measures the relative increase in the starting score due to transfer, and the second term measures the relative acceleration of the learning speed due to transfer. The average of the two terms is the transferable gain.
[0088] The nature of the learned experience of the agent under test can be determined by the transferable gain. ≈0 indicates that task knowledge information is not transferable and is only a specialized accumulation within open-ended task instances. A value much greater than 0 indicates that the task knowledge information possesses atomicity and cross-task reuse value, which is strong evidence of genuine learning.
[0089] In this embodiment, transfer testing is conducted on a target task consistent with the open-ended task structure. This controls task structure variables, eliminates interference from task paradigm differences on the transfer evaluation results, and ensures the objectivity and reliability of the transferable gain evaluation results. Knowledge generalization ability is evaluated through post-transfer interaction information, distinguishing between two scenarios: whether the high score achieved by the agent in the open-ended task indicates mastery of reusable general task knowledge or merely adaptation to local information specific to an instance of the open-ended task, further identifying pseudo-learning phenomena.
[0090] Step 106: Determine the learning ability value of the agent under test based on the unit information collapse rate, the interaction complexity compression ratio, the feedback causal dependency strength, and the transferable gain.
[0091] Specifically, a complete evaluation system is formed using unit information collapse rate, interaction complexity compression ratio, feedback causal dependency strength, and transferable gain to assess the learning ability of the agent under test from four dimensions. The learning ability value is calculated using the following formula:
[0092] (8)
[0093] in, , , and These are the unit information collapse rate, interaction complexity compression ratio, feedback causal dependency strength, and the value of the transferable gain after normalization to [0,1]. , , and The combined weights of the indicators should satisfy... Each fusion weight can be determined by the validation set according to the application scenario. The value of is between 0 and 1.
[0094] In this embodiment, the four dimensions of indicators are not repeated measurements of the same result, but rather different mechanisms required for true learning to take hold. Each indicator carries a risk of misjudgment when used individually. The unit information collapse rate is used to verify whether the added information leads to a directional contraction of the effective search space. However, search space contraction may also be caused by pre-set heuristic rules, hard constraints, or repeated sampling, and may not necessarily be achieved by the tested agent using feedback. The interaction complexity compression ratio is used to determine whether the number of attempts required for the tested agent to achieve the target score is reduced compared to undirected search. If the model itself has strong prior capabilities, its performance may be better than a random baseline even without online learning. The feedback causal dependency strength is used to verify whether subsequent behavioral changes of the tested agent are causally driven by the feedback content. Although the tested agent may be sensitive to feedback, if the update strategy is biased, it may only produce a response without forming effective learning. The transferable gain is used to examine whether the learned experience forms a reusable structure. Transferable gain may also originate from the high similarity between the open task and the target task, data leakage, or model pre-training priors, and is not obtained from this online interactive learning.
[0095] Therefore, no single metric can reliably and independently prove that the agent under test has engaged in genuine learning. When a high unit information collapse rate is combined with a low feedback causal dependency strength, the shrinkage of the search space may come from pre-defined rules, fixed procedures, or temporal scheduling, rather than being feedback-driven. When a high feedback causal dependency strength is combined with a low interaction complexity compression ratio, although the agent under test can respond to feedback, the feedback is used in the wrong direction and cannot improve search efficiency. When a high interaction complexity compression ratio is combined with a low transferable gain, the agent under test can only achieve high efficiency on the current task instance, essentially using task-specific shortcuts. When a high transferable gain is combined with a low unit information collapse rate, the transfer advantage comes from the model's initial capabilities or the similarity of the task itself, rather than newly learned experience during the interaction process.
[0096] The four indicators mentioned above together constitute a progressive evidence chain of "information utilization - efficiency improvement - causal verification - knowledge reuse". This application does not simply weight and fuse multiple performance indicators, but rather sets up observation indicators with complementary error-correction capabilities for various pseudo-learning mechanisms, and makes joint judgments according to the mechanism verification chain. The evaluation method of this application can eliminate different types of pseudo-learning phenomena one by one. It confirms the directional contraction of the search space through the unit information collapse rate, verifies that this contraction translates into actual search efficiency improvement through the interaction complexity compression ratio, eliminates interference from fixed strategies, time correlation, and accidental score increases through feedback causal intervention, and eliminates single-instance overfitting and non-reusable specialization effects through cross-task transfer testing. In open-ended task scenarios where the optimal solution is unknown and random search can also generate saturated performance curves, this joint evaluation method can distinguish between real learning driven by feedback and blind convergence achieved through computing power, achieving evaluation effects that a single indicator cannot achieve.
[0097] It should be noted that the numerical evaluation of learning ability can be used to generate improvement strategies and resource allocation instructions for the agent under test. The system identifies weak links based on a combination of four indicators: when the unit information collapse rate is low, the feedback parsing module, memory retrieval module, or candidate solution generation strategy is adjusted to focus subsequent actions more on the high-value areas indicated by the feedback. When the interaction complexity compression ratio is low, ineffective parallel sampling is reduced, and candidate solution sorting, early stopping, and pruning mechanisms are introduced; when the causal dependency strength of feedback is low, the binding method between feedback and historical trajectories is optimized, and feedback reference verification, reflection steps, or causal attribution modules are added; when the transferable gain is low, the in-task trajectory is compressed into reusable rules, subroutines, tool call templates, or structured memories, and then written into long-term memory after verification through family tasks.
[0098] In terms of technology selection, candidate agents can be evaluated using the same task set, interaction budget, and computing environment. When the final scores are similar, agents with higher learning ability, higher interaction complexity compression ratio, and stable transferable gains should be given priority, rather than simply choosing the one with the highest single score.
[0099] Regarding computational power allocation, the interaction complexity compression ratio and unit information collapse rate can be used for dynamic budget allocation. For example, if the search space continues to effectively collapse after increasing the number of computation rounds, inference resources can continue to be allocated; if the collapse rate is below the threshold and the score growth is not significantly different from the undirected baseline within multiple consecutive evaluation windows, the expansion can be stopped, the agent can be terminated early, or the agent can be switched; if the feedback causal dependency strength is high but the transferable gain is low, inference computing power will not be increased simply, but memory extraction and knowledge structuring modules will be prioritized.
[0100] Therefore, the learning ability value can be further transformed into executable control operations such as model selection, module replacement, parallelism adjustment, maximum number of interaction rounds setting, early stopping, and long-term memory writing.
[0101] Based on steps 101 to 106 above, this embodiment provides an intelligent agent learning ability evaluation method and electronic device. The method includes acquiring first interaction information generated when the intelligent agent under test performs multiple interactions on an open-ended task. The interaction information contains complete interaction trajectory data, including each round of actions of the intelligent agent under test, environmental feedback, candidate solutions, scores, and interaction timing, and serves as the original data source for calculating all subsequent indicators. Based on the first interaction information, the unit information collapse rate corresponding to each interaction is determined; wherein, the unit information collapse rate characterizes the degree to which the amount of newly added information during each interaction reduces the search space of candidate solutions corresponding to the open-ended task. The unit information collapse rate can measure the information utilization efficiency of a single interaction. Each interaction of the intelligent agent under test receives feedback information, eliminating unreasonable candidate solutions and narrowing the range of possible solutions. The higher the unit information collapse rate, the stronger the ability of the intelligent agent under test to compress the search space. Based on the first interaction information, the interaction complexity compression ratio is determined; wherein, the interaction complexity compression ratio characterizes the relative decrease in the number of interactions when the intelligent agent under test reaches the target score on the open-ended task relative to the number of reference interactions. The interaction complexity compression ratio reflects the degree of cost savings in interaction. A higher compression ratio means the tested agent needs fewer interaction rounds to complete the task and achieve the preset target score. Based on the first interaction information, the feedback causal dependency strength is determined; this strength characterizes the degree to which the tested agent's interaction depends on the feedback information in the first interaction. The degree of dependency on feedback information verifies whether each interaction of the tested agent is causally driven by environmental information. The transferability gain of the task knowledge information obtained by the tested agent during operation on the open task is determined. This transferability gain measures whether the experience and strategies learned by the tested agent on the current task can be reused and transferred to other similar tasks; higher transferability indicates more general knowledge. Based on the unit information collapse rate, the interaction complexity compression ratio, the feedback causal dependency strength, and the transferability gain, the learning ability value of the tested agent is determined. By integrating these four dimensions, a multi-dimensional quantitative evaluation of the agent's learning ability in open task scenarios is achieved, making the evaluation results more consistent with the agent's actual learning characteristics.
[0102] In some embodiments, the method further includes:
[0103] In response to the learning ability value being greater than or equal to a preset upper threshold, the agent under test is determined to be an agent with strong learning ability; in response to the learning ability value being greater than or equal to a preset lower threshold and less than a preset upper threshold, the agent under test is determined to be an agent with weak learning ability; in response to the learning ability value being less than a preset lower threshold, the agent under test is determined to be an agent with pseudo-learning ability.
[0104] Specifically, the learning ability level of the tested agent can be determined based on the learning ability score. The determination rule is shown in the following formula:
[0105] (9)
[0106] in, This indicates the learning ability level of the agent under test. Greater than or equal to the preset upper limit threshold ( When ), it is determined that the agent under test is an agent with strong learning ability. When Greater than or equal to the preset lower threshold ( When the value is less than a preset upper threshold, the agent under test is determined to be an agent with weak learning ability. If the score is below a preset lower threshold, the agent under test is determined to be an agent with pseudo-learning ability. This applies to agents with high scores but... Lower (especially) , Agents with low scores (or low learning levels) are marked as "high score, low learning" and submitted to the human-machine collaborative review module for further examination.
[0107] In this embodiment, based on a multi-dimensional indicator evidence chain, an automatic classification and judgment of the learning ability of the agent under test is achieved through two-level thresholds. The complex quantitative results of multiple indicators are transformed into three clear and interpretable qualitative conclusions, facilitating direct output of evaluation results from the engineering side and reducing the cost of interpreting the evaluation results. It distinguishes between weak learning and pseudo-learning, avoiding the coarse evaluation problem caused by binary judgments (only distinguishing between the presence and absence of learning). For some agents that exhibit local response feedback but cannot form a complete and generalizable learning mechanism, this classification method can capture these intermediate states, resulting in a finer evaluation granularity. The method framework of this application does not depend on a specific model structure or specific task domain. It can be used as a high-order evaluation module in conjunction with existing benchmarking, performance evaluation, and other methods without replacing existing processes, offering flexible deployment and scalability to various agent evaluation scenarios with long-cycle autonomous interaction characteristics, such as software engineering, scientific research discovery, and complex decision-making.
[0108] The following specific examples illustrate the application scenarios of the method in this application.
[0109] Application scenario: Multi-agent collaborative evaluation in the research and development of new traditional Chinese medicine drugs
[0110] In the context of new drug development for traditional Chinese medicine, a multi-agent system is constructed, comprising an intelligent agent for literature retrieval, an intelligent agent for formulation design, an intelligent agent for efficacy prediction, an intelligent agent for safety evaluation, and an intelligent agent for overall decision-making. The system generates candidate prescriptions for specific indications and iteratively optimizes them based on feedback from efficacy, safety, and drug-likeness. The search space is comprised of candidate herbal combinations, dosage ratios, processing methods, and extraction techniques; feedback information includes literature evidence, component analysis results, efficacy prediction results, toxicity risks, and experimental verification results.
[0111] Step 1, Task Initialization: Input the target indication, syndrome type, expected mechanism of action, and safety constraints. Each agent generates literature evidence, candidate drugs, dosage range, potential targets, and risk information, which are then used by the overall decision-making agent to form an initial set of candidate prescriptions.
[0112] Step 2, Collaborative Optimization: The efficacy prediction agent performs component-target-pathway analysis on candidate prescriptions, the safety evaluation agent identifies toxic components, incompatibilities, and dosage risks, the formulation design agent adjusts the composition and dosage of medicinal materials based on feedback, and the overall decision-making agent decides whether to retain, eliminate, or continue to validate the proposed solutions.
[0113] Step 3, Experimental Feedback: Conduct in vitro efficacy, animal efficacy, or toxicology experiments on the selected candidate formulations. The system feeds back the experimental results to each agent, forming a new round of candidate solutions, until a formulation that meets the preset efficacy and safety conditions is obtained.
[0114] Based on the changes in the search space of candidate prescriptions before and after each round of new feedback, the degree of search space reduction caused by the increased information is calculated. For example, after experiments revealed that a certain combination of medicinal materials has significant hepatotoxicity, the system can simultaneously exclude candidate prescriptions containing this combination or similar risky components, and focus subsequent searches on safer medicinal materials and dosage ranges, indicating that the search space has undergone effective collapse driven by feedback.
[0115] A non-directional search baseline is set up, which does not utilize feedback semantics and only randomly combines medicinal materials and dosages. The number of evaluations or experiments required to obtain candidate prescriptions that meet the efficacy and safety requirements is compared between the two methods. If the multi-agent system obtains a qualified prescription in fewer experimental rounds, it indicates that it reduces the R&D search cost through collaborative learning, rather than relying on a large number of enumerations to obtain results by chance.
[0116] Causal interventions were implemented on experimental feedback, such as hiding a toxicity result, swapping the efficacy results of two prescription groups, or replacing the feedback that "a certain component causes toxicity" with the opposite feedback, and observing whether subsequent prescription and dosage selections changed accordingly. If the system proactively reduced the dosage of relevant medicinal materials or replaced them under normal feedback conditions, and its decision path showed significant and explainable changes after the feedback was intervened, it proves that the update of candidate prescriptions is indeed driven by feedback information, rather than mechanically adjusted based on a pre-set template.
[0117] The experiential structures developed in the research and development of a specific indication can be transferred to new drug development tasks for related indications or similar symptoms. For example, learned constraints on toxic components, compatibility relationships, dosage boundaries, and "component-target-pathway" associations can be applied to new formulation screening tasks. The initial candidate quality, number of rounds required to achieve the target efficacy, number of failed experiments, and safety hit rate of the new task can be compared with and without experience transfer. If experience transfer can reduce ineffective formulations and the number of experiments, it indicates that the system has formed reusable knowledge.
[0118] If a multi-agent system obtains a prescription with good efficacy after extensive computation, but its candidate space does not effectively shrink with experimental feedback; the prescription adjustment behavior remains basically unchanged after intervention feedback; and the formed experience cannot improve the prescription efficiency for the relevant indications, then even if the final learning ability value is good, it can be determined that it mainly relies on large-scale enumeration, pre-set rules, or accidental hits, which constitutes "pseudo-learning" or insufficient learning evidence.
[0119] If a multi-agent system can eliminate low-value regions based on newly added efficacy and toxicity information, obtaining a qualified prescription with significantly fewer experiments than undirected search; if its decisions exhibit causal responses to feedback interventions; and if it can transfer experience in drug compatibility, dosage, and risk control to new tasks, then these four indicators collectively demonstrate that the system has undergone genuine learning.
[0120] It should be noted that the method in this embodiment can be executed by a single device, such as a computer or server. The method can also be applied in a distributed scenario, where multiple devices cooperate to complete the task. In such a distributed scenario, one of these devices may execute only one or more steps of the method in this embodiment, and the multiple devices will interact with each other to complete the method described.
[0121] It should be noted that some embodiments of this application have been described above. In some cases, the actions or steps described in the above embodiments can be performed in a different order than that shown in the above embodiments and the desired result can still be achieved. In addition, the processes depicted in the accompanying drawings do not necessarily require a specific or sequential order to achieve the desired result. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0122] Based on the same inventive concept, and corresponding to any of the above embodiments, this application also provides an intelligent agent learning ability evaluation device.
[0123] refer to Figure 2 The intelligent agent learning ability assessment device includes:
[0124] The acquisition module 201 is configured to acquire the first interaction information generated when the agent under test performs multiple interactions on an open task.
[0125] The first determining module 202 is configured to determine the unit information collapse rate corresponding to each interaction based on the first interaction information; wherein the unit information collapse rate is used to characterize the degree to which the amount of new information added during each interaction reduces the search space of the candidate solutions corresponding to the open task.
[0126] The second determining module 203 is configured to determine the interaction complexity compression ratio based on the first interaction information; wherein the interaction complexity compression ratio is used to characterize the relative reduction factor of the number of interactions when the agent under test achieves the target score on the open task relative to the reference number of interactions.
[0127] The third determining module 204 is configured to determine the feedback causal dependency strength based on the first interaction information; wherein the feedback causal dependency strength is used to characterize the degree to which the interaction of the agent under test depends on the feedback information in the first interaction information;
[0128] The fourth determining module 205 is configured to determine the transferable gain of task knowledge information obtained by the agent under test during the operation of the open task;
[0129] The fifth determining module 206 is configured to determine the learning ability value of the agent under test based on the unit information collapse rate, the interaction complexity compression ratio, the feedback causal dependency strength, and the transferable gain.
[0130] In some embodiments, the first determining module 202 is configured to define a first candidate solution probability distribution after each interaction, wherein the first candidate solution probability distribution is a probability determined by the agent under test based on the first interaction information to characterize each candidate solution as a high-quality solution; based on the first candidate solution probability distribution, determine the volume of the search space by conversion using differential entropy exponent; based on the first candidate solution probability distribution corresponding to two adjacent interactions, determine the amount of new information corresponding to the later interaction in two adjacent interactions; wherein the amount of new information is used to characterize the information gain generated by the later interaction relative to the earlier interaction; and based on the volume of the search space and the amount of new information, determine the unit information collapse rate corresponding to the later interaction.
[0131] In some embodiments, the first determining module 202 is configured to determine the volume of the search space corresponding to the first interaction in multiple interactions, as a first volume; determine the volume of the search space corresponding to the last interaction in multiple interactions, as a second volume; determine the logarithmic difference between the first volume and the second volume; and use the ratio of the logarithmic difference to the sum of all newly added information in multiple interactions as the unit information collapse rate.
[0132] In some embodiments, the second determining module 203 is configured to construct a baseline task corresponding to the open task, and obtain second interaction information generated when the agent under test performs multiple interactions on the baseline task; wherein there is no causal relationship between the multiple interactions performed by the agent under test on the baseline task; determine the number of interactions when the agent under test reaches the target score on the baseline task from the second interaction information, as the reference number of interactions; and determine the interaction complexity compression ratio based on the first interaction information and the reference number of interactions.
[0133] In some embodiments, the second determining module 203 is configured to determine, in the first interaction information, the number of interactions when the agent under test reaches the target score on the open task, as the target interaction number; and to determine the ratio of the reference interaction number to the target interaction number as the interaction complexity compression ratio.
[0134] In some embodiments, the third determining module 204 is configured to modify at least a portion of the feedback information in the first interaction information to generate intervention feedback information; to cause the agent under test to perform multiple interactions on an open task based on the intervention feedback information to obtain third interaction information; and to determine the feedback causal dependency strength based on the first interaction information and the third interaction information.
[0135] In some embodiments, the third determining module 204 is configured to
[0136] In the first interaction information, a first sampling distribution information for the next interaction corresponding to the feedback information is determined; in the third interaction information, a second sampling distribution information for the next interaction corresponding to the intervention feedback information is determined; and the feedback causal dependency strength is determined based on the first sampling distribution information and the second sampling distribution information.
[0137] In some embodiments, the fourth determining module 205 is configured to cause the agent under test to perform multiple interactions on the target task based on the task knowledge information to obtain fourth interaction information; wherein the target task is another task with the same task structure as the open task; and to determine the transferable gain based on the fourth interaction information.
[0138] In some embodiments, a sixth determining module is further included, configured to determine that the agent under test is an agent with strong learning ability in response to the learning ability value being greater than or equal to a preset upper threshold; to determine that the agent under test is an agent with weak learning ability in response to the learning ability value being greater than or equal to a preset lower threshold and less than a preset upper threshold; and to determine that the agent under test is an agent with pseudo-learning ability in response to the learning ability value being less than a preset lower threshold.
[0139] For ease of description, the above devices are described in terms of function, divided into various modules. Of course, in implementing this application, the functions of each module can be implemented in one or more software and / or hardware.
[0140] The apparatus described above is used to implement the corresponding agent learning ability evaluation method in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0141] Based on the same inventive concept, corresponding to the methods of any of the above embodiments, this application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the intelligent agent learning ability evaluation method described in any of the above embodiments.
[0142] Figure 3 This embodiment illustrates a more specific hardware structure of an electronic device. The device may include a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, memory 1020, input / output interface 1030, and communication interface 1040 are interconnected internally via the bus 1050.
[0143] The processor 1010 can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.
[0144] The memory 1020 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 can store the operating system and other applications. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program code is stored in the memory 1020 and is called and executed by the processor 1010.
[0145] The input / output interface 1030 is used to connect input / output modules to realize information input and output. Input / output modules can be configured as components within the device (not shown in the figure) or externally connected to the device to provide corresponding functions. Input devices may include keyboards, mice, touchscreens, microphones, various sensors, etc., while output devices may include displays, speakers, vibrators, indicator lights, etc.
[0146] The communication interface 1040 is used to connect a communication module (not shown in the figure) to enable communication between this device and other devices. The communication module can communicate via wired means (such as USB, Ethernet cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).
[0147] Bus 1050 includes a pathway for transmitting information between various components of the device, such as processor 1010, memory 1020, input / output interface 1030, and communication interface 1040.
[0148] It should be noted that although the above-described device only shows the processor 1010, memory 1020, input / output interface 1030, communication interface 1040, and bus 1050, in specific implementations, the device may also include other components necessary for normal operation. Furthermore, those skilled in the art will understand that the above-described device may only include the components necessary for implementing the embodiments of this specification, and not necessarily all the components shown in the figures.
[0149] The electronic devices described above are used to implement the corresponding intelligent agent learning ability evaluation methods in any of the foregoing embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0150] Based on the same inventive concept, corresponding to the methods of any of the above embodiments, this application also provides a non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute the agent learning ability evaluation method as described in any of the above embodiments.
[0151] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by 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-transfer medium that can be used to store information accessible by a computing device.
[0152] The computer instructions stored in the storage medium of the above embodiments are used to cause the computer to execute the intelligent agent learning ability evaluation method as described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0153] Based on the same concept, corresponding to any of the above embodiments, this application also provides a computer program product, including computer program instructions, which, when run on a computer, cause the computer to perform the method described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0154] It is understood that before using the technical solutions of the various embodiments in this disclosure, users will be informed of the type, scope of use, and usage scenarios of the personal information involved in an appropriate manner, and user authorization will be obtained.
[0155] For example, upon receiving a user's active request, a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information. This allows the user to choose, based on the prompt message, whether to provide personal information to the software or hardware such as the electronic device, application, server, or storage medium performing the operations of this disclosed technical solution.
[0156] As an optional but not limited implementation, in response to a user's active request, sending a prompt message to the user can be done via a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose whether to "agree" or "disagree" to the electronic device providing personal information.
[0157] It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure.
[0158] Those skilled in the art should understand that the discussion of any of the above embodiments is merely exemplary and is not intended to imply that the scope of this application is limited to these examples; under the concept of this application, the technical features of the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other variations of different aspects of the embodiments of this application as described above, which are not provided in detail for the sake of brevity.
[0159] Additionally, to simplify the description and discussion, and to avoid obscuring the embodiments of this application, the well-known power / ground connections to integrated circuit (IC) chips and other components may or may not be shown in the provided drawings. Furthermore, the apparatus may be shown in block diagram form to avoid obscuring the embodiments of this application, and this also takes into account the fact that the details of the implementation of these block diagram apparatuses are highly dependent on the platform on which the embodiments of this application will be implemented (i.e., these details should be fully understood by those skilled in the art). While specific details (e.g., circuits) have been set forth to describe exemplary embodiments of this application, it will be apparent to those skilled in the art that the embodiments of this application can be implemented without these specific details or with variations thereof. Therefore, these descriptions should be considered illustrative rather than restrictive.
[0160] Although this application has been described in conjunction with specific embodiments thereof, many substitutions, modifications, and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may be used with the embodiments discussed.
[0161] The embodiments of this application are intended to cover all such substitutions, modifications, and variations that fall within the broad scope of this application. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the embodiments of this application should be included within the protection scope of this application.
Claims
1. A method for evaluating the learning ability of an intelligent agent, characterized in that, include: Acquire the first interaction information generated when the agent under test performs multiple interactions on an open task; Based on the first interaction information, the unit information collapse rate corresponding to each interaction is determined; wherein, the unit information collapse rate is used to characterize the degree to which the amount of new information added during each interaction reduces the search space of the candidate solutions corresponding to the open task. Based on the first interaction information, an interaction complexity compression ratio is determined; wherein, the interaction complexity compression ratio is used to characterize the relative reduction factor of the number of interactions when the agent under test achieves the target score on the open task relative to the reference number of interactions; Based on the first interaction information, the feedback causal dependency strength is determined; wherein, the feedback causal dependency strength is used to characterize the degree to which the interaction of the agent under test depends on the feedback information in the first interaction information; Determine the transferable gain of the task knowledge information obtained by the agent under test during the operation of the open task; The learning ability value of the agent under test is determined based on the unit information collapse rate, the interaction complexity compression ratio, the feedback causal dependency strength, and the transferable gain.
2. The method according to claim 1, characterized in that, The step of determining the unit information collapse rate corresponding to each interaction based on the first interaction information includes: Define the probability distribution of the first candidate solution after each interaction. The probability distribution of the first candidate solution is the probability determined by the agent under test based on the first interaction information to characterize each candidate solution as a high-quality solution. Based on the probability distribution of the first candidate solution, the volume of the search space is determined by conversion using the differential entropy exponent. Based on the probability distribution of the first candidate solutions corresponding to two adjacent interactions, the amount of new information corresponding to the later interaction in two adjacent interactions is determined; wherein, the amount of new information is used to characterize the information gain generated by the later interaction relative to the earlier interaction. Based on the volume of the search space and the amount of newly added information, determine the unit information collapse rate corresponding to the subsequent interaction.
3. The method according to claim 2, characterized in that, Determining the unit information collapse rate corresponding to subsequent interactions based on the volume of the search space and the amount of newly added information includes: Determine the volume of the search space corresponding to the first interaction in a series of interactions, and use it as the first volume; Determine the volume of the search space corresponding to the last interaction in a series of interactions, and use it as the second volume; Determine the logarithmic difference between the first volume and the second volume; The ratio of the logarithmic difference to the sum of all newly added information in multiple interactions is taken as the unit information collapse rate.
4. The method according to claim 1, characterized in that, The step of determining the interaction complexity compression ratio based on the first interaction information includes: Construct a baseline task corresponding to the open task, and obtain second interaction information generated when the agent under test performs multiple interactions on the baseline task; wherein there is no causal relationship between the multiple interactions performed by the agent under test on the baseline task. The number of interactions when the agent under test achieves the target score on the baseline task is determined from the second interaction information and used as the reference number of interactions. The interaction complexity compression ratio is determined based on the first interaction information and the reference interaction count.
5. The method according to claim 4, characterized in that, Determining the interaction complexity compression ratio based on the first interaction information and the reference interaction count includes: The number of interactions when the agent under test achieves the target score on the open task is determined from the first interaction information and is taken as the target interaction number. The ratio of the reference number of interactions to the target number of interactions is determined as the interaction complexity compression ratio.
6. The method according to claim 1, characterized in that, Determining the strength of the feedback causal dependency based on the first interaction information includes: Modify at least a portion of the feedback information in the first interaction information to generate intervention feedback information; The agent under test is instructed to interact multiple times on an open-ended task based on the intervention feedback information to obtain the third interaction information. The strength of the feedback causal dependency is determined based on the first interaction information and the third interaction information.
7. The method according to claim 6, characterized in that, Determining the feedback causal dependency strength based on the first interaction information and the third interaction information includes: In the first interaction information, determine the first sampling distribution information of the next interaction corresponding to the feedback information; In the third interaction information, the second sampling distribution information for the next interaction corresponding to the intervention feedback information is determined; The feedback causal dependency strength is determined based on the first sampling distribution information and the second sampling distribution information.
8. The method according to claim 1, characterized in that, The determination of the transferable gain of task knowledge information obtained by the agent under test during the operation of the open task includes: The agent under test is instructed to perform multiple interactions on the target task based on the task knowledge information to obtain a fourth interaction information; wherein, the target task is another task with the same task structure as the open task. The transferable gain is determined based on the fourth interaction information.
9. The method according to claim 1, characterized in that, The method further includes: In response to the learning ability value being greater than or equal to a preset upper limit threshold, the agent under test is determined to be an agent with strong learning ability; In response to the learning ability value being greater than or equal to a preset lower threshold and less than a preset upper threshold, the agent under test is determined to be an agent with weak learning ability. If the learning ability value is less than a preset lower threshold, the agent under test is determined to be an agent with pseudo-learning ability.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the processor executes the computer program, it implements the method as described in any one of claims 1 to 9.
