Next Article in Journal
Performance Study of Compact Semiconductor Neutron Spectrometer HardPix for Lunar Water Mapping
Previous Article in Journal
Hierarchical Star–Sphere ZnCo2O4/Graphene Oxide/Pt Nanocomposites for Low-Temperature Hydrogen Sensing
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Multi-Task Grasp Detection Network Based on Global Channel–Spatial Attention Mechanism for Industrial Workshop Environments

1
College of Mechanical and Electronic Engineering, Nanjing Forestry University, Nanjing 210037, China
2
Institute of Intelligent Machines, Hefei Institutes of Physical Science, Chinese Academy of Sciences, Hefei 230031, China
*
Authors to whom correspondence should be addressed.
Sensors 2026, 26(16), 5257; https://doi.org/10.3390/s26165257
Submission received: 16 June 2026 / Revised: 3 August 2026 / Accepted: 15 August 2026 / Published: 19 August 2026
(This article belongs to the Section Sensors and Robotics)

Abstract

To improve the accuracy and robustness of target grasp detection and classification for robotic manipulators in unstructured environments such as workshops, a multi-task grasp detection algorithm based on a global channel–spatial attention mechanism is proposed. Through the global channel attention module, the network is able to extract richer semantic information while reducing redundant feature information, thereby improving overall performance. The effectiveness of the proposed algorithm is validated on the Cornell dataset and a self-built dataset. The grasp prediction accuracy reaches 99.5% on the Cornell dataset, while on the self-built dataset the grasp detection accuracy reaches 98.5% and the object classification accuracy reaches 99.5%. To further verify the effectiveness of the algorithm, grasping experiments are conducted on an AUBO-i3 robotic manipulator. The results show that the average grasping accuracy reaches 95% for unseen daily items and common workshop objects, which is 8.75% higher than the baseline GGCNN network. These results indicate that the proposed algorithm can effectively perform grasping tasks for robotic manipulators in unstructured environments.

1. Introduction

Robotic manipulation has become an important enabling technology for automated manufacturing, assembly, sorting, and material handling. A fundamental requirement for autonomous manipulation is the ability to identify a feasible grasp configuration from visual observations and convert the perception result into an executable robot action. Compared with structured production lines in which object positions and orientations are predetermined, workshop environments present greater perceptual challenges because objects may exhibit considerable variations in shape, scale, orientation, illumination, and background appearance. Consequently, reliable and efficient visual grasp perception remains an important problem for deploying robotic manipulators in practical workshop scenarios [1,2,3].
Among vision-based robotic grasping approaches, planar grasp detection provides an efficient representation for parallel-jaw manipulation by describing a grasp using its image-plane position, orientation, and gripper opening. Deep learning-based approaches have substantially improved the accuracy and inference efficiency of planar grasp detection by directly learning grasp-related visual features from images [1,2,4]. Nevertheless, two challenges remain particularly relevant to workshop-oriented manipulation. First, grasp detection requires both semantic discrimination and spatially precise localization. Deep features with strong semantic responses are useful for distinguishing objects from complex backgrounds, whereas accurate grasp prediction requires preserving local geometric and spatial information associated with feasible contact regions. Conventional convolutional feature extraction and individual channel or spatial attention operations may not always provide sufficient interaction between these complementary feature dimensions. Second, redundant spatial and channel responses can propagate into the grasping head during multi-scale feature fusion, potentially weakening grasp-relevant representations and introducing unnecessary computational overhead.
In addition to grasp pose estimation, practical sorting and manipulation systems often require information about the category of the manipulated object. A conventional solution is to perform object recognition and grasp detection using separate perception models. Although such a pipeline provides task-specific predictions, it introduces duplicated feature extraction and separates two perception tasks that operate on the same visual observation. A shared multi-task architecture provides an alternative by extracting common visual representations and producing object category and grasp pose predictions within a unified network [5,6,7]. However, the two tasks do not necessarily benefit each other equally: category recognition emphasizes semantic invariance, whereas grasp detection depends more strongly on spatially localized geometric information. Therefore, an appropriate multi-task grasping framework should preserve task-specific information while sharing common representations rather than assuming that an auxiliary classification objective will necessarily improve grasp detection accuracy.
Recent attention mechanisms provide effective means of enhancing feature representation by adaptively recalibrating feature responses [8,9,10,11]. Channel attention approaches emphasize informative semantic channels, while spatial attention mechanisms highlight discriminative regions in the feature map. Sequential channel–spatial attention further combines these two dimensions. Nevertheless, simply applying the two attention operations does not explicitly encourage information exchange among channel groups before spatial refinement. For grasp perception, such interaction may be useful because graspable regions are determined by both semantic channel responses and their spatial distribution. Motivated by this observation, we introduce a Global Channel–Spatial Attention (GCSA) module that sequentially performs channel feature recalibration, channel shuffling, and spatial feature refinement. The channel shuffling operation is inserted between the channel and spatial attentions to promote cross-group feature interaction before spatial weighting. While channel–spatial attention itself is not a new concept, the proposed design focuses on how these operations are organized within the hierarchical backbone for grasp-oriented feature extraction.
Another consideration is the representation redundancy introduced during hierarchical feature fusion. Multi-scale features are important for grasp detection because high-level features provide semantic information while shallow features preserve spatial details. However, directly aggregating these features may also retain redundant spatial responses and correlated channel representations. Inspired by spatial and channel reconstruction mechanisms [12], we develop a Spatial and Channel Reconstruction Grasping Module (SCRGM) for task-specific grasp prediction. The module integrates spatial reconstruction and channel reconstruction with progressive feature upsampling and grasp map prediction, aiming to suppress redundant responses while preserving information relevant to grasp localization.

1.1. Related Work

1.1.1. Planar Robotic Grasp Detection

Vision-based robotic grasp detection aims to determine feasible grasp configurations from visual observations and provide executable pose information for robotic manipulators. According to the representation space of the grasp pose, existing approaches can generally be categorized into planar grasp detection and six-degrees-of-freedom (6-DoF) grasp detection, with 6-DoF grasping methods typically relying on depth images or point clouds to estimate grasp positions and end-effector orientations in three-dimensional space. Large-scale benchmarks and representative point-cloud approaches, including GraspNet-1Billion, Contact-GraspNet, GSNet, and AnyGrasp, have substantially advanced general-object grasp perception in cluttered scenes [13,14,15,16]. Although these methods provide greater flexibility for spatial manipulation, they generally require reliable 3D geometric information and involve relatively complex procedures for point-cloud feature extraction, grasp candidate generation, and pose estimation. In contrast, planar grasp detection represents a grasp using its center position, orientation, and gripper opening in the image plane. This representation is particularly suitable for parallel-jaw manipulation in tabletop and workshop environments thanks to its relatively simple formulation and computational efficiency [1,4].
Early deep learning-based planar grasping approaches mainly formulated grasp detection as a grasp rectangle regression problem. Redmon et al. transformed sliding window-based grasp detection into an end-to-end regression problem, allowing a neural network to directly predict grasp rectangles from visual observations [17]. This work demonstrated the potential of deep learning for robotic grasp detection, although directly regressing a limited number of grasp candidates may be less effective when an object has multiple feasible grasp regions. Morrison et al. subsequently proposed GG-CNN, which formulated grasp detection as a dense pixel-wise prediction problem and simultaneously generated grasp quality, grasp angle, and gripper width maps [18]. Its compact fully convolutional architecture enabled efficient inference and provided an important basis for real-time closed-loop robotic grasping; however, its relatively lightweight feature extractor may have limited representation capability under complex backgrounds, occlusion, and substantial appearance variations.
Subsequent studies have introduced residual learning, multi-scale feature fusion, and alternative grasp representations to improve detection performance. GR-ConvNet and its variants employ residual convolutional structures to generate dense grasp quality, angle, and width maps, and have demonstrated favorable performance on benchmark datasets such as Cornell and Jacquard [19]. Keypoint-based approaches represent a grasp using paired keypoints or other geometric primitives, thereby reducing some of the difficulties associated with directly regressing rotated grasp rectangles [20]. Other studies have explored lightweight encoder–decoder architectures, multi-scale feature aggregation, and efficient feature enhancement mechanisms to achieve a better balance between grasp detection accuracy and real-time inference efficiency [21,22]. Keypoint-based FANet further combines local and global feature refinement with grasp keypoint optimization for accurate real-time detection [23]. Nie et al. investigated a compact RGB-D grasp detector based on unequal feature encoding and knowledge distillation, emphasizing deployment-oriented trade-offs between model size and accuracy [24].
Recent studies have continued to investigate the combination of convolution, attention, hierarchical feature extraction, and lightweight multi-scale design. UFGNet employs a hierarchical transformer encoder, convolution–self-attention feature aggregation, residual decoding, and Shuffle Attention, reporting a Cornell accuracy of 98.4% [25]. LPGNet adopts a MobileNet-based encoder–decoder and a lightweight multi-scale feature enhancement module; the published Cornell results are 98.31% under the image-wise split and 97.84% under the object-wise split, with a reported inference time of 14.2 ms [26]. These recent methods further demonstrate the importance of balancing local feature extraction, contextual modeling, multi-scale representation, and real-time inference in planar grasp detection.
More recently, transformer-based architectures and their variants have been introduced into robotic grasp perception to improve contextual feature representation and long-range dependency modeling [27,28]. Hierarchical Vision Transformer and MetaFormer-style architectures can extract semantic information at multiple spatial resolutions, making them potentially suitable for multi-scale grasp prediction. Nevertheless, conventional self-attention can introduce considerable computational overhead as the spatial resolution increases, which may restrict its application in real-time robotic systems. Therefore, improving semantic and spatial feature interaction without substantially increasing computational complexity remains an important consideration for efficient planar grasp detection.
Beyond benchmark accuracy, recent 6-DoF research has increasingly emphasized generalization to novel objects and viewpoints. Physical domain priors have been incorporated to regularize grasp prediction on objects with diverse structures [29]; NeuGraspNet uses neural surface rendering for any-view grasp prediction in clutter [30], while ZeroGrasp jointly models shape reconstruction and grasp pose prediction to improve zero-shot transfer [31]. Although these methods address a different grasp representation from the planar formulation studied here, they highlight generalization, geometric consistency, and deployment on previously unseen objects as important directions for robotic grasp perception.
Most existing planar grasp detection networks primarily focus on estimating grasp configurations, such as grasp quality, orientation, and gripper width. In practical sorting and manipulation applications, however, the robot may also need to determine the semantic category of the manipulated object. Employing independent recognition and grasp detection networks results in duplicated feature extraction and increases the complexity of the perception pipeline. This motivates the development of unified architectures capable of jointly exploiting semantic and geometric information for object recognition and grasp prediction.

1.1.2. Multi-Task Robotic Grasp Perception

Multi-task learning enables multiple related tasks to share feature representations within a unified network, potentially reducing redundant computation while exploiting complementary information across tasks [32]. In robotic grasping, previous studies have combined grasp detection with semantic segmentation, instance segmentation, object-relation reasoning, and language understanding. Duan et al. developed a semantic robotic grasping framework for stacking scenes that jointly exploits semantic information and grasp prediction within a multi-task architecture [5]. Attribute-based robotic grasping has also combined visual observations with semantic attribute descriptions and data-efficient adaptation, demonstrating another route for coupling recognition cues with grasp-affordance prediction [33].
In approaches combining semantic segmentation with grasp detection, the segmentation task can provide object boundaries and semantic regions that facilitate object-specific grasp prediction. For example, multi-task grasping architectures have jointly performed semantic segmentation and grasp detection so that predicted grasp candidates can be associated with individual objects in a scene [34]. Instance-level approaches further integrate instance segmentation with grasp prediction to distinguish graspable regions belonging to different objects in cluttered environments [6,35]. Other studies have exploited segmentation-derived boundary information to improve local feature representation around contact regions, particularly when objects are partially occluded or closely arranged [34]. Although these approaches provide richer spatial priors for grasp detection, they generally require pixel-level segmentation annotations, which increases the cost of dataset construction.
Beyond segmentation, multi-task robotic grasping has also incorporated manipulation relationships and grasp-order reasoning. In cluttered or stacked scenes, selecting a geometrically feasible grasp without considering surrounding objects may lead to collisions or unsuccessful manipulation. Some methods jointly estimate grasp configurations and object relationships to determine appropriate manipulation sequences [36,37]. Target-oriented grasping approaches additionally incorporate occlusion reasoning, shape completion, or target-conditioned information to identify a specified object and generate its corresponding grasp pose [37,38]. These studies extend grasp perception from purely geometric prediction towards integrated scene understanding and manipulation reasoning.
With the development of multimodal robotic perception, language and tactile information have increasingly been incorporated into robotic manipulation systems. Language-conditioned grasping methods use textual instructions to identify target objects and generate corresponding manipulation actions, enabling joint reasoning over visual observations, language instructions, and manipulation objectives [39]. Visual–tactile approaches exploit contact, pressure, deformation, or slip information from tactile sensors to refine visually estimated grasp configurations and improve grasp stability [40,41]. Beyond grasping, Mao et al. integrated a six-bar tensegrity structure with 24 flexible sensors and a fine-tuned multimodal large language model to support self-shape recognition, state monitoring, and fault diagnosis [42]. This recent study illustrates a broader trend toward combining flexible sensing with multimodal reasoning for autonomous state cognition. These developments demonstrate the potential of multimodal perception for intelligent robotic systems, although they generally require additional sensing hardware, multimodal annotations, or more complex inference and control pipelines.
In contrast to these approaches, the present study focuses specifically on the joint prediction of object categories and planar grasp configurations for workshop tools and parts. The proposed framework does not require pixel-level segmentation masks, language instructions, or tactile measurements as network inputs; instead, hierarchical RGB features are shared between an object classification branch and a grasp detection branch. Importantly, these two tasks do not necessarily require identical feature representations: classification favors semantically discriminative and relatively invariant representations, whereas grasp detection depends more strongly on spatially localized geometric information. Consequently, feature sharing may provide computational benefits, but can also introduce competition between task objectives, such as conflicting or imbalanced task gradients [32,43]. For this reason, in this study we do not assume that the auxiliary classification task necessarily improves grasp accuracy; instead, the relationship between the two tasks is evaluated through single-task/multi-task comparisons and classification loss weight sensitivity experiments.

1.1.3. Attention Mechanisms and Feature Reconstruction

Attention mechanisms have been widely adopted to adaptively recalibrate feature responses and emphasize task-relevant information. According to the dimension on which attention is applied, visual attention mechanisms can generally be divided into channel attention, spatial attention, and joint channel–spatial attention.
Channel attention mechanisms assign adaptive weights to individual feature channels according to their semantic importance. The Squeeze-and-Excitation (SE) mechanism uses global information aggregation followed by channel-wise transformation to model dependencies among feature channels [8]. Efficient Channel Attention (ECA) subsequently introduces lightweight local cross-channel interaction to reduce the additional parameter overhead associated with channel recalibration [9]. Such approaches can strengthen semantically informative channels but generally apply the learned channel weights across all spatial locations, providing limited explicit modeling of spatially localized grasp regions.
In contrast, spatial attention mechanisms learn spatial weighting maps in order to highlight informative locations within feature maps. For robotic grasp detection, spatial attention can potentially emphasize object boundaries, candidate contact regions, and areas around feasible grasp centers while suppressing irrelevant background responses. However, spatial weighting alone provides limited modeling of dependencies among semantic feature channels. To address this issue, joint channel–spatial attention mechanisms have been developed. For example, CBAM sequentially applies channel and spatial attention to refine features along both dimensions [10], while Shuffle Attention incorporates grouped feature processing and channel shuffling to facilitate interaction between information from different feature groups [11]. These methods provide important foundations for jointly exploiting channel and spatial information.
The proposed GCSA module is also based on the principle of joint channel and spatial feature enhancement. Therefore, the novelty of GCSA does not lie in the use of channel and spatial attention within the same module; instead, GCSA proposes organizing the feature enhancement process as follows: channel recalibration → channel shuffling → spatial refinement.
Compared with channel-oriented mechanisms such as SE and ECA, GCSA additionally performs spatial refinement to emphasize grasp-relevant regions. Compared with sequential channel–spatial mechanisms such as CBAM, channel shuffling is inserted between channel recalibration and spatial refinement to facilitate cross-group feature interaction before spatial weighting. The resulting module is incorporated as a feature mixing operation within hierarchical GCSAFormer blocks. To determine whether this organization provides meaningful benefits rather than merely increasing model complexity, the revised experimental evaluation includes comparisons with representative attention mechanisms along with component-level ablation studies.
In addition to attention-based feature enhancement, reducing redundant spatial and channel responses represents another direction for improving feature representation and computational efficiency. Conventional convolution operations may preserve correlated or low-information feature responses across spatial locations and channels. For example, Spatial and Channel Reconstruction Convolution (SCConv) introduces a Spatial Reconstruction Unit (SRU) and Channel Reconstruction Unit (CRU) to respectively reduce spatial and channel redundancy [12]. The SRU separates and reconstructs spatial features according to their information content, whereas the CRU employs channel splitting, compression, grouped transformation, and adaptive fusion to improve channel representation [12]. These reconstruction operations provide an efficient means of reducing feature redundancy, although they were originally proposed as general-purpose convolutional feature processing mechanisms rather than task-specific grasp prediction modules.
Inspired by these spatial and channel reconstruction mechanisms, this study integrates SRU and CRU into a task-specific grasping head and combines them with multi-scale feature aggregation, progressive upsampling, and grasp map prediction to construct the Spatial and Channel Reconstruction Grasping Module (SCRGM). We do not claim SRU or CRU themselves as newly introduced fundamental operations; instead, the contribution lies in their task-oriented integration into the grasp prediction stage in order to refine fused features before estimating grasp quality, orientation, and gripper width. The individual effects of SRU and CRU are further investigated through dedicated ablation experiments.
In summary, while substantial progress has been achieved in planar grasp detection, multi-task robotic perception, channel–spatial attention, and feature reconstruction, current workshop-oriented robotic manipulation still requires an efficient means of jointly predicting object semantics and spatially precise grasp configurations while controlling the computational overhead associated with feature enhancement. Motivated by these considerations, the proposed framework introduces GCSA into a hierarchical backbone to enhance channel–spatial feature interaction and incorporates SCRGM into the grasping head to refine redundant multi-scale features, forming a unified multi-task grasp perception architecture.

