A Secure Framework for Analyzing Customer Behavior Using Quaternion Graph Attention Network

Authors

  • Rusul. H Altaie University of Babylon, College of Arts, Hillah

DOI:

https://doi.org/10.21070/mz3s3y50

Keywords:

Behavior Analysis, Computer Vision, Customer Privacy Security, GAT, QT, Smart Stores

Abstract

The complicated interconnections of spatial-temporal data safety of many of smart retail environments which that build on video test to recognize customer behavior signify a primary challenge. The enormous amounts of visual data from surveillance cameras are not used effectively. The objective of the study is employing sophisticated computer vision methods using quaternion transform DQFT and Graph Attention Networks GATs, to create secure intelligent model for analyzing customers' behavior using video data in smart shops. The proposed work creates videos of person captured inside the store. Then, customers are detected and tracked over time to extract moving paths. To improve recognition of motion, customers moving around the store are recorded and transformed into a four-dimensional exhaustive DQFT. Next, diagram illustrates customer’s motions inside the store is constructed, where nodes represent places and edges to transfer between nodes. GAT model is tested to examine the graph; also it classifies the behavior of customer into undecided, direct, and snooping. Security layer is utilized for ensuring the privacy through face blurring and characteristic encryption. The outcomes of the model are more accurate than conventional when applied to forecasting behavior in_ store, achieving over 99.1% accuracy in classifying customer behavior compared with CNN and GCN. The suggested framework reaches (recall = 98.2 and FPR = 0.01) in purchasing predicting. The integration of suggested model with security will promote the potential of retail systems employing artificial intelligence.

References

R. Rudro, M. Uddin, M. Aurnob, R. Razzaque, and K. Nur, “Ret-DNN: Predictive analytics in retail—An enhanced deep learning model for customer behavior analysis,” International Journal of Computing, vol. 18, no. 1, pp. 1–14, 2025. https://doi.org/10.12785/ijcds/1571107234

H. Abbasimehr and M. Shabani, “A new methodology for customer behavior analysis using time series clustering: A case study on a bank’s customers,” Kybernetes, vol. 50, no. 2, pp. 221–242, 2021. https://doi.org/10.1108/K-09-2018-0506

R. Altaie and K. Hoomod, “Artificial intelligent management for Internet of Things: A review,” in Proc. 2022 4th International Conference on Current Research in Engineering and Science Applications (ICCRESA), IEEE, 2022, pp. 179–184. https://doi.org/10.1109/ICCRESA57091.2022.10352510

B. A. Haji, M. Hashemi, and A. Naami, “Presenting a process model of cross-buying behavior of Shahr Bank customer electronic services,” Journal of Applied Research on Industrial Engineering, vol. 9, no. 2, pp. 249–263, 2022. https://doi.org/10.22105/jarie.2021.293551.1352

V. Sundararaj and R. Rejeesh, “A detailed behavioral analysis on customer and customer changing behavior with respect to social networking sites,” Journal of Retailing and Consumer Services, vol. 58, Art. no. 102190, 2021. https://doi.org/10.1016/j.jretconser.2020.102190

M. A. Utku and M. Akcayol, “Deep learning based prediction model for the next purchase,” Advances in Electrical and Computer Engineering, vol. 20, no. 2, pp. 35–44, 2020, doi: 10.4316/AECE.2020.02005.

G. Muthuselvi and B. Saravanan, “Clustering-based energy-aware scheduling of smart residential area,” Advances in Electrical and Computer Engineering, vol. 22, no. 1, pp. 95–102, 2022, doi: 10.4316/AECE.2022.01011.

F. Hrebenciuc, N. Stroia, D. Moga, and Z. Barabas, “A low cost approach to large smart shelf setups,” Advances in Electrical and Computer Engineering, vol. 11, no. 4, pp. 117–122, 2011, doi: 10.4316/AECE.2011.04019.

S. S. Abbasi, A. Keramati, and R. Motadel, “Emergence of consumer impulse buying behavior with agent-based modeling approach,” Journal of Applied Research on Industrial Engineering, vol. 9, no. 3, pp. 203–230, 2022. https://doi.org/10.22105/jarie.2021.287633.1329

W. Hao, H. Wang, W. Liang, M. Zhao, and Z. Xiao, “Attention-based joint semantic-instance segmentation of 3D point clouds,” Advances in Electrical and Computer Engineering, vol. 22, no. 2, pp. 19–28, 2022, doi: 10.4316/AECE.2022.02003.

