Next Article in Journal
Evaluation of Five Evapotranspiration Products and Driving Factors over the Plateau and Plains of China
Previous Article in Journal
ReViTA-Unet: An Enhanced Semantic Segmentation Model for Automated Morphometric Analysis of Macrobrachium rosenbergii
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

RAFusion: Integrating Residual Attention for Global Context-Aware 6D Pose Estimation

1
College of Information, Mechanical and Electrical Engineering, Shanghai Normal University, Shanghai 201418, China
2
School of Computer Science and Technology, Tongji University, Shanghai 201804, China
*
Author to whom correspondence should be addressed.
Sensors 2026, 26(14), 4571; https://doi.org/10.3390/s26144571
Submission received: 20 June 2026 / Revised: 13 July 2026 / Accepted: 14 July 2026 / Published: 19 July 2026
(This article belongs to the Section Intelligent Sensors)

Abstract

6D object pose estimation from RGB-D data is a core problem in robotic perception. Representative approaches such as DenseFusion fuse per-pixel RGB and depth features, yet they still face challenges under heavy occlusion and in cluttered backgrounds. This paper revisits the DenseFusion architecture from the perspective of feature enhancement and global context modeling and proposes an enhanced network named RAFusion, which strengthens feature representation through two complementary modules. First, Squeeze-and-Excitation (SE) blocks are integrated into the RGB feature extractor to adaptively reweight channel responses, enhancing salient appearance cues while suppressing noise. Second, a RealFormer-based block is introduced before global pooling, applying residual self-attention to the fused RGB-D features for more effective global context modeling. Experiments on the LINEMOD and Occlusion LINEMOD datasets show that RAFusion improves the DenseFusion baseline and achieves competitive performance compared with representative 6D pose estimation methods. Ablation studies and computational analysis further support the effectiveness of the proposed modules.

1. Introduction

6D object pose estimation, which aims to determine the precise 3D rotation and translation of an object with respect to a camera, is a fundamental problem in computer vision and robotics [1,2,3]. It serves as a prerequisite for many applications, including robotic manipulation, augmented reality, autonomous driving, action recognition [4], and image retrieval [5], where intelligent interaction with the environment is essential [6,7,8]. With the increasing availability of low-cost depth sensors, RGB-D-based methods have become the dominant paradigm. These methods leverage the complementary nature of color and geometry: RGB data provides rich texture information, while depth data encodes spatial structure, a capability that is also crucial for visual SLAM in dynamic environments [9]. Consequently, RGB-D-based methods generally achieve improved accuracy and robustness compared with RGB-only approaches [10,11].
DenseFusion [12] is a pioneering pixel-wise fusion architecture that effectively combines RGB and depth features. However, its default design choices restrict performance under heavy occlusion and clutter. First, the standard convolutional backbone lacks input-adaptive channel recalibration, which may limit the suppression of channel responses dominated by occluders or background clutter [13]. Second, its reliance on global pooling for context aggregation limits its ability to capture long-range dependencies, which are critical for inferring the holistic object structure [14,15,16].
To tackle these issues, we propose RAFusion, which revisits the DenseFusion architecture with two targeted enhancements. RAFusion targets two complementary limitations of DenseFusion-style RGB-D pose estimation: the lack of explicit input-adaptive channel recalibration before RGB-D fusion and limited interaction modeling among fused point-pixel features before global aggregation. First, Squeeze-and-Excitation (SE) blocks [13] are incorporated into the RGB encoder to adaptively suppress occlusion-induced noise through channel-wise recalibration. Second, a RealFormer-based module [15] is inserted before global pooling in the fusion stage, using residual self-attention to model long-range dependencies among fused point-pixel features. The main contributions of this paper are as follows:
1.
SE-Enhanced Color Feature Extractor. The proposed RAFusion network augments the RGB branch of a DenseFusion-style baseline with Squeeze-and-Excitation blocks. These blocks adaptively reweight channel responses, improving the expressiveness of appearance features in cluttered and partially occluded scenes.
2.
RealFormer-Based Global Fusion Module. A RealFormer-style residual attention module is incorporated into the RGB-D fusion stage to capture long-range dependencies in the fused representation. The module refines the fused feature sequence before average pooling, and its computational characteristics are evaluated in Section 4.4.2.
3.
Comprehensive Empirical Validation. The RAFusion network is evaluated on the LINEMOD and Occlusion LINEMOD datasets. The experiments include comparisons with DenseFusion and representative methods, component ablations, stochastic point-sampling sensitivity, qualitative success and failure cases, and computational efficiency analysis.

2. Related Work

2.1. RGB-D-Based 6D Pose Estimation

Current RGB-D methods for 6D pose estimation can be broadly categorized into correspondence-based and dense-fusion-based approaches. RGB-based methods estimate pose from a query RGB image together with method-specific references, templates, or object representations. RGB-D methods additionally use metric depth geometry from the test scene. The comparative tables therefore group RGB-based and RGB-D methods separately according to their test-time input modalities.
Correspondence-based methods establish 2D-3D matches to solve for pose via PnP algorithms [17]. While early works using hand-crafted features like SIFT [18], SURF [19], and ORB [20] struggled with textureless objects, deep learning has enabled robust descriptor learning [21,22] and direct coordinate prediction. For instance, PVNet [23] and PVN3D [11] employ voting networks to localize 2D keypoints and 3D offsets, respectively, while DPOD [24] predicts dense coordinate maps. Although accurate, these multi-stage pipelines often incur high computational costs due to optimization steps like RANSAC [25].
Dense-fusion-based methods provide an efficient end-to-end alternative. DenseFusion [12] extracts RGB and depth features separately using CNNs and PointNets, fusing them pixel-wise for direct pose prediction. Subsequent works have extended this paradigm to volumetric fusion [26] and coarse-to-fine localization [27]. However, most such methods rely on standard global pooling for context aggregation. This operation compresses spatial details and fails to capture long-range dependencies crucial for handling heavy occlusion, a limitation addressed in this work.

