A Hybrid BERT–BiLSTM Framework for Predicting Consumer Purchase Intentions in Digital Commerce
P. MageswariAssistant Professor, Department of Computer Science and Engineering, J.J. College of Engineering and Technology, Tiruchirappalli, Tamil Nadu, India. mageswarip@jjcet.ac.in0009-0004-1702-5244
Dr.G. AgilaAssociate Professor & Head, PG & Research Department of Commerce, Sri Ramakrishna College of Arts & Science, Coimbatore, Tamil Nadu, India. agila@srcas.ac.in0000-0002-8266-055X
Dr. Neelabh SaoAssociate Professor, Department of Computer Science and Engineering, Rungta College of Engineering and Technology, Rungta International Skills University, Bhilai, Chhattisgarh, India. neelabh.sao@rungta.org0000-0003-4110-6293
V. MurugesanHOD & Associate Professor, Department of Computer Science, VLB Janakiammal College of Arts and Science, Coimbatore, Tamil Nadu, India. murugeshvlb2020@gmail.com0000-0002-9773-7185
Dr.G. ChandramowleeswaranAssociate Professor, Department of Business Administration, Vel Tech Rangarajan Dr. Sagunthala R&D Institute of Science and Technology, Chennai, Tamil Nadu, India. mowleehul@gmail.com0000-0002-1293-1043
Dr. Nidhi MishraAssistant Professor, Kalinga University, Naya Raipur, Chhattisgarh, India. ku.nidhimishra@kalingauniversity.ac.in0009-0001-9755-7950
Predicting whether the visitor of an online store is going to make a purchase plays a crucial role in personalized marketing, dynamic pricing, and inventory management. Conventional prediction techniques are based on manually extracted clickstream features and bag-of-words textual features, ignoring the information conveyed in the language used for writing, reading, and searching. This paper proposes a novel hybrid architecture consisting of BERT encoder and BiLSTM network. The former provides context-aware representations of reviews, queries, and products' descriptions; the latter takes into account their sequential order in both directions; then a pooling layer based on additive attention computes a session vector, which together with a dense representation of behavioral features feeds a sigmoid classifier with a weighted cross-entropy loss function. Derivations for each individual component such as the scaled attention mechanism, the gated recurrence mechanism, the attention pool and gradient of the weighted loss function are provided along with a complexity analysis, a workflow and an algorithmic approach. When tested on a separate test set consisting of 18,000 sessions, the proposed framework achieves a 93.8% accuracy, 90.8% F1-Score, and a 0.971 Area Under the ROC Curve (AUC) score, better than tree-based, convolutional, BiLSTM and BERT frameworks individually, and ablation study helps quantify the significance of each component.