Training Fully Convolutional Neural Networks for Lightweight, Non-Critical Instance Segmentation Applications
Source abstract
Abstract
Augmented reality applications involving human interaction with virtual objects often rely on segmentation-based hand detection techniques. Semantic segmentation can then be enhanced with instance-specific information to model complex interactions between objects, but extracting such information typically increases the computational load significantly. This study proposes a training strategy that enables conventional semantic segmentation networks to preserve some instance information during inference. This is accomplished by introducing pixel weight maps into the loss calculation, increasing the importance of boundary pixels between instances. We compare two common fully convolutional network (FCN) architectures, U-Net and ResNet, and fine-tune the fittest to improve segmentation results. Although the resulting model does not reach state-of-the-art segmentation performance on the EgoHands dataset, it preserves some instance information with no computational overhead. As expected, degraded segmentations are a necessary trade-off to preserve boundaries when instances are close together. This strategy allows approximating instance segmentation in real-time using non-specialized hardware, obtaining a unique blob for an instance with an intersection over union greater than 50% in 79% of the instances in our test set. A simple FCN, typically used for semantic segmentation, has shown promising instance segmentation results by introducing per-pixel weight maps during training for light-weight applications.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Advanced Neural Network Applications · Hand Gesture Recognition Systems · Human Pose and Action Recognition
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Instituto de las Tecnologías Avanzadas de la Producción (ITAP), Escuela de Ingenierías Industriales, Universidad de Valladolid, Paseo Prado de la Magdalena 3-5, 47011 Valladolid, Spain
Funding
Spanish Ministry of Science, Innovation, and Universities, through the research project Shared-control strategies in Laparoscopic Liver Surgery
References (63)
Show source-provided references
1. Virtual Reality in Stroke Rehabilitation: A Meta-Analysis and Implications for Clinicians10.1161/STROKEAHA.110.605451 ↗
2. Phan, H.L., Le, T.H., Lim, J.M., Hwang, C.H., and Koo, K.i. (2022). Effectiveness of Augmented Reality in Stroke Rehabilitation: A Meta-Analysis. Appl. Sci., 12.10.3390/app12041848 ↗
3. A review on 2D instance segmentation based on deep neural networks10.1016/j.imavis.2022.104401 ↗
4. He, K., Gkioxari, G., Dollar, P., and Girshick, R. (2017, January 22–29). Mask R-CNN. Proceedings of the IEEE International Conference on Computer Vision (ICCV), Venice, Italy.10.1109/ICCV.2017.322 ↗
5. Leibe, B., Matas, J., Sebe, N., and Welling, M. (2016). Learning to Refine Object Segments. Proceedings of the Computer Vision—ECCV, Amsterdam, The Netherlands, 11–14 October 2016, Spring.10.1007/978-3-319-46454-1 ↗
6. Liu, S., Qi, L., Qin, H., Shi, J., and Jia, J. (2018, January 18–22). Path Aggregation Network for Instance Segmentation. Proceedings of the 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA.10.1109/CVPR.2018.00913 ↗
7. Mask SSD: An Effective Single-Stage Approach to Object Instance Segmentation10.1109/TIP.2019.2947806 ↗
8. Huang, Z., Huang, L., Gong, Y., Huang, C., and Wang, X. (2019, January 15–20). Mask Scoring R-CNN. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Long Beach, CA, USA.10.1109/CVPR.2019.00657 ↗
9. Chen, L.C., Hermans, A., Papandreou, G., Schroff, F., Wang, P., and Adam, H. (2018, January 18–22). MaskLab: Instance Segmentation by Refining Object Detection with Semantic and Direction Features. Proceedings of the 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA.10.1109/CVPR.2018.00422 ↗
10. Xu, W., Wang, H., Qi, F., and Lu, C. (2019, January 27–28). Explicit Shape Encoding for Real-Time Instance Segmentation. Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), Seoul, Republic of Korea.10.1109/ICCV.2019.00527 ↗
11. Wilson, R.C., Hancock, E.R., and Smith, W.A.P. (2016). Bottom-up Instance Segmentation using Deep Higher-Order CRFs. Proceedings of the British Machine Vision Conference 2016, BMVC 2016, York, UK, 19–22 September 2016, BMVA Press.10.5244/C.30.19 ↗
12. Ferrari, V., Hebert, M., Sminchisescu, C., and Weiss, Y. (2018). Bayesian Semantic Instance Segmentation in Open Set World. Proceedings of the Computer Vision—ECCV 2018, Munich, Germany, 8–14 September 2018, Spring.10.1007/978-3-030-01249-6 ↗
13. Arnab, A., and Torr, P.H.S. (2017, January 21–26). Pixelwise Instance Segmentation With a Dynamically Instantiated Network. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA.10.1109/CVPR.2017.100 ↗
14. Uhrig, J., Rehder, E., Fröhlich, B., Franke, U., and Brox, T. (2018, January 26–30). Box2Pix: Single-Shot Instance Segmentation by Assigning Pixels to Object Boxes. Proceedings of the 2018 IEEE Intelligent Vehicles Symposium (IV), Suzhou, China.10.1109/IVS.2018.8500621 ↗
15. Rosenhahn, B., and Andres, B. (2016). Pixel-Level Encoding and Depth Layering for Instance-Level Semantic Labeling. Pattern Recognition, Proceedings of the 38th German Conference, GCPR 2016, Hannover, Germany, 12–15 September 2016, Proceedings 38, Spring.10.1007/978-3-319-45886-1 ↗
16. Kong, S., and Fowlkes, C. (2018, January 18–22). Recurrent Pixel Embedding for Instance Grouping. Proceedings of the 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA.10.1109/CVPR.2018.00940 ↗
17. Fathi, A., Wojna, Z., Rathod, V., Wang, P., Song, H.O., Guadarrama, S., and Murphy, K.P. (2017). Semantic Instance Segmentation via Deep Metric Learning. arXiv.
18. Chen, K., Pang, J., Wang, J., Xiong, Y., Li, X., Sun, S., Feng, W., Liu, Z., Shi, J., and Ouyang, W. (2019, January 15–20). Hybrid Task Cascade for Instance Segmentation. Proceedings of the 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Long Beach, CA, USA.10.1109/CVPR.2019.00511 ↗
19. Dai, J., He, K., and Sun, J. (2016, January 27–30). Instance-Aware Semantic Segmentation via Multi-task Network Cascades. Proceedings of the 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA.10.1109/CVPR.2016.343 ↗
20. Cascade R-CNN: High Quality Object Detection and Instance Segmentation10.1109/TPAMI.2019.2956516 ↗
21. Leibe, B., Matas, J., Sebe, N., and Welling, M. (2016). Recurrent Instance Segmentation. Computer Vision—ECCV 2016, Proceedings of the 14th European Conference, Amsterdam, The Netherlands, 11–14 October 2016, Proceedings, Part VI 14, Spring.10.1007/978-3-319-46466-4 ↗
22. Ren, M., and Zemel, R.S. (2017, January 21–26). End-To-End Instance Segmentation With Recurrent Attention. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA.10.1109/CVPR.2017.39 ↗
23. Salvador, A., Bellver, M., Baradad, M., Campos, V., Marqués, F., Torres, J., and i Nieto, X.G. (2018, January 8–14). Recurrent Neural Networks for Semantic Instance Segmentation. Proceedings of the ECCV 2018 Women in Computer Vision (WiCV) Workshop, Munich, Germany.
24. Fang, Y., Yang, S., Wang, X., Li, Y., Fang, C., Shan, Y., Feng, B., and Liu, W. (2021, January 11–17). Instances As Queries. Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), Montreal, BC, Canada.10.1109/ICCV48922.2021.00683 ↗
25. Dong, B., Zeng, F., Wang, T., Zhang, X., and Wei, Y. (2024, January 6–14). SOLQ: Segmenting objects by learning queries. Proceedings of the 35th International Conference on Neural Information Processing Systems, Red Hook, NY, USA.
26. Wang, Y., Xu, Z., Wang, X., Shen, C., Cheng, B., Shen, H., and Xia, H. (2021, January 19–25). End-to-End Video Instance Segmentation with Transformers. Proceedings of the 2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Nashville, TN, USA.10.1109/CVPR46437.2021.00863 ↗
27. Cheng, B., Misra, I., Schwing, A.G., Kirillov, A., and Girdhar, R. (2022, January 18–24). Masked-Attention Mask Transformer for Universal Image Segmentation. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), New Orleans, LA, USA.10.1109/CVPR52688.2022.00135 ↗
28. Bolya, D., Zhou, C., Xiao, F., and Lee, Y.J. (November, January 27). YOLACT: Real-Time Instance Segmentation. Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), Seoul, Republic of Korea.
29. Vedaldi, A., Bischof, H., Brox, T., and Frahm, J.M. (2020). SOLO: Segmenting Objects by Locations. Computer Vision—ECCV 2020, Proceedings of the 16th European Conference, Glasgow, UK, 23–28 August 2020, Proceedings, Part XVIII 16, Spring.10.1007/978-3-030-58523-5 ↗
30. Leibe, B., Matas, J., Sebe, N., and Welling, M. (2016). Instance-Sensitive Fully Convolutional Networks. Computer Vision—ECCV 2016, Proceedings of the 14th European Conference, Amsterdam, The Netherlands, 11–14 October 2016, Proceedings, Part VI 14, Spring.10.1007/978-3-319-46466-4 ↗
31. Li, Y., Qi, H., Dai, J., Ji, X., and Wei, Y. (2017, January 21–26). Fully Convolutional Instance-Aware Semantic Segmentation. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA.10.1109/CVPR.2017.472 ↗
32. Chen, X., Girshick, R., He, K., and Dollar, P. (November, January 27). TensorMask: A Foundation for Dense Object Segmentation. Proceedings of the 2019 IEEE/CVF International Conference on Computer Vision (ICCV), Seoul, Republic of Korea.10.1109/ICCV.2019.00215 ↗
33. Ying, H., Huang, Z., Liu, S., Shao, T., and Zhou, K. (2019). EmbedMask: Embedding Coupling for One-stage Instance Segmentation. arXiv.
34. Chen, H., Sun, K., Tian, Z., Shen, C., Huang, Y., and Yan, Y. (2020, January 14–19). BlendMask: Top-Down Meets Bottom-Up for Instance Segmentation. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA.10.1109/CVPR42600.2020.00860 ↗
35. Vedaldi, A., Bischof, H., Brox, T., and Frahm, J.M. (2020). Conditional Convolutions for Instance Segmentation. Computer Vision–ECCV 2020, Proceedings of the 16th European Conference, Glasgow, UK, 23–28 August 2020, Proceedings, Part I 16, Spring.10.1007/978-3-030-58604-1 ↗
36. Xie, E., Sun, P., Song, X., Wang, W., Liu, X., Liang, D., Shen, C., and Luo, P. (2020, January 13–19). PolarMask: Single Shot Instance Segmentation With Polar Representation. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA.10.1109/CVPR42600.2020.01221 ↗
37. Lee, Y., and Park, J. (2020, January 14–19). CenterMask: Real-Time Anchor-Free Instance Segmentation. Proceedings of the 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA.10.1109/CVPR42600.2020.01392 ↗
38. SOLOv2: Dynamic and Fast Instance Segmentation
39. Bambach, S., Lee, S., Crandall, D.J., and Yu, C. (2015, January 7–13). Lending A Hand: Detecting Hands and Recognizing Activities in Complex Egocentric Interactions. Proceedings of the IEEE International Conference on Computer Vision (ICCV), Santiago, Chile.10.1109/ICCV.2015.226 ↗
40. Taylor, L., and Nitschke, G. (2018, January 18–21). Improving Deep Learning with Generic Data Augmentation. Proceedings of the 2018 IEEE Symposium Series on Computational Intelligence (SSCI), Bengaluru, India.10.1109/SSCI.2018.8628742 ↗
41. Navab, N., Hornegger, J., Wells, W.M., and Frangi, A.F. (2015). U-Net: Convolutional Networks for Biomedical Image Segmentation. Medical Image Computing and Computer-Assisted Intervention–MICCAI 2015, Proceedings of the 18th International Conference, Munich, Germany, 5–9 October 2015, Proceedings, Part III 18, Spring.10.1007/978-3-319-24574-4 ↗
42. He, K., Zhang, X., Ren, S., and Sun, J. (2016, January 27–30). Deep Residual Learning for Image Recognition. Proceedings of the 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA.10.1109/CVPR.2016.90 ↗
43. Focal Loss for Dense Object Detection10.1109/TPAMI.2018.2858826 ↗
44. Milletari, F., Navab, N., and Ahmadi, S.A. (2016). V-Net: Fully Convolutional Neural Networks for Volumetric Medical Image Segmentation. arXiv.10.1109/3DV.2016.79 ↗
45. Abdelrahman, A., and Viriri, S. (2023). FPN-SE-ResNet Model for Accurate Diagnosis of Kidney Tumors Using CT Images. Appl. Sci., 13.10.3390/app13179802 ↗
46. A multiple-site similarity measure10.1098/rsbl.2006.0553 ↗
47. He, K., Zhang, X., Ren, S., and Sun, J. (2015, January 7–13). Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classification. Proceedings of the 2015 IEEE International Conference on Computer Vision (ICCV), Santiago, Chile.10.1109/ICCV.2015.123 ↗
48. Chen, L., Wu, Y., Stegmaier, J., and Merhof, D. (2023, January 2–3). SortedAP: Rethinking Evaluation Metrics for Instance Segmentation. Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV) Workshops, Paris, France.10.1109/ICCVW60793.2023.00424 ↗
49. Dropout: A Simple Way to Prevent Neural Networks from Overfitting
50. Ioffe, S., and Szegedy, C. (2015, January 6–11). Batch normalization: Accelerating deep network training by reducing internal covariate shift. Proceedings of the 32nd International Conference on International Conference on Machine Learning, Lille, France.
51. Cai, S., Shu, Y., Chen, G., Ooi, B.C., Wang, W., and Zhang, M. (2020). Effective and Efficient Dropout for Deep Convolutional Neural Networks. arXiv.
52. Kingma, D.P., and Ba, J. (2015, January 7–9). Adam: A Method for Stochastic Optimization. Proceedings of the International Conference on Learning Representations (ICLR), San Diego, CA, USA.
53. Li, H., Xu, Z., Taylor, G., Studer, C., and Goldstein, T. (2018, January 6–14). Visualizing the loss landscape of neural nets. Proceedings of the 32nd International Conference on Neural Information Processing Systems, Red Hook, NY, USA. NIPS’18.
54. Khan, A.U., and Borji, A. (2018, January 18–22). Analysis of Hand Segmentation in the Wild. Proceedings of the 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA.10.1109/CVPR.2018.00495 ↗
55. Wang, W., Yu, K., Hugonot, J., Fua, P., and Salzmann, M. (2018). Beyond One Glance: Gated Recurrent Architecture for Hand Segmentation. arXiv.
56. Flow-guided feature propagation with occlusion aware detail enhancement for hand segmentation in egocentric videos10.1016/j.cviu.2019.07.005 ↗
57. Cai, M., Lu, F., and Sato, Y. (2020, January 14–19). Generalizing Hand Segmentation in Egocentric Videos With Uncertainty-Guided Model Adaptation. Proceedings of the 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA.10.1109/CVPR42600.2020.01440 ↗
58. Refined U-net: A new semantic technique on hand segmentation10.1016/j.neucom.2022.04.079 ↗
59. Lin, F., Price, B., and Martinez, T. (2021). Ego2Hands: A Dataset for Egocentric Two-hand Segmentation and Detection. arXiv.
60. Hand Segmentation With Dense Dilated U-Net and Structurally Incoherent Nonnegative Matrix Factorization-Based Gesture Recognition10.1109/THMS.2024.3390415 ↗
61. Li, C., and Kitani, K.M. (2013, January 23–28). Pixel-Level Hand Detection in Ego-centric Videos. Proceedings of the 2013 IEEE Conference on Computer Vision and Pattern Recognition, Portland, OR, USA.10.1109/CVPR.2013.458 ↗
62. Loshchilov, I., and Hutter, F. (2019, January 6–9). Decoupled Weight Decay Regularization. Proceedings of the International Conference on Learning Representations, New Orleans, LA, USA.
63. Fathi, A., Ren, X., and Rehg, J.M. (2011, January 20–25). Learning to recognize objects in egocentric activities. Proceedings of the CVPR 2011, Colorado Springs, CO, USA.10.1109/CVPR.2011.5995444 ↗