# American Institute of Mathematical Sciences

November  2020, 3(4): 219-227. doi: 10.3934/mfc.2020013

## Sketch-based image retrieval via CAT loss with elastic net regularization

 1 School of Statistics and Mathematics, Big Data and Educational Statistics Application Laboratory, Collaborative Innovation Development Center of Pearl River Delta Science & Technology Finance Industry, Guangdong University of Finance & Economics, Guangzhou, Guangdong, 510320, China 2 School of Statistics and Mathematics, Guangdong University of Finance & Economics, Guangzhou, Guangdong, 510320, China 3 Information Science School, Guangdong University of Finance & Economics, Guangzhou, Guangdong, 510320, China

* Corresponding author: Jia Cai

Received  December 2019 Revised  March 2020 Published  June 2020

Fund Project: The first author is supported partially by National Natural Science Foundation of China (11871167,11671171), Science and Technology Program of Guangzhou (201707010228), Special Support Plan for High-Level Talents of Guangdong Province (2019TQ05X571), Foundation of Guangdong Educational Committee (2019KZDZX1023), Project of Collaborative Innovation Development Center of Pearl River Delta Science & Technology Finance Industry (19XT01), National Social Science Foundation (19AJY027), Natural Science Foundation of Guangdong (2016A030313710)

Fine-grained sketch-based image retrieval (FG-SBIR) is an important problem that uses free-hand human sketch as queries to perform instance-level retrieval of photos. Human sketches are generally highly abstract and iconic, which makes FG-SBIR a challenging task. Existing FG-SBIR approaches using triplet loss with $\ell_2$ regularization or higher-order energy function to conduct retrieval performance, which neglect the feature gap between different domains (sketches, photos) and need to select the weight layer matrix. This yields high computational complexity. In this paper, we define a new CAT loss function with elastic net regularization based on attention model. It can close the feature gap between different subnetworks and embody the sparsity of the sketches. Experiments demonstrate that the proposed approach is competitive with state-of-the-art methods.

Citation: Jia Cai, Guanglong Xu, Zhensheng Hu. Sketch-based image retrieval via CAT loss with elastic net regularization. Mathematical Foundations of Computing, 2020, 3 (4) : 219-227. doi: 10.3934/mfc.2020013
##### References:

show all references

##### References:
Architecture of the model
Examples of stroke removal
Network structure
 $Index$ Layer Type Filter size Filter number Stride Pad Output size $0$ $Input$ $-$ $-$ $-$ $-$ $225\times225$ $1$ $L1$ $Conv$ $15\times15$ 64 3 0 $71\times71$ $2$ $ReLU$ $-$ $-$ $-$ $-$ $71\times71$ $3$ Maxpool $3\times3$ $-$ 2 0 $35\times35$ $4$ $L2$ $Conv$ $5\times5$ 128 1 0 $31\times31$ $5$ $ReLU$ $-$ $-$ $-$ $-$ $31\times31$ $6$ Maxpool $3\times3$ $-$ 2 0 $15\times15$ $7$ $L3$ $Conv$ $3\times3$ 256 1 1 $15\times15$ $8$ $ReLU$ $-$ $-$ $-$ $-$ $15\times15$ $9$ $L4$ $Conv$ $3\times3$ 256 1 1 $15\times15$ $10$ $ReLU$ $-$ $-$ $-$ $-$ $15\times15$ $11$ $L5$ $Conv$ $3\times3$ 256 1 1 $15\times15$ $12$ $ReLU$ $-$ $-$ $-$ $-$ $15\times15$ $13$ Maxpool $3\times3$ $-$ 2 0 $7\times7$ $14$ $L6$ $Conv( = FC)$ $7\times7$ 512 1 $0$ $1\times1$ $15$ $ReLU$ $-$ $-$ $-$ $-$ $1\times1$ $16$ Dropout (0.55) $-$ $-$ $-$ $-$ $1\times1$ $17$ $L7$ $Conv( = FC)$ $1\times1$ 256 1 $0$ $1\times1$ $18$ $ReLU$ $-$ $-$ $-$ $-$ $1\times1$ $19$ Dropout (0.55) $-$ $-$ $-$ $-$ $1\times1$
 $Index$ Layer Type Filter size Filter number Stride Pad Output size $0$ $Input$ $-$ $-$ $-$ $-$ $225\times225$ $1$ $L1$ $Conv$ $15\times15$ 64 3 0 $71\times71$ $2$ $ReLU$ $-$ $-$ $-$ $-$ $71\times71$ $3$ Maxpool $3\times3$ $-$ 2 0 $35\times35$ $4$ $L2$ $Conv$ $5\times5$ 128 1 0 $31\times31$ $5$ $ReLU$ $-$ $-$ $-$ $-$ $31\times31$ $6$ Maxpool $3\times3$ $-$ 2 0 $15\times15$ $7$ $L3$ $Conv$ $3\times3$ 256 1 1 $15\times15$ $8$ $ReLU$ $-$ $-$ $-$ $-$ $15\times15$ $9$ $L4$ $Conv$ $3\times3$ 256 1 1 $15\times15$ $10$ $ReLU$ $-$ $-$ $-$ $-$ $15\times15$ $11$ $L5$ $Conv$ $3\times3$ 256 1 1 $15\times15$ $12$ $ReLU$ $-$ $-$ $-$ $-$ $15\times15$ $13$ Maxpool $3\times3$ $-$ 2 0 $7\times7$ $14$ $L6$ $Conv( = FC)$ $7\times7$ 512 1 $0$ $1\times1$ $15$ $ReLU$ $-$ $-$ $-$ $-$ $1\times1$ $16$ Dropout (0.55) $-$ $-$ $-$ $-$ $1\times1$ $17$ $L7$ $Conv( = FC)$ $1\times1$ 256 1 $0$ $1\times1$ $18$ $ReLU$ $-$ $-$ $-$ $-$ $1\times1$ $19$ Dropout (0.55) $-$ $-$ $-$ $-$ $1\times1$