1.2. Objectives and Contributions

Based on these considerations, this study aims to develop an efficient RGB-based multi-task grasp perception framework for workshop-oriented robotic manipulation. The proposed MTGCSAFormer uses a hierarchical GCSAFormer backbone to extract multi-scale visual features, a feature fusion mechanism to aggregate semantic and spatial information, an auxiliary classification branch to identify object categories, and an SCRGM-based grasping head to predict planar grasp configurations. The network itself uses RGB images for visual inference. During physical robot execution, the predicted two-dimensional grasp location is subsequently associated with depth information for three-dimensional localization and transformed into the robot coordinate system through camera–robot calibration [44,45]. This distinction allows the perception network to remain RGB-based while enabling executable grasping actions in three-dimensional space.
The main contributions of this work are summarized as follows:
  • A unified multi-task framework for object recognition and planar grasp detection is developed. MTGCSAFormer shares hierarchical visual features between the two tasks and simultaneously predicts object categories and grasp configurations. The multi-task formulation is intended to provide integrated perception and shared computation rather than assuming that the classification task necessarily improves grasp detection accuracy.
  • A GCSA-based hierarchical backbone is introduced for grasp-oriented feature extraction. The proposed GCSA module organizes channel attention, channel shuffling, and spatial attention in a sequential manner, allowing for cross-group channel interaction before spatial weighting. Its individual components are evaluated through component-level ablation and comparison with representative attention mechanisms, while practical execution efficiency is reported using the measured per-image inference time.
  • A grasping head based on spatial and channel reconstruction is developed for multi-scale grasp prediction. Inspired by existing spatial and channel reconstruction mechanisms, SCRGM integrates spatial reconstruction, channel reconstruction, progressive upsampling, and task-specific grasp map prediction to reduce redundant feature responses. The proposed framework is evaluated on the Cornell Grasping Dataset and the workshop-oriented GTPWD, followed by physical grasping experiments using a robotic manipulator.
The remainder of this paper is organized as follows: Section 2 presents the proposed MTGCSAFormer architecture, including the GCSAFormer backbone, multi-scale feature fusion, SCRGM grasping head, multi-task prediction, and robot coordinate transformation; Section 3 provides the datasets, evaluation protocols, implementation details, comparative experiments, ablation studies, input resolution analysis, physical grasping experiments, and a discussion of the principal findings and limitations; finally, Section 4 concludes the paper and outlines future research directions.

2. Proposed Method

2.1. System Overview and Task Definition

The complete robotic grasping pipeline is illustrated in Figure 1. The MTGCSAFormer perception block highlighted in this figure is expanded in Figure 2.
The system consists of RGB image acquisition, multi-task grasp perception, grasp pose decoding, three-dimensional localization, coordinate transformation, motion planning, and robotic execution. An RGB image of the workspace is first captured and fed into the proposed MTGCSAFormer. The network simultaneously predicts the object category and dense planar grasp maps. The predicted two-dimensional grasp is subsequently associated with depth information to recover its three-dimensional position and is transformed from the camera coordinate system to the robot base coordinate system.
It should be emphasized that MTGCSAFormer is an RGB-based perception network. Depth information is not used by the backbone, attention module, feature fusion module, grasping head, or classification branch. Instead, the aligned depth image is used after network inference to convert the predicted image-plane grasp position into an executable three-dimensional robot position. Therefore, the network input modality and the sensing information used for robot execution are clearly separated.
Given an RGB image
I R B × 3 × H × W ,
the complete network produces an object classification output and four dense grasp maps
{ O cls , Q , C , S , W g } = MTGCSAFormer ( I ) ,
where O cls denotes the class logits for object classification, Q represents the grasp quality map, C and S are the orientation-encoded feature maps, and W g indicates the gripper width map. The notation W g is adopted to distinguish the predicted gripper opening width from the image width W and avoid symbol ambiguity.
The dense network outputs are further decoded into a standard planar grasp representation
g 2 D = ( u , v , θ , w g ) ,
where ( u , v ) is the grasp center in the image coordinate system, θ denotes the in-plane grasp orientation of the parallel gripper, and w g corresponds to the required gripper opening width for grasping.
Figure 2. Detailed architecture of the MTGCSAFormer perception block highlighted in Figure 1. The hierarchical GCSAFormer backbone extracts four scale features for the object classification head and the multi-scale SCRGM grasp prediction branch. The internal structures of GCSA and SCRGM are detailed in Figure 3 and Figure 4, respectively.
Figure 2. Detailed architecture of the MTGCSAFormer perception block highlighted in Figure 1. The hierarchical GCSAFormer backbone extracts four scale features for the object classification head and the multi-scale SCRGM grasp prediction branch. The internal structures of GCSA and SCRGM are detailed in Figure 3 and Figure 4, respectively.
Sensors 26 05257 g002
Figure 3. Detailed structure of the GCSA module employed in the GCSAFormer backbone shown in Figure 2. GCSA sequentially performs channel attention, channel shuffling, and spatial attention.
Figure 3. Detailed structure of the GCSA module employed in the GCSAFormer backbone shown in Figure 2. GCSA sequentially performs channel attention, channel shuffling, and spatial attention.
Sensors 26 05257 g003
Figure 4. Detailed architecture of the Spatial and Channel Reconstruction Grasping Module (SCRGM) used in the grasp prediction branch of Figure 2. The fused representation is processed sequentially by the Spatial Reconstruction Unit (SRU) and Channel Reconstruction Unit (CRU), followed by two transposed convolution layers for spatial resolution recovery.
Figure 4. Detailed architecture of the Spatial and Channel Reconstruction Grasping Module (SCRGM) used in the grasp prediction branch of Figure 2. The fused representation is processed sequentially by the Spatial Reconstruction Unit (SRU) and Channel Reconstruction Unit (CRU), followed by two transposed convolution layers for spatial resolution recovery.
Sensors 26 05257 g004

2.2. Overall Architecture of MTGCSAFormer

The internal architecture of MTGCSAFormer is shown in Figure 2. In contrast to Figure 1, which presents the complete robotic system, Figure 2 provides an enlarged view of the highlighted multi-task perception block. The proposed network consists of four principal components: a hierarchical GCSAFormer backbone, a multi-scale feature fusion module, an auxiliary classification head, and a reconstruction-based grasping head.
The architecture is motivated by the different feature requirements of object classification and planar grasp detection. Classification mainly relies on high-level semantic representations, whereas grasp detection additionally requires precise spatial information for locating grasp centers, estimating grasp orientations, and predicting gripper openings. The proposed architecture extracts hierarchical features at different resolutions and uses task-specific heads after shared feature extraction.
The GCSAFormer backbone generates four hierarchical feature maps
{ F 1 , F 2 , F 3 , F 4 } = B GCSA ( I ) ,
where F 1 and F 2 retain detailed spatial information while F 3 and F 4 encode stronger semantic representations. These multi-scale hierarchical features are aligned and aggregated through the fusion module
F fuse = F ( F 1 , F 2 , F 3 , F 4 ) ,
where F ( · ) denotes the overall operations of channel alignment, upsampling, and feature concatenation. The fused feature is subsequently fed into the grasping head for dense grasp prediction:
{ Q , C , S , W g } = H grasp ( F fuse )
while the deepest high-semantic feature is utilized for object category classification:
O cls = H cls ( F 4 ) .
The classification and grasping branches share the hierarchical GCSAFormer backbone but adopt independent task-specific prediction heads. This design avoids redundant feature extraction and enables unified object recognition and planar grasp prediction within a single network. This study does not assume that the auxiliary classification task necessarily improves grasp detection performance. Object classification emphasizes semantic invariance, while grasp detection relies heavily on spatially localized geometric details. The actual influence of the classification branch is quantitatively evaluated through single-task and multi-task comparative experiments as well as loss-weight sensitivity analyses, which are presented in Section 4.

2.3. GCSAFormer Backbone

In this work, the backbone adopts the GCSAFormer-S24 configuration. The four stages contain 4, 4, 12, and 4 GCSAFormer blocks, respectively, yielding a total of 24 blocks. Their corresponding channel dimensions are 64, 128, 320, and 512. The input RGB image is first processed by a convolutional patch embedding layer:
X 0 = PatchEmbed ( I ) .
The patch embedding operation employs a 7 × 7 convolution with a stride of 4 and padding of 2, producing feature maps with a spatial resolution of approximately H / 4 × W / 4 . A 3 × 3 convolution with stride 2 and padding 1 is adopted for downsampling between adjacent stages. Consequently, the spatial resolutions of the four stage outputs are H 4 × W 4 , H 8 × W 8 , H 16 × W 16 , and H 32 × W 32 , respectively. Each GCSAFormer block consists of a GCSA feature mixer and a convolutional MLP. Group normalization with a single group is adopted for feature normalization. The MLP is constructed by two 1 × 1 convolutions with GELU activation, implementing a channel transformation of C 4 C C . The forward propagation of a single GCSAFormer block is formulated as follows:
Y = X + DropPath γ 1 GCSA ( Norm 1 ( X ) )
Z = Y + DropPath γ 2 MLP ( Norm 2 ( Y ) )
where γ 1 and γ 2 denote learnable layer-scale parameters. For the GCSAFormer-S24 configuration, their initial values are set to 10 5 . The specific drop-path rate is provided in the implementation details according to the final training setup. When the pretrained PoolFormer-S24 checkpoint is utilized, the compatible backbone parameters are partially initialized from PoolFormer, while the parameters of the newly introduced GCSA modules are independently initialized.

2.4. Global Channel–Spatial Attention Module

Accurate planar grasp detection requires the network to identify semantically informative object features while preserving precise spatial responses associated with grasp centers, contact regions, and gripper orientations. Channel attention is effective for emphasizing discriminative semantic channels, whereas spatial attention highlights informative locations in the feature map. Existing joint channel–spatial attention mechanisms have demonstrated that these two types of information are complementary. However, directly applying channel attention followed by spatial attention does not explicitly encourage information exchange among channel groups before the spatial weighting operation. To address this issue, we design a Global Channel–Spatial Attention (GCSA) module. This module serves as the feature mixer within the hierarchical GCSAFormer backbone shown in Figure 2, and its internal structure is illustrated in Figure 3. The proposed module sequentially consists of a channel attention branch, a channel shuffle operation, and a spatial attention branch:
Channel Attention Channel Shuffle Spatial Attention
The channel attention branch recalibrates semantically informative channel responses. The channel shuffle operation then redistributes features across channel groups to promote cross-group information interaction. Finally, the spatial attention branch assigns adaptive weights to grasp-relevant spatial regions and further refines the spatial feature representation. Therefore, the methodological contribution of GCSA does not lie in the first joint use of channel and spatial attention, but in inserting channel shuffle between the two attention branches to enhance feature interaction before spatial weighting. Given an input feature map
X R B × C × H × W
where B, C, H, and W denote the batch size, number of channels, feature height, and feature width, respectively, the overall GCSA operation is formulated as
X c = X M c ( X ) ,
X sh = Shuffle ( X c ) ,
Y = X sh M s ( X sh ) ,
where M c ( · ) denotes the channel attention mapping, Shuffle ( · ) denotes the channel shuffle operation, M s ( · ) denotes the spatial attention mapping, and ⊙ represents element-wise multiplication.

2.4.1. Channel Attention

The channel attention branch is designed to strengthen semantically informative channel responses while preserving the spatial arrangement of the feature map. Unlike conventional channel attention mechanisms that compress all spatial positions using global pooling before channel modeling, the proposed branch applies a two-layer channel transformation to the channel vector at each spatial location. In this way, channel dependencies are modeled without prematurely discarding spatial details that are essential for grasp localization. The channel attention map is generated as
M c ( X ) = σ W 2 δ ( W 1 X )
and the channel-enhanced feature is obtained by
X c = X M c ( X ) ,
where W 1 and W 2 denote learnable transformation matrices, δ ( · ) denotes the nonlinear activation function, and σ ( · ) denotes the sigmoid function. The first transformation reduces the channel dimension from C to C / r and the second restores it to C, where r denotes the channel reduction ratio. Through this operation, channels associated with discriminative object semantics are emphasized while less informative channel responses are suppressed, yielding semantically purified features for subsequent grasp detection.

2.4.2. Channel Shuffling

After channel attention, the feature channels may still remain relatively isolated within their original groups. To promote cross-group information exchange before spatial attention, a channel shuffling operation is introduced to interleave channel features from different groups. The channel-enhanced feature is first reshaped into a grouped channel structure:
X c = Reshape X c , B , g , C g , H , W
where g represents the number of channel groups. Subsequently, the group dimension and the within-group channel dimension are transposed to realize cross-group feature interaction:
X c = Transpose X c , B , C g , g , H , W .
Finally, the rearranged feature is reshaped back to the original channel dimension:
X sh = Reshape X c , B , C , H , W .
This hierarchical reshaping and transposing operation thoroughly interleaves feature channels from different groups. Consequently, the subsequent spatial attention branch can perform spatial weighting on a fully mixed feature representation, which helps to alleviate the isolation caused by group-wise feature processing. The effectiveness and contribution of the introduced channel shuffle mechanism are quantitatively validated via ablation experiments comparing the no-shuffle baseline and the complete GCSA model.

2.4.3. Spatial Attention

After cross-group channel interaction, the spatial attention branch is adopted to highlight spatial regions that are critical for accurate grasp detection. These informative regions mainly include object boundaries, potential grasp centers, contact surfaces, and slender structural areas that support reasonable gripper placement. The spatial attention mapping is formulated as follows:
M s ( X sh ) = σ Conv 2 δ BN Conv 1 ( X sh ) .
The final refined feature is obtained by adaptive spatial weighting:
Y = X sh M s ( X sh )
where Conv 1 ( · ) and Conv 2 ( · ) represent two convolutional layers, BN ( · ) denotes batch normalization, δ ( · ) denotes the nonlinear activation function, and σ ( · ) denotes the sigmoid function for generating spatial attention weights.
The spatial attention branch does not change the formal name of the operation; rather, its functional role is to refine the spatial feature representation by assigning higher weights to grasp-relevant regions and lower weights to background or weakly informative responses.

2.4.4. Distinction from Existing Attention Mechanisms

The proposed GCSA shares the general objective of feature recalibration with existing attention mechanisms, but differs in its internal organization.
Compared with SE and ECA, which mainly model channel importance, GCSA additionally includes spatial attention to localize grasp-relevant regions. Compared with CBAM, which sequentially applies channel and spatial attention, GCSA inserts a channel shuffle operation between the two branches to explicitly promote cross-group channel interaction before spatial weighting. Compared with Shuffle Attention, GCSA adopts a sequential task-oriented process in which channel attention is used first for semantic recalibration, followed by channel shuffling and spatial attention.
Accordingly, the effectiveness of GCSA should be evaluated not only by comparing the complete module with existing attention mechanisms but also by separately examining the respective contributions of channel attention, channel shuffle, and spatial attention. These comparisons are reported in the component-level ablation and attention module experiments in Section 4.

2.5. Multi-Scale Feature Fusion

The hierarchical backbone outputs contain complementary information. Shallow features preserve object contours and spatial details, whereas deep features contain stronger category-level semantics. To comprehensively integrate detailed spatial cues and high-level semantic knowledge, each stage feature is unified and aggregated through a multi-scale fusion pipeline. Specifically, each hierarchical feature is first projected into a consistent channel dimension through a 1 × 1 convolution:
F i = Conv 1 × 1 ( F i ) , i = 1 , 2 , 3 , 4 .
All mapped features are then upsampled to the spatial resolution consistent with the first-stage output to achieve spatial alignment:
F ^ i = Up ( F i ) , i = 1 , 2 , 3 , 4
where Up ( · ) represents the pixel-level interpolation upsampling operation adopted in the implementation. Finally, the channel-consistent and spatially aligned multi-scale features are concatenated to form the unified fused feature representation:
F fuse = Concat ( F ^ 1 , F ^ 2 , F ^ 3 , F ^ 4 ) .
In this work, F fuse is uniformly defined to represent the final multi-scale fused feature and is not repeatedly assigned to other intermediate features, ensuring consistent notation usage throughout the entire network description.

2.6. Spatial and Channel Reconstruction Grasping Module

