그래프 트랜스포머 기반 농가 사과 품질 이미지의 그래프 표현 학습 연구
A Study about Learning Graph Representation on Farmhouse Apple Quality Images with Graph Transformer
1
조회
0
다운로드
2
인용
0
참고문헌
키워드
초록
최근 농가의 사과 품질 선별 작업에서 인적자원의 한계를 극복하기 위해 합성곱 신경망(CNN) 기반 시스템이 개발되고 있다. 그러나 합성곱 신경망은 동일한 크기의 이미지만을 입력받기 때문에 샘플링 등의 전처리 과정이 요구될 수 있으며, 과도 샘플링의 경우 화질 저하, 블러링 등 원본 이미지의 정보손실 문제가 발생한다. 본 논문에서는 위 문제를 최소화하기 위하여, 원본 이미지의 패치 기반 그래프를 생성하고 그래프 트랜스포머 모델의 랜덤워크 기반 위치 인코딩 방법을 제안한다. 위 방법은 랜덤워크 알고리즘 기반 위치정보가 없는 패치들의 위치 임베딩 정보를 지속적으로 학습하고, 기존 그래프 트랜스포머의 자가 주의집중 기법을 통해 유익한 노드정보들을 집계함으로써 최적의 그래프 구조를 찾는다. 따라서 무작위 노드 순서의 새로운 그래프 구조와 이미지의 객체 위치에 따른 임의의 그래프 구조에서도 강건한 성질을 가지며, 좋은 성능을 보여준다. 5가지 사과 품질 데이터셋으로 실험하였을 때, 다른 GNN 모델보다 최소 1.3%에서 최대 4.7%의 학습 정확도가 높았으며, ResNet18 모델의 23.52M보다 약 15% 적은 3.59M의 파라미터 수를 보유하여 연산량 절감에 따른 빠른 추론 속도를 보이며 그 효과를 증명한다.
Abstract
Recently, a convolutional neural network (CNN) based system is being developed to overcome the limitations of human resources in the apple quality classification of farmhouse. However, since convolutional neural networks receive only images of the same size, preprocessing such as sampling may be required, and in the case of oversampling, information loss of the original image such as image quality degradation and blurring occurs. In this paper, in order to minimize the above problem, to generate a image patch based graph of an original image and propose a random walk-based positional encoding method to apply the graph transformer model. The above method continuously learns the position embedding information of patches which don`t have a positional information based on the random walk algorithm, and finds the optimal graph structure by aggregating useful node information through the self-attention technique of graph transformer model. Therefore, it is robust and shows good performance even in a new graph structure of random node order and an arbitrary graph structure according to the location of an object in an image. As a result, when experimented with 5 apple quality datasets, the learning accuracy was higher than other GNN models by a minimum of 1.3% to a maximum of 4.7%, and the number of parameters was 3.59M, which was about 15% less than the 23.52M of the ResNet18 model. Therefore, it shows fast reasoning speed according to the reduction of the amount of computation and proves the effect.
참고문헌 (24)
- Krizhevsky, Alex, "Imagenet classification with deep convolutional neural networks", Communications of the ACM, 60(6), pp.84~90 (2017)
- Simonyan, Karen, "Very deep convolutional networks for large-scale image recognition" (2014)
- He, Kaiming, "Deep residual learning for image recognition", Proceedings of the IEEE conference on computer vision and pattern recognition (2016)
- Huang, Gao, "Densely connected convolutional networks", Proceedings of the IEEE conference on computer vision and pattern recognition (2017)
- "사과 품종 분류를 위한 CNN기반 모델링 및 분류 기법 연구" (2021)[URL]
- Lee, S., "Comparison of CNN-based models for apple pest classification", Proceedings of the Korea Information Processing Society Conference, pp.460~463 (2022)
- Howard, Andrew G., "Mobilenets: Efficient convolutional neural networks for mobile vision applications" (2017)
- Ying, Rex, "Graph convolutional neural networks for web-scale recommender systems", Proceedings of the 24th ACM SIGKDD international conference on knowledge discovery & data mining (2018)
- Yu, Bing, "Spatio-temporal graph convolutional networks: A deep learning framework for traffic forecasting" (2017)
- Avelar, Pedro HC, "Superpixel image classification with graph attention networks", 2020 33rd SIBGRAPI Conference on Graphics, Patterns and Images (SIBGRAPI) (2020), IEEE
- Long, J, "A Graph Neural Network for superpixel image classification", J. Phys. Conf. Ser, 1871, pp.012071~ (2021)
- Achanta, R, "SLIC “superpixels compared to state-of-the-art superpixel methods,”", IEEE Trans. Pattern Anal. Mach. Intell, 34, pp.2274~2282 (2012)
- Vedaldi, A, "Quick shift and kernel methods for mode seeking", Proceedings of the European Conference on Computer Vision, pp.705~718 (2008)
- Felzenszwalb, P.F, "Efficient graph-based image segmentation", Int. J. Comput. Vis, 59, pp.167~181 (2004)
- Vaswani, Ashish, "Attention is all you need", Advances in neural information processing systems, 30 (2017)
- Dosovitskiy, Alexey, "An image is worth 16x16 words: Transformers for image recognition at scale" (2020)
- Peterson, Leif E, "K-nearest neighbor", Scholarpedia, 4(2) (2009)
- Dwivedi, Vijay Prakash, "A generalization of transformer networks to graphs" (2020)
- Veliˇckovi´c, P., "Graph attention networks" (2017)[DOI]
- Dwivedi, V.P, "Benchmarking graph neural networks" (2020)[DOI]
- Ruder, Sebastian, "An overview of gradient descent optimization algorithms" (2016)
- Defferrard, M, "Convolutional neural networks on graphs with fast localized spectral filtering", Advances in Neural Information Processing Systems, 29(NIPS 2016) (2017), Curran Associates, Inc
- Kipf, T.N, "Semi-supervised classification with graph convolutional networks" (2016)[DOI]
- Han, Kai, "Vision GNN: An Image is Worth Graph of Nodes" (2022)