Comparative results against baselines on QMUL-shoe dataset
 QMUL-shoe $Acc.@1$ $Acc.@10$ HOG+BoW+RankSVM 17.39% 67.83% Deep ISN 20.00% 62.61% Triplet SN 52.17% 92.17% Triplet DSSA 61.74% 94.78% Our model 56.52% 96.52%
 QMUL-shoe $Acc.@1$ $Acc.@10$ HOG+BoW+RankSVM 17.39% 67.83% Deep ISN 20.00% 62.61% Triplet SN 52.17% 92.17% Triplet DSSA 61.74% 94.78% Our model 56.52% 96.52%
Comparative results against baselines on QMUL-chair dataset
 QMUL-chair $Acc.@1$ $Acc.@10$ HOG+BoW+RankSVM 28.87% 67.01% Deep ISN 47.42% 82.47% Triplet SN 72.16% 98.96% Triplet DSSA 81.44% 95.88% Our model 81.44% 98.97%
 QMUL-chair $Acc.@1$ $Acc.@10$ HOG+BoW+RankSVM 28.87% 67.01% Deep ISN 47.42% 82.47% Triplet SN 72.16% 98.96% Triplet DSSA 81.44% 95.88% Our model 81.44% 98.97%
Comparative results against baselines on QMUL-handbag dataset
 QMUL-handbag $Acc.@1$ $Acc.@10$ HOG+BoW+RankSVM 2.38% 10.71% Deep ISN 9.52% 44.05% Triplet SN 39.88% 82.14% Triplet DSSA 49.40% 82.74% Our model 54.76% 88.69%
 QMUL-handbag $Acc.@1$ $Acc.@10$ HOG+BoW+RankSVM 2.38% 10.71% Deep ISN 9.52% 44.05% Triplet SN 39.88% 82.14% Triplet DSSA 49.40% 82.74% Our model 54.76% 88.69%