2.2. Feature Enhancement and Attention Mechanisms

Attention mechanisms have become a cornerstone in modern computer vision, enabling networks to focus on the most informative parts of the input [28]. Channel attention, epitomized by the Squeeze-and-Excitation (SE) Network [13,29], adaptively recalibrates channel-wise feature responses. It has proven highly effective in boosting feature discriminability for tasks ranging from image classification to object detection [30]. In the context of 6D pose estimation, where occlusion often introduces noise and ambiguity into feature maps, channel attention offers a powerful tool to suppress irrelevant background signals [31]. Recent works have begun to explore attention in this domain; for example, 3DFeat-Net [32] uses attention to learn robust 3D feature detectors. By integrating SE blocks into its color branch, the proposed RAFusion enables the subsequent fusion module to obtain cleaner and more object-centric appearance features.

2.3. Global Context Modeling

Capturing global context is important when local cues are ambiguous. However, standard global average pooling [12] or max pooling can discard spatial information.
Recently, Transformers [14,33] and self-attention mechanisms have demonstrated a strong capacity for modeling long-range dependencies. In the 3D domain, Point Transformer-style architectures further demonstrate the effectiveness of self-attention in point cloud processing [34,35]. However, training deep Transformers on limited pose data can be unstable. The RealFormer [15] architecture addresses this issue by introducing a residual-attention mechanism, allowing attention scores to be accumulated and refined across layers. This residual design helps preserve structural information across layers. By incorporating a RealFormer-based module, RAFusion constructs a global feature representation that connects distant object parts and supports pose inference under severe occlusion. Residual learning has also been used in other domains to approximate complex nonlinear mappings. ResidualJointAntennaNet [36] employs deep feed-forward residual blocks, while RAFusion accumulates pre-softmax attention logits across layers. These different residual formulations provide complementary perspectives for designing deeper pose-estimation architectures.

3. Methods

3.1. Overall Framework

As shown in Figure 1, the RAFusion pipeline first segments the target object to obtain a cropped RGB image and a masked point cloud. Parallel SE-ResNet and PointNet branches extract color and geometric embeddings, which are fused at corresponding point-pixel locations. The fused sequence is then refined by the RealFormer block before average pooling. Average pooling of the context-enhanced sequence produces a global vector, which is concatenated with each enhanced per-point feature for pose and confidence prediction. The pose with the highest confidence is selected and can subsequently be processed by the iterative refinement network.

3.2. Adaptive Color Feature Extraction

In 6D pose estimation, standard convolutional backbones lack an explicit mechanism for input-adaptive channel recalibration, so channels dominated by occluders or background clutter may remain influential [37]. To address this, RAFusion integrates Squeeze-and-Excitation blocks into the color encoder. The RGB branch uses a ResNet-18-style encoder with pyramid scene parsing upsampling. An SE unit is inserted into every residual block after the second 3 by 3 convolution and before residual addition, so the residual response is channel-recalibrated before it is merged with the skip connection. By modeling inter-channel dependencies, the SE mechanism amplifies salient object features and suppresses background noise. The computational overhead introduced by the SE units is quantified in Section 4.4.2.
As illustrated in Figure 2, let U R H × W × C denote the feature map output by a convolutional transformation F t r . The SE block recalibrates U through three key operations: Squeeze, Excitation, and Scale. First, the Squeeze operation F s q uses global average pooling to compress spatial information into a channel descriptor z R C . The c-th element is
z c = F s q ( u c ) = 1 H × W i = 1 H j = 1 W u c ( i , j ) ,
where u c ( i , j ) represents the value at position ( i , j ) of the c-th channel. This operation embeds the global distribution of feature responses, allowing the network to perceive the image’s global context.
Next, the Excitation operation F e x captures channel-wise dependencies. To fully utilize the aggregated information, a simple gating mechanism with a sigmoid activation is employed:
s = F e x ( z , W ) = σ ( W 2 δ ( W 1 z ) ) ,
where δ refers to the ReLU activation function, σ is the Sigmoid function, W 1 R C r × C and W 2 R C × C r are weights of two fully connected layers, and r is the reduction ratio. This structure learns non-linear channel interactions to identify the most informative features for pose estimation.
Finally, the Scale operation F s c a l e performs the adaptive reweighting. The original feature map U is recalibrated by the learned channel weights s :
x ˜ c = F s c a l e ( u c , s c ) = s c · u c ,
where X ˜ = [ x ˜ 1 , x ˜ 2 , , x ˜ C ] is the final output of the SE block.
Through this process, Equation (3) performs soft channel-wise feature recalibration. Each coefficient s c scales the complete c-th feature map. In heavily occluded scenes, feature channels dominated by occluder or background responses may receive smaller weights, whereas channels carrying more discriminative object-related responses may be emphasized, improving the selectivity of the RGB representation.

3.3. Residual Attention for Global Context Modeling

After pixel-wise fusion of color and geometry embeddings, DenseFusion directly applies average pooling to obtain a global feature, without explicitly modeling interactions among distant visible regions. RAFusion applies residual self-attention to the fused point-pixel sequence before global aggregation and then averages the context-enhanced sequence to obtain the global vector. The resulting global representation is concatenated with the enhanced per-point features for pose prediction. Unlike standard Transformers, RealFormer propagates and accumulates attention logits across layers, preserving structural information and modeling global dependencies more effectively than pooling alone.
Let X R N × d be the input sequence of fused point-pixel features, where N is the number of points and d is the feature dimension. A trainable absolute positional embedding matrix P R N × d is added element-wise to the sampled-point sequence before the first RealFormer layer, yielding X 0 = X + P . Each sampled sequence position therefore has one learned d-dimensional embedding. In a standard Transformer layer, the attention matrix A is typically computed solely from the current layer’s queries Q and keys K . RealFormer instead adds the pre-softmax attention logits from the previous layer to the current logits, forming a residual connection within the attention mechanism:
S c u r r = Q K T d k + S p r e v , A c u r r = Softmax S c u r r .
Here, d k denotes the dimensionality of the query and key vectors in each attention head. This cumulative attention score A c u r r is then used to weight the values V :
Attention ( Q , K , V ) = A c u r r V .
The output is then processed by a standard Feed-Forward Network (FFN) with Add & Norm layers, as shown in Figure 3.
This residual design offers two key benefits: it accumulates attention scores to capture stable long-range relationships across layers, and it preserves critical early-layer structural information.
After the final RealFormer layer, average pooling is applied to the context-enhanced sequence X L to obtain the global vector g . The vector g is concatenated with each enhanced feature X L ( i ) , producing f ˜ i = [ X L ( i ) , g ] for pose and confidence prediction. The complete workflow is detailed in Algorithm 1.
Algorithm 1 RealFormer Residual Attention for Global Context Modeling
Require: Per-point fused features X R N × d , RealFormer depth L, positional encoding P
Ensure: Global context vector g R d g and enriched features { f ˜ i } i = 1 N
1:
X 0 X + P ,    S 1 0
2:
for  = 0 to L 1  do
3:
       Q X W Q