Multi-scale feature fusion combines fine spatial details from shallow stages with high-level semantic information from deeper stages, providing the grasping head with complementary geometric and semantic cues. However, directly aggregating features from different levels may also introduce repeated spatial responses and correlated channel representations. Such redundancy can weaken grasp-related feature discrimination and interfere with the dense prediction of grasp quality, orientation, and gripper opening. To address this issue, spatial and channel reconstruction is introduced into the grasping head in order to refine the fused representation before grasp-map prediction.
Inspired by the spatial and channel reconstruction strategy of ScConv, we design a Spatial and Channel Reconstruction Grasping Module (SCRGM). The SCRGM block in the overall network architecture of Figure 2 is detailed in Figure 4. SCRGM consists of a Spatial Reconstruction Unit (SRU), a Channel Reconstruction Unit (CRU), progressive upsampling layers, and four task-specific grasp prediction branches. The SRU separates feature responses according to their information content and performs cross reconstruction to reduce spatial redundancy, whereas the CRU reorganizes correlated channel responses through channel splitting, compression, grouped transformation, adaptive reweighting, and additive fusion. By integrating these reconstruction operations with multi-scale fused features and dense grasp prediction, SCRGM aims to preserve complementary information while producing more discriminative representations for estimating grasp quality, orientation, and gripper opening.
Given the multi-scale fused feature F fuse R B × C × H f × W f , the overall processing pipeline of SCRGM consists of spatial reconstruction, channel reconstruction, feature upsampling, and dense grasp prediction, which is formulated as follows:
F sru = SRU ( F fuse )
F cru = CRU ( F sru )
F up = Upsample ( F cru )
{ Q , C , S , W g } = Pred ( F up )
where Q denotes the grasp quality confidence map, C and S represent two complementary orientation-encoding feature maps, and W g corresponds to the predicted gripper opening width map.

2.6.1. Spatial Reconstruction Unit

The multi-scale fused representation may contain repeated responses at object boundaries, background regions, and candidate grasp locations. To distinguish feature responses according to their relative information content, the SRU first performs grouped normalization and subsequently reconstructs gated feature components to suppress redundant spatial responses. Given the input feature X = F fuse , the grouped normalization operation is formulated as
X gn = GBN ( X ) ,
where GBN ( · ) denotes the grouped batch normalization operation implemented by GroupBatchNorm2d. The input feature is evenly divided into G n independent groups, and the mean and standard deviation are calculated within each group for individual feature normalization:
μ g = 1 M j = 1 M x g , j
σ g = 1 M 1 j = 1 M ( x g , j μ g ) 2
x ^ g , j = x g , j μ g σ g + ε
where M denotes the number of elements within each group and ε represents a tiny constant to avoid numerical division-by-zero instability. The normalized features are then scaled and shifted via learnable affine parameters:
X gn = γ X ^ + β .
In order to adaptively evaluate the relative importance of different feature channels, the learnable scaling parameters are normalized along the channel dimension:
ω = γ i = 1 C γ i .
The spatial reconstruction gating weights are generated by combining normalized features and channel importance coefficients:
R = σ ( X gn ω )
where σ ( · ) denotes the sigmoid activation function for producing soft gating maps. With a fixed gating threshold τ = 0.5 adopted in our implementation, the feature responses are adaptively partitioned into informative and less informative components via binary masking:
M info = I ( R τ ) ,
M non = I ( R < τ ) ,
X 1 = M info X gn ,
X 2 = M non X gn .
Instead of directly discarding low-information features or simply concatenating the two branched features, the SRU splits both X 1 and X 2 into two equal channel subsets for complementary cross-reconstruction:
X 11 , X 12 = Split ( X 1 ) ,
X 21 , X 22 = Split ( X 2 ) .
Finally, cross-feature reconstruction and concatenation are performed to yield the spatially refined output:
F sru = Concat ( X 11 + X 22 , X 12 + X 21 ) .
This cross-reconstruction mechanism enables interaction and complementarity between high-information and low-information feature components, rather than completely discarding less dominant responses; accordingly, the SRU effectively suppresses repeated and redundant spatial activations while retaining potentially useful marginal features, thereby refining spatial representations for accurate grasp localization.

2.6.2. Channel Reconstruction Unit

Although SRU reduces spatial redundancy, correlations may remain among the output channels, particularly because the fused feature originates from multiple backbone stages. To reorganize these correlated channel responses and further purify feature representations, the CRU adopts a elaborate split–squeeze–transform–fuse strategy for channel-wise feature recalibration. Given the spatially refined feature F sru R B × C × H f × W f , the input feature is first divided into an upper branch and a lower branch according to a predefined channel-splitting ratio α :
X up , X low = Split ( F sru , α )
where the splitting ratio is set to α = 1 2 in our implementation. Accordingly, the channel numbers of the two branches are formulated as
C up = α C , C low = C C up .
Both branched features are compressed via 1 × 1 point-wise convolutions to squeeze redundant channel dimensions:
X ˜ up = PWC 1 ( X up )
X ˜ low = PWC 2 ( X low )
where the channel compression ratio r s is fixed to 2 for all experiments. For the upper branch, grouped convolution and point-wise convolution are deployed in parallel to capture both local structural priors and smooth channel transformations:
Y 1 = GWC ( X ˜ up ) + PWC 3 ( X ˜ up )
where the grouped convolution adopts a 3 × 3 kernel with two groups by default. For the lower branch, the transformed feature is concatenated with the original compressed feature to preserve multi-level channel semantics:
Y 2 = Concat PWC 4 ( X ˜ low ) , X ˜ low .
Subsequently, the outputs of the two branches are concatenated for comprehensive channel aggregation:
Y = Concat ( Y 1 , Y 2 ) .
To adaptively reweight interdependent channel responses and highlight task-relevant channels, global average pooling and channel-wise softmax normalization are performed to generate channel attention coefficients:
A = Softmax GAP ( Y ) .
The aggregated feature is recalibrated via element-wise channel weighting:
Y ˜ = A Y .
The weighted feature is evenly split into two channel subsets for complementary fusion:
Y ˜ 1 , Y ˜ 2 = Split ( Y ˜ ) .
Finally, element-wise addition is adopted to obtain the channel-refined output feature:
F cru = Y ˜ 1 + Y ˜ 2 .
Unlike conventional channel attention modules that merely perform one-shot weighting, the proposed CRU reorganizes correlated channel features through splitting, dual-branch transformation, adaptive recalibration, and complementary fusion. This elaborate pipeline effectively eliminates channel redundancy while precisely restoring the original channel dimension C, yielding both spatially purified and channel-purified features for high-precision grasp prediction.

2.6.3. Progressive Feature Upsampling

After spatial and channel reconstruction, the output feature remains at the reduced resolution of the fused backbone representation. However, grasp detection is formulated as dense pixel-wise prediction, requiring the model to recover a higher-resolution feature map before producing grasp quality, orientation, and gripper width outputs. To address this resolution mismatch, two transposed-convolution layers are adopted for progressive upsampling to gradually restore spatial resolution:
F up ( 1 ) = TConv 1 ( F cru ) ,
F up = TConv 2 ( F up ( 1 ) ) .
In the complete grasp head implementation, batch normalization and nonlinear activation are sequentially appended after each transposed convolution. These auxiliary operations are inherently incorporated into Equations (53) and (54) in the actual network forward pass. Notably, the original ScConv architecture does not include upsampling layers; thus, the detailed hyperparameters of the two transposed convolutions, including kernel size, stride, padding, output channel dimension, normalization, and activation functions, are strictly defined by the integrated SCRGM grasping head.

2.6.4. Task-Specific Grasp Prediction

After spatial and channel reconstruction, the refined feature map is progressively upsampled to recover the spatial resolution required for dense grasp prediction. The resulting feature representation is then processed by four independent task-specific prediction branches to estimate grasp quality, grasp orientation, and gripper opening. The grasp quality map is predicted as
Q = P Q ( F up ) ,
where Q R B × 1 × H × W evaluates the suitability of each spatial location as a grasp center. The grasp orientation is encoded via two continuous feature maps:
C = P C ( F up )
S = P S ( F up )
where C and S represent the cosine and sine components of the grasp angle, respectively. This continuous trigonometric representation eliminates angular discontinuity near the periodic boundary and achieves stable orientation regression. The detailed angle decoding formulation is provided in Section 3.8. The gripper opening width map is predicted as
W g = P W ( F up ) ,
where W g R B × 1 × H × W predicts the feasible opening width of the parallel gripper at each candidate pixel location. The four prediction branches share the same reconstructed and upsampled feature but adopt individual output convolution layers. This design enables the network to leverage shared grasp-aware feature patterns while satisfying the distinct regression objectives of grasp quality, orientation, and opening width. The overall grasp prediction process is unified as
{ Q , C , S , W g } = Pred ( F up ) .
During inference, peak responses in the grasp quality map are selected as candidate grasp centers. The corresponding C, S, and W g values at these locations are then adopted to recover the precise grasp orientation and gripper opening width. The complete postprocessing and decoding pipeline is elaborated in Section 3.8.

2.6.5. Design Rationale and Relation to ScConv

The purpose of the SCRGM is to adapt spatial and channel reconstruction to dense grasp prediction rather than using ScConv as a generic convolutional replacement. Multi-scale fusion provides complementary semantic and spatial information, but can also introduce repeated spatial responses and correlated channel features. To address these two types of redundancy, SCRGM places SRU and CRU immediately after multi-scale feature fusion and before grasp map decoding.
The resulting processing sequence is as follows: multi-scale feature fusion → SRU → CRU → progressive upsampling → task-specific grasp prediction.
SRU first performs gated feature separation and cross reconstruction to reorganize spatial responses. CRU then processes the reconstructed feature through channel splitting, compression, grouped transformation, adaptive weighting, and additive fusion. The refined representation is subsequently upsampled and mapped into four dense outputs corresponding to grasp quality, orientation, and gripper opening.
This arrangement is specifically designed for the grasping head. As opposed to directly inserting ScConv into the backbone as a general feature-processing block, SCRGM operates on fused multi-scale features and is jointly connected to the dense grasp decoder; therefore, it links feature reconstruction with the requirements of pixel-wise grasp estimation, including precise grasp center localization, continuous orientation prediction, and gripper width regression.
The individual contributions of SRU and CRU are investigated through component-level ablation experiments. Under the same backbone and training protocol, the baseline grasping head, SRU-only variant, CRU-only variant, and complete SCRGM are compared to assess the effects of spatial reconstruction, channel reconstruction, and their combination on grasp detection accuracy.

2.7. Multi-Task Prediction and Objective Function

Robotic manipulation in workshop environments requires not only the localization of feasible grasp configurations but also the identification of object categories for subsequent sorting and task execution. Performing these two tasks using independent networks would require duplicated feature extraction, even though object recognition and grasp detection share common visual information such as object appearance, shape, and structural characteristics. To exploit these shared representations while retaining task-specific prediction capabilities, MTGCSAFormer adopts a multi-task architecture with a shared GCSAFormer backbone and separate classification and grasp prediction branches.
Nevertheless, the two tasks impose different requirements on the learned representation: object classification primarily relies on high-level semantic features that are invariant to local spatial variations, whereas grasp detection requires spatially precise representations for estimating grasp centers, orientations, and gripper openings. Therefore, the classification and grasping tasks share the hierarchical feature extractor but employ independent prediction heads. This design allows common visual representations to be reused while reducing direct interference between task-specific output mappings.
Given an RGB input image I, the shared backbone extracts hierarchical features
{ F 1 , F 2 , F 3 , F 4 } = B ( I ) ,
where F 4 contains the highest-level semantic representation and is used by the classification branch, while the multi-scale features { F 1 , F 2 , F 3 , F 4 } are fused and processed by SCRGM for dense grasp prediction.
The overall multi-task output is expressed as
O cls , Q , C , S , W g = M ( I ) ,
where O cls denotes the classification output, Q is the grasp quality map, C and S represent the grasp orientation components, and W g denotes the gripper opening map.

2.7.1. Object Classification Branch

Object-category prediction primarily depends on high-level semantic information. Therefore, the deepest backbone feature F 4 is used as the input to the classification branch rather than the spatially reconstructed feature used for grasp prediction.
The classification output is obtained as
O cls = H cls ( F 4 ) ,
where H cls ( · ) denotes the classification head.
Specifically, the deepest feature is first normalized and then aggregated using global average pooling:
z = GAP Norm ( F 4 )
where z R C 4 denotes the global semantic representation.
The category logits are subsequently obtained using a linear classifier:
O cls = W cls z + b cls
where W cls and b cls denote the learnable parameters of the classification layer.
The predicted probability of category k is calculated using the softmax function:
p k = exp ( O cls , k ) j = 1 K exp ( O cls , j )
where K denotes the number of object categories.
For a ground-truth one-hot category label y, the classification objective is defined using cross-entropy loss:
L cls = 1 B i = 1 B k = 1 K y i , k log p i , k
where B denotes the batch size.

2.7.2. Grasp Prediction Objective

Unlike object classification, grasp detection is formulated as a dense prediction task. The grasping branch predicts four spatial maps corresponding to grasp quality, two orientation components, and gripper opening:
{ Q , C , S , W g } = H grasp ( F fuse )
where H grasp ( · ) represents the multi-scale fusion, spatial/channel reconstruction, progressive upsampling, and task-specific prediction operations described in Section 3.5 and Section 3.6.
For the grasp-quality map, the regression objective is defined as
L Q = 1 N i = 1 N Q i Q i 2 ,
where Q i and Q i denote the predicted and ground-truth grasp quality values, respectively, and N denotes the number of evaluated spatial elements.
The grasp orientation is represented by two continuous components. Their regression loss is defined as
L ori = 1 N i = 1 N C i C i 2 + S i S i 2 ,
where C i and S i denote the ground-truth orientation representations.
The gripper opening regression loss is
L W = 1 N i = 1 N W g , i W g , i 2 .
Thus, the complete grasp detection objective is written as
L grasp = λ Q L Q + λ ori L ori + λ W L W ,
where λ Q , λ ori , and λ W control the relative contributions of the three grasp-related objectives.

2.7.3. Multi-Task Objective

Because classification and grasp detection emphasize different properties of the shared representation, directly assigning equal importance to the two tasks may lead to competition during optimization. Therefore, a weighted multi-task objective is adopted to control the contribution of the auxiliary classification task:
L total = L grasp + λ cls L cls ,
or equivalently,
L total = λ Q L Q + λ ori L ori + λ W L W + λ cls L cls ,
where λ cls determines the contribution of object classification to the joint optimization process.
Small λ cls places greater emphasis on spatially precise grasp prediction, whereas a larger value increases the influence of semantic classification on the shared backbone. Therefore, λ cls represents an explicit trade-off between the two learning objectives rather than being treated as a fixed architectural constant.
The classification branch is introduced to provide object-category information together with grasp configurations through a shared perception model. It is not assumed that the auxiliary classification objective necessarily improves grasp detection accuracy, since the two tasks may produce partially competing gradients in the shared backbone. Consequently, the influence of classification supervision is examined through task-specific ablation experiments and classification loss weight sensitivity analysis.

2.7.4. Analysis of Task Interaction

The multi-task formulation is motivated by the functional requirement for simultaneous object recognition and grasp estimation rather than by an assumption of uniformly positive transfer between the two tasks. Although both tasks benefit from common visual cues, their optimization objectives differ. Classification encourages semantic discrimination and invariance to local spatial changes, whereas grasp detection requires sensitivity to local geometry and spatial position.
Accordingly, the effect of task interaction is evaluated by comparing a grasp-only configuration with the complete multi-task configuration under the same backbone, data partition, and training protocol. In addition, different values of λ cls are evaluated to investigate the sensitivity of grasp detection to classification supervision. These experiments are used to determine whether the auxiliary task produces positive, neutral, or negative transfer and to identify an appropriate balance between category recognition and grasp prediction.
This analysis provides a more explicit interpretation of the multi-task architecture: the classification branch supplies semantic category prediction required for object-aware robotic manipulation, while the grasping branch provides spatially precise grasp configurations. Their shared backbone enables common visual representations to be reused, whereas separate prediction heads and loss weighting preserve task-specific learning requirements.

2.8. Grasp Decoding and Eye-in-Hand Coordinate Transformation

MTGCSAFormer predicts grasp configurations in the image coordinate system, whereas robotic manipulation requires a grasp pose expressed in the robot base coordinate system. To bridge this gap, the dense grasp maps are first decoded into an explicit planar grasp representation. The depth value corresponding to the predicted grasp center is then combined with the calibrated camera intrinsic parameters to recover the three-dimensional grasp point in the camera coordinate system. Finally, the eye-in-hand calibration result and the current end-effector pose are used to transform the grasp point into the robot base coordinate system.
MTGCSAFormer is an RGB-based perception network. RGB images are used for object classification and planar grasp prediction, while depth information is not involved in network feature extraction or grasp map prediction. Instead, the aligned depth image is used after network inference to recover the metric three-dimensional position of the predicted grasp point. Therefore, RGB information is used for grasp perception, whereas depth-assisted geometric localization is employed during physical robot execution.
The complete perception-to-execution process consists of RGB image acquisition, two-dimensional grasp prediction, depth association, three-dimensional position recovery, eye-in-hand coordinate transformation, and robot grasp execution.

2.8.1. Planar Grasp Decoding

For a parallel-jaw gripper, a planar grasp configuration is represented by the grasp center coordinates, grasp orientation, gripper opening, and grasp quality score:
g 2 D = u , v , θ , w , q
where ( u , v ) denotes the grasp center coordinates in the image plane, θ represents the in-plane grasp orientation, w denotes the gripper opening, and q represents the grasp quality score.
Given the predicted grasp quality map Q, the grasp center is selected from the position with the maximum response:
u , v = arg max u , v Q ( u , v ) .
The corresponding grasp quality score is
q = Q u , v .
The orientation components at the selected grasp center are obtained from the predicted orientation maps:
C = C u , v ,
S = S u , v .
For a parallel-jaw gripper, the orientations θ and θ + π describe the same physical grasp. Therefore, the orientation is represented using double-angle encoding:
C = cos ( 2 θ ) , S = sin ( 2 θ ) .
The predicted grasp orientation is recovered as
θ = 1 2 atan2 S , C .
The corresponding gripper opening is obtained from the predicted width map:
w = W g u , v .
The decoded planar grasp is consequently expressed as
g 2 D = u , v , θ , w , q .
This decoding procedure converts the dense grasp maps into an explicit image-plane grasp representation for subsequent three-dimensional localization.

2.8.2. Depth-Assisted Three-Dimensional Grasp Point Recovery