Contributions of different components
 QMUL-shoe $Acc.@1$ $Acc.@10$ Triplet loss+data aug 50.43% 93.91% CAT loss+no data aug 49.57% 94.78% Our model 54.78% 96.52% QMUL-chair $Acc.@1$ $Acc.@10$ Triplet loss+data aug 78.35% 97.94% CAT loss+no data aug 76.29% 96.91% Our model 81.44% 98.97% QMUL-handbag $Acc.@1$ $Acc.@10$ Triplet loss+data aug 51.19% 86.31% CAT loss+no data aug 51.79% 86.90% Our model 54.76% 88.69%
 QMUL-shoe $Acc.@1$ $Acc.@10$ Triplet loss+data aug 50.43% 93.91% CAT loss+no data aug 49.57% 94.78% Our model 54.78% 96.52% QMUL-chair $Acc.@1$ $Acc.@10$ Triplet loss+data aug 78.35% 97.94% CAT loss+no data aug 76.29% 96.91% Our model 81.44% 98.97% QMUL-handbag $Acc.@1$ $Acc.@10$ Triplet loss+data aug 51.19% 86.31% CAT loss+no data aug 51.79% 86.90% Our model 54.76% 88.69%
 [1] Mehdi Bastani, Davod Khojasteh Salkuyeh. On the GSOR iteration method for image restoration. Numerical Algebra, Control & Optimization, 2021, 11 (1) : 27-43. doi: 10.3934/naco.2020013 [2] Fioralba Cakoni, Pu-Zhao Kow, Jenn-Nan Wang. The interior transmission eigenvalue problem for elastic waves in media with obstacles. Inverse Problems & Imaging, , () : -. doi: 10.3934/ipi.2020075 [3] Abdelghafour Atlas, Mostafa Bendahmane, Fahd Karami, Driss Meskine, Omar Oubbih. A nonlinear fractional reaction-diffusion system applied to image denoising and decomposition. Discrete & Continuous Dynamical Systems - B, 2020  doi: 10.3934/dcdsb.2020321 [4] Mohammed Abdulrazaq Kahya, Suhaib Abduljabbar Altamir, Zakariya Yahya Algamal. Improving whale optimization algorithm for feature selection with a time-varying transfer function. Numerical Algebra, Control & Optimization, 2021, 11 (1) : 87-98. doi: 10.3934/naco.2020017 [5] Shuyang Dai, Fengru Wang, Jerry Zhijian Yang, Cheng Yuan. A comparative study of atomistic-based stress evaluation. Discrete & Continuous Dynamical Systems - B, 2020  doi: 10.3934/dcdsb.2020322 [6] Hong Niu, Zhijiang Feng, Qijin Xiao, Yajun Zhang. A PID control method based on optimal control strategy. Numerical Algebra, Control & Optimization, 2021, 11 (1) : 117-126. doi: 10.3934/naco.2020019 [7] Håkon Hoel, Gaukhar Shaimerdenova, Raúl Tempone. Multilevel Ensemble Kalman Filtering based on a sample average of independent EnKF estimators. Foundations of Data Science, 2020  doi: 10.3934/fods.2020017 [8] Kha Van Huynh, Barbara Kaltenbacher. Some application examples of minimization based formulations of inverse problems and their regularization. Inverse Problems & Imaging, , () : -. doi: 10.3934/ipi.2020074 [9] Jie Zhang, Yuping Duan, Yue Lu, Michael K. Ng, Huibin Chang. Bilinear constraint based ADMM for mixed Poisson-Gaussian noise removal. Inverse Problems & Imaging, , () : -. doi: 10.3934/ipi.2020071 [10] Laurence Cherfils, Stefania Gatti, Alain Miranville, Rémy Guillevin. Analysis of a model for tumor growth and lactate exchanges in a glioma. Discrete & Continuous Dynamical Systems - S, 2020  doi: 10.3934/dcdss.2020457 [11] Laurent Di Menza, Virginie Joanne-Fabre. An age group model for the study of a population of trees. Discrete & Continuous Dynamical Systems - S, 2020  doi: 10.3934/dcdss.2020464 [12] S. Sadeghi, H. Jafari, S. Nemati. Solving fractional Advection-diffusion equation using Genocchi operational matrix based on Atangana-Baleanu derivative. Discrete & Continuous Dynamical Systems - S, 2020  doi: 10.3934/dcdss.2020435 [13] Lingfeng Li, Shousheng Luo, Xue-Cheng Tai, Jiang Yang. A new variational approach based on level-set function for convex hull problem with outliers. Inverse Problems & Imaging, , () : -. doi: 10.3934/ipi.2020070 [14] Weiwei Liu, Jinliang Wang, Yuming Chen. Threshold dynamics of a delayed nonlocal reaction-diffusion cholera model. Discrete & Continuous Dynamical Systems - B, 2020  doi: 10.3934/dcdsb.2020316 [15] Siyang Cai, Yongmei Cai, Xuerong Mao. A stochastic differential equation SIS epidemic model with regime switching. Discrete & Continuous Dynamical Systems - B, 2020  doi: 10.3934/dcdsb.2020317 [16] Yining Cao, Chuck Jia, Roger Temam, Joseph Tribbia. Mathematical analysis of a cloud resolving model including the ice microphysics. Discrete & Continuous Dynamical Systems - A, 2021, 41 (1) : 131-167. doi: 10.3934/dcds.2020219 [17] Zhouchao Wei, Wei Zhang, Irene Moroz, Nikolay V. Kuznetsov. Codimension one and two bifurcations in Cattaneo-Christov heat flux model. Discrete & Continuous Dynamical Systems - B, 2020  doi: 10.3934/dcdsb.2020344 [18] Shuang Chen, Jinqiao Duan, Ji Li. Effective reduction of a three-dimensional circadian oscillator model. Discrete & Continuous Dynamical Systems - B, 2020  doi: 10.3934/dcdsb.2020349 [19] Barbora Benešová, Miroslav Frost, Lukáš Kadeřávek, Tomáš Roubíček, Petr Sedlák. An experimentally-fitted thermodynamical constitutive model for polycrystalline shape memory alloys. Discrete & Continuous Dynamical Systems - S, 2020  doi: 10.3934/dcdss.2020459 [20] Cuicui Li, Lin Zhou, Zhidong Teng, Buyu Wen. The threshold dynamics of a discrete-time echinococcosis transmission model. Discrete & Continuous Dynamical Systems - B, 2020  doi: 10.3934/dcdsb.2020339

Impact Factor: