吉林大学学报(工学版) ›› 2026, Vol. 56 ›› Issue (8): 2210-2218.doi: 10.13229/j.cnki.jdxbgxb.20250006

• 计算机科学与技术 • 上一篇    

基于密度聚类的多模态多目标优化算法

王莉利1(),张海洋1,高新成1,2   

  1. 1.东北石油大学 计算机与信息技术学院,黑龙江 大庆 163318
    2.东北石油大学 现代教育技术中心,黑龙江 大庆 163318
  • 收稿日期:2025-01-03 出版日期:2026-08-01 发布日期:2026-09-02
  • 作者简介:王莉利(1979-),女,副教授,博士. 研究方向:人工智能大数据计算及处理. E-mail: lily@nepu.edu.cn
  • 基金资助:
    黑龙江省教育科学“十五五”规划2026年度规划课题(GJB1526274);黑龙江省教育科学“十四五”规划2025年度规划课题(GJB1425352)

Multi-modal multi-objective optimization algorithm based on density clustering

Li-li WANG1(),Hai-yang ZHANG1,Xin-cheng GAO1,2   

  1. 1.School of Computer and Information Technology,Northeast Petroleum University,Daqing 163318,China
    2.Center for Modern Educational Technology,Northeast Petroleum University,Daqing 163318,China
  • Received:2025-01-03 Online:2026-08-01 Published:2026-09-02

摘要:

针对多模态多目标优化算法存在等价解分布不均和多样性收敛性方面的问题,提出基于密度聚类的多模态多目标优化算法(MMO_DBSCAN_BWO)。首先,混沌映射初始化种群,使个体均匀分布于决策空间,增强其全局搜索能力;其次,基于不同层级的非支配解集使用密度聚类算法生成小生境,识别出游离个体,提出层级进化策略和同级环形拓扑进化策略,加强搜索能力;然后,引入档案机制,保留个体历史最优解;最后,基于特殊拥挤距离非支配排序和基于欧氏距离的截断档案机制选取分布较为均匀的Pareto最优解。通过在2020年CEC多模态多目标测试函数上进行测试,并与3种算法进行对比实验,结果表明,MMO_DBSCAN_BWO的总体性能优于对比算法。同时,将算法应用于JavaScript恶意代码检测图模型超参数优化问题,模型准确率得到进一步提升,达到99.3%,证明了算法的有效性。

关键词: 多模态多目标优化, 白鲸优化, 密度聚类, 图神经网络

Abstract:

In order to solve the problems of unequal distribution and convergence of the equivalent solutions obtained by the multi-modal multi-objective optimization algorithm, a multi-modal multi-objective optimization algorithm based on density clustering (MMO_DBSCAN_BWO) is proposed. Firstly, the chaotic mapping initializes the population, makes the individuals evenly distributed in the decision space, and enhances its global search ability. Secondly, density clustering algorithm is used to generate niches based on non-dominated solution sets of different levels, identify stray individuals, and propose hierarchical evolutionary strategies and hierarchical ring topological evolutionary strategies to enhance search ability. Then, the archival mechanism is introduced to preserve the optimal solution of individual history. Finally, the optimal Pareto solution with uniform distribution is selected based on special congestion distance non-dominated sorting and Euclidean distance truncation mechanism. The overall performance of MMO_DBSCAN_BWO is better than that of the comparison algorithm by testing on the 2020 CEC multimodal multiobjective test function and comparing with the three algorithms. At the same time, the algorithm is applied to the hyperparameter optimization problem of JavaScript malicious code detection graph model, and the accuracy of the model is further improved, reaching 99.3%, which proves the effectiveness of the algorithm.

Key words: multimodal multi-objective optimization, beluga optimization, density clustering, graph neural networks

中图分类号: 

  • TP18

图1

小生境示例图"

图2

小生境进化流程图"

图3

小生境境内进化图"

图4

MMO_DBSCAN_BWO算法流程图"

表1

测试函数特征"

函数名称维度目标数等价解数
MMF1222
MMF2222
MMF4224
MMF5224
MMF7222
MMF8224

表2

MMO_DBSCAN_BWO算法与其他3种算法平均IGDX指标的比较结果"

测试函数DN_NSGAIIMO_Ring_PSO_SCDSS_MOPSOMMO_DBSCAN_BWO
MMF10.024 60.025 90.022 90.014 4
MMF20.022 80.025 20.010 10.005 4
MMF40.037 40.014 30.012 70.011 5
MMF50.067 10.052 90.042 50.039 5
MMF70.010 40.015 90.016 10.011 6
MMF80.054 60.037 10.028 10.024 8

表3

MMO_DBSCAN_BWO算法与其他3种算法平均PSP指标的比较结果"