G. Vrahatis, K. Lazaros, and S. Kotsiantis, “Graph attention networks: A comprehensive review of methods and applications,” Future Internet, vol. 16, no. 9, Art. no. 318, 2024. https://doi.org/10.3390/fi16090318

Q. Zhou, X. Lin, and L. Xu, “Bi-directional temporal graph attention networks for rumor detection in online social networks,” Computing, vol. 107, Art. no. 45, 2025. https://doi.org/10.1007/s00607-024-01395-7

M. Molla, M. Obaidullah, S. Sen, G. Weber, and C. Jana, “Developing a predictive model for engineering graduates placement using a data-driven machine learning approach,” Journal of Applied Research on Industrial Engineering, vol. 11, no. 4, pp. 536–559, 2024. https://doi.org/10.22105/jarie.2024.468839.1641

T. Sonmezocak, “Robust human detection using histogram oriented gradient and aggregate channel features,” Advances in Electrical and Computer Engineering, vol. 23, no. 2, pp. 93–100, 2023, doi: 10.4316/AECE.2023.02011.

O. Amine and M. Mestari, “Graph oriented attention networks,” IEEE Access, vol. 12, pp. 47057–47067, 2024. https://doi.org/10.1109/ACCESS.2024.3378094

X. Hu and C. Xie, “Use of graph attention networks for traffic assignment in a large number of network scenarios,” Transportation Research Part C: Emerging Technologies, vol. 171, Art. no. 104997, 2025. https://doi.org/10.1016/j.trc.2025.104997

Z. Wu, Q. Z. Qiping, and C. Chuan, “Intelligent customer service system optimization based on artificial intelligence,” Journal of Organizational and End User Computing, vol. 36, pp. 1–27, 2025. https://doi.org/10.4018/JOEUC.336923

G. Altamirano and C. Gershenson, “Quaternion convolutional neural networks: Current advances and future directions,” Advances in Applied Clifford Algebras, vol. 34, no. 4, Art. no. 42, 2024. https://doi.org/10.1007/s00006-024-01350-x

L. Fan, Y. Wang, H. Zhang, C. Li, X. Huang, Q. Zhang, and X. Xin, “Quaternion wavelet transform and a feedforward neural network-aided intelligent distributed optical fiber sensing system,” Sensors, vol. 23, no. 7, Art. no. 3637, 2023. https://doi.org/10.3390/s23073637

H. Van, V. Hoang, M. Pham, and K. Nguyen, “Improving human action recognition using quaternion discrete Fourier transform in transfer learning,” in Information and Communication Technology: SOICT 2024, Communications in Computer and Information Science, vol. 2351. Singapore: Springer, 2025. https://doi.org/10.1007/978-981-96-4285-4_1

L. Rubing, W. Wang, A. Li, and K. Xu, “Predicting consumer in-store purchase through real-time video analytics: An advanced computer vision and deep learning approach,” SSRN. https://doi.org/10.2139/ssrn.4513385

M. Hu, Q. Li, and H. Zhou, “Improved DNN-assisted customer behavior analysis with smart visual analytics,” Tehnički vjesnik, vol. 31, no. 2, pp. 637–646, 2024. https://doi.org/10.17559/TV-0231129001156

P. Zhu, X. Wang, Z. Sang, A. Yuan, and G. Cao, “Context-aware heterogeneous graph attention network for user behavior prediction in local customer service platform,” 2021. https://doi.org/10.48550/arXiv.2106.14652

F. Xu and S. Qu, “Data mining of students’ consumption behaviour pattern based on self-attention graph neural network,” Applied Sciences, vol. 11, no. 22, Art. no. 10784, 2021. https://doi.org/10.3390/app112210784

P. Venegas, R. Usamentiaga, J. Perán, and I. Ocáriz, “Quaternion processing techniques for color synthesized NDT thermography,” Applied Sciences, vol. 11, no. 2, Art. no. 790, 2021. https://doi.org/10.3390/app11020790

Downloads

Published

2026-11-25

Issue

Section

Articles

How to Cite

A Secure Framework for Analyzing Customer Behavior Using Quaternion Graph Attention Network. (2026). JOINCS (Journal of Informatics, Network, and Computer Science), 9(2), 71-87. https://doi.org/10.21070/mz3s3y50