The invention discloses a
network security situation
analysis method and device based on multi-agent
collaboration, and the method comprises the steps: firstly constructing an
agent architecture and a
route for
network security situation assessment analysis based on an
open source large
language model, carrying out the role definition of each agent in the
agent architecture through combining with a Prompt prompt word, and stipulating the communication format of the agent; based on
domain knowledge, a dynamic rank learning LoRA
algorithm is adopted to carry out fine adjustment on each agent in the
agent architecture, based on a
natural language rule base, a commander agent is utilized to coordinate a collusion agent and a simulated blue army agent, multi-
dimensional analysis is carried out through reflection, inquiry and debate mechanisms, and a
network security situation assessment result and
trend prediction are generated. Through combination of dynamic LoRA
fine tuning and a multi-agent debate mechanism, the problems that universality and field adaptability are difficult to balance and complex
attack intention analysis is insufficient in a traditional method are solved, and the accuracy and prediction reliability of network security situation assessment are remarkably improved.