测试函数DN_NSGAIIMO_Ring_PSO_SCDSS_MOPSOMMO_DBSCAN_BWO
MMF142.681 538.444 943.675 969.079 9
MMF261.526 236.718 2127.289 4180.894 4
MMF438.424 869.349 178.654 786.856 5
MMF514.575 918.819 023.432 225.205 8
MMF795.785 862.716 461.583 785.936 6
MMF818.009 026.915 535.536 339.660 5

图5

图层级异构图注意力网络模型"

图6

算法与模型结合整体框架结构图"

图7

JS代码预处理流程图"

表4

模型超参数对比结果"

模型超参数未融入优化算法异构图模型融入优化算法异构图模型
Word2Vec编码方式CBOWCBOW
特征向量维度200150
窗口大小57
隐藏神经元个数6458
注意力头数86

表5

评价指标对比结果"

评价指标未融入优化算法异构图模型融入优化算法异构图模型
准确率/%99.299.3
精确率/%98.998.6
召回率/%99.699.9
F1分数/%99.299.3
AUC0.992 40.994 3
[1] Qu B Y, Suganthan P N.Novel multimodal problems and differential evolution with ensemble of restricted tournament selection[C]∥IEEE Congress on Evolutionary Computation, Barcelona, Spain, 2010: 1-7.
[2] Deb K, Pratap A, Agarwal S, et al.A fast and elitist multiobjective genetic algorithm: NSGA-II[J].IEEE Transactions on Evolutionary Computation, 2002,6(2): 182-197.
[3] 顾清华, 唐慧, 李学现, 等.融合聚类和小生境搜索的多模态多目标优化算法[J].智能系统学报,2023,18(5):1127-1141.
Gu Qing-hua, Tang Hui, Li Xue-xian, et al. A multimodal multi-objective optimization algorithm integrating clustering and small habitat search[J]. Journal of Intelligent Systems,2023,18(5):1127-1141.
[4] Yue C T, Qu B Y, Liang J. A Multiobjective particle swarm optimizer using ring topology for solving multimodal multiobjective problems[J].IEEE Transactions on Evolutionary Computation, 2018,22(5): 805-817.
[5] 高海军, 潘大志. 星型结构的多目标粒子群算法求解多模态多目标问题[J]. 计算机工程与科学, 2020,42(8): 1472-1481.
Gao Hai-jun, Pan Da-zhi. Star-structured multi-objective particle swarm algorithm for solving multimodal multi-objective problems[J]. Computer Engineering and Science,2020,42(8):1472-1481.
[6] 章恩泽, 赵哲萱, 韦静月, 等.基于环形拓扑结构和动态邻域的多模态多目标粒子群优化算法[J].扬州大学学报:自然科学版,2023,26(4):19-24.
Zhang En-ze, Zhao Zhe-xuan, Wei Jing-yue, et al. A multimodal multi-objective particle swarm optimization algorithm based on ring topology and dynamic neighborhood[J]. Journal of Yangzhou University(Natural Science Edition),2023,26(4):19-24.
[7] 李占山, 宋志扬, 花昀峤. 一种基于自适应搜索的多模态多目标优化算法[J].东北大学学报: 自然科学版,2023,44(10): 1408-1415.
Li Zhan-shan, Song Zhi-yang, Hua Yun-qiao. A multimodal multi-objective optimization algorithm based on adaptive search[J]. Journal of Northeastern University (Natural Science Edition),2023,44(10):1408-1415.
[8] 刘衍俊, 刘晓东. 基于鲸鱼优化的k-means初始聚类中心选取研究[J]. 电子设计工程, 2024, 32(22): 42-46.
Liu Yan-jun, Liu Xiao-dong. A study on k-means initial clustering center selection based on whale optimization[J]. Electronic Design Engineering,2024,32(22): 42-46.
[9] Zhong C T, Li G, Meng Z. Beluga whale optimization: a novel nature-inspired metaheuristic algorithm[J]. Knowledge-Based Systems, 2022,251: 109215.
[10] Lian J, Yao X, Li Z S. Research and improvement of crow search algorithm for Feature selection[J]. Journal of Software, 2022,33(11): 3903-3916.
[11] 班多晗, 吕鑫, 王鑫元.基于一维混沌映射的高效图像加密算法[J].计算机科学,2020, 47(4): 278-284.
Ban Duo-han, Lv Xin, Wang Xin-yuan. An efficient image encryption algorithm based on one-dimensional chaotic mapping[J]. Computer Science,2020,47(4):278-284.
[12] Ester M, Kriegel H P, Sander J,et al.A density-based algorithm for discovering clusters in large spatial databases with noise[C]∥National Conferences on Aritificial Intelligence, KDD,1999, 226-231.
[13] Liang J, Qiao K, Yue C, et al. A clustering-based differential evolution algorithm for solving multimodal multi-objective optimization problems[J]. Swarm and Evolutionary Computation,2021, 60: 100788.
[14] Zitzler E, Laumanns M, Thiele L.SPEA2: Improving the strength pareto evolutionary algorithm for multiobjective optimization[C]∥ Proceedings of the EUROG,Athens,Greece, 2001: 19-21.
[15] Liang J J, Yue C T, Qu B Y.Multimodal multi-objective optimization: a preliminary study[J].IEEE, 2016:2454-2461.
[16] Qu B, Li C, Liang J,et al.A self-organized speciation based multi-objective particle swarm optimizer for multimodal multi-objective problems[J].Applied Soft Computing, 2020, 86: 13-18.
[17] 岳彩通, 梁静, 瞿博阳, 等.多模态多目标优化综述[J].控制与决策,2021,36(11):2577-2588.
Yue Cai-tong, Liang Jing, Qu Bo-yang, et al. A review of multimodal multi-objective optimization[J]. Control and Decision Making,2021,36(11):2577-2588.
[18] 纪育青, 方艳红, 谭顺华, 等.基于Bi-LSTM模型的恶意JavaScript代码检测方法[J].计算机应用与软件, 2024, 41(9): 357-362.
Ji Yu-qing, Fang Yan-hong, Tan Shun-hua, et al. Detection of malicious JavaScript code based on Bi-LSTM model[J]. Computer Applications and Software, 2024, 41(9): 357-362.
[19] 高新成, 张海洋, 朱城枫. 基于图层级异构图注意力网络的JavaScript恶意代码检测[J]. 吉林大学学报: 工学版, 2026, 56(4): 1094-1102.
Gao Xin-cheng, Zhang Hai-yang, Zhu Cheng-feng. JavaScript malicious code detection based on graph level heterogeneous graph attention network[J]. Journal of Jilin University (Engineering and Technology Edition), 2026, 56(4): 1094-1102.
[1] 顾炜江,业巧林,王兴虎. 融合图神经网络的移动机器人集群轨迹规划算法[J]. 吉林大学学报(工学版), 2026, 56(7): 2034-2040.
[2] 高镇海,鲍明喜,赵睿,唐明弘,高菲. 基于目标锚点驱动的多模态轨迹预测方法[J]. 吉林大学学报(工学版), 2026, 56(1): 21-30.
[3] 柴树山,周志强,李海涛,徐炅旸. 基于图时空模式学习网络的路网实时交通事件自动检测方法[J]. 吉林大学学报(工学版), 2025, 55(7): 2145-2161.
[4] 车翔玖,李良. 融合全局与局部细粒度特征的图相似度度量算法[J]. 吉林大学学报(工学版), 2025, 55(7): 2365-2371.
[5] 车翔玖,孙雨鹏. 基于相似度随机游走聚合的图节点分类算法[J]. 吉林大学学报(工学版), 2025, 55(6): 2069-2075.
[6] 车翔玖,武宇宁,刘全乐. 基于因果特征学习的有权同构图分类算法[J]. 吉林大学学报(工学版), 2025, 55(2): 681-686.
[7] 蔡晓东,周青松,张言言,雪韵. 基于动静态和关系特征全局捕获的社交推荐模型[J]. 吉林大学学报(工学版), 2025, 55(2): 700-708.
[8] 张玺君,余光杰,崔勇,尚继洋. 基于聚类算法和图神经网络的短时交通流预测[J]. 吉林大学学报(工学版), 2024, 54(6): 1593-1600.
[9] 刘迪,孙耀,胡云峰,陈虹. 基于密度聚类的商用车编队策略[J]. 吉林大学学报(工学版), 2024, 54(5): 1459-1468.
[10] 毛伊敏,顾森晴. 基于MapReduce与优化布谷鸟算法的并行密度聚类算法[J]. 吉林大学学报(工学版), 2023, 53(10): 2909-2916.
[11] 董立岩,梁伟业,王越群,李永丽. 基于会话的结合全局潜在信息的图神经网络推荐模型[J]. 吉林大学学报(工学版), 2023, 53(10): 2964-2972.
[12] 钱榕,张茹,张克君,金鑫,葛诗靓,江晟. 融合全局和局部特征的胶囊图神经网络[J]. 吉林大学学报(工学版), 2021, 51(3): 1048-1054.
[13] 魏晓辉,孙冰怡,崔佳旭. 基于图神经网络的兴趣活动推荐算法[J]. 吉林大学学报(工学版), 2021, 51(1): 278-284.
[14] 陈涛, 邓辉舫, 刘靖. 基于密度聚类和多示例学习的图像分类方法[J]. 吉林大学学报(工学版), 2014, 44(4): 1126-1134.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!