4:
       K X W K
5:
       V X W V
6:
       S Q K T d k + S 1
7:
       A Softmax ( S )
8:
       Y A V
9:
       X AddNorm ( X , Y )
10:
      X + 1 AddNorm X , FFN ( X )
11:
end for
12:
g 1 N i = 1 N X L ( i )
13:
for  i = 1 to N do
14:
      f ˜ i [ X L ( i ) , g ]
15:
end for
16:
return  g , { f ˜ i } i = 1 N

4. Results and Discussion

4.1. Implementation Details and Datasets

All training and accuracy experiments were implemented using Python 3.8 and PyTorch 2.7.0+cu128 on NVIDIA A100 GPUs (NVIDIA Corporation, Santa Clara, CA, USA) running Ubuntu 20.04 and CUDA 12.8. RAFusion follows the DenseFusion training configuration [12]. The model is trained with a batch size of 16 and an initial learning rate of 0.0001. The confidence regularization coefficient is set to 0.013 and multiplies the negative log-confidence term in the pose loss.
The RGB branch is based on SE-ResNet-18 with pyramid scene parsing upsampling. The depth branch follows the DenseFusion PointNet-style encoder: shared 1 × 1 point convolutions map the 3D coordinates from 3 to 64 and then 128 channels; the aligned 32-channel RGB embedding is mapped to 64 and then 128 channels; and the intermediate geometry and appearance features are concatenated to form 128- and 256-channel point-wise representations, followed by shared 1 × 1 convolutions from 256 to 512 and then 1024 channels. ReLU activations are used between these layers. Each target is represented by N = 500 sampled points, and the fused feature dimension entering RealFormer is d = 1024 . Unless otherwise stated in the sensitivity study, RealFormer uses two layers, eight attention heads, a 2048-dimensional FFN hidden layer (expansion factor 2), dropout of 0.1, and the trainable positional matrix P R 500 × 1024 defined in Section 3.3. The pose refinement network and its use are kept identical for DenseFusion and RAFusion.
Experiments use two standard benchmarks: LINEMOD, containing RGB-D sequences of 13 textureless objects, and Occlusion LINEMOD, which evaluates eight heavily occluded objects. The standard benchmark splits are used for all accuracy evaluations. Section 4.4 further examines sensitivity to stochastic point and model sampling during inference using fixed trained checkpoints.

4.2. Evaluation Metrics

To quantitatively evaluate the performance of the RAFusion network, we employ two standard metrics: the Average Distance of Model Points (ADD) and the 2D Reprojection Error [38].
ADD-(S) Metric. This metric measures the average distance between the 3D model points transformed by the ground truth pose and those transformed by the estimated pose. A pose is considered correct if the average distance is less than 10% of the object’s diameter. For asymmetric objects, the ADD metric is calculated as:
A D D = 1 m x M ( R x + t ) ( R ^ x + t ^ ) ,
where x denotes a point in the 3D model M , m is the total number of points, ( R , t ) are the ground truth rotation and translation, and ( R ^ , t ^ ) are the estimated ones.
For symmetric objects, where multiple poses may be visually indistinguishable, we utilize the ADD-S metric, which computes the average distance to the nearest point in the model:
ADD-S = 1 m x 1 M min x 2 M ( R x 1 + t ) ( R ^ x 2 + t ^ ) .
2D Reprojection Error. This metric assesses pose accuracy by projecting the 3D model points onto the 2D image plane using the estimated pose and comparing them with the projections from the ground truth pose. Following common practice in LINEMOD-based pose evaluation [23,39], a prediction is accepted when the average reprojection error is below 5 pixels. The error is defined as:
Proj2D = 1 m x M π K ( R x + t ) π K ( R ^ x + t ^ ) ,
where K represents the camera intrinsic matrix and π ( · ) denotes the perspective projection operation from homogeneous coordinates to the image plane.

4.3. Comparative Experiments

The LINEMOD dataset is divided into a training set (15% of images) and a testing set (85%), following the standard protocol [12]. DenseFusion and RAFusion use identical preprocessing, point sampling, data splits, and iterative-refinement settings. The results for Trans6D+, GS-Pose, PoseMatcher, PVN3D, BB8, and DeepIM are taken from their cited publications. The PointFusion LINEMOD ADD-(S) values follow the reproduced baseline reported by DenseFusion [12]. RGB-based and RGB-D methods are grouped according to their test-time input modalities. Table 1 presents the ADD-(S) results.
RAFusion reaches a mean ADD-(S) accuracy of 97.6%, improving the DenseFusion baseline by 3.3 percentage points and remaining competitive with the other listed methods. The largest gains over DenseFusion occur on challenging categories such as cam and driller, while performance on eggbox and glue is preserved.
As shown in Table 2, RAFusion achieves 97.9% 2D reprojection accuracy, 4.3 percentage points above DenseFusion. Together with the ADD-(S) result, this indicates improved image-plane alignment.
For Occlusion LINEMOD, Table 3 presents a controlled overall comparison between DenseFusion and RAFusion under the same evaluation protocol.
Under the same conditions and evaluation script, RAFusion improves the overall ADD-(S) accuracy by 17.78 percentage points and the 2D reprojection accuracy by 10.52 percentage points compared with DenseFusion.

