EconPapers    
Economics at your fingertips  
 

Learnable edge detectors can make deep convolutional neural networks more robust

Jin Ding, Jie-Chao Zhao, Yong-Zhi Sun, Ping Tan, Jia-Wei Wang, Ji-En Ma and You-Tong Fang

PLOS ONE, 2025, vol. 20, issue 9, 1-26

Abstract: Deep convolutional neural networks (DCNNs) are vulnerable to examples with small perturbations. Improving DCNNs’ robustness is of great significance to the safety-critical applications, such as autonomous driving and industry automation. Inspired by the principal way that human eyes recognize objects, i.e., largely relying on the shape features, this paper first designs four learnable edge detectors as layer kernels and proposes a binary edge feature branch (BEFB) to learn the binary edge features, which can be easily integrated into any popular backbone. The four edge detectors can learn the horizontal, vertical, positive diagonal, and negative diagonal edge features, respectively, and the branch is stacked by multiple Sobel layers (using learnable edge detectors as kernels) and one threshold layer. The binary edge features learned by the branch, concatenated with the texture features learned by the backbone, are fed into the fully connected layers for classification. We integrate the proposed branch into VGG16 and ResNet34, respectively, and conduct experiments on multiple datasets. Experimental results demonstrate the BEFB is lightweight and has no side effects on training. And the accuracy of the BEFB-integrated models is better than the original ones when facing white-box attacks and black-box attack. Besides, BEFB-integrated models equipped with the robustness enhancement techniques can achieve better classification accuracy compared to the original models. The work in this paper for the first time shows it is feasible to enhance the robustness of DCNNs through combining both shape-like features and texture features.

Date: 2025
References: Add references at CitEc
Citations:

Downloads: (external link)
https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0330299 (text/html)
https://journals.plos.org/plosone/article/file?id= ... 30299&type=printable (application/pdf)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:plo:pone00:0330299

DOI: 10.1371/journal.pone.0330299

Access Statistics for this article

More articles in PLOS ONE from Public Library of Science
Bibliographic data for series maintained by plosone ().

 
Page updated 2025-09-13
Handle: RePEc:plo:pone00:0330299