Um Método Empírico para Quantificar a Degradação do Desempenho Periférico em Redes Profundas
An Empirical Method to Quantify the Peripheral Performance Degradation in Deep Networks
An Empirical Method to Quantify the Peripheral Performance Degradation in Deep Networks
@misc{wloka2020an,
title = {An Empirical Method to Quantify the Peripheral Performance Degradation in Deep Networks},
author = {Calden Wloka and John K. Tsotsos},
year = {2020},
eprint = {2012.02749},
archivePrefix = {arXiv},
primaryClass = {cs.CV},
url = {https://arxiv.org/abs/2012.02749}
}
Wloka, C., & Tsotsos, J. K. (2020). An Empirical Method to Quantify the Peripheral Performance Degradation in Deep Networks [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2012.02749
WLOKA C, TSOTSOS JK. An Empirical Method to Quantify the Peripheral Performance Degradation in Deep Networks[EB/OL]. (2020-12-04)[2026-11-29]. https://arxiv.org/abs/2012.02749.
Resumo
Ao aplicar um núcleo convolucional a uma imagem, se o objetivo é manter o tamanho da saída igual ao da entrada, é necessária uma forma de padding ao redor das bordas da imagem. Isso significa que, para cada camada de convolução em uma rede neural convolucional (CNN), uma faixa de pixels igual à metade da largura do tamanho do núcleo é gerada com uma representação não-verídica. Embora a maioria dos núcleos de CNN seja pequena para reduzir a carga de parâmetros de uma rede, essa área não-verídica se acumula com cada camada convolucional. A tendência de redes cada vez mais profundas, combinada com o down-sampling baseado em stride, significa que a propagação dessa região pode acabar cobrindo uma parcela não-negligível da imagem. Embora esse problema com convoluções tenha sido bem reconhecido ao longo dos anos, o impacto dessa representação periférica degradada no comportamento de redes modernas ainda não foi totalmente quantificado. Quais são os limites da invariância à tradução? O padding da imagem mitiga com sucesso o problema, ou o desempenho é afetado quando um objeto se move entre a borda e o centro da imagem? Utilizando o Mask R-CNN como modelo experimental, projetamos um conjunto de dados e uma metodologia para quantificar a dependência espacial do desempenho da rede. Nosso conjunto de dados é construído inserindo objetos em fundos de alta resolução, permitindo que cortemos sub-imagens que colocam objetos-alvo em locais específicos em relação à borda da imagem. Ao investigar o comportamento do Mask R-CNN em uma seleção de locais-alvo, observamos padrões claros de degradação de desempenho perto da borda da imagem, e em particular nos cantos da imagem. Quantificar tanto a extensão quanto a magnitude dessa anisotropia espacial no desempenho da rede é importante para o implantação de redes profundas em ambientes não restritos e realistas em que a localização de objetos ou regiões de interesse não está garantida para estar bem localizada dentro de uma imagem dada.
When applying a convolutional kernel to an image, if the output is to remain the same size as the input then some form of padding is required around the image boundary, meaning that for each layer of convolution in a convolutional neural network (CNN), a strip of pixels equal to the half-width of the kernel size is produced with a non-veridical representation. Although most CNN kernels are small to reduce the parameter load of a network, this non-veridical area compounds with each convolutional layer. The tendency toward deeper and deeper networks combined with stride-based down-sampling means that the propagation of this region can end up covering a non-negligable portion of the image. Although this issue with convolutions has been well acknowledged over the years, the impact of this degraded peripheral representation on modern network behavior has not been fully quantified. What are the limits of translation invariance? Does image padding successfully mitigate the issue, or is performance affected as an object moves between the image border and center? Using Mask R-CNN as an experimental model, we design a dataset and methodology to quantify the spatial dependency of network performance. Our dataset is constructed by inserting objects into high resolution backgrounds, thereby allowing us to crop sub-images which place target objects at specific locations relative to the image border. By probing the behaviour of Mask R-CNN across a selection of target locations, we see clear patterns of performance degredation near the image boundary, and in particular in the image corners. Quantifying both the extent and magnitude of this spatial anisotropy in network performance is important for the deployment of deep networks into unconstrained and realistic environments in which the location of objects or regions of interest are not guaranteed to be well localized within a given image.