The predicted grasp center ( u , v ) represents a two-dimensional pixel position and cannot independently determine the physical location of the grasp point. Therefore, the depth value corresponding to the predicted grasp center is obtained from the depth image aligned with the RGB image:
Z C = D u , v
where D ( · ) denotes the aligned depth map and Z C represents the distance of the grasp point along the camera optical axis.
The calibrated camera intrinsic matrix is defined as follows:
K = f x 0 c x 0 f y c y 0 0 1
where f x and f y denote the focal lengths in the horizontal and vertical directions, respectively, and ( c x , c y ) denotes the principal point.
According to the pinhole camera model, the projection relationship between a three-dimensional point in the camera coordinate system and its corresponding pixel coordinate is
u = f x X C Z C + c x , v = f y Y C Z C + c y .
Given the predicted pixel coordinate and its corresponding depth, the three-dimensional grasp-point coordinates are recovered as
X C = u c x Z C f x ,
Y C = v c y Z C f y ,
Z C = D u , v .
The back-projection process can also be expressed in matrix form:
X C Y C Z C = Z C K 1 u v 1 .
The homogeneous coordinate of the recovered grasp point is
P ˜ C = X C Y C Z C 1 .
In this process, the camera intrinsic parameters determine the direction of the projection ray corresponding to the predicted pixel, whereas the depth value determines the metric position along this ray. Their combination enables the predicted two-dimensional grasp center to be recovered as a three-dimensional point in the camera coordinate system.

2.8.3. Eye-in-Hand Calibration

An eye-in-hand configuration is adopted to establish the geometric relationship between the visual system and the robotic manipulator [44,45]. The camera is rigidly mounted on the robot end effector such that their relative pose remains unchanged during robot motion. A calibration board is fixed in the workspace, while the robot is moved to multiple poses so that the camera observes the calibration board from different viewpoints.
Let { B } , { E } , { C } , and { T } denote the robot base, end-effector, camera, and calibration board coordinate systems, respectively. The coordinate transformation chain for a point expressed in the calibration board coordinate system is
P B = T E B T C E T T C P T ,
where T E B denotes the transformation from the end-effector coordinate system to the robot base coordinate system, T C E denotes the transformation from the camera coordinate system to the end-effector coordinate system, and T T C denotes the transformation from the calibration board coordinate system to the camera coordinate system.
For each calibration image, the transformation between the calibration board coordinate system and the camera coordinate system is estimated using the detected calibration board feature points, the calibrated camera intrinsic parameters, and the PnP method. Their projection relationship is as follows:
s u v 1 = K R C T t C T X T Y T Z T 1
where s denotes the projective scale factor while R C T and t C T respectively denote the rotation matrix and translation vector from the calibration board coordinate system to the camera coordinate system.
The corresponding homogeneous transformation is
T T C = R C T t C T 0 T 1 .
For two robot poses i and j, the relative motion of the end effector is represented as
A i j = T E , i B 1 T E , j B .
The corresponding relative camera motion obtained from the calibration board observations is
B i j = T T , i C T T , j C 1 .
The eye-in-hand calibration problem is formulated as
A i j X = X B i j .
The unknown transformation is represented as
X = T C E = R E C t E C 0 T 1 .
Multiple robot poses and calibration board observations are used to solve Equation (96), obtaining the fixed geometric relationship between the camera and the robot end effector.

2.8.4. Transformation to the Robot Base Coordinate System

After eye-in-hand calibration, the transformation T C E remains fixed because the camera is rigidly attached to the end-effector. At the instant of image acquisition, the robot controller provides the current transformation from the end-effector coordinate system to the robot base coordinate system:
T E B = R B E t B E 0 T 1 .
The recovered grasp point is first transformed from the camera coordinate system to the end-effector coordinate system:
P ˜ E = T C E P ˜ C .
It is subsequently transformed from the end-effector coordinate system to the robot base coordinate system:
P ˜ B = T E B P ˜ E .
Combining the two transformations gives
P ˜ B = T E B T C E P ˜ C .
Therefore, the instantaneous camera-to-base transformation is
T C B = T E B T C E .
The resulting grasp point in the robot base coordinate system is as follows:
P ˜ B = X B Y B Z B 1
where ( X B , Y B , Z B ) specifies the target grasp position for the robotic manipulator.
Because the camera moves together with the end effector, T C E remains constant after hand–eye calibration, whereas T E B varies with the current robot pose. Therefore, the end-effector pose recorded at the instant of image acquisition is used to maintain consistency between the visual observation and the coordinate transformation.

2.8.5. Grasp Pose Generation and Robot Execution

In addition to the three-dimensional grasp position, the predicted grasp orientation and gripper opening must be converted into executable robot commands. The grasp angle θ describes the in-plane rotation of the parallel-jaw gripper.
The rotation component of the camera-to-base transformation is
R B C = R B E R E C .
Let d C denote the grasp-direction vector expressed in the camera coordinate system. Its corresponding direction in the robot base coordinate system is obtained as
d B = R B C d C = R B E R E C d C .
The transformed grasp direction is used to determine the rotation of the end-effector around the grasp approach axis. The remaining orientation components are specified according to the predefined approach direction and the geometric relationship among the camera, end-effector, and parallel-jaw gripper.
The predicted grasp width is converted into the physical gripper opening command according to
w cmd = G w ,
where G ( · ) denotes the calibrated mapping from the predicted width representation to the physical gripper opening.
The complete executable grasp pose is expressed as
G B = X B , Y B , Z B , R B , w cmd ,
where R B denotes the desired end-effector orientation in the robot base coordinate system.
During execution, the manipulator first moves to a pre-grasp pose above the target position, then approaches the predicted grasp point along the predefined approach direction. After reaching the target grasp pose, the gripper closes and the object is lifted. For object sorting tasks, the category predicted by the classification branch is further used to determine the corresponding placement region.

3. Experiments and Results

3.1. Experimental Datasets

Planar grasp detection datasets provide annotated grasp configurations for evaluating the ability of a model to localize feasible grasp positions and orientations. Among the publicly available benchmarks, the Cornell Grasping Dataset [46] and the Jacquard Dataset [47] are two commonly used datasets for planar grasp detection. Their main characteristics are summarized in Table 1.
In this study, the Cornell Grasping Dataset is used to evaluate the grasp detection performance of the proposed MTGCSAFormer and to facilitate comparison with existing methods. In addition, the General Tools and Parts in Workshop Dataset (GTPWD) is constructed to evaluate joint object category recognition and grasp detection in workshop-oriented robotic manipulation scenarios. Unlike the Cornell dataset, which is used primarily for grasp detection, GTPWD provides both object category labels and grasp annotations, enabling evaluation of the proposed multi-task framework.

3.1.1. Cornell Grasping Dataset

The Cornell Grasping Dataset is a widely used benchmark for planar robotic grasp detection [46]. It contains 885 RGB-D images of 240 different objects acquired from multiple viewpoints. Each image has a spatial resolution of 640 × 480 pixels and is associated with multiple grasp annotations.
The dataset contains 5110 positive grasp rectangles and 2909 negative grasp rectangles. A positive rectangle represents a feasible parallel-jaw grasp, whereas a negative rectangle denotes an unsuitable grasp configuration. Consistent with common planar grasp detection settings, only positive grasp annotations are used as supervision in the present study.
Each grasp rectangle is defined by its center position, orientation, width, and height. During evaluation, the original grasp rectangles provided by the dataset are retained. In particular, the annotated rectangle dimensions are used directly rather than replacing the grasp width with a fixed average value. This treatment ensures that the reported results are compatible with the standard rectangle-based evaluation protocol.
Because the Cornell dataset contains a relatively limited number of images and multiple views of the same object, the data partitioning strategy has a significant influence on the reported performance. To provide a transparent evaluation, both image-wise and object-wise 80:20 partitioning protocols are adopted. Under the image-wise protocol, individual images are assigned to different folds, and different views of the same object may appear in both the training and test sets. Under the object-wise protocol, all images belonging to the same physical object are assigned to the same fold, evaluating the generalization to previously unseen objects.
The dataset partitioning is completed before data augmentation; therefore, augmented versions of a training image cannot appear in the validation or test subsets. To reduce overfitting, the training images are augmented using random rotation, cropping, translation, and scaling. The corresponding grasp annotations are transformed using the same geometric operations.
Representative RGB images from the Cornell Grasping Dataset are shown in Figure 5, and examples of the corresponding grasp rectangle annotations are presented in Figure 6.

3.1.2. General Tools and Parts in Workshop Dataset

The General Tools and Parts in Workshop Dataset (GTPWD) is constructed to evaluate robotic grasp detection and object recognition in workshop-oriented scenarios. The dataset contains eight categories of commonly used tools and mechanical parts: wrenches, screwdrivers, pliers, utility knives, hex keys, bolts, nuts, and drill bits.
Each category contains ten distinct physical objects. Images of each object are acquired under three different backgrounds and multiple object poses. Through repeated image acquisition under different arrangements, the dataset contains a total of 2400 RGB images. Each image is associated with an object category label and one or more planar grasp annotations.
The images were acquired using an Intel RealSense D455 RGB-D camera at a resolution of 640 × 480 pixels. Aligned RGB and depth streams were recorded during acquisition; however, only RGB images were used for network training and inference. The aligned depth stream was used only in the physical robotic system after network inference to recover the three-dimensional position of the predicted grasp center.
The dataset is designed to capture appearance and geometric variations commonly encountered in workshop manipulation, including changes in object pose, background texture, illumination, and object scale. Representative samples from GTPWD are shown in Figure 7.
For each image, the object category is assigned according to the corresponding tool or part type. The planar grasp annotation specifies the grasp center, in-plane orientation, and required gripper opening for a parallel-jaw gripper. An annotation is considered valid when the selected contact region lies within the object boundary, the required opening is within the physical range of the gripper, and the selected grasp is mechanically feasible.
To improve annotation reliability, the annotations are checked in two stages. The initial annotations are first generated according to the predefined grasp labeling criteria. A second manual verification is then performed to identify geometrically invalid or mechanically unstable grasps. Annotations are revised or removed when the grasp center lies outside the feasible contact region, the grasp orientation causes unstable contact, or the required gripper opening exceeds the allowable range.
The complete dataset is first divided into training and test portions at a ratio of 80:20. The training portion is then divided into training and validation subsets at a ratio of 9:1. Consequently, 72%, 8%, and 20% of the complete dataset are used for training, validation, and testing, respectively. Images acquired from the same object sequence are assigned to the same subset in order to reduce the possibility of highly similar observations appearing in both the training and test data. The resulting dataset partition is summarized in Table 2.
To assess annotation consistency, a subset of 200 images is independently rechecked. The consistency is evaluated using grasp center deviation, orientation deviation, grasp rectangle IoU, and the percentage of annotations satisfying the predefined agreement criterion. The corresponding results are reported in Table 3.
The relatively small deviations in grasp center and orientation together with the high rectangle overlap and agreement rate indicate that the annotation procedure provides consistent grasp labels for model training and evaluation.

3.2. Implementation Details

All experiments are implemented using PyTorch2.1.0 on a workstation equipped with an AMD R9-7945HX processor and an NVIDIA RTX 4060 GPU with 8 GB of memory.
The reported inference time is measured for single-image network execution at an input resolution of 300 × 300 pixels on the same RTX 4060 GPU. The average inference time is approximately 7 ms per image. This measurement covers the neural network forward pass and excludes RGB-D image acquisition, depth lookup, three-dimensional coordinate recovery, robot communication, motion planning, and physical gripper execution.
The input RGB images are resized to 300 × 300 pixels. The grasp center coordinates and gripper width annotations are scaled according to the same resizing ratios, while the grasp orientation remains unchanged under isotropic resizing.
The GCSAFormer-S24 configuration is used as the backbone. Its four stages contain 4, 4, 12, and 4 blocks, respectively, and their corresponding channel dimensions are 64, 128, 320, and 512. Compatible backbone parameters are initialized from the PoolFormer-S24 checkpoint [28], whereas the GCSA modules and grasp prediction head are initialized separately.
The 1000 iterations per epoch correspond to the number of augmented mini-batches processed during training, rather than the number of original training images. Given a batch size of 4, each epoch contains 4000 dynamically augmented training samples, which are randomly generated through stochastic data augmentation during iterative sampling. Validation and test data are excluded from this augmentation process in order to ensure unbiased evaluation. The detailed training hyper-parameters are listed in Table 4.

3.3. Evaluation Metrics

3.3.1. Representation of Manipulator Grasp Poses

When a manipulator performs grasping tasks, defining an appropriate representation for object grasp position and orientation is essential. It directly determines whether the manipulator can successfully grasp objects and exerts a profound influence on grasping efficiency and accuracy. An ideal representation should facilitate calculations for deep learning algorithms and enable the robotic end gripper to precisely adjust its posture according to the predicted grasp information. A suitable grasp representation can effectively improve the generalization capability of robotic grasping networks. Such a representation is compatible with various network architectures and manipulators, supports reliable object grasping under complex and dynamic environments, and enhances the adaptability and robustness of robots operating in diverse scenarios. The widely adopted grasp representation is the five-dimensional grasp rectangle proposed by Lenz et al. [46]:
G = x , y , h , w , θ
where ( x , y ) is the center coordinate of the grasp rectangle and h, w, and θ respectively denote the height, width, and rotation angle of the grasp rectangle. The height of the grasp rectangle is determined by the gripper opening range and has the smallest impact on grasp representation; therefore, the grasp representation can be simplified as the following formula, as illustrated in Figure 8:
G = x , y , w , θ .
Furthermore, the grasp quality q, which characterizes the probability of successful grasping at each grasp candidate, is introduced into the grasp representation. Its value ranges from 0 to 1. The final grasp representation is expressed as
G = x , y , q , w , θ .

3.3.2. Grasp Detection Evaluation Metric

The proposed network represents a grasp using the five-dimensional formulation
G p = x p , y p , q p , w p , θ p ,
where ( x p , y p ) denotes the predicted grasp center, q p is the grasp quality score, w p represents the predicted gripper opening, and θ p denotes the predicted in-plane grasp orientation. Unlike methods that directly regress the four vertices or all geometric dimensions of a grasp rectangle, the proposed representation does not explicitly predict the short-side length h of the rectangle.
However, the commonly adopted Cornell evaluation protocol determines grasp correctness according to the angular difference and the intersection over union between a predicted grasp rectangle and the annotated grasp rectangles. Therefore, the predicted grasp pose must first be converted into an oriented rectangle before the overlap criterion can be calculated.
The predicted evaluation rectangle is defined as
R p = R x p , y p , w p , h e , θ p ,
where R ( · ) denotes the operation that converts the predicted grasp pose into an oriented rectangle. The rectangle center and orientation are determined by ( x p , y p ) and θ p , respectively. The long-side length is determined by the predicted gripper opening w p , while the short-side length h e is fixed as
h e = 30 pixels .
The value of 30 pixels is obtained from the average short-side length of the positive grasp rectangles in the Cornell Grasping Dataset. Because the short-side dimension mainly describes the local contact region along the gripper-finger direction and has a smaller influence on the executable grasp configuration than the grasp center, orientation, and opening width, it is not included as an independent network output. The fixed value is used only to reconstruct a rectangle for evaluation, and does not participate in network training or robot grasp execution.
Let
c p = x p y p
denote the center of the predicted grasp rectangle. The unit vectors along the long-side and short-side directions are defined as
e w = cos θ p sin θ p , e h = sin θ p cos θ p .
The four vertices of the reconstructed grasp rectangle are calculated as
p 1 = c p + w p 2 e w + h e 2 e h ,
p 2 = c p + w p 2 e w h e 2 e h ,
p 3 = c p w p 2 e w h e 2 e h ,
p 4 = c p w p 2 e w + h e 2 e h .
Following the standard Cornell rectangle-based protocol [17,46], a predicted grasp is regarded as correct when the reconstructed rectangle satisfies both the orientation difference criterion and the rectangle overlap criterion with respect to at least one ground-truth grasp rectangle.
For a parallel-jaw gripper, the orientations θ and θ + π describe the same physical grasp. Therefore, the angular difference is calculated using the periodic formulation
Δ θ = min θ p θ g , π θ p θ g ,
where θ g denotes the orientation of a ground-truth grasp rectangle. The orientation criterion is defined as
Δ θ < 30 .
The rectangle overlap is evaluated using the standard intersection-over-union metric:
IoU = R p R g R p R g
where R p denotes the reconstructed predicted rectangle and R g denotes a ground-truth grasp rectangle. The overlap criterion is defined as
IoU > 0.25 .
For an image containing multiple valid ground-truth grasp rectangles, the predicted grasp is considered correct if there exists at least one annotation satisfying both Equations (121) and (123). The overall grasp-detection accuracy is calculated as
Acc grasp = N correct N test × 100 % ,
where N correct denotes the number of correctly predicted test images and N test denotes the total number of evaluated images.

3.4. Experimental Results on the Cornell Grasping Dataset

The Cornell Grasping Dataset was used to evaluate the grasp detection accuracy and generalization ability of MTGCSAFormer. The complete dataset was divided into training and test sets at a ratio of 80:20. The training portion was further divided into a training subset and a validation subset at a ratio of 9:1. All data augmentation operations were applied only to the training subset after data partitioning.
Two commonly used partitioning protocols were adopted: image-wise splitting (IW) and object-wise splitting (OW). Under the IW protocol, all images were randomly assigned to the training and test sets; therefore, different images of the same physical object could appear in both sets. This protocol mainly evaluates the adaptability of the model to changes in object position, orientation, and viewpoint.
Under the OW protocol, all images belonging to the same physical object were assigned to the same subset. Consequently, the objects contained in the test set did not appear during training. In this way, the OW protocol provides a more stringent evaluation of the model’s generalization ability to previously unseen objects.
The two partitioning protocols are summarized in Table 5.
For both protocols, 90% of the training portion was used for model optimization and the remaining 10% for validation. The test set remained independent throughout model training, hyperparameter selection, and data augmentation.

