Lightweight Pixel Difference Networks for Efficient Visual Representation Learning
Zhuo Su, Jiehua Zhang, Longguang Wang, Hua Zhang, Zhen Liu, Matti Pietikäinen, Li Liu
TL;DR
This work addresses the trade-off between accuracy and efficiency in visual representation learning for edge devices. It introduces Pixel Difference Convolution (PDC) and Binary Pixel Difference Convolution (Bi-PDC), which inject higher-order local differential information into CNNs and remain differentiable and efficient. It then presents PiDiNet for edge detection and Bi-PiDiNet for object recognition, achieving state-of-the-art or competitive accuracy with far fewer parameters and operations, even without ImageNet pretraining; the authors also provide a frequency-domain interpretation, extensive ablations, and demonstrate generalization to detection tasks with a public code release. Overall, the approach substantially improves the efficiency-accuracy balance for edge-style and recognition tasks and offers a versatile framework for deploying lightweight vision models on constrained devices.
Abstract
Recently, there have been tremendous efforts in developing lightweight Deep Neural Networks (DNNs) with satisfactory accuracy, which can enable the ubiquitous deployment of DNNs in edge devices. The core challenge of developing compact and efficient DNNs lies in how to balance the competing goals of achieving high accuracy and high efficiency. In this paper we propose two novel types of convolutions, dubbed \emph{Pixel Difference Convolution (PDC) and Binary PDC (Bi-PDC)} which enjoy the following benefits: capturing higher-order local differential information, computationally efficient, and able to be integrated with existing DNNs. With PDC and Bi-PDC, we further present two lightweight deep networks named \emph{Pixel Difference Networks (PiDiNet)} and \emph{Binary PiDiNet (Bi-PiDiNet)} respectively to learn highly efficient yet more accurate representations for visual tasks including edge detection and object recognition. Extensive experiments on popular datasets (BSDS500, ImageNet, LFW, YTF, \emph{etc.}) show that PiDiNet and Bi-PiDiNet achieve the best accuracy-efficiency trade-off. For edge detection, PiDiNet is the first network that can be trained without ImageNet, and can achieve the human-level performance on BSDS500 at 100 FPS and with $<$1M parameters. For object recognition, among existing Binary DNNs, Bi-PiDiNet achieves the best accuracy and a nearly $2\times$ reduction of computational cost on ResNet18. Code available at \href{https://github.com/hellozhuo/pidinet}{https://github.com/hellozhuo/pidinet}.