4.4. Robustness and Computational Efficiency

4.4.1. Sensitivity to Stochastic Point Sampling

Random seeds 2026, 2027, and 2028 are used to vary point and model sampling during inference with fixed trained checkpoints. The resulting measurements quantify sensitivity to stochastic point sampling under the same dataset split, target list, and evaluation script. The results are summarized in Table 4.
The small standard deviations indicate low sensitivity to the tested inference sampling seeds under the fixed-checkpoint protocol.

4.4.2. Computational Efficiency

The efficiency profile was measured on an NVIDIA GeForce RTX 4090 GPU (NVIDIA Corporation, Santa Clara, CA, USA) with inference batch size 1 and N = 500 sampled points. Latency is the mean time for one PoseNet pose-estimator forward pass; data loading, object segmentation, and iterative refinement are excluded. FPS is calculated as 1000 / latency ( ms ) . All four variants use the same hardware, input, and forward-pass settings.
The SE block introduces only a small increase in parameters and FLOPs, whereas the RealFormer module accounts for most of the additional computation. Its self-attention scales quadratically with the number of sampled points. RAFusion records a mean PoseNet forward latency of 2.900 ms and 344.861 FPS under the stated setting. Table 5 reports the complete efficiency comparison.

4.5. Ablation Studies

4.5.1. Component Analysis

To verify the effectiveness of each component, ablation studies were conducted on the LINEMOD dataset as summarized in Table 6.
Impact of Adaptive Color Features. Incorporating the SE block into the RGB branch improves accuracy from 94.3% to 95.8%. This gain of 1.5 percentage points indicates that channel-wise recalibration enhances the discriminative power of appearance features by suppressing irrelevant channel noise.
Impact of Global Context Modeling. Integrating the RealFormer module increases accuracy to 96.5%. This improvement of 2.2 percentage points suggests that the residual attention mechanism captures long-range dependencies and geometric relationships more effectively than simple average pooling.
Combined Performance. The full RAFusion network combines both modules and achieves the highest accuracy in the ablation study, 97.6%. The separate improvements of SE and RealFormer, followed by the strongest result when both are enabled, support their complementary roles: SE recalibrates appearance channels before fusion, while RealFormer models cross-point dependencies after fusion.

4.5.2. Hyperparameter Sensitivity

The sensitivity of the model to two key hyperparameters was analyzed: the depth of the RealFormer layers (L) and the SE reduction ratio (r). The results are presented in Table 7.
Depth of RealFormer Layers. The number of layers determines the capacity for global reasoning. The results show that setting L = 2 yields the highest accuracy of 97.6%. A single layer ( L = 1 ) improves over the baseline but performs below the two-layer configuration. Increasing the depth to L = 4 yields 97.4%, indicating that additional depth does not provide a further gain under the current setting. Therefore, a depth of L = 2 is selected.
SE Reduction Ratio. The reduction ratio r governs the trade-off between parameter efficiency and representational power. The evaluation indicates that a ratio of r = 16 achieves the highest performance of 97.6%. A ratio of r = 8 yields 97.5%, while r = 32 yields 97.1%, suggesting that stronger channel compression is less suitable under the current configuration. Consequently, r = 16 is adopted as the default setting.

4.6. Qualitative Visualization

Figure 4 visually illustrates close alignment in the selected cluttered scenes, with predicted bounding boxes largely matching the object contours. Figure 5 compares RAFusion with the baseline: DenseFusion shows visible drift under occlusion, whereas RAFusion produces keypoint projections that are closer to the ground truth in these examples. This visually suggests that integrating residual attention can improve pose recovery in challenging scenarios.
Figure 6 shows representative RAFusion failure cases under severe occlusion and symmetry-induced ambiguity.

5. Conclusions

This paper presents RAFusion, a DenseFusion-based RGB-D 6D pose estimator that combines channel recalibration before fusion with residual self-attention after fusion. On LINEMOD, the complete model improves mean ADD-(S) from 94.3% to 97.6%. On Occlusion LINEMOD, RAFusion improves ADD-(S) from 40.14% to 57.92% and 2D reprojection accuracy from 17.85% to 28.37%. The ablation study shows that both components contribute to the performance improvement.
RAFusion uses 47.422 M parameters and 26.358 G FLOPs, compared with 21.370 M and 13.488 G for DenseFusion. The pose estimator records a 2.900 ms forward latency on the tested RTX 4090 under the stated forward-pass protocol.
Limitations. Performance remains dependent on the quality of the upstream segmentation mask and the depth measurements. Transparent or reflective surfaces can cause missing depth, while depth noise, the valid operating range of the sensor, and errors in RGB-depth intrinsic or extrinsic calibration can degrade geometric alignment. Severe occlusion and symmetry also remain difficult, as illustrated by the failure cases. Furthermore, the quadratic point-wise attention cost may become more restrictive when the number of sampled points is increased.
Future Work. Future research will investigate more efficient sparse or hierarchical attention, robustness to imperfect segmentation and depth sensing, and stronger supervision for severely occluded objects. ResidualJointAntennaNet [36] also suggests exploring deeper residual structures while controlling computational cost. Render-and-compare optimization or iterative refinement may provide teacher signals for a compact pose regressor, connecting classical pose optimization with learned residual prediction.

Author Contributions

Conceptualization, W.Z. and H.Z.; methodology, W.Z. and Y.L.; validation, W.Z. and Q.Z.; investigation, W.Z.; resources, K.A. and H.Z.; data curation, W.Z.; writing—original draft preparation, W.Z.; writing—review and editing, Y.L., Q.Z., K.A. and H.Z.; supervision, K.A. and H.Z.; project administration, H.Z.; and funding acquisition, K.A. and H.Z. 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 62073245.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The LINEMOD and Occlusion LINEMOD datasets analyzed in this study are publicly available from their original benchmark repositories and are described in the corresponding benchmark publications cited in this manuscript. The source code is available at https://github.com/EstherZhangGit/RAFusion (accessed on 13 July 2026).

