The invention discloses a graph-driven self-attention compressible
memory management method, and belongs to the technical field of penetration testing. According to the graph-driven self-attention compressible
memory management method, an attention graph is constructed, semantic dependence and attention flow directions among multiple Agent nodes are accurately described by utilizing edge weights, the relevance and the
accessibility of information are improved, and in the aspects of screening and loading, the expandability of the memory is improved. According to the method, key memory fragments are screened on the basis of concerned
graph edge weights and task related features, only the loaded information is loaded, redundancy is effectively eliminated, the data volume processed by a
system is reduced, and the
system operation efficiency is improved; the semantic compression module can perform abstract
processing on historical information based on various elements, and on the premise of ensuring that key
semantic information is not lost, the abstract length is controlled within the window limit, so that the model can normally
process information, and the adaptability and stability of the
system to different data volumes are improved.