3.4.1. Comparison with Existing Grasp Detection Methods

MTGCSAFormer was compared with representative planar grasp detection methods published in recent years. The compared approaches include dense pixel-wise grasp predictors, encoder–decoder networks, feature fusion methods, and lightweight grasp detection models. The results are presented in Table 6.
As shown in Table 6, MTGCSAFormer achieves a grasp-detection accuracy of 99.5% under both the IW and OW protocols. Under the IW protocol, the proposed method outperforms AFFGA-Net by 0.41 percentage points and exceeds the other compared methods by a larger margin.
More importantly, MTGCSAFormer maintains an accuracy of 99.5% under the stricter OW protocol. Compared with the IW setting, the OW setting prevents the same physical object from appearing in both the training and test sets. Therefore, high OW accuracy indicates that the model can transfer the learned grasp-related representations to previously unseen object instances.
MTGCSAFormer requires an average inference time of approximately 7 ms per 300 × 300 input image on the reported RTX 4060 platform. This value denotes the neural network forward time rather than a speed metric or the duration of the complete robotic grasping cycle. Its inference time is comparable to that of MSG-ConvNet and lower than those of GG-CNN, SE-ResUNet, AFFGA-Net, CLRG, SISG-Net, UFGNet, and LPGNet. Although Efficient-Grasp reports a slightly shorter inference time of 6 ms, its IW and OW accuracy results are 1.7 percentage points lower than those of MTGCSAFormer. These results indicate that the proposed model provides a favorable balance between grasp detection accuracy and measured inference time under the reported hardware configuration.
It should be noted that MTGCSAFormer uses only RGB images as the input to the grasp prediction network. The depth image does not participate in network feature extraction or dense grasp map prediction. Depth information is used after network inference to recover the three-dimensional position of the predicted grasp center for physical robotic execution.

3.4.2. Evaluation Rectangle Construction

MTGCSAFormer predicts a grasp pose using the representation
G p = x p , y p , q p , w p , θ p ,
where ( x p , y p ) denotes the grasp center, q p represents the grasp-quality score, w p denotes the gripper opening, and θ p represents the grasp orientation. The model does not directly regress the four vertices or the short-side dimension of a Cornell-style grasp rectangle.
To apply the rectangle-based evaluation protocol, the predicted grasp pose is converted into an oriented rectangle:
R p = R x p , y p , w p , h e , θ p ,
where the rectangle center, long-side length, and orientation are determined by ( x p , y p ) , w p , and θ p , respectively. The short-side length is set to
h e = 30 pixels .
The value of 30 pixels corresponds to the average short-side length of the positive grasp rectangles in the Cornell Grasping Dataset. It is used only to reconstruct an evaluation rectangle, and is not included as a network prediction target or robot control parameter.
The orientation difference between the predicted grasp and a ground-truth grasp is calculated as
Δ θ = min θ p θ g , π θ p θ g ,
where θ g denotes the orientation of the ground-truth rectangle. The periodic formulation accounts for the fact that the orientations θ and θ + π correspond to the same parallel-jaw grasp.
The predicted grasp satisfies the orientation criterion when
Δ θ < 30 .
The overlap between the reconstructed predicted rectangle R p and the ground-truth rectangle R g is calculated using the standard intersection-over-union definition:
IoU = R p R g R p R g .
The overlap criterion is defined as
IoU > 0.25 .
For an image containing multiple valid grasp annotations, the prediction is considered correct when at least one ground-truth rectangle simultaneously satisfies Equations (129) and (131).

3.4.3. Sensitivity to the Evaluation-Rectangle Short Side

Because the short-side length h e is introduced only for rectangle-based evaluation, its influence on the reported grasp accuracy was further examined. The network predictions were kept unchanged, while h e was varied from 20 to 40 pixels. The corresponding results are presented in Table 7.
The results show that the IW accuracy varies from 99.1% to 99.5%, while the OW accuracy varies from 99.0% to 99.5%, for maximum variations of 0.4 and 0.5 percentage points, respectively. This limited variation indicates that the evaluation results are not excessively sensitive to a narrowly selected rectangle dimension.
The best result is obtained using h e = 30 pixels, which is consistent with the average short-side length of the Cornell positive grasp annotations. This result supports the use of 30 pixels as the default value for converting the predicted grasp pose into an oriented evaluation rectangle.

3.4.4. Qualitative Results

Representative grasp detection results on the Cornell Grasping Dataset are shown in Figure 9. For each example, the upper row presents the predicted grasp pose, while the lower rows show the grasp quality, orientation, and gripper width maps.
In the grasp quality maps, regions with higher response values represent locations with a higher probability of successful grasping. The orientation maps encode the required rotation of the parallel-jaw gripper at each candidate position, while the width maps represent the corresponding gripper opening.
The qualitative results demonstrate that MTGCSAFormer can identify feasible grasp regions for objects with different shapes, scales, and orientations. For elongated objects, the predicted grasp directions generally align with the local geometric structure. For compact objects, the network tends to select stable contact regions near the central part of the object. These observations are consistent with the quantitative results in Table 6.

3.5. Multi-Task Evaluation on GTPWD

The General Tools and Parts in Workshop Dataset (GTPWD) was used to evaluate the ability of MTGCSAFormer to simultaneously perform planar grasp detection and object classification in workshop-oriented robotic manipulation scenarios. Unlike the Cornell Grasping Dataset, the GTPWD provides both grasp annotations and object-category labels, enabling the grasping and classification tasks to be evaluated within a unified framework.
All results in this subsection were obtained on the held-out GTPWD test set. The test images were not used for model optimization, hyperparameter selection, early stopping, or data augmentation.
The complete dataset was divided into training and test sets at a ratio of 80:20. The training portion was further divided into training and validation subsets at a ratio of 9:1. All data augmentation operations were applied exclusively to the training subset. The same dataset partition, backbone configuration, and training settings were used for all experiments presented in this section.

3.5.1. Joint Grasp Detection and Object Classification

To investigate the influence of the object classification task on grasp detection, two configurations were compared. The first configuration contained only the grasp-prediction branch and was optimized using the grasp detection objective. The second configuration was the complete multi-task MTGCSAFormer, in which the grasping and classification branches shared the GCSAFormer backbone and were jointly optimized.
The experimental results are presented in Table 8.
As shown in Table 8, the grasp-only configuration achieves a grasp detection accuracy of 98.5%. When the classification branch is introduced, the complete multi-task model achieves a grasp accuracy of 98.0% and a classification accuracy of 99.5%.
The grasp accuracy of the multi-task model is 0.5 percentage points lower than that of the grasp-only model. This result indicates that the auxiliary classification objective does not improve grasp detection accuracy and instead introduces a mild negative transfer effect.
The negative transfer can be explained by the different representation requirements of the two tasks. Object classification primarily relies on category-discriminative semantic information and favors representations that remain relatively invariant to changes in object position and local geometry. In contrast, grasp detection requires accurate preservation of spatial information, including object boundaries, grasp centers, orientations, contact regions, and gripper openings. Therefore, joint optimization may produce partially competing gradients in the shared backbone.
Nevertheless, the multi-task architecture remains meaningful for the target robotic manipulation scenario. The grasping branch determines how the object should be grasped, whereas the classification branch determines the semantic category required for subsequent sorting and placement. Therefore, the classification task is introduced to provide an additional function required by the robotic system rather than to serve solely as an auxiliary objective for improving grasp accuracy.
The comparison between the grasp-only and multi-task configurations is further illustrated in Figure 10.

3.5.2. Classification Loss Weight Sensitivity

To further analyze the interaction between grasp detection and object classification, the influence of the classification loss weight was investigated. The total multi-task objective is defined as
L total = L grasp + λ cls L cls ,
where L grasp denotes the grasp detection loss, L cls denotes the classification loss, and λ cls controls the contribution of classification supervision during joint optimization.
When λ cls = 0 , the network is optimized only for grasp detection. As λ cls increases, the influence of category-level semantic supervision on the shared representation becomes stronger. The corresponding experimental results are presented in Table 9.
When λ cls increases from 0 to 0.10, the classification accuracy increases to 99.5%, whereas the grasp detection accuracy gradually decreases from 98.5% to 98.0%. This trend confirms that strengthening classification supervision changes the shared representation in favor of category-level semantic discrimination.
When λ cls is increased beyond 0.10, the classification accuracy remains approximately unchanged, while the grasp accuracy continues to decrease. In particular, increasing λ cls from 0.10 to 0.50 reduces grasp accuracy from 98.0% to 97.2% without producing a meaningful improvement in classification performance.
These results indicate that an excessively large classification loss weight causes the classification objective to dominate the shared feature learning process, thereby weakening the spatially precise information required for grasp prediction. In contrast, an excessively small value does not provide sufficient semantic supervision for reliable category prediction.
Accordingly, λ cls = 0.10 is selected for the complete MTGCSAFormer. This setting achieves a grasp detection accuracy of 98.0% and a classification accuracy of 99.5%, providing a practical balance between geometric grasp estimation and semantic object recognition.
It should be emphasized that the selected loss weight does not maximize grasp accuracy. The highest grasp accuracy is obtained when the classification task is removed. The value of λ cls = 0.10 is selected because the target workshop application requires both grasp and category outputs.

3.5.3. Qualitative Multi-Task Results

Representative multi-task prediction results on GTPWD are shown in Figure 11. Each example presents the predicted object category and the corresponding planar grasp configuration.
The qualitative results demonstrate that MTGCSAFormer can jointly recognize workshop objects and estimate feasible grasp configurations under different poses and backgrounds. For elongated objects such as screwdrivers, wrenches, hex keys, and drill bits, the predicted grasp orientation generally follows the local geometric direction of the object. For relatively compact parts such as nuts and bolts, the predicted grasp centers are concentrated around stable contact regions.
The grasping and classification branches therefore provide complementary outputs for robotic manipulation. The grasping branch supplies geometric information for robot motion planning and gripper control, whereas the classification branch provides semantic information for determining the subsequent sorting or placement destination.

3.6. Ablation Studies

To investigate the contributions of the GCSAFormer backbone and the Spatial and Channel Reconstruction Grasping Module (SCRGM), a series of ablation experiments were conducted on the GTPWD. All experimental configurations used the same dataset partition, input resolution, data augmentation strategy, optimization parameters, and multi-task loss setting. Only the backbone or grasping head under investigation was changed.
The ablation experiments were organized into four parts. First, the contributions of GCSAFormer and SCRGM were evaluated using four backbone and grasping head combinations. Second, the internal channel attention, channel shuffle, and spatial attention operations of GCSA were investigated separately. Third, GCSA was compared with representative attention mechanisms. Finally, the contributions of SRU, CRU, and multi-scale feature fusion were evaluated.

3.6.1. Overall Ablation of GCSAFormer and SCRGM

Four configurations were constructed by combining the PoolFormer or GCSAFormer backbone with the original grasping head (GG) or SCRGM. The PoolFormer + GG configuration was regarded as the baseline, whereas GCSAFormer + SCRGM represented the complete model.
The four configurations are defined as follows:
  • PoolFormer + GG: The baseline model using the PoolFormer backbone and the original grasping head.
  • PoolFormer + SCRGM: The PoolFormer backbone combined with the spatial and channel reconstruction grasping module.
  • GCSAFormer + GG: The GCSAFormer backbone combined with the original grasping head.
  • GCSAFormer + SCRGM: The complete model containing both the GCSAFormer backbone and SCRGM.
The quantitative results are presented in Table 10 and Figure 12.
As shown in Table 10, the PoolFormer + GG baseline achieves a grasp detection accuracy of 94.0% and a classification accuracy of 95.5%.
Replacing the original grasping head with SCRGM while retaining the PoolFormer backbone increases grasp accuracy from 94.0% to 96.0%, an improvement of 2.0 percentage points. The classification accuracy also increases from 95.5% to 99.0%. This improvement indicates that spatial and channel reconstruction refines the feature representation provided to the dense grasp-prediction branches.
Although SCRGM is primarily designed for grasp prediction, its introduction also affects the gradients propagated through the shared backbone during multi-task optimization. Thus, the observed classification improvement should be interpreted as an empirical effect of joint training rather than as evidence that SCRGM directly performs object classification.
Replacing PoolFormer with GCSAFormer while retaining the original GG head increases the grasp accuracy from 94.0% to 95.0%. More notably, the classification accuracy increases from 95.5% to 99.0%. This result indicates that the channel and spatial feature-refinement operations in GCSAFormer substantially improve category-discriminative semantic representations while also providing a moderate benefit for grasp prediction.
The complete GCSAFormer + SCRGM configuration achieves the highest grasp accuracy of 98.0% and classification accuracy of 99.5%. Compared with the PoolFormer + GG baseline, the complete model improves grasp accuracy by 4.0 percentage points and classification accuracy by 4.0 percentage points.
Compared with GCSAFormer + GG, introducing SCRGM increases grasp accuracy from 95.0% to 98.0%, corresponding to an improvement of 3.0 percentage points. Classification accuracy increases only slightly from 99.0% to 99.5%. This result is consistent with the task-specific role of SCRGM, which has the main purpose of refining fused features for dense grasp prediction.
Compared with PoolFormer + SCRGM, replacing PoolFormer with GCSAFormer increases grasp accuracy from 96.0% to 98.0% and classification accuracy from 99.0% to 99.5%. This result demonstrates that GCSAFormer remains beneficial even when the reconstruction-based grasping head is already employed.
Overall, GCSAFormer and SCRGM contribute at different stages of the multi-task architecture. GCSAFormer primarily improves the shared hierarchical representation, with a particularly clear benefit for object classification. SCRGM primarily improves grasp detection by reorganizing spatial and channel responses before the prediction of grasp quality, orientation, and gripper opening. Their joint use provides the best performance for both tasks.

3.6.2. Component-Level Ablation of GCSA

The overall ablation results demonstrate that replacing PoolFormer with GCSAFormer improves both grasp detection and object classification. However, this comparison does not identify the contribution of each operation within GCSA. Therefore, channel attention (CA), channel shuffle (CS), and spatial attention (SA) were evaluated separately.
SCRGM and the remaining network architecture were retained in all configurations. The configuration without CA, CS, or SA corresponds to the baseline backbone combined with SCRGM. The results are presented in Table 11.
The configuration without channel attention, channel shuffle, or spatial attention achieves a grasp accuracy of 96.0% and a classification accuracy of 99.0%. These results correspond to the PoolFormer + SCRGM configuration in Table 10.
Introducing channel attention increases grasp accuracy from 96.0% to 96.7%. This improvement suggests that adaptive channel recalibration helps emphasize channels containing grasp-related geometry and semantic information.
Spatial attention alone increases grasp accuracy to 96.5%. Although the improvement is slightly smaller than that produced by channel attention, it indicates that spatial weighting helps emphasize regions associated with feasible contact positions.
Combining channel attention and spatial attention increases grasp accuracy to 97.5%. This result demonstrates that channel and spatial refinement provide complementary information. Channel attention emphasizes informative feature dimensions, whereas spatial attention identifies grasp-relevant locations within these features.
When channel shuffle is introduced together with channel attention, the grasp accuracy reaches 97.2%. The channel shuffling operation facilitates feature exchange among different channel groups, reducing the isolation introduced by group-wise feature processing.
The complete GCSA configuration, containing channel attention, channel shuffling, and spatial attention, achieves the highest grasp accuracy of 98.0% and classification accuracy of 99.5%. Compared with the channel-and-spatial attention configuration without channel shuffling, the complete structure improves grasp accuracy by 0.5 percentage points.
These results indicate that the performance of GCSA does not originate from a single attention operation; instead, channel recalibration, channel redistribution, and spatial refinement provide complementary effects when organized sequentially.

3.6.3. Comparison with Existing Attention Mechanisms

To determine whether the improvement of GCSA results merely from adding an attention module, GCSA was compared with SE, ECA, CBAM, and Shuffle Attention. Each alternative attention module replaced GCSA at the same positions in the backbone, while SCRGM and all other experimental settings were kept unchanged.
The comparison results are shown in Table 12.
All evaluated attention mechanisms improve grasp performance compared with the configuration without attention. SE and ECA achieve grasp accuracy results of 96.5% and 96.7%, respectively, confirming that channel recalibration is beneficial for grasp-related feature extraction.
CBAM, which combines channel and spatial attention, achieves 97.2%. Shuffle Attention further increases the grasp accuracy to 97.5%, indicating that grouped feature interaction can provide additional benefits.
GCSA achieves the highest grasp accuracy of 98.0% and classification accuracy of 99.5%. It outperforms CBAM by 0.8 percentage points in grasp accuracy and Shuffle Attention by 0.5 percentage points.
These comparisons do not imply that channel attention, channel shuffle, or spatial attention are independently new concepts. The contribution of GCSA lies specifically in organizing these established operations into a channel recalibration–channel redistribution–spatial refinement sequence suited to the hierarchical features used for dense grasp prediction.

3.6.4. Component-Level Ablation of SCRGM