Conflicts of Interest

The authors declare no conflicts of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript; or in the decision to publish the results.

References

  1. Guan, J.; Hao, Y.; Wu, Q.; Li, S.; Fang, Y. A Survey of 6DoF Object Pose Estimation Methods for Different Application Scenarios. Sensors 2024, 24, 1076. [Google Scholar] [CrossRef] [PubMed]
  2. Gorschlüter, F.; Rojtberg, P.; Pöllabauer, T. A Survey of 6D Object Detection Based on 3D Models for Industrial Applications. J. Imaging 2022, 8, 53. [Google Scholar] [CrossRef] [PubMed]
  3. Tang, C.; Zhang, M.; Zhao, Y.; Shan, S. Category-Level 6D Pose Estimation Based on Deep Cross-Modal Feature Fusion. Signal Image Video Process. 2025, 19, 683. [Google Scholar] [CrossRef]
  4. Zhao, Q.; Su, Y.; Zhang, H. STME-Net: Spatio-Temporal Motion Excitation Network for Action Recognition. J. Real-Time Image Process. 2025, 22, 88. [Google Scholar] [CrossRef]
  5. Wu, F.; Liu, D.; An, K.; Zhang, H. Image Retrieval Based on Dimensionality Reduction of Second-Order Information. Signal Image Video Process. 2024, 18, 2723–2731. [Google Scholar] [CrossRef]
  6. Jin, M.; Li, J.; Zhang, L. DOPE++: 6D Pose Estimation Algorithm for Weakly Textured Objects Based on Deep Neural Networks. PLoS ONE 2022, 17, e0269175. [Google Scholar] [CrossRef] [PubMed]
  7. Li, Y.; Wang, G.; Ji, X.; Xiang, Y.; Fox, D. DeepIM: Deep Iterative Matching for 6D Pose Estimation. In Proceedings of the Computer Vision—ECCV 2018; Lecture Notes in Computer Science; Springer: Cham, Switzerland, 2018; pp. 695–711. [Google Scholar] [CrossRef]
  8. Song, Y.; Tang, C. A RGB-D Feature Fusion Network for Occluded Object 6D Pose Estimation. Signal Image Video Process. 2024, 18, 6309–6319. [Google Scholar] [CrossRef]
  9. Zhang, H.; Zhao, X.; Luo, R.; Wang, Z.; Wang, G.; An, K. A Roadmap of Mathematical Optimization for Visual SLAM in Dynamic Environments. Mathematics 2026, 14, 264. [Google Scholar] [CrossRef]
  10. Xiang, Y.; Schmidt, T.; Narayanan, V.; Fox, D. PoseCNN: A Convolutional Neural Network for 6D Object Pose Estimation in Cluttered Scenes. In Proceedings of the Robotics: Science and Systems XIV, Pittsburgh, PA, USA, 26–30 June 2018. [Google Scholar] [CrossRef]
  11. He, Y.; Sun, W.; Huang, H.; Liu, J.; Fan, H.; Sun, J. PVN3D: A Deep Point-wise 3D Keypoints Voting Network for 6DoF Pose Estimation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: New York, NY, USA, 2020; pp. 11629–11638. [Google Scholar] [CrossRef]
  12. Wang, C.; Xu, D.; Zhu, Y.; Martin-Martin, R.; Lu, C.; Fei-Fei, L.; Savarese, S. DenseFusion: 6D Object Pose Estimation by Iterative Dense Fusion. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: New York, NY, USA, 2019; pp. 3338–3347. [Google Scholar] [CrossRef]
  13. Hu, J.; Shen, L.; Sun, G. Squeeze-and-Excitation Networks. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: New York, NY, USA, 2018; pp. 7132–7141. [Google Scholar] [CrossRef]
  14. Vaswani, A.; Shazeer, N.; Parmar, N.; Uszkoreit, J.; Jones, L.; Gomez, A.N.; Kaiser, L.; Polosukhin, I. Attention Is All You Need. In Proceedings of the Advances in Neural Information Processing Systems; Curran Associates Inc.: Red Hook, NY, USA, 2017; Volume 30. [Google Scholar]
  15. He, R.; Ravula, A.; Kanagal, B.; Ainslie, J. RealFormer: Transformer Likes Residual Attention. In Proceedings of the Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021; Association for Computational Linguistics: Stroudsburg, PA, USA, 2021; pp. 929–943. [Google Scholar] [CrossRef]
  16. Zhang, Q.; Miao, D.; Zhang, Q.; Zhao, C.; Zhang, H.; Sun, Y.; Wang, R. Dynamic Frequency Selection and Spatial Interaction Fusion for Robust Person Search. Inf. Fusion 2025, 124, 103314. [Google Scholar] [CrossRef]
  17. Pan, S.; Wang, X. A Survey on Perspective-n-Point Problem. In Proceedings of the 40th Chinese Control Conference; IEEE: New York, NY, USA, 2021; pp. 2396–2401. [Google Scholar] [CrossRef]
  18. Tsourounis, D.; Kastaniotis, D.; Theoharatos, C.; Kazantzidis, A.; Economou, G. SIFT-CNN: When Convolutional Neural Networks Meet Dense SIFT Descriptors for Image and Sequence Classification. J. Imaging 2022, 8, 256. [Google Scholar] [CrossRef] [PubMed]
  19. Gupta, S.; Thakur, K.; Kumar, M. 2D-Human Face Recognition Using SIFT and SURF Descriptors of Face’s Feature Regions. Vis. Comput. 2021, 37, 447–456. [Google Scholar] [CrossRef]
  20. Bansal, M.; Kumar, M.; Kumar, M. 2D Object Recognition: A Comparative Analysis of SIFT, SURF and ORB Feature Descriptors. Multimed. Tools Appl. 2021, 80, 18839–18857. [Google Scholar] [CrossRef]
  21. Yi, K.M.; Trulls, E.; Lepetit, V.; Fua, P. LIFT: Learned Invariant Feature Transform. In Proceedings of the Computer Vision—ECCV 2016; Lecture Notes in Computer Science; Springer: Cham, Switzerland, 2016; pp. 467–483. [Google Scholar] [CrossRef]
  22. Truong, P.; Apostolopoulos, S.; Mosinska, A.; Stucky, S.; Ciller, C.; De Zanet, S. GLAMpoints: Greedily Learned Accurate Match Points. In Proceedings of the IEEE/CVF International Conference on Computer Vision; IEEE: New York, NY, USA, 2019; pp. 10731–10740. [Google Scholar] [CrossRef]
  23. Peng, S.; Liu, Y.; Huang, Q.; Bao, H.; Zhou, X. PVNet: Pixel-wise Voting Network for 6DoF Pose Estimation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: New York, NY, USA, 2019; pp. 4556–4565. [Google Scholar] [CrossRef]
  24. Zakharov, S.; Shugurov, I.; Ilic, S. DPOD: 6D Pose Object Detector and Refiner. In Proceedings of the IEEE/CVF International Conference on Computer Vision; IEEE: New York, NY, USA, 2019; pp. 1941–1950. [Google Scholar] [CrossRef]
  25. Lu, W.; Wan, G.; Zhou, Y.; Fu, X.; Yuan, P.; Song, S. DeepVCP: An End-to-End Deep Neural Network for Point Cloud Registration. In Proceedings of the IEEE/CVF International Conference on Computer Vision; IEEE: New York, NY, USA, 2019; pp. 12–21. [Google Scholar] [CrossRef]
  26. Wada, K.; Sucar, E.; James, S.; Lenton, D.; Davison, A.J. MoreFusion: Multi-object Reasoning for 6D Pose Estimation from Volumetric Fusion. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: New York, NY, USA, 2020; pp. 14528–14537. [Google Scholar] [CrossRef]
  27. Chen, W.; Jia, X.; Chang, H.J.; Duan, J.; Leonardis, A. G2L-Net: Global to Local Network for Real-time 6D Pose Estimation with Embedding Vector Features. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: New York, NY, USA, 2020; pp. 4232–4241. [Google Scholar] [CrossRef]
  28. Wang, X.; Girshick, R.; Gupta, A.; He, K. Non-local Neural Networks. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: New York, NY, USA, 2018; pp. 7794–7803. [Google Scholar] [CrossRef]
  29. 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; IEEE: New York, NY, USA, 2020; pp. 11531–11539. [Google Scholar] [CrossRef]
  30. Woo, S.; Park, J.; Lee, J.Y.; Kweon, I.S. CBAM: Convolutional Block Attention Module. In Proceedings of the Computer Vision—ECCV 2018; Lecture Notes in Computer Science; Springer: Cham, Switzerland, 2018; pp. 3–19. [Google Scholar] [CrossRef]
  31. Zhang, Q.; Miao, D.; Zhang, Q.; Wang, C.; Li, Y.; Zhang, H.; Zhao, C. Learning Adaptive Shift and Task Decoupling for Discriminative One-step Person Search. Knowl.-Based Syst. 2024, 304, 112483. [Google Scholar] [CrossRef]
  32. Yew, Z.J.; Lee, G.H. 3DFeat-Net: Weakly Supervised Local 3D Features for Point Cloud Registration. In Proceedings of the Computer Vision—ECCV 2018; Lecture Notes in Computer Science; Springer: Cham, Switzerland, 2018; pp. 630–646. [Google Scholar] [CrossRef]
  33. Carion, N.; Massa, F.; Synnaeve, G.; Usunier, N.; Kirillov, A.; Zagoruyko, S. End-to-End Object Detection with Transformers. In Proceedings of the Computer Vision—ECCV 2020; Lecture Notes in Computer Science; Springer: Cham, Switzerland, 2020; pp. 213–229. [Google Scholar] [CrossRef]
  34. Wu, X.; Jiang, L.; Wang, P.S.; Liu, Z.; Liu, X.; Qiao, Y.; Ouyang, W.; He, T.; Zhao, H. Point Transformer V3: Simpler, Faster, Stronger. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: New York, NY, USA, 2024; pp. 4840–4851. [Google Scholar] [CrossRef]
  35. Guo, M.H.; Cai, J.X.; Liu, Z.N.; Mu, T.J.; Martin, R.R.; Hu, S.M. PCT: Point Cloud Transformer. Comput. Vis. Media 2021, 7, 187–199. [Google Scholar] [CrossRef]
  36. Cai, J.; Qi, Y.; Liu, S.; Chen, R. A Residual Joint Antenna Network for Joint Transmit–Receive Antenna Subset Selection in MIMO Systems. IEEE Trans. Antennas Propag. 2025, 73, 8366–8371. [Google Scholar] [CrossRef]
  37. Liu, Y.; Ma, L.; Ren, Y.; Qi, S. 6-DoF Object Pose Estimation Based on Deep Learning and Iterative Optimization Techniques. Signal Image Video Process. 2025, 19, 672. [Google Scholar] [CrossRef]
  38. Hodaň, T.; Michel, F.; Brachmann, E.; Kehl, W.; Buch, A.G.; Kraft, D.; Drost, B.; Vidal, J.; Ihrke, S.; Zabulis, X.; et al. BOP: Benchmark for 6D Object Pose Estimation. In Proceedings of the Computer Vision—ECCV 2018; Lecture Notes in Computer Science; Springer: Cham, Switzerland, 2018; pp. 19–35. [Google Scholar] [CrossRef]
  39. Rad, M.; Lepetit, V. BB8: A Scalable, Accurate, Robust to Partial Occlusion Method for Predicting the 3D Poses of Challenging Objects without Using Depth. In Proceedings of the IEEE International Conference on Computer Vision; IEEE: New York, NY, USA, 2017; pp. 3848–3856. [Google Scholar] [CrossRef]
  40. Zhang, Z.; Chen, W.; Zheng, L.; Leonardis, A.; Chang, H.J. Trans6D: Transformer-Based 6D Object Pose Estimation and Refinement. In Proceedings of the Computer Vision—ECCV 2022 Workshops; Lecture Notes in Computer Science; Springer: Cham, Switzerland, 2023; Volume 13808, pp. 112–128. [Google Scholar] [CrossRef]
  41. Cai, D.; Heikkilä, J.; Rahtu, E. GS-Pose: Generalizable Segmentation-Based 6D Object Pose Estimation with 3D Gaussian Splatting. In Proceedings of the 2025 International Conference on 3D Vision (3DV); IEEE: New York, NY, USA, 2025; pp. 1001–1011. [Google Scholar] [CrossRef]
  42. Castro, P.; Kim, T.K. PoseMatcher: One-shot 6D Object Pose Estimation by Deep Feature Matching. In Proceedings of the IEEE/CVF International Conference on Computer Vision Workshops; IEEE: New York, NY, USA, 2023; pp. 2140–2149. [Google Scholar] [CrossRef]
  43. Xu, D.; Anguelov, D.; Jain, A. PointFusion: Deep Sensor Fusion for 3D Bounding Box Estimation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: New York, NY, USA, 2018; pp. 244–253. [Google Scholar] [CrossRef]
