《计算机应用》唯一官方网站

• •    下一篇

多模态协同语义提示的跨域目标检测算法

张雷1,崔浩楠1,李之奇2,贺飞1,陈仲1   

  1. 1. 沈阳科技学院
    2. 沈阳工业大学
  • 收稿日期:2026-07-06 修回日期:2026-09-26 发布日期:2026-10-19 出版日期:2026-10-19
  • 通讯作者: 张雷
  • 基金资助:
    辽宁省教育厅高校基本科研项目

Cross-domain object detection algorithm with multimodal collaborative semantic prompts

  • Received:2026-07-06 Revised:2026-09-26 Online:2026-10-19 Published:2026-10-19
  • Contact: Lei ZHANG

摘要: 针对传统开放集目标检测中单模态提示泛化受限、多模态固定权重融合场景适配性不强的问题,提出多模态协同语义提示的跨域目标检测算法(MMCS-Prompt)。首先,构建由图像编码器、文本与视觉提示编码器及解码器组成的协同框架,以移位窗口层次化Transformer(Swin Transformer)骨干网络与6层编码器提取多尺度视觉特征;其次,设计文本-视觉对比对齐模块,以互信息最大化损失实现双模态语义关联与知识互补;最后,提出多因素驱动的动态权重融合机制,综合语义一致性、模态质量互补与场景不确定性自适应分配两提示权重。在COCO、LVIS、ODinW和Roboflow100上的零样本实验表明:经10个随机种子独立实验,与Grounding DINO(Marrying DINO with Grounded Pre-Training)相比,所提算法在常见与跨场景目标检测上的平均精度(AP)分别提高0.9和1.1个百分点,相对提升1.86%和4.20%;与T-Rex2(Towards Generic Object Detection via Text-Visual Prompt Synergy)的混合模式和视觉模式相比,在长尾与复杂场景目标检测上的AP分别提高2.7和0.5个百分点,相对提升7.28%和2.86%。该算法为开放集目标检测提供了文本-视觉语义协同与动态权重融合的新方法,为工业零件检测、密集小目标分析、智能交通监控等跨域场景应用提供了有效的技术路径。

关键词: 多模态协同, 文本语义提示, 视觉语义提示, 目标检测, 开放集识别

Abstract: To address the limited generalization of single-modal prompts and poor scenario adaptability of multimodal fixed-weight fusion in open-set object detection, a cross-domain object detection algorithm with multimodal collaborative semantic prompts (MMCS-Prompt) was proposed. First, a collaborative framework of image, text-prompt, visual-prompt encoders and a decoder was built, with hierarchical vision transformer using shifted windows(Swin Transformer) and 6-layer encoder extracting multi-scale visual features. Then, a text-visual contrastive alignment module was designed for bi-modal semantic correlation and knowledge complementation via mutual information maximization. Finally, a multi-factor dynamic weight fusion mechanism was proposed to adaptively allocate weights via semantic consistency, modal complementarity and scene uncertainty. Zero-shot experiments on COCO, LVIS, ODinW and Roboflow100 with 10 random seeds show that compared with Grounding DINO (Marrying DINO with Grounded Pre-Training), the Average Precision (AP) on common and cross-scene object detection improves by 0.9 and 1.1 percentage points (1.86% and 4.20% relative gains); compared with the hybrid and visual modes of T-Rex2 (Towards Generic Object Detection via Text-Visual Prompt Synergy), the AP on long-tailed and complex-scene improves by 2.7 and 0.5 percentage points (7.28% and 2.86% relative gains). It provides a new text-visual semantic collaboration and dynamic weight fusion method for open-set object detection, and an effective path for cross-domain applications like industrial part inspection, dense small object analysis and intelligent traffic.

Key words: multimodal collaboration, text semantic prompt, vision semantic prompt, object detection, open-set recognition

中图分类号: