Text-Guided Object Detection Accuracy Enhancement Method Based on Improved YOLO-World

Qian Ding, Enzheng Zhang, Zhifeng Liu, Xin Yao, Gaofeng PanElectronics 2024

TL;DR

This paper introduces an enhanced YOLO-World model for text-guided object detection, crucial for human-robot interaction. By integrating SPD-Conv for better small object detection and EMA/SA attention mechanisms for improved text-visual fusion, the method significantly boosts accuracy, especially for unseen or complex targets, while maintaining good generalization.

What Problem Does This Paper Address?

In human-robot interaction (HMI), robots need to accurately and quickly identify specific objects based on natural language commands. Traditional object detection methods struggle with the variability of HMI environments, diverse object categories, and the need to detect "unseen" objects not present in their training data. While existing text-guided methods offer some flexibility, they often lag behind traditional methods in detection accuracy. This paper aims to bridge this gap by improving the accuracy and robustness of text-guided object detection for HMI applications.

Methods

The core of this work is an improved YOLO-World framework. The key innovations are:

  • SPD-Conv Module: Incorporated into the YOLOV8 backbone, this module enhances the processing of low-resolution images and improves feature representation for small and medium-sized objects. It achieves this by rearranging spatial information into the channel dimension without losing spatial detail, followed by a non-strided convolution.
  • Efficient Multi-Scale Attention (EMA) Mechanism: Applied to the text-visual fusion module, EMA significantly boosts the model's ability to accurately detect objects based on text descriptions. It uses a multi-path attention mechanism to capture features across different scales and enhance feature representation.
  • Spatial Attention (SA) Module: Also integrated into the text-visual fusion, the SA module (specifically SA-T-CSPLayer) focuses the model's attention on image regions relevant to the text description, leading to more precise target localization.
  • Text-Visual Fusion: The model fuses text embeddings (from a CLIP text encoder) with multi-scale image features (from the improved YOLOV8 backbone) to create a unified representation for detection.
  • Prediction Head: A decoupled head is used for bounding box regression and object embedding, with a text contrastive head to calculate object-text similarity.

Datasets

The study utilizes two datasets:

  • Custom Dataset: A newly created dataset with approximately 4218 high-quality images of seven different tool categories (knife, Phillips screwdriver, slotted screwdriver, scissors, wire stripper, pliers, tape measure). Images were captured under various angles, backgrounds, and lighting conditions using an Azure Kinect DK camera. Data augmentation was applied. The dataset is split into training, validation, and test sets with an 8:1:1 ratio.
  • COCO Dataset: A public dataset used to evaluate the model's generalization capabilities. It includes 48 base classes and 17 novel classes.

Key Insights and Ideas

  • SPD-Conv for Small Objects: The SPD-Conv module is a clever way to mitigate the information loss often associated with down-sampling in CNNs, proving particularly beneficial for detecting smaller objects.
  • Attention for Text-Visual Synergy: The combination of EMA and SA mechanisms in the fusion module is critical for effectively aligning textual descriptions with visual features, allowing the model to "understand" what to look for.
  • Generalization is Key: The ability to detect "unseen" categories (novel classes) and perform well across diverse scenarios (custom dataset and COCO) highlights the robustness of the proposed approach.
  • Human-Robot Interaction Focus: The paper directly addresses a real-world challenge in HRI, making the research highly relevant to robotics and AI applications.

Key Results

  • Custom Dataset Performance: The proposed method achieved the highest AP0.5 and AP0.75 on the custom dataset. Specifically, for the knife detection task (G03), it reached an AP0.75 of 93.3%, a significant 4.4% improvement over the best baseline.
  • COCO Dataset Performance: On the COCO dataset, the proposed method achieved the best performance among the compared methods for novel classes, with an APnovel of 34.7%. It also showed improvements over the original YOLO-World-S, with a 2.2% increase in APnovel and a 2.4% increase in APall.
  • Ablation Studies: The ablation experiments confirmed the effectiveness of each introduced module (SPD-Conv, EMA, SA). The full integration of all three modules yielded the best overall performance (AP of 79.5% on the custom dataset).
  • Real-World Application: The comparison experiment in a human-robot interaction setup demonstrated the method's ability to accurately locate objects based on color descriptions, detect unseen objects (wrench), and handle cluttered scenes.

Limitations and Future Work

  • Detection Speed: While accuracy is significantly improved, the paper acknowledges that detection speed is sacrificed. Future work will focus on optimizing the algorithm and introducing more efficient computational methods to improve detection speed for real-time applications.
  • Scenario Complexity: Current experiments are primarily focused on simple scenarios with desktop tools. Further validation is needed for models in high-clutter and large-object scenarios.

Summary updated

BibTeX
@inproceedings{ding2024text,
  author = {Qian Ding and Enzheng Zhang and Zhifeng Liu and Xin Yao and Gaofeng Pan},
  title = {{Text-Guided Object Detection Accuracy Enhancement Method Based on Improved YOLO-World}},
  booktitle = {Electronics},
  year = {2024},
  doi = {10.3390/electronics14010133},
}
Figure