To identify the contributions of spatial reconstruction and channel reconstruction, the Spatial Reconstruction Unit (SRU) and Channel Reconstruction Unit (CRU) were evaluated separately. GCSAFormer was retained in all configurations.
Four grasping head configurations were considered: the original grasping head without reconstruction, an SRU-only head, a CRU-only head, and the complete SCRGM containing both units. The results are presented in Table 13.
Without SRU or CRU, the GCSAFormer + GG configuration achieves a grasp accuracy of 95.0% and a classification accuracy of 99.0%.
Introducing SRU alone increases the grasp accuracy to 96.2%. This improvement suggests that gated separation and cross-reconstruction reduce repeated spatial responses and help to preserve informative regions for grasp localization.
CRU alone achieves a grasp accuracy of 96.7%, outperforming the SRU-only configuration by 0.5 percentage points. This result indicates that channel splitting, compression, grouped transformation, adaptive weighting, and feature reconstruction effectively reorganize correlated channel information.
When the SRU and CRU are combined in sequence, the complete SCRGM achieves 98.0% grasp accuracy and 99.5% classification accuracy. Compared with the reconstruction-free head, the SCRGM improves grasp accuracy by 3.0 percentage points.
The improvement produced by the complete module is larger than those of the individual units, indicating that spatial and channel reconstruction address different types of redundancy in the fused representation.
The reconstruction principles of SRU and CRU are related to ScConv. The task-specific contribution of SCRGM lies in integrating these units with multi-scale fused features, progressive upsampling, and dense prediction branches for grasp quality, orientation, and gripper opening.

3.6.5. Ablation of Multi-Scale Feature Fusion

The GCSAFormer backbone generates four hierarchical feature maps, F 1 , F 2 , F 3 , and F 4 , from shallow to deep stages. To investigate the contribution of different feature levels, progressively increasing numbers of hierarchical features were provided to SCRGM.
GCSA and SCRGM were retained in all configurations. The results are shown in Table 14.
Using only the deepest feature, F 4 , achieves a grasp accuracy of 96.6%. Although F 4 contains strong semantic information, its reduced spatial resolution limits the preservation of object boundaries and local grasp geometry.
Combining F 3 and F 4 increases grasp accuracy to 97.1%, indicating that intermediate-resolution features provide additional spatial information. Further adding F 2 increases the accuracy to 97.6%.
The complete fusion of all four feature levels achieves the highest grasp accuracy of 98.0% and classification accuracy of 99.5%. The progressive improvements demonstrate that shallow and deep features provide complementary information. Shallow features preserve boundaries and local geometry, whereas deep features provide semantic and contextual representations.
The relatively small but consistent increase at each stage indicates that multi-scale feature fusion incrementally refines the representation rather than acting as the sole source of the final performance improvement.

3.6.6. Summary of the Ablation Results

The ablation experiments demonstrate that GCSAFormer and SCRGM provide different but complementary contributions. Replacing PoolFormer with GCSAFormer mainly improves the shared semantic representation, increasing classification accuracy from 95.5% to 99.0% when the original grasping head is retained. Replacing GG with SCRGM primarily improves dense grasp prediction, increasing grasp accuracy from 94.0% to 96.0% when PoolFormer is retained.
The complete GCSAFormer + SCRGM configuration achieves the highest grasp and classification accuracies of 98.0% and 99.5%, respectively. The component-level experiments further show that channel attention, channel shuffle, and spatial attention each contribute to GCSA, while SRU and CRU provide complementary spatial and channel reconstruction within SCRGM.
Comparisons with SE, ECA, CBAM, and Shuffle Attention indicate that the specific organization adopted in GCSA provides a moderate but consistent improvement over related attention mechanisms. Similarly, progressively incorporating hierarchical backbone features improves grasp performance, supporting the use of multi-scale feature fusion.
Overall, the final performance of MTGCSAFormer results from backbone-level channel–spatial feature refinement, hierarchical feature aggregation, and grasp head-level spatial/channel reconstruction rather than from a single architectural component.

3.7. Input Resolution Analysis

The input resolution directly affects the amount of spatial information available for grasp center localization, orientation estimation, and gripper opening prediction. A relatively low resolution may remove fine object boundaries and narrow graspable regions, whereas an excessively high resolution increases the input size without necessarily producing a corresponding improvement in grasp accuracy.
To justify the use of 300 × 300 images, MTGCSAFormer was evaluated using five input resolutions: 224 × 224 , 256 × 256 , 300 × 300 , 320 × 320 , and 384 × 384 . The same dataset partition, backbone configuration, loss weights, augmentation strategy, and training schedule were used in all experiments. Only the input resolution was changed.
All RGB images were resized using bilinear interpolation. The corresponding grasp center coordinates and gripper opening annotations were scaled using the same resizing ratio. Because isotropic resizing was adopted, the grasp orientation remained unchanged.
The experimental results are presented in Table 15.
As shown in Table 15, increasing the input resolution from 224 × 224 to 256 × 256 improves the grasp accuracy from 96.9% to 97.5%. Increasing the resolution to 300 × 300 further raises grasp accuracy to 98.0% and classification accuracy to 99.5%.
The improvement at 300 × 300 can be attributed to the preservation of finer object contours, narrow graspable regions, and local orientation cues. These spatial details are particularly important for dense prediction of the grasp center and gripper opening.
When the input resolution is increased from 300 × 300 to 320 × 320 , grasp accuracy improves by only 0.1 percentage points, whereas classification accuracy remains unchanged. A further increase to 384 × 384 does not provide an additional grasp improvement and increases classification accuracy by only 0.1 percentage points.
These results indicate that performance begins to saturate when the input resolution exceeds 300 × 300 . Therefore, 300 × 300 is selected as the default input resolution because it preserves sufficient spatial detail for grasp prediction while avoiding an unnecessarily large input representation.
It should be noted that this experiment evaluates only the influence of image resolution on prediction accuracy. Since computational complexity is not analyzed separately in this study, the selected resolution is justified primarily by the observed saturation of grasp and classification performance rather than by a claim of minimum computational cost.

3.8. Physical Robotic Grasping Experiments

To evaluate whether the grasp configurations predicted by MTGCSAFormer can be reliably converted into executable robot actions, physical grasping experiments were conducted using an AUBO-i3 robotic manipulator. The experimental system adopts an eye-in-hand configuration consisting of an Intel RealSense D455 RGB-D camera and an EG2-4C2 parallel gripper mounted on the robot end-effector.
The physical experiments were designed to evaluate the complete perception-to-execution pipeline, including RGB-based grasp prediction, depth-assisted three-dimensional localization, eye-in-hand coordinate transformation, robot motion planning, and gripper execution.
The trials were conducted under controlled single-target conditions so that the evaluation could focus on grasp prediction, depth-assisted localization, camera–robot transformation, and robot execution. Multi-object clutter additionally requires instance-level target association, inter-object occlusion handling, collision avoidance, grasp-order planning, and iterative scene updating; these factors were not systematically evaluated in the present physical experiments.

3.8.1. Experimental Platform

The robotic grasping platform is shown in Figure 13. The main hardware components included the AUBO-i3 six-degrees-of-freedom manipulator, the Intel RealSense D455 RGB-D camera, and the EG2-4C2 parallel gripper.
The camera is rigidly attached to the robot end effector such that the relative transformation between the camera coordinate system and the end-effector coordinate system remains fixed after hand–eye calibration. During operation, the robot controller provides the current transformation from the end-effector coordinate system to the robot base coordinate system.
MTGCSAFormer uses the RGB image as the input for object classification and planar grasp prediction. The aligned depth image is not used for network feature extraction. Instead, the depth value corresponding to the predicted grasp center is used after inference to recover the metric three-dimensional position of the grasp point.

3.8.2. Perception-to-Execution Procedure

For each grasping trial, the robot first moves to a predefined observation pose and acquires aligned RGB and depth images. The RGB image is resized to 300 × 300 pixels and provided to MTGCSAFormer.
The network predicts the planar grasp representation
G p = x p , y p , q p , w p , θ p ,
where ( x p , y p ) denotes the predicted grasp center, q p denotes the grasp quality score, w p represents the gripper opening, and θ p represents the in-plane grasp orientation.
The depth value corresponding to the predicted grasp center is obtained from the aligned depth image:
Z C = D ( x p , y p ) ,
where D ( · ) denotes the aligned depth map.
Using the calibrated camera intrinsic parameters, the predicted pixel coordinate and its depth are converted into the three-dimensional camera coordinate system:
X C = ( x p c x ) Z C f x , Y C = ( y p c y ) Z C f y ,
where f x and f y denote the camera focal lengths and ( c x , c y ) is the principal point.
The recovered grasp point is represented in homogeneous coordinates as
P ˜ C = X C Y C Z C 1 .
The eye-in-hand calibration result provides the fixed transformation T C E from the camera coordinate system to the end-effector coordinate system. The robot controller provides the current transformation T E B from the end-effector coordinate system to the robot base coordinate system. Therefore, the grasp point in the robot base coordinate system is calculated as
P ˜ B = T E B T C E P ˜ C .
The predicted grasp orientation is transformed according to the rotational relationship among the camera, end-effector, and robot base coordinate systems. The predicted opening width is converted into the physical gripper command according to the calibrated gripper mapping.
After obtaining the executable grasp pose, the robot performs the following sequence: moving to a pre-grasp pose, approaching the target along the predefined direction, adjusting the gripper orientation, closing the gripper, lifting the object, and transferring it to the corresponding placement region according to the predicted object category.

3.8.3. Experimental Objects and Success Criterion

The physical experiments included workshop tools and mechanical parts represented in the GTPWD as well as additional daily objects used to examine the transfer ability of the system beyond the primary dataset.
A grasp was considered successful when all of the following conditions were satisfied:
  • The gripper reached the predicted grasp region without collision.
  • The target object was securely enclosed by the gripper.
  • The object was lifted from the supporting surface.
  • The object remained in the gripper during the predefined lifting motion.
A trial was considered unsuccessful when the gripper missed the target, contacted an unstable region, failed to lift the object, or lost the object during lifting.
The physical grasp success rate was calculated as
S R = N success N attempt × 100 % ,
where N success denotes the number of successful trials and N attempt denotes the total number of grasp attempts.

3.8.4. Physical Grasping Results

The physical grasping results are summarized in Table 16.
The robotic system successfully completed 76 of 80 grasp attempts, corresponding to an overall grasp success rate of 95.0%. For workshop tools and mechanical parts, 39 of 40 attempts were successful, resulting in a success rate of 97.5%. For additional daily objects, 37 of 40 attempts were successful, corresponding to a success rate of 92.5%.
The higher success rate for workshop tools and parts can be attributed to their closer similarity to the objects represented in GTPWD. The lower success rate for daily objects indicates that changes in object appearance, material, geometry, and distribution of the graspable region can affect transfer to objects outside the primary training distribution.
Representative physical grasping results are shown in Figure 14.
The successful cases demonstrate that the predicted planar grasp center, orientation, and gripper opening can be converted into executable robot commands through depth-assisted localization and eye-in-hand coordinate transformation.
The input example used in the network architecture illustration is intended to explain the perception flow and does not indicate that the reported 95.0% physical success rate was obtained in densely cluttered multi-object scenes.
The unsuccessful cases were mainly associated with four factors. First, depth values near object boundaries occasionally exhibited instability, causing errors in three-dimensional position recovery. Second, reflective or low-texture surfaces produced unreliable depth measurements. Third, some predicted grasp centers were located near mechanically unstable object regions. Finally, object slippage occasionally occurred after gripper closure because of limited friction or unsuitable contact geometry.
These observations demonstrate that physical grasp success depends not only on the accuracy of the two-dimensional grasp prediction but on depth quality, camera calibration, hand–eye calibration, robot positioning accuracy, and gripper–object interaction.
It should also be emphasized that MTGCSAFormer is an RGB-based grasp perception network, whereas the complete robotic system uses depth information after network inference for metric three-dimensional localization. Therefore, the physical results should not be interpreted as evidence that the complete robot system operates without depth information.

3.9. Discussion

The experimental results provide several observations regarding the effectiveness, applicability, and limitations of MTGCSAFormer.
First, the Cornell experiments demonstrate the importance of clearly defining the evaluation protocol. MTGCSAFormer predicts a grasp pose in the form of grasp center, quality, gripper opening, and orientation rather than directly regressing the four vertices of a grasp rectangle. Therefore, a rectangle must be reconstructed before applying the Cornell rectangle-based criterion. In this study, the predicted gripper opening determines one side of the evaluation rectangle, while the other side is fixed to 30 pixels according to the average dimension of the positive Cornell grasp annotations.
The intersection-over-union metric is calculated using the standard ratio of intersection area to union area. In addition, both image-wise and object-wise data partitions are reported. The image-wise protocol evaluates adaptation to viewpoint and pose variations, whereas the object-wise protocol provides a stricter assessment because the objects contained in the test set are not observed during training. Reporting both protocols reduces ambiguity and improves comparability with previous grasp detection studies.
Second, the ablation results indicate that GCSAFormer and SCRGM contribute to different stages of the multi-task network. Replacing PoolFormer with GCSAFormer increases grasp accuracy from 94.0% to 95.0% and classification accuracy from 95.5% to 99.0% when the original grasping head is retained. This result indicates that the backbone-level channel and spatial feature refinement operations are particularly beneficial for category-discriminative semantic representation.
Replacing the original grasping head with SCRGM increases grasp accuracy from 94.0% to 96.0% when the PoolFormer backbone is retained. This result supports the use of spatial and channel reconstruction before predicting the dense grasp map. When GCSAFormer and SCRGM are used jointly, the model achieves 98.0% grasp accuracy and 99.5% classification accuracy, indicating that backbone-level feature refinement and grasp head-level reconstruction provide complementary effects.
However, the individual operations used in GCSA are related to established channel attention, spatial attention, and channel shuffling strategies. Similarly, the reconstruction principles of SRU and CRU are related to ScConv. Therefore, the contributions of GCSA and SCRGM should be interpreted as task-oriented architectural integration rather than entirely new general-purpose attention or reconstruction principles. The comparison with SE, ECA, CBAM, and Shuffle Attention and the component-level ablations are included in order to clarify this relationship.
Third, the multi-task experiments reveal a mild negative transfer effect. The grasp-only configuration achieves a grasp accuracy of 98.5%, whereas the complete multi-task model achieves 98.0%. This result demonstrates that the classification task does not necessarily improve grasp prediction. Classification favors category-discriminative semantic features that are relatively invariant to local spatial changes, whereas grasp detection requires accurate preservation of object boundaries, contact regions, orientation, and gripper opening.
Because of this, the two tasks can produce partially competing optimization objectives in the shared backbone. The classification loss sensitivity experiment further shows that while increasing the classification loss weight improves classification performance, it gradually reduces grasp accuracy. The selected loss weight represents a practical compromise rather than the setting that maximizes the performance of either task independently.
Despite this negative transfer, the multi-task architecture remains useful for the target workshop application. A robotic sorting system must determine both how an object should be grasped and which placement region should be selected according to its category. The classification branch is included to provide semantic information required for downstream task execution rather than as an auxiliary branch that guarantees higher grasp accuracy.
Fourth, the role of depth information must be distinguished between network perception and physical robot execution. MTGCSAFormer uses RGB images for feature extraction, object classification, and planar grasp prediction. Depth is not used as an input modality of the neural network. However, the complete robotic system is not depth-free; after network inference, the aligned depth value at the predicted grasp center is combined with the camera intrinsic parameters to recover the corresponding three-dimensional point in the camera coordinate system.
The eye-in-hand calibration result and the current end-effector pose are then used to transform the grasp point into the robot base coordinate system. Therefore, the system should be described as RGB-based grasp perception with depth-assisted three-dimensional localization. This distinction is important because a two-dimensional RGB prediction alone cannot uniquely determine a metric three-dimensional robot target.
Fifth, the physical grasp success rate is affected by both perception and geometric execution errors. The robotic experiments achieve an overall success rate of 95.0%, but unsuccessful trials are not necessarily caused by incorrect two-dimensional grasp prediction. Depth noise, invalid depth values near object boundaries, camera intrinsic calibration error, hand–eye calibration error, robot positioning error, and gripper–object interaction can all affect the final grasp result.
Reflective and low-texture objects are particularly challenging because their depth measurements may be unstable. In addition, a geometrically valid grasp predicted in the image may still fail because of insufficient surface friction or object slippage after gripper closure. Therefore, two-dimensional grasp accuracy and physical grasp success rate should be interpreted as related but distinct evaluation measures.
Several limitations remain in the current study. First, GTPWD contains only eight object categories and is collected using a limited number of backgrounds, viewpoints, and illumination conditions. Although the dataset is designed to represent common workshop objects, its scale remains limited relative to large synthetic datasets. The generalization ability of the model under different factories, cameras, lighting conditions, and object materials has not yet been comprehensively evaluated.
Second, all physical experiments were conducted using a single AUBO-i3 platform, one RGB-D camera, and one parallel gripper. The transferability of the system to other manipulators, camera mounting configurations, and gripper geometries remains to be established.
In addition, the current physical evaluation was limited to controlled single-target scenes. The classification branch produces one image-level category prediction, and does not explicitly associate multiple grasp candidates with multiple object instances. Consequently, the reported physical success rate should not be interpreted as evidence of robust operation in densely cluttered multi-object environments. Future work will incorporate instance-level recognition, collision-aware grasp selection, grasp order planning, and iterative scene updating.
Third, the current grasp representation focuses on planar parallel-jaw grasping. It does not explicitly estimate a complete six-degrees-of-freedom grasp pose or model complex object surface geometry. As such, the approach is more suitable for objects placed on approximately horizontal supporting surfaces than for arbitrary three-dimensional clutter.
Fourth, the use of a fixed 30-pixel short-side length is necessary because the network does not directly predict this rectangle dimension. Although the sensitivity experiment indicates that performance is relatively stable around this value, the reconstructed rectangle remains an evaluation approximation rather than a complete network output. Future work may consider explicitly predicting the full rectangle geometry or adopting evaluation metrics that operate directly on the predicted grasp pose.
Fifth, the observed negative transfer suggests that completely sharing the backbone may not provide the optimal balance between classification and grasp prediction. More advanced task balancing strategies, gradient conflict mitigation, adaptive loss weighting, or partially decoupled task-specific features may improve the joint performance.
Future work will focus on expanding GTPWD to include more object categories, materials, backgrounds, illumination conditions, and camera viewpoints. Cross-camera and cross-robot evaluation will also be conducted in order to examine hardware transferability. In addition, adaptive multi-task optimization, uncertainty-aware depth processing, improved calibration error compensation, instance-level multi-object grasping, and six-degrees-of-freedom grasp prediction will be investigated in order to improve robustness in more complex industrial environments.

