A multi-agent recommendation method based on selective process control
By generating candidate branch reference distributions and monitoring offsets in multi-agent recommendation methods, and selectively restoring the collaborative process, the problems of repeated execution and uncertain restoration positions in existing technologies are solved, thereby improving the controllability of the recommendation process and the terminal ranking utility.
Patent Information
- Application Number
- CN202611313452.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-27
- Publication Date
- 2026-11-24
AI Technical Summary
Existing multi-agent recommendation methods suffer from coarse triggering conditions, difficulty in determining recovery positions, lack of structural constraints, and high overhead from repeated executions, leading to wasted computational resources and uncertainty in recommendation results.
By generating a candidate branch reference distribution before collaboration begins, calculating the online branch support offset, and restoring checkpoints when a legitimate sibling branch is detected, the suffix part of the collaboration process is re-executed to ensure the validity of the terminal sorting results.
It achieves selective control of re-execution based on the collaborative state, reduces unnecessary model calls, improves the controllability of the multi-agent recommendation process and the terminal ranking utility, and avoids random recovery and the introduction of external evidence.
Smart Images

Figure CN123157367A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of artificial intelligence technology, and specifically to a multi-agent recommendation method based on selective process control. Background Technology
[0002] Recommendation systems typically score and rank candidate items based on user history, user preferences, and candidate item features. With the development of semantic understanding and reasoning capabilities of large language models, agents based on large language models are increasingly being used to analyze user needs and candidate item information in natural language, providing new approaches to complex preference modeling and interactive recommendations.
[0003] In multi-agent recommendation systems, multiple language agents with different roles or autonomous capabilities exchange user preferences, candidate item information, and partial judgments according to a predetermined execution order, and form a shared candidate ranking through continuous collaboration. Unlike recommendation methods that only output the ranking result once, this type of system continuously generates agent judgments, complete candidate rankings, interaction records, and workflow states before the final ranking is generated. Therefore, its collaboration process itself has observable and recoverable intermediate states.
[0004] Existing multi-agent recommendation methods primarily enhance collaboration by addressing agent roles, preference modeling, information exchange, and memory reuse. Other methods further examine and adjust established recommendations by adding reasoning, reflection, feedback, or iterative revision steps. While these methods offer opportunities to improve recommendation outcomes, their focus is typically on enhancing collaboration or revising outputs, with less emphasis on considering the candidate states that emerge gradually during collaboration to determine whether to continue processing the current task.
[0005] The effects of subsequent processing vary across different recommendation tasks. Applying uniform reflection or repetition to all tasks may introduce unnecessary changes to the results. In the absence of reliable external feedback, subsequent judgments may continue to be influenced by existing collaboration records. Meanwhile, additional collaboration rounds increase model calls and computational overhead. Current technologies also struggle to determine the origin of affected collaboration processes based on successive intermediate states, and lack mechanisms to leverage existing structural relationships between candidates to define the direction of re-comparison. Summary of the Invention
[0006] The purpose of this invention is to provide a multi-agent recommendation method based on selective process control, which aims to solve the problems of coarse triggering conditions for subsequent processing, difficulty in determining the recovery position, lack of structural constraints on alternative candidates, and large overhead of repeated execution in existing multi-agent recommendation methods.
[0007] To achieve the above objectives, the present invention provides a multi-agent recommendation method based on selective process control, comprising the following steps:
[0008] Step 1: Obtain the task context, finite candidate set, pre-fixed candidate topology, cooperative agent set, and agent execution schedule; divide the candidate set into multiple decision branches based on the candidate topology, and determine the branch to which each candidate belongs;
[0009] Step 2: Before multi-agent collaboration begins, the candidate set is sorted using pre-trained personalized ranking anchors, and the candidate-level ranking support is aggregated into a reference distribution before collaboration. The reference distribution before collaboration Keep frozen throughout the entire collaboration process;
[0010] Step 3: Receive complete candidate rankings received progressively during the collaboration process, convert each complete ranking into candidate support, and aggregate them by branch to obtain the online branch support distribution up to the current step. ; Calculate the offset of the online branch support relative to the pre-collaboration reference distribution, and determine the monitoring branch with the largest offset;
[0011] Step 4: Compare the maximum offset with the monitoring threshold and the start threshold; when the same monitoring branch continuously exceeds the monitoring threshold in consecutive steps, the current offset exceeds the start threshold, and the monitoring branch has a topologically valid sibling branch, the current task is determined to meet the process control conditions.
[0012] Step 5: Determine the starting step of the continuous monitoring event, and use the recoverable checkpoint before this step as the recovery point. Make the records, messages, tool outputs and workflow status from the starting step of the monitoring event to the current step invalid. Extract the topologically valid sibling branches of the monitoring branch and their candidate subsets from the original candidate set, construct the control context and pass it to the agent participating in the suffix re-execution.
[0013] Step 6: Re-execute the complete cooperative suffix from the recovery point using the original task context, original candidate set, original agent set, and original execution schedule. Form a new valid cooperative trajectory based on the recovered prefix and the re-accepted records, and output the terminal candidate ranking result from the valid cooperative trajectory. If the process control conditions are not met, output the terminal candidate ranking result along the basic cooperative trajectory.
[0014] Optionally, the candidate topology, candidate-to-path allocation, task context, candidate set, cooperative agent set, and execution schedule are all fixed before cooperation begins; re-execution can only replace the suffix of the current cooperative trajectory, without changing the corresponding decision space.
[0015] Optionally, the ranking function for sorting is:
[0016]
[0017] The size of the candidate set is Candidate The rank in the complete sort is , Higher rankings are converted into larger support, and the total number of candidate supports for a complete ranking is normalized to 1.
[0018] Optional, for branches The pre-collaboration reference distribution and the online branch support distribution are as follows:
[0019]
[0020]
[0021] in, Belongs to branch candidate subsets, For the end step The non-empty index set of accepted records, Indicates the reference sorting for candidates support, Indicates the first The order of candidates has been accepted. Support.
[0022] Optionally, the branch supports offset, monitoring branch, and online control signals as follows:
[0023]
[0024] in, This is the set of candidate branches for the current task. For the monitoring branch of step t, This represents the increase in support for this monitoring branch relative to the pre-collaboration reference. This is intended solely as an online process control signal and does not represent a recommendation for error probability, terminal relevance, or correctness label.
[0025] Optionally, the monitoring indicator and the start indicator are as follows:
[0026]
[0027] in, To monitor the indicated quantity, To initiate the indication quantity, To monitor the threshold, This is the activation threshold;
[0028] Only the currently monitored event is eligible for structural inspection. Control operations are only initiated when the same branch is continuously monitored and there are legitimate sibling branches in the topology.
[0029] Optionally, the boundary is re-executed in step 5. Take the earliest step of the continuous monitoring events up to step t:
[0030]
[0031] in, The candidate starting step for continuously monitoring events, where j is the step index within the event, and the recovery point is... .
[0032] Optionally, the set of topologically valid alternatives for the monitored branch is its set of sibling branches; when this set is not empty, the control context consists of the monitored branch and candidate subsets of each sibling branch:
[0033]
[0034] in, For monitoring branches The set of topologically valid sibling branches, Indicates a sibling branch mapping. This represents the sibling branches in the set. Indicates sibling branches The corresponding candidate subset, This represents the control context passed to the agent participating in the suffix re-execution.
[0035] This invention provides a multi-agent recommendation method based on selective process control. First, it acquires the task context, candidate set, fixed candidate topology, and cooperative agent configuration. Before collaboration begins, a candidate branch reference distribution is generated. The complete candidate ranking received during collaboration is converted into an online branch support distribution, and its offset relative to the reference distribution is calculated and continuously monitored. When the same branch continuously exceeds the monitoring threshold, the offset exceeds the activation threshold, and a legitimate sibling branch exists, the checkpoint before the start of the continuous monitoring event is restored, the affected suffix is invalidated, a control context containing a subset of sibling branch candidates is constructed, and the complete suffix is re-executed using the original task, candidate set, agent configuration, and execution schedule, outputting the terminal candidate ranking result. This invention can selectively allocate re-execution opportunities based on the collaboration state, constrain the alternative direction to be in the original candidate space, and improve the controllability of the multi-agent recommendation process and the terminal ranking utility. Attached Figure Description
[0036] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0037] Figure 1 This is a flowchart illustrating a multi-agent recommendation method based on selective process control according to the present invention.
[0038] Figure 2 This is a schematic diagram of the execution model framework of a multi-agent recommendation method based on selective process control according to the present invention. Detailed Implementation
[0039] Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain the present invention, and should not be construed as limiting the present invention.
[0040] This invention provides a multi-agent recommendation method based on selective process control, comprising the following steps:
[0041] Step 1: Obtain the task context, finite candidate set, pre-fixed candidate topology, cooperative agent set, and agent execution schedule; divide the candidate set into multiple decision branches based on the candidate topology, and determine the branch to which each candidate belongs;
[0042] Step 2: Before multi-agent collaboration begins, the candidate set is sorted using pre-trained personalized ranking anchors, and the candidate-level ranking support is aggregated into a reference distribution before collaboration. The reference distribution before collaboration Keep frozen throughout the entire collaboration process;
[0043] Step 3: Receive complete candidate rankings received progressively during the collaboration process, convert each complete ranking into candidate support, and aggregate them by branch to obtain the online branch support distribution up to the current step. ; Calculate the offset of the online branch support relative to the pre-collaboration reference distribution, and determine the monitoring branch with the largest offset;
[0044] Step 4: Compare the maximum offset with the monitoring threshold and the start threshold; when the same monitoring branch continuously exceeds the monitoring threshold in consecutive steps, the current offset exceeds the start threshold, and the monitoring branch has a topologically valid sibling branch, the current task is determined to meet the process control conditions.
[0045] Step 5: Determine the starting step of the continuous monitoring event, and use the recoverable checkpoint before this step as the recovery point. Make the records, messages, tool outputs and workflow status from the starting step of the monitoring event to the current step invalid. Extract the topologically valid sibling branches of the monitoring branch and their candidate subsets from the original candidate set, construct the control context and pass it to the agent participating in the suffix re-execution.
[0046] Step 6: Re-execute the complete cooperative suffix from the recovery point using the original task context, original candidate set, original agent set, and original execution schedule. Form a new valid cooperative trajectory based on the recovered prefix and the re-accepted records, and output the terminal candidate ranking result from the valid cooperative trajectory. If the process control conditions are not met, output the terminal candidate ranking result along the basic cooperative trajectory.
[0047] The method flowchart of the present invention is as follows: Figure 1 As shown, the following further explains the core calculation relationships in the execution steps:
[0048] Candidate topologies, candidate-to-path assignments, task context, candidate set, cooperative agent set, and execution schedule are all fixed before collaboration begins. Re-execution only replaces the suffix of the current cooperative trajectory and does not change the aforementioned decision space. Preferably, the pre-collaboration reference is generated by a BPR matrix factorization model trained only on the training set and frozen before collaboration, but this reference is only used as a comparison coordinate and is not a ground truth ranking or correction target.
[0049] Let the size of the candidate set be... Candidate The rank in the complete sort is The ranking support function is then:
[0050] (1)
[0051] in, Higher rankings are converted into larger support, and the total number of candidate support for a complete ranking is normalized to 1. Indicates the reference sorting for candidates support, Indicates the first The order of candidates has been accepted. Support for branches. The pre-collaboration reference distribution and the online branch support distribution are as follows:
[0052] (2)
[0053] (3)
[0054] in, Belongs to branch candidate subsets, For the end step A non-empty set of indexes that have already accepted records. Branch support offsets, monitoring branches, and online control signals are as follows:
[0055] (4)
[0056] in, This is the set of candidate branches for the current task. For the monitoring branch of step t, This represents the increase in support for this monitoring branch relative to the pre-collaboration reference. This is for online process control only and does not represent a recommended error probability, terminal correlation, or correctness label. The monitoring indication and the start indication are as follows:
[0057] (5)
[0058] in, To monitor the indicated quantity, To initiate the indication quantity, To monitor the threshold, This is the activation threshold;
[0059] Only the currently monitored event qualifies for structural checks; control operations are only initiated when the same branch is continuously monitored and has topologically valid sibling branches. Re-execute boundary. Take the earliest step of the continuous monitoring events up to step t:
[0060] (6)
[0061] in, The candidate starting step for continuously monitoring events, where j is the step index within the event, and the recovery point is... The set of topologically valid alternatives for a monitored branch is its set of sibling branches; when this set is not empty, the control context consists of the monitored branch and candidate subsets of each sibling branch.
[0062] (7)
[0063] in, For monitoring branches The set of topologically valid sibling branches, Indicates a sibling branch mapping. This represents the sibling branches in the set. Indicates sibling branches The corresponding candidate subset, This represents the control context passed to the agent participating in the suffix re-execution.
[0064] Furthermore, the present invention is further illustrated by an embodiment of a selective process control method:
[0065] For a recommendation task x, a candidate set is pre-fixed. Candidate topology The decision-making hierarchy and agent execution scheduling are implemented. The candidate topology divides candidates into multiple branches; if a candidate... Belongs to the branch Then the candidate composition of the same branch , and branches Other branches sharing the parent node constitute .
[0066] Before collaboration begins, candidates are ranked using a BPR matrix factorization model trained and frozen only on the training set, and converted into reference support according to Equation (1). During collaboration, whenever a complete candidate ranking of the agent is accepted, i.e., converted and accumulated to the online branch support distribution according to the same support function, the monitoring state is updated according to Equations (2) to (5). The reference distribution only provides stable comparison coordinates and is not used as a ground truth ranking or correction target.
[0067] When the monitoring signal drops to or below the monitoring threshold, the current monitoring event is cleared; when the monitoring branch changes, a new monitoring event starts from the current step. When the same branch remains unchanged in a continuous monitoring event and the maximum offset exceeds the start threshold, the controller checks whether its sibling branch set is empty. If it is empty, the current trajectory is not modified; if it is not empty, the checkpoint before the start step of the continuous monitoring event is restored to the current state, the records in the event and their derived messages, tool outputs and workflow states are invalidated, and the control context is constructed according to equation (7).
[0068] Agents participating in suffix re-execution receive both the original task input and the control context. The control context only lists sibling branches and subsets of candidates from the original candidate set, without specifying that any candidate must achieve a higher ranking, and external retrieval is not allowed. Re-execution continues from the recovery point until the workflow terminates. The controller recalculates branch support based solely on the recovered prefix and newly received records, ultimately outputting the terminal candidate ranking result. Each task instance executes at most one local control operation.
[0069] Specifically, the execution model architecture of this invention is as follows: Figure 2 As shown, the whole consists of three parts:
[0070] 1. Pre-collaboration reference generation: Obtain task context, user history information and candidate set, and organize candidate objects by branching them in combination with pre-fixed candidate topology; generate pre-collaboration reference state using a pre-trained and frozen personalized ranking model to provide a comparison benchmark for subsequent online monitoring.
[0071] 2. Online Monitoring and Recovery Boundary Location: Multiple collaborative agents exchange information step-by-step according to a predetermined schedule and form candidate rankings. The system records the accepted candidate rankings and recoverable collaboration history. Candidate rankings are aggregated into online branch support states according to candidate topology and compared with the reference state before collaboration to determine the current monitoring branch and its offset degree. When process control conditions are met, the starting position of the continuous monitoring event and the corresponding recovery checkpoint are determined.
[0072] 3. Topology-guided suffix re-execution: Restore to the checkpoint before the start of the continuous monitoring event, invalidating the affected cooperative suffixes and their derived states; extract the legitimate sibling branches and their candidate subsets of the monitoring branches from the original candidate topology, construct the control context and pass it to the agents participating in the suffix re-execution; while keeping the original task, candidate set, candidate topology, agent configuration and execution scheduling unchanged, re-execute the complete cooperative suffix, and finally output the terminal candidate ranking result.
[0073] When the process control conditions are not met, the system continues to execute along the original basic collaborative process and outputs the terminal candidate sorting results. The arrows in the attached diagram illustrate the above data processing and status transmission relationships, and the judgment nodes indicate whether the selective process control conditions are met.
[0074] In summary, compared with the prior art, the present invention has the following beneficial effects:
[0075] By comparing the frozen reference distribution with the online branch support distribution, the process control triggering is changed from unconditional repetition to selective triggering based on the collaboration state, reducing unnecessary subsequent model calls.
[0076] By continuously monitoring the starting point of events to determine the recovery boundary, the scope of re-execution corresponds to the continuous occurrence of the monitoring status, avoiding random selection of historical locations.
[0077] By providing sibling branches and their candidate subsets through candidate topology, the alternative directions are limited to the original candidate space, thus avoiding the introduction of external candidates or external evidence.
[0078] By restoring checkpoints and invalidating affected suffixes and their derived states, re-execution is guaranteed to use only the restored prefix and newly accepted records to form a valid cooperative trajectory, thereby improving terminal sorting utility.
[0079] The above description discloses only one or more preferred embodiments of the present invention, and should not be construed as limiting the scope of the present invention. Those skilled in the art will understand that all or part of the processes of the above embodiments can be implemented, and equivalent changes made in accordance with the claims of the present invention are still within the scope of the invention.
Claims
1. A multi-agent recommendation method based on selective process control, characterized in that, Includes the following steps: Step 1: Obtain the task context, finite candidate set, pre-fixed candidate topology, cooperative agent set, and agent execution schedule; divide the candidate set into multiple decision branches based on the candidate topology, and determine the branch to which each candidate belongs; Step 2: Before multi-agent collaboration begins, the candidate set is sorted using pre-trained personalized ranking anchors, and the candidate-level ranking support is aggregated into a reference distribution before collaboration. ; The pre-cooperation reference distribution Keep frozen throughout the entire collaboration process; Step 3: Receive complete candidate rankings received progressively during the collaboration process, convert each complete ranking into candidate support, and aggregate them by branch to obtain the online branch support distribution up to the current step. ; Calculate the offset of the online branch support relative to the pre-collaboration reference distribution, and identify the monitoring branch with the largest offset; Step 4: Compare the maximum offset with the monitoring threshold and the start threshold; when the same monitoring branch continuously exceeds the monitoring threshold in consecutive steps, the current offset exceeds the start threshold, and the monitoring branch has a topologically valid sibling branch, the current task is determined to meet the process control conditions. Step 5: Determine the starting step of the continuous monitoring event, and use the recoverable checkpoint before this step as the recovery point. Make the records, messages, tool outputs and workflow status from the starting step of the monitoring event to the current step invalid. Extract the topologically valid sibling branches of the monitoring branch and their candidate subsets from the original candidate set, construct the control context and pass it to the agent participating in the suffix re-execution. Step 6: Re-execute the complete cooperative suffix from the recovery point using the original task context, original candidate set, original agent set, and original execution schedule. Form a new valid cooperative trajectory based on the recovered prefix and the re-accepted records, and output the terminal candidate ranking result from the valid cooperative trajectory. If the process control conditions are not met, output the terminal candidate ranking result along the basic cooperative trajectory.
2. The multi-agent recommendation method based on selective process control as described in claim 1, characterized in that, Candidate topology, candidate-to-path allocation, task context, candidate set, cooperative agent set, and execution scheduling are all fixed before cooperation begins; re-execution can only replace the suffix of the current cooperative trajectory, without changing the corresponding decision space.
3. The multi-agent recommendation method based on selective process control as described in claim 2, characterized in that, The ranking support function for sorting is: The size of the candidate set is Candidate The rank in the complete sort is , Higher rankings are converted into larger support, and the total number of candidate supports for a complete ranking is normalized to 1.
4. The multi-agent recommendation method based on selective process control as described in claim 3, characterized in that, For branches The pre-collaboration reference distribution and the online branch support distribution are as follows: in, Belongs to branch candidate subsets, For the end step The non-empty index set of accepted records, Indicates the reference sorting for candidates support, Indicates the first The order of candidates has been accepted. Support.
5. The multi-agent recommendation method based on selective process control as described in claim 4, characterized in that, The expressions for branch offset, monitoring branch, and online control signals are as follows: in, This is the set of candidate branches for the current task. For the monitoring branch of step t, This represents the increase in support for this monitoring branch relative to the pre-collaboration reference. This is intended solely as an online process control signal and does not represent a recommendation for error probability, terminal relevance, or correctness label.
6. The multi-agent recommendation method based on selective process control as described in claim 5, characterized in that, The monitoring indication and the start indication are as follows: in, To monitor the indicated quantity, To initiate the indication quantity, To monitor the threshold, This is the activation threshold; Only the currently monitored event is eligible for structural inspection. Control operations are only initiated when the same branch is continuously monitored and there are legitimate sibling branches in the topology.
7. The multi-agent recommendation method based on selective process control as described in claim 6, characterized in that, Re-execute boundary in step 5 Take the earliest step of the continuous monitoring events up to step t: in, The candidate starting step for continuously monitoring events, where j is the step index within the event, and the recovery point is... .
8. The multi-agent recommendation method based on selective process control as described in claim 7, characterized in that, The set of topologically valid alternatives for a monitored branch is its set of sibling branches; when this set is not empty, the control context consists of the monitored branch and a subset of candidate branches for each sibling branch. in, For monitoring branches The set of topologically valid sibling branches, Indicates a sibling branch mapping. This represents the sibling branches in the set. Indicates sibling branches The corresponding candidate subset, This represents the control context passed to the agent participating in the suffix re-execution.