Figure 1. The overall architecture of the proposed RAFusion network. The pipeline fuses RGB and depth features extracted by an SE-ResNet and a PointNet, respectively. A RealFormer module is inserted between pixel-wise fusion and average pooling; the pooled global context is concatenated with context-enhanced point features for pose and confidence prediction. Red squares mark the corresponding target region in the RGB and depth views, colored feature bars distinguish color and geometry embeddings, and arrows indicate the direction of data flow.
Figure 1. The overall architecture of the proposed RAFusion network. The pipeline fuses RGB and depth features extracted by an SE-ResNet and a PointNet, respectively. A RealFormer module is inserted between pixel-wise fusion and average pooling; the pooled global context is concatenated with context-enhanced point features for pose and confidence prediction. Red squares mark the corresponding target region in the RGB and depth views, colored feature bars distinguish color and geometry embeddings, and arrows indicate the direction of data flow.
Sensors 26 04571 g001
Figure 2. SE-enhanced residual block for adaptive color feature extraction. In each ResNet-18 residual block, the SE operation is applied after the second convolution and before residual addition. The SE block computes channel-wise weights s , and the recalibrated residual features X ˜ are combined with the skip connection to produce F r g b . Colored bars depict channel responses and channel weights, arrows indicate feature flow, and the circled plus sign denotes residual addition.
Figure 2. SE-enhanced residual block for adaptive color feature extraction. In each ResNet-18 residual block, the SE operation is applied after the second convolution and before residual addition. The SE block computes channel-wise weights s , and the recalibrated residual features X ˜ are combined with the skip connection to produce F r g b . Colored bars depict channel responses and channel weights, arrows indicate feature flow, and the circled plus sign denotes residual addition.
Sensors 26 04571 g002
Figure 3. Structure of the RealFormer-based global fusion module. Positionally encoded features X pass through a Transformer layer in which the residual-attention path adds the previous pre-softmax logits S 1 to the current logits S . The resulting attention weights A support the accumulation of global context across layers. Colored boxes denote processing blocks, solid arrows show feature flow, and the vertical dashed arrow indicates the residual attention-score path.
Figure 3. Structure of the RealFormer-based global fusion module. Positionally encoded features X pass through a Transformer layer in which the residual-attention path adds the previous pre-softmax logits S 1 to the current logits S . The resulting attention weights A support the accumulation of global context across layers. Colored boxes denote processing blocks, solid arrows show feature flow, and the vertical dashed arrow indicates the residual attention-score path.
Sensors 26 04571 g003
Figure 4. Qualitative results of RAFusion on the LINEMOD dataset. The predictions show close visual alignment across varying viewpoints and cluttered backgrounds. The green bounding boxes represent the ground truth, while the blue bounding boxes represent the pose predictions output by RAFusion.
Figure 4. Qualitative results of RAFusion on the LINEMOD dataset. The predictions show close visual alignment across varying viewpoints and cluttered backgrounds. The green bounding boxes represent the ground truth, while the blue bounding boxes represent the pose predictions output by RAFusion.
Sensors 26 04571 g004
Figure 5. Qualitative comparison of pose estimation results. Each column shows one test example. The first row is the ground-truth pose, the second row is the DenseFusion prediction, and the third row is the RAFusion prediction. Pose accuracy is visualized via projected bounding boxes.
Figure 5. Qualitative comparison of pose estimation results. Each column shows one test example. The first row is the ground-truth pose, the second row is the DenseFusion prediction, and the third row is the RAFusion prediction. Pose accuracy is visualized via projected bounding boxes.
Sensors 26 04571 g005
Figure 6. Representative failure cases of RAFusion on Occlusion LINEMOD. The four examples are arranged from left to right. Green and blue boxes denote ground-truth and RAFusion poses, respectively. The cases include severe occlusion and symmetry-induced ambiguity.
Figure 6. Representative failure cases of RAFusion on Occlusion LINEMOD. The four examples are arranged from left to right. Green and blue boxes denote ground-truth and RAFusion poses, respectively. The cases include severe occlusion and symmetry-induced ambiguity.
Sensors 26 04571 g006
Table 1. Quantitative comparison on the LINEMOD dataset using the ADD-(S) metric (%). RAFusion achieves the highest reported mean accuracy in this table and improves over the DenseFusion baseline.
Table 1. Quantitative comparison on the LINEMOD dataset using the ADD-(S) metric (%). RAFusion achieves the highest reported mean accuracy in this table and improves over the DenseFusion baseline.
RGB-Based InputRGB-D Input
ObjectTrans6D+ [40]GS-Pose [41]PoseMatcher [42]PointFusion [12,43]PVN3D [11]DenseFusion [12]RAFusion (Ours)
ape88.371.059.270.495.592.394.1
benchvise99.499.898.180.794.593.297.4
cam97.898.293.460.894.294.498.7
can99.197.796.061.194.393.197.4
cat93.286.788.079.195.596.598.0
driller99.596.298.447.393.387.095.0
duck87.877.254.163.094.692.396.2
eggbox100.099.697.899.9100.099.8100.0
glue99.898.491.599.3100.0100.0100.0
holepuncher96.798.887.996.395.192.196.7
iron99.999.694.097.296.397.099.2
lamp99.798.998.162.393.795.398.7
phone99.585.092.178.893.692.897.6
Mean96.992.087.573.795.194.397.6
Table 2. Quantitative comparison on the LINEMOD dataset using the 2D reprojection metric (%, 5-pixel threshold). RAFusion attains the highest reported mean accuracy among the listed RGB-D methods and improves over the DenseFusion baseline by 4.3 percentage points.
Table 2. Quantitative comparison on the LINEMOD dataset using the 2D reprojection metric (%, 5-pixel threshold). RAFusion attains the highest reported mean accuracy among the listed RGB-D methods and improves over the DenseFusion baseline by 4.3 percentage points.
RGBRGB-D
Obj.BB8 [39]GS-Pose [41]DIM [7]DF [12]RAF
ape96.697.998.496.997.7
benchvise90.198.997.088.394.8
cam86.099.198.993.898.9
can91.297.699.796.198.6
cat98.898.998.796.199.4
driller80.993.796.184.896.8
duck92.297.898.598.598.9
eggbox91.097.196.299.3100.0
glue92.397.498.995.599.9
holepuncher95.398.896.387.995.9
iron84.899.697.294.096.3
lamp75.894.294.292.396.9
phone85.393.897.793.098.7
Mean89.397.397.593.697.9
Table 3. Controlled overall comparison on the Occlusion LINEMOD dataset. DenseFusion and RAFusion checkpoints are evaluated on the same 1445 target instances using the same local evaluation protocol.
Table 3. Controlled overall comparison on the Occlusion LINEMOD dataset. DenseFusion and RAFusion checkpoints are evaluated on the same 1445 target instances using the same local evaluation protocol.
ModelADD-(S) (%)2D Reprojection (%)Targets
DenseFusion40.1417.851445
RAFusion (ours)57.9228.371445
Table 4. Sensitivity to stochastic point sampling on Occlusion LINEMOD. Using the same fixed checkpoint, values are reported as mean plus or minus standard deviation over inference sampling seeds 2026, 2027, and 2028.
Table 4. Sensitivity to stochastic point sampling on Occlusion LINEMOD. Using the same fixed checkpoint, values are reported as mean plus or minus standard deviation over inference sampling seeds 2026, 2027, and 2028.
ModelADD-(S) (%)2D Reprojection (%)
DenseFusion 40.60 ± 0.42 17.76 ± 0.08
RAFusion (ours) 57.67 ± 0.38 28.47 ± 0.08
Table 5. Computational efficiency comparison. FLOPs and latency correspond to one PoseNet estimator forward pass under the same hardware and input settings.
Table 5. Computational efficiency comparison. FLOPs and latency correspond to one PoseNet estimator forward pass under the same hardware and input settings.
ModelParams (M)FLOPs (G)Latency (ms)FPS
DenseFusion baseline21.37013.4881.780561.803
DenseFusion + SE21.45713.4901.883531.171
DenseFusion + RealFormer47.33526.3562.770361.048
RAFusion47.42226.3582.900344.861
Table 6. Ablation study of different components on the LINEMOD dataset. The results show that both the SE block and the RealFormer module contribute to the performance improvement, with the full RAFusion model achieving the highest accuracy. A checkmark indicates that the corresponding module is included, whereas – indicates that it is not included.
Table 6. Ablation study of different components on the LINEMOD dataset. The results show that both the SE block and the RealFormer module contribute to the performance improvement, with the full RAFusion model achieving the highest accuracy. A checkmark indicates that the corresponding module is included, whereas – indicates that it is not included.
MethodSERealFormerADD-(S)
Baseline (DenseFusion)94.3%
Baseline + SE95.8%
Baseline + RealFormer96.5%
RAFusion (ours)97.6%
Table 7. Hyperparameter sensitivity analysis. Impact of RealFormer depth (L) and SE reduction ratio (r) on accuracy.
Table 7. Hyperparameter sensitivity analysis. Impact of RealFormer depth (L) and SE reduction ratio (r) on accuracy.
RealFormer Depth LSE Reduction Ratio r
ValueADD-(S)ValueADD-(S)
L = 1 96.9% r = 8 97.5%
L = 2 97.6% r = 16 97.6%
L = 4 97.4% r = 32 97.1%
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

Zhao, W.; Lai, Y.; Zhang, Q.; An, K.; Zhang, H. RAFusion: Integrating Residual Attention for Global Context-Aware 6D Pose Estimation. Sensors 2026, 26, 4571. https://doi.org/10.3390/s26144571

AMA Style

Zhao W, Lai Y, Zhang Q, An K, Zhang H. RAFusion: Integrating Residual Attention for Global Context-Aware 6D Pose Estimation. Sensors. 2026; 26(14):4571. https://doi.org/10.3390/s26144571

Chicago/Turabian Style

Zhao, Wenjin, Yi Lai, Qixian Zhang, Kang An, and Hui Zhang. 2026. "RAFusion: Integrating Residual Attention for Global Context-Aware 6D Pose Estimation" Sensors 26, no. 14: 4571. https://doi.org/10.3390/s26144571

APA Style

Zhao, W., Lai, Y., Zhang, Q., An, K., & Zhang, H. (2026). RAFusion: Integrating Residual Attention for Global Context-Aware 6D Pose Estimation. Sensors, 26(14), 4571. https://doi.org/10.3390/s26144571

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