3.10. Summary of Experimental Results

The experiments conducted on the Cornell Grasping Dataset, GTPWD, and physical robotic platform provide a comprehensive evaluation of MTGCSAFormer from the perspectives of grasp accuracy, object classification, architectural effectiveness, input resolution sensitivity, and physical execution.
On the Cornell Grasping Dataset, MTGCSAFormer achieves a grasp detection accuracy of 99.5% under both the image-wise and object-wise partitioning protocols. The image-wise protocol evaluates the adaptability of the model to variations in object pose, viewpoint, and image appearance, whereas the object-wise protocol evaluates its ability to generalize to objects that are not observed during training. The consistently high performance under both protocols indicates that the learned grasp representation can accommodate both intra-object appearance variation and previously unseen object instances.
The Cornell evaluation also clarifies the relationship between the network output and the rectangle-based grasp criterion. MTGCSAFormer predicts the grasp representation G = { x , y , q , w , θ } rather than directly predicting all dimensions and vertices of a grasp rectangle. Therefore, a 30-pixel short-side length, derived from the average short-side dimension of the positive Cornell grasp annotations, is used to reconstruct the predicted rectangle for IoU evaluation. The corrected intersection-over-union definition and the short-side sensitivity experiment improve the transparency of the reported evaluation protocol.
On GTPWD, the complete multi-task model achieves a grasp detection accuracy of 98.0% and an object-classification accuracy of 99.5%. These results demonstrate that the network can simultaneously provide geometric grasp information and semantic category information for workshop-oriented robotic manipulation.
The grasp-only configuration achieves an accuracy of 98.5%, which is 0.5 percentage points higher than the grasp accuracy of the multi-task model. This result indicates mild negative transfer between grasp detection and object classification. The classification branch does not necessarily improve grasp detection accuracy, but is retained because semantic category information is required for downstream sorting and placement.
The overall ablation experiments demonstrate that both GCSAFormer and SCRGM contribute to the final performance. The PoolFormer + GG baseline achieves grasp and classification accuracy results of 94.0% and 95.5%, respectively. Replacing the original grasping head with SCRGM increases these results to 96.0% and 99.0%, while replacing PoolFormer with GCSAFormer produces accuracy of 95.0% and 99.0%. The complete GCSAFormer + SCRGM configuration achieves the highest grasp accuracy of 98.0% and classification accuracy of 99.5%.
The component-level experiments further demonstrate that channel attention, channel shuffling, and spatial attention each contribute to GCSA. Channel attention improves feature discrimination along the channel dimension, channel shuffling facilitates interaction among different channel groups, and spatial attention emphasizes grasp-relevant regions. The complete combination provides the highest performance.
Comparisons with SE, ECA, CBAM, and Shuffle Attention indicate that GCSA provides a moderate but consistent improvement under the same experimental configuration. Therefore, the contribution of GCSA is interpreted as a task-oriented organization of established channel and spatial feature processing operations rather than as the introduction of an entirely new attention principle.
The SCRGM experiments show that the SRU and CRU both improve grasp prediction. The SRU primarily reorganizes spatially redundant responses, while the CRU refines correlated channel information. Their sequential combination produces the highest grasp accuracy, supporting the use of spatial and channel reconstruction in the grasping head. Because the reconstruction principles are related to ScConv, the task-specific contribution of SCRGM lies in its integration with multi-scale fused features, progressive upsampling, and dense grasp prediction.
The multi-scale feature fusion experiments demonstrate that combining features from different backbone stages progressively improves grasp performance. Deep features provide high-level semantic and contextual information, whereas shallow features preserve object boundaries, local contours, and fine geometric details. Together, their integration benefits the dense estimation of grasp center, orientation, and gripper opening.
The input resolution experiments show that increasing the image resolution from 224 × 224 to 300 × 300 improves both grasp detection and classification. Increasing the resolution beyond 300 × 300 produces only marginal performance gains; therefore, 300 × 300 is selected as the default resolution because it preserves sufficient spatial detail while avoiding an unnecessarily large input representation.
Finally, the physical robotic experiments demonstrate the feasibility of integrating MTGCSAFormer with an eye-in-hand RGB-D robotic system. The robot successfully completed 76 of 80 grasp attempts, corresponding to an overall success rate of 95.0%. Workshop tools and mechanical parts achieve a success rate of 97.5%, while additional daily objects achieve 92.5%.
The physical experiments also clarify the roles of RGB and depth information. MTGCSAFormer uses RGB images for feature extraction, classification, and planar grasp prediction. The aligned depth image is used only after network inference to recover the metric three-dimensional position of the predicted grasp point. Camera intrinsic parameters, eye-in-hand calibration, and the current end-effector pose are then used to transform the grasp point into the robot base coordinate system.
Overall, the experimental results demonstrate that MTGCSAFormer provides accurate planar grasp prediction and object classification for workshop-oriented robotic manipulation. The improvements arise from the combined effects of hierarchical feature refinement, multi-scale feature aggregation, and spatial/channel reconstruction. At the same time, the experiments reveal limitations related to multi-task competition, dataset diversity, depth uncertainty, calibration error, and transfer to unseen hardware and environments.

4. Conclusions

This study presents MTGCSAFormer, a multi-task perception framework for planar robotic grasp detection and object classification in workshop-oriented manipulation scenarios. The network uses a hierarchical GCSAFormer backbone to extract channel- and spatially-refined features, multi-scale feature fusion to combine spatial details and semantic information, and SCRGM to reconstruct spatial and channel responses prior to dense grasp prediction.
The GCSA module organizes channel recalibration, channel shuffle, and spatial refinement into a sequential feature processing structure. The component-level ablation experiments show that each operation contributes to the final grasp performance. Comparisons with representative attention mechanisms further indicate that the proposed organization is suitable for dense grasp prediction, although the individual attention operations are based on established feature processing principles.
SCRGM integrates SRU and CRU into the grasping head to refine the multi-scale fused representation. The experimental results show that SRU and CRU provide complementary improvements by addressing spatially repeated responses and correlated channel information, respectively. The reconstruction principles are related to ScConv, while the task-specific contribution of SCRGM lies in its integration with progressive feature recovery and dense prediction of grasp quality, orientation, and gripper opening.
On the Cornell Grasping Dataset, MTGCSAFormer achieves an accuracy of 99.5% under both image-wise and object-wise partitioning protocols. To evaluate the predicted grasp representation using the rectangle-based Cornell criterion, the predicted grasp center, orientation, and gripper opening are combined with a fixed 30-pixel short side to reconstruct an oriented evaluation rectangle. The standard intersection-over-union definition is used, and the sensitivity analysis indicates that the evaluation remains relatively stable around the selected short-side value.
On GTPWD, the complete multi-task model achieves 98.0% grasp detection accuracy and 99.5% object classification accuracy. The grasp-only model achieves 98.5%, revealing mild negative transfer between the two tasks. The multi-task architecture is nevertheless retained because the target robotic sorting scenario requires both grasp geometry and semantic category information.
The overall ablation results show that the PoolFormer + GG baseline achieves 94.0% grasp accuracy and 95.5% classification accuracy, while the complete GCSAFormer + SCRGM configuration achieves 98.0% and 99.5%, respectively. These results support the combined use of backbone-level channel–spatial feature refinement and grasp head-level spatial/channel reconstruction.
Physical experiments conducted on an AUBO-i3 manipulator achieve an overall grasp success rate of 95.0%. MTGCSAFormer uses RGB images for planar grasp prediction and object classification, while aligned depth information is used after inference for three-dimensional localization. Camera intrinsic parameters, eye-in-hand calibration, and the current robot pose are used to transform the predicted grasp point into an executable pose in the robot base coordinate system.
The current study remains limited by the scale and diversity of GTPWD, the use of a single robotic platform and camera configuration, the controlled single-target physical evaluation, and the focus on planar parallel-jaw grasping. In addition, multi-task competition, depth noise, calibration error, and gripper–object interaction can affect the final physical result.
Future work will expand the dataset to include more object categories, materials, viewpoints, backgrounds, and illumination conditions. Adaptive multi-task optimization, gradient conflict mitigation, uncertainty-aware depth processing, instance-level multi-object grasping, cross-camera and cross-robot evaluation, and six-degrees-of-freedom grasp prediction will also be investigated to improve the generalization and robustness of the system in more complex industrial environments.

Author Contributions

Conceptualization, S.Z. and Z.L.; methodology, S.Z.; software, S.Z.; validation, S.Z. and Y.W.; formal analysis, S.Z. and S.W.; investigation, S.Z.; resources, Z.L. and Y.W.; data curation, S.Z. and Y.W.; writing—original draft preparation, S.Z.; writing—review and editing, Z.L., Y.W., and S.W.; visualization, S.Z. and S.W.; supervision, Z.L.; project administration, Z.L.; funding acquisition, Z.L. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Natural Science Foundation of China, grant number 52305064, and the Jiangsu Frontier Technology Research and Development Program, grant number BF2025057.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The Cornell Grasping Dataset analyzed in this study is publicly available from its original source. The General Tools and Parts in Workshop Dataset (GTPWD) generated and analyzed during the current study is not publicly available at present because it is undergoing further organization and quality verification. The dataset may be made available by the corresponding author upon reasonable request, subject to institutional data sharing requirements.

Acknowledgments

The authors would like to thank the members of the laboratory for their assistance with the construction and annotation verification of GTPWD, the eye-in-hand calibration procedure, and the physical robotic grasping experiments.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
MTGCSAFormerMulti-Task Global Channel–Spatial Attention Former
GCSAGlobal Channel–Spatial Attention
SCRGMSpatial and Channel Reconstruction Grasping Module
SRUSpatial Reconstruction Unit
CRUChannel Reconstruction Unit
MSFFMulti-Scale Feature Fusion
GTPWDGeneral Tools and Parts in Workshop Dataset
GGOriginal Grasping Head
GG-CNNGenerative Grasping Convolutional Neural Network
RGBRed, Green, and Blue
RGB-DRed, Green, and Blue with Depth
IWImage-Wise Split
OWObject-Wise Split
IoUIntersection over Union
MSEMean Squared Error
MLPMulti-Layer Perceptron
GAPGlobal Average Pooling
CAChannel Attention
CSChannel Shuffle
SASpatial Attention
PnPPerspective-n-Point

References

  1. Tian, H.; Song, K.; Li, S.; Ma, S.; Xu, J.; Yan, Y. Data-driven robotic visual grasping detection for unknown objects: A problem-oriented review. Expert Syst. Appl. 2023, 211, 118624. [Google Scholar] [CrossRef] [Scilit]
  2. Xie, Z.; Liang, X.; Roberto, C. Learning-based robotic grasping: A review. Front. Robot. AI 2023, 10, 1038658. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  3. Semeraro, F.; Griffiths, A.; Cangelosi, A. Human–robot collaboration and machine learning: A systematic review of recent research. Robot. Comput.-Integr. Manuf. 2023, 79, 102432. [Google Scholar] [CrossRef] [Scilit]
  4. Du, G.; Wang, K.; Lian, S.; Zhao, K. Vision-based robotic grasping from object localization, object pose estimation to grasp estimation for parallel grippers: A review. Artif. Intell. Rev. 2021, 54, 1677–1734. [Google Scholar] [CrossRef] [Scilit]
  5. Duan, S.; Tian, G.; Wang, Z.; Liu, S.; Feng, C. A Semantic Robotic Grasping Framework Based on Multi-Task Learning in Stacking Scenes. Eng. Appl. Artif. Intell. 2023, 121, 106059. [Google Scholar] [CrossRef] [Scilit]
  6. Yan, Y.; Tong, L.; Song, K.; Tian, H.; Man, Y.; Yang, W. SISG-Net: Simultaneous instance segmentation and grasp detection for robot grasp in clutter. Adv. Eng. Inform. 2023, 58, 102189. [Google Scholar] [CrossRef] [Scilit]
  7. Zhong, X.; Chen, Y.; Luo, J.; Shi, C.; Hu, H. A novel grasp detection algorithm with multi-target semantic segmentation for a robot to manipulate cluttered objects. Machines 2024, 12, 506. [Google Scholar] [CrossRef] [Scilit]
  8. Hu, J.; Shen, L.; Albanie, S.; Sun, G.; Wu, E. Squeeze-and-Excitation Networks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA, 18–23 June 2018; pp. 7132–7141. [Google Scholar] [CrossRef] [Scilit]
  9. Wang, Q.; Wu, B.; Zhu, P.; Li, P.; Zuo, W.; Hu, Q. ECA-Net: Efficient Channel Attention for Deep Convolutional Neural Networks. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA, 13–19 June 2020; pp. 11534–11542. [Google Scholar]
  10. Woo, S.; Park, J.; Lee, J.Y.; Kweon, I.S. CBAM: Convolutional Block Attention Module. In Proceedings of the European Conference on Computer Vision, Malmö, Sweden, 8–12 September 2018; pp. 3–19. [Google Scholar]
  11. Zhang, Q.L.; Yang, Y.B. SA-Net: Shuffle Attention for Deep Convolutional Neural Networks. arXiv 2021, arXiv:2102.00240. [Google Scholar]
  12. Li, J.; Wen, Y.; He, L. SCConv: Spatial and channel reconstruction convolution for feature redundancy. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Vancouver, BC, Canada, 18–22 June 2023; pp. 6153–6162. [Google Scholar]
  13. Fang, H.S.; Wang, C.; Gou, M.; Lu, C. GraspNet-1Billion: A Large-Scale Benchmark for General Object Grasping. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA, 13–19 June 2020; pp. 11444–11453. [Google Scholar] [CrossRef] [Scilit]
  14. Sundermeyer, M.; Mousavian, A.; Triebel, R.; Fox, D. Contact-GraspNet: Efficient 6-DoF Grasp Generation in Cluttered Scenes. In Proceedings of the 2021 IEEE International Conference on Robotics and Automation, Xi’an, China, 30 May–5 June 2021; pp. 13438–13444. [Google Scholar] [CrossRef] [Scilit]
  15. Wang, C.; Fang, H.S.; Gou, M.; Fang, H.; Gao, J.; Lu, C. Graspness Discovery in Clutters for Fast and Accurate Grasp Detection. In Proceedings of the IEEE/CVF International Conference on Computer Vision, Montreal, QC, Canada, 10–17 October 2021; pp. 15964–15973. [Google Scholar] [CrossRef] [Scilit]
  16. Fang, H.S.; Wang, C.; Fang, H.; Gou, M.; Liu, J.; Yan, H.; Liu, W.; Xie, Y.; Lu, C. AnyGrasp: Robust and Efficient Grasp Perception in Spatial and Temporal Domains. IEEE Trans. Robot. 2023, 39, 3929–3945. [Google Scholar] [CrossRef] [Scilit]
  17. Redmon, J.; Angelova, A. Real-Time Grasp Detection Using Convolutional Neural Networks. arXiv 2014, arXiv:1412.3128. [Google Scholar]
  18. Morrison, D.; Corke, P.; Leitner, J. Closing the loop for robotic grasping: A real-time, generative grasp synthesis approach. arXiv 2018, arXiv:1804.05172. [Google Scholar]
  19. Kumra, S.; Joshi, S.; Sahin, F. Antipodal robotic grasping using generative residual convolutional neural network. In Proceedings of the 2020 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), Las Vegas, NV, USA, 25 October–25 November 2020; pp. 9626–9633. [Google Scholar]
  20. Xu, R.; Chu, F.J.; Vela, P.A. GKNet: Grasp keypoint network for grasp candidates detection. Int. J. Robot. Res. 2022, 41, 361–389. [Google Scholar] [CrossRef] [Scilit]
  21. Yu, S.; Zhai, D.H.; Xia, Y.; Wu, H.; Liao, J. SE-ResUNet: A Novel Robotic Grasp Detection Method. IEEE Robot. Autom. Lett. 2022, 7, 5238–5245. [Google Scholar] [CrossRef] [Scilit]
  22. Wang, H.; Liu, Z.; Zhou, L.; Yin, H.; Ang, M.H. PEGG-Net: Pixel-Wise Efficient Grasp Generation in Complex Scenes. arXiv 2022, arXiv:2203.16301. [Google Scholar]
  23. Zhai, D.H.; Yu, S.; Xia, Y. FANet: Fast and Accurate Robotic Grasp Detection Based on Keypoints. IEEE Trans. Autom. Sci. Eng. 2024, 21, 2974–2986. [Google Scholar] [CrossRef] [Scilit]
  24. Nie, H.; Zhao, Z.; Chen, L.; Lu, Z.; Li, Z.; Yang, J. Smaller and Faster Robotic Grasp Detection Model via Knowledge Distillation and Unequal Feature Encoding. IEEE Robot. Autom. Lett. 2024, 9, 7206–7213. [Google Scholar] [CrossRef] [Scilit]
  25. Miao, H.; Xu, X.; Yang, Y. Pixel-Level Grasp Pose Detection Based on the Fusion of Convolution and Self-Attention. Manuf. Autom. 2025, 47, 83–92. [Google Scholar] [CrossRef]
  26. Song, L.; Li, C.; Fu, X.; Yi, Y. LPGNet: A Lightweight Pixel-Level Grasp Detection Network Based on Multi-Scale Features. Mech. Eng. Technol. 2026, 15, 73–81. [Google Scholar] [CrossRef]
  27. Wang, S.; Zhou, Z.; Kan, Z. When Transformer Meets Robotic Grasping: Exploits Context for Efficient Grasp Detection. IEEE Robot. Autom. Lett. 2022, 7, 8170–8177. [Google Scholar] [CrossRef] [Scilit]
  28. Yu, W.; Luo, M.; Zhou, P.; Si, C.; Zhou, Y.; Wang, X. MetaFormer is actually what you need for vision. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), New Orleans, LA, USA, 18–24 June 2022; pp. 10819–10829. [Google Scholar]
  29. Ma, H.; Shi, M.; Gao, B.; Huang, D. Generalizing 6-DoF Grasp Detection via Domain Prior Knowledge. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA, 16–22 June 2024; pp. 18102–18111. [Google Scholar] [CrossRef] [Scilit]
  30. Jauhri, S.; Lunawat, I.; Chalvatzaki, G. Learning Any-View 6DoF Robotic Grasping in Cluttered Scenes via Neural Surface Rendering. In Proceedings of the Robotics: Science and Systems, Delft, The Netherlands, 15–19 July 2024. [Google Scholar] [CrossRef] [Scilit]
  31. Iwase, S.; Irshad, M.Z.; Liu, K.; Guizilini, V.; Lee, R.; Ikeda, T.; Amma, A.; Nishiwaki, K.; Kitani, K.; Ambrus, R.; et al. ZeroGrasp: Zero-Shot Shape Reconstruction Enabled Robotic Grasping. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Nashville, TN, USA, 10–17 June 2025. [Google Scholar]
  32. Vandenhende, S.; Georgoulis, S.; Van Gansbeke, W.; Proesmans, M.; Dai, D.; Van Gool, L. Multi-Task Learning for Dense Prediction Tasks: A Survey. IEEE Trans. Pattern Anal. Mach. Intell. 2022, 44, 3614–3633. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  33. Yang, Y.; Yu, H.; Lou, X.; Liu, Y.; Choi, C. Attribute-Based Robotic Grasping with Data-Efficient Adaptation. IEEE Trans. Robot. 2024, 40, 1566–1579. [Google Scholar] [CrossRef] [Scilit]
  34. Ainetter, S.; Fraundorfer, F. End-to-End Trainable Deep Neural Network for Robotic Grasp Detection and Semantic Segmentation from RGB. In Proceedings of the 2021 IEEE International Conference on Robotics and Automation (ICRA), Xi’an, China, 30 May–5 June 2021; pp. 13452–13458. [Google Scholar] [CrossRef] [Scilit]
  35. Kamel, M.S.A.; Naish, M.D. Mask-Grasp R-CNN: Simultaneous Instance Segmentation and Robotic Grasp Detection. In Proceedings of the 2021 IEEE EMBS International Conference on Biomedical and Health Informatics (BHI), Athens, Greece, 27–30 July 2021; pp. 1–6. [Google Scholar] [CrossRef] [Scilit]
  36. Zuo, G.; Tong, J.; Liu, H.; Chen, W.; Li, J. Graph-Based Visual Manipulation Relationship Reasoning Network for Robotic Grasping. Front. Neurorobot. 2021, 15, 719731. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  37. Zhang, H.; Lan, X.; Zhou, X.; Tian, Z.; Zhang, Y.; Zheng, N. Visual Manipulation Relationship Network for Autonomous Robotics. In Proceedings of the 2018 IEEE-RAS 18th International Conference on Humanoid Robots (Humanoids), Beijing, China, 6–9 November 2018; pp. 118–125. [Google Scholar] [CrossRef] [Scilit]
  38. Park, D.; Seo, Y.; Shin, D.; Choi, J.; Chun, S.Y. A Single Multi-Task Deep Neural Network with Post-Processing for Object Detection with Reasoning and Robotic Grasp Detection. In Proceedings of the 2020 IEEE International Conference on Robotics and Automation (ICRA), Paris, France, 31 May–31 August 2020; pp. 7300–7306. [Google Scholar] [CrossRef] [Scilit]
  39. Vuong, A.D.; Vu, M.N.; Huang, B.; Nguyen, N.; Le, H.; Vo, T. Language-driven grasp detection. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA, 16–22 June 2024; pp. 17902–17912. [Google Scholar]
  40. Li, T.; Yan, Y.; Yu, C.; An, J.; Wang, Y.; Chen, G. A comprehensive review of robot intelligent grasping based on tactile perception. Robot. Comput.-Integr. Manuf. 2024, 90, 102792. [Google Scholar] [CrossRef] [Scilit]
  41. Li, J.; Dong, S.; Adelson, E.H. Slip Detection with Combined Tactile and Visual Information. arXiv 2018, arXiv:1802.10153. [Google Scholar]
  42. Mao, Z.; Wang, J.; Zhang, J.; Ohgi, J.; Zheng, Y.; Peng, Y.; Zhao, L.; Su, Q.; Huang, W.; Xu, B. Fine-Tuned Multimodal Large Language Model for Autonomous State Cognition System of Shape-Recognition 6-Bar Tensegrity Integrated with Flexible Sensors. Microsyst. Nanoeng. 2026, 12, 228. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  43. Yu, T.; Kumar, S.; Gupta, A.; Levine, S.; Hausman, K.; Finn, C. Gradient Surgery for Multi-Task Learning. In Proceedings of the Advances in Neural Information Processing Systems, Virtual, 6–12 December 2020; Volume 33. [Google Scholar]
  44. Tsai, R.Y.; Lenz, R.K. A New Technique for Fully Autonomous and Efficient 3D Robotics Hand/Eye Calibration. IEEE Trans. Robot. Autom. 1989, 5, 345–358. [Google Scholar] [CrossRef] [Scilit]
  45. Daniilidis, K. Hand-Eye Calibration Using Dual Quaternions. Int. J. Robot. Res. 1999, 18, 286–298. [Google Scholar] [CrossRef] [Scilit]
  46. Lenz, I.; Lee, H.; Saxena, A. Deep learning for detecting robotic grasps. Int. J. Robot. Res. 2015, 34, 705–724. [Google Scholar] [CrossRef] [Scilit]
  47. Depierre, A.; Dellandrea, E.; Chen, L. Jacquard: A Large Scale Dataset for Robotic Grasp Detection. In Proceedings of the 2018 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), Madrid, Spain, 1–5 October 2018; pp. 3511–3516. [Google Scholar] [CrossRef] [Scilit]
  48. Wang, D.; Liu, C.; Chang, F.; Li, N.; Li, G. High-performance pixel-level grasp detection based on adaptive grasping and grasp-aware network. IEEE Trans. Ind. Electron. 2022, 69, 11611–11621. [Google Scholar] [CrossRef] [Scilit]
  49. Liu, J.; Xie, J.; Huang, S.; Wang, C.; Zhou, F. Continual learning for robotic grasping detection with knowledge transferring. IEEE Trans. Ind. Electron. 2023, 79, 11019–11027. [Google Scholar] [CrossRef] [Scilit]
  50. Cao, H.; Chen, G.; Li, Z.; Feng, Q.; Lin, J.; Knoll, A. Efficient grasp detection network with Gaussian-based grasp representation for robotic manipulation. IEEE/ASME Trans. Mechatron. 2023, 28, 1384–1394. [Google Scholar] [CrossRef] [Scilit]
Figure 1. Complete robotic grasping pipeline. MTGCSAFormer predicts an object category and a two-dimensional grasp from an RGB image, while depth association and camera-to-robot transformation are subsequently used for physical execution. The highlighted MTGCSAFormer perception block is detailed in Figure 2.
Figure 1. Complete robotic grasping pipeline. MTGCSAFormer predicts an object category and a two-dimensional grasp from an RGB image, while depth association and camera-to-robot transformation are subsequently used for physical execution. The highlighted MTGCSAFormer perception block is detailed in Figure 2.
Sensors 26 05257 g001
Figure 5. Representative RGB images from the Cornell Grasping Dataset.
Figure 5. Representative RGB images from the Cornell Grasping Dataset.
Sensors 26 05257 g005
Figure 6. Examples of valid grasp rectangle annotations in the Cornell Grasping Dataset. Multiple feasible grasp configurations may be associated with the same object image.
Figure 6. Examples of valid grasp rectangle annotations in the Cornell Grasping Dataset. Multiple feasible grasp configurations may be associated with the same object image.
Sensors 26 05257 g006
Figure 7. Representative RGB samples from the General Tools and Parts in Workshop Dataset (GTPWD), including workshop tools and mechanical parts captured with an Intel RealSense D455 camera under different backgrounds and object poses.
Figure 7. Representative RGB samples from the General Tools and Parts in Workshop Dataset (GTPWD), including workshop tools and mechanical parts captured with an Intel RealSense D455 camera under different backgrounds and object poses.
Sensors 26 05257 g007
Figure 8. Grasp pose representation of manipulators.
Figure 8. Grasp pose representation of manipulators.
Sensors 26 05257 g008
Figure 9. Representative grasp detection results on the Cornell Grasping Dataset. The upper row shows the predicted grasp poses, while the lower rows show the grasp quality, orientation, and gripper width maps.
Figure 9. Representative grasp detection results on the Cornell Grasping Dataset. The upper row shows the predicted grasp poses, while the lower rows show the grasp quality, orientation, and gripper width maps.
Sensors 26 05257 g009
Figure 10. Comparison of grasp detection and classification performance under the grasp-only and multi-task configurations on GTPWD.
Figure 10. Comparison of grasp detection and classification performance under the grasp-only and multi-task configurations on GTPWD.
Sensors 26 05257 g010
Figure 11. Representative multi-task prediction results of MTGCSAFormer on GTPWD. The network simultaneously predicts the object category and the corresponding planar grasp configuration.
Figure 11. Representative multi-task prediction results of MTGCSAFormer on GTPWD. The network simultaneously predicts the object category and the corresponding planar grasp configuration.
Sensors 26 05257 g011
Figure 12. Ablation results of different backbone and grasping head configurations on GTPWD.
Figure 12. Ablation results of different backbone and grasping head configurations on GTPWD.
Sensors 26 05257 g012
Figure 13. Physical robotic grasping platform consisting of an AUBO-i3 manipulator, an eye-in-hand Intel RealSense D455 RGB-D camera, and an EG2-4C2 parallel gripper.
Figure 13. Physical robotic grasping platform consisting of an AUBO-i3 manipulator, an eye-in-hand Intel RealSense D455 RGB-D camera, and an EG2-4C2 parallel gripper.
Sensors 26 05257 g013
Figure 14. Representative physical grasping results obtained under controlled single-target conditions for workshop tools, mechanical parts, and daily objects.
Figure 14. Representative physical grasping results obtained under controlled single-target conditions for workshop tools, mechanical parts, and daily objects.
Sensors 26 05257 g014
Table 1. Main characteristics of representative planar grasp detection datasets.
Table 1. Main characteristics of representative planar grasp detection datasets.
DatasetData TypeImagesObjectsAnnotationsModality
CornellReal8852408019RGB-D
JacquardSynthetic54 K11 K1.1 MRGB-D
Table 2. Partitioning of the General Tools and Parts in Workshop Dataset.
Table 2. Partitioning of the General Tools and Parts in Workshop Dataset.
SubsetNumber of ImagesPercentage
Training172872%
Validation1928%
Test48020%
Table 3. Annotation consistency assessment of the GTPWD.
Table 3. Annotation consistency assessment of the GTPWD.
MetricResult
Mean grasp center deviation3.2 pixels
Mean orientation deviation 4.7
Mean grasp rectangle IoU0.86
Annotation agreement rate94.5%
Table 4. Training implementation hyperparameters.
Table 4. Training implementation hyperparameters.
ParameterSetting
HardwareAMD R9-7945HX; NVIDIA RTX 4060 8 GB
FrameworkPyTorch
Input resolution 300 × 300
BackboneGCSAFormer-S24
Training batch size4
OptimizerAdamW
Initial learning rate 1 × 10 3
Training epochs100
Iterations per epoch1000
Average inference time7 ms per image (network forward pass)
Data augmentationRotation, translation, scaling, flipping, brightness and contrast adjustment
Table 5. Data partitioning protocols used for the Cornell Grasping Dataset.
Table 5. Data partitioning protocols used for the Cornell Grasping Dataset.
ProtocolPartition UnitTraining/Test RatioEvaluation Purpose
Image-wise (IW)Individual images80:20Pose and viewpoint variation
Object-wise (OW)Object identities80:20Generalization to unseen objects
Table 6. Comparison of different grasp detection methods on the Cornell Grasping Dataset.
Table 6. Comparison of different grasp detection methods on the Cornell Grasping Dataset.
MethodYearIW (%)OW (%)Inference Time (ms)
GG-CNN [18]201973.069.019.0
SE-ResUNet [21]202298.297.125.0
AFFGA-Net [48]202299.0998.6415.0
CLRG [49]202398.998.916.0
Efficient-Grasp [50]202397.897.86.0
SISG-Net [6]202398.998.918.5
MSG-ConvNet [5]202398.398.67.0
UFGNet [25]202598.429.0
LPGNet [26]202698.3197.8414.2
MTGCSAFormer99.599.57.0
Table 7. Sensitivity of grasp detection accuracy to the short-side length used for constructing the evaluation rectangle.
Table 7. Sensitivity of grasp detection accuracy to the short-side length used for constructing the evaluation rectangle.
h e (Pixels)IW Accuracy (%)OW Accuracy (%)
2099.199.0
2599.399.2
3099.599.5
3599.499.3
4099.299.1
Table 8. Comparison between grasp-only and multi-task configurations on GTPWD.
Table 8. Comparison between grasp-only and multi-task configurations on GTPWD.
ConfigurationGrasp Accuracy (%)Classification Accuracy (%)
Grasp-only98.5
Multi-task MTGCSAFormer98.099.5
Table 9. Influence of the classification loss weight on multi-task performance.
Table 9. Influence of the classification loss weight on multi-task performance.
λ cls Grasp Accuracy (%)Classification Accuracy (%)
098.5
0.0198.498.6
0.0598.299.2
0.1098.099.5
0.2097.799.5
0.5097.299.5
Table 10. Ablation results of GCSAFormer and SCRGM on GTPWD.
Table 10. Ablation results of GCSAFormer and SCRGM on GTPWD.
ConfigurationGrasp Accuracy (%)Classification Accuracy (%)
PoolFormer + GG94.095.5
PoolFormer + SCRGM96.099.0
GCSAFormer + GG95.099.0
GCSAFormer + SCRGM98.099.5
Table 11. Component-level ablation results of GCSA on GTPWD.
Table 11. Component-level ablation results of GCSA on GTPWD.
CACSSAGrasp Accuracy (%)Classification Accuracy (%)
96.099.0
96.799.1
96.599.1
97.299.3
97.599.3
98.099.5
Table 12. Comparison of different attention mechanisms on GTPWD.
Table 12. Comparison of different attention mechanisms on GTPWD.
Attention MechanismGrasp Accuracy (%)Classification Accuracy (%)
None96.099.0
SE96.599.1
ECA96.799.1
CBAM97.299.3
Shuffle Attention97.599.3
GCSA98.099.5
Table 13. Component-level ablation results of SCRGM on GTPWD.
Table 13. Component-level ablation results of SCRGM on GTPWD.
SRUCRUGrasp Accuracy (%)Classification Accuracy (%)
95.099.0
96.299.1
96.799.2
98.099.5
Table 14. Ablation results of multi-scale feature fusion on GTPWD.
Table 14. Ablation results of multi-scale feature fusion on GTPWD.
Feature LevelsGrasp Accuracy (%)Classification Accuracy (%)
F 4 96.699.0
F 3 + F 4 97.199.2
F 2 + F 3 + F 4 97.699.4
F 1 + F 2 + F 3 + F 4 98.099.5
Table 15. Influence of input resolution on the multi-task performance of MTGCSAFormer on GTPWD.
Table 15. Influence of input resolution on the multi-task performance of MTGCSAFormer on GTPWD.
Input ResolutionGrasp Accuracy (%)Classification Accuracy (%)
224 × 224 96.998.8
256 × 256 97.599.2
300 × 300 98.099.5
320 × 320 98.199.5
384 × 384 98.199.6
Table 16. Physical robotic grasping results.
Table 16. Physical robotic grasping results.
Object GroupAttemptsSuccessful GraspsSuccess Rate (%)
Workshop tools and parts403997.5
Daily objects403792.5
Overall807695.0
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Zhang, S.; Li, Z.; Wang, Y.; Wang, S. A Multi-Task Grasp Detection Network Based on Global Channel–Spatial Attention Mechanism for Industrial Workshop Environments. Sensors 2026, 26, 5257. https://doi.org/10.3390/s26165257

AMA Style

Zhang S, Li Z, Wang Y, Wang S. A Multi-Task Grasp Detection Network Based on Global Channel–Spatial Attention Mechanism for Industrial Workshop Environments. Sensors. 2026; 26(16):5257. https://doi.org/10.3390/s26165257

Chicago/Turabian Style

Zhang, Shengze, Zhaochun Li, Yucheng Wang, and Shuyou Wang. 2026. "A Multi-Task Grasp Detection Network Based on Global Channel–Spatial Attention Mechanism for Industrial Workshop Environments" Sensors 26, no. 16: 5257. https://doi.org/10.3390/s26165257

APA Style

Zhang, S., Li, Z., Wang, Y., & Wang, S. (2026). A Multi-Task Grasp Detection Network Based on Global Channel–Spatial Attention Mechanism for Industrial Workshop Environments. Sensors, 26(16), 5257. https://doi.org/10.3390/s26165257

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop