{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,3,23]],"date-time":"2026-03-23T08:58:13Z","timestamp":1774256293163,"version":"3.50.1"},"reference-count":28,"publisher":"PeerJ","license":[{"start":{"date-parts":[[2026,3,23]],"date-time":"2026-03-23T00:00:00Z","timestamp":1774224000000},"content-version":"unspecified","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":[],"abstract":"<jats:p>In the e-commerce live streaming environment, consumer behavior is highly dynamic and uncertain, coupled with drastic fluctuations in traffic, making accurate demand forecasting a major challenge that traditional forecasting models are unable to handle. This study innovatively developed a hybrid model that integrates Long Short-Term Memory (LSTM) network and Transformer, aiming to significantly improve the accuracy of consumer behavior prediction and provide scientific basis for flexible adaptation and efficient operation of the supply chain. This model deeply explores the temporal evolution patterns of consumer behavior through LSTM, and utilizes the powerful global attention mechanism of Transformer to reveal the intricate correlations between behaviors, achieving accurate characterization and forward-looking prediction of consumer behavior in e-commerce live streaming scenarios. Experimental data shows that the LSTM-Transformer model continues to lead in consumer behavior hit rate, far surpassing similar models such as Bidirectional Encoder Representations from Transformers (BERT) Bidirectional Long Short-Term Memory (BiLSTM) and Multi-Entity Multimodal Fusion (MEMF), demonstrating its excellent predictive performance. Further research has confirmed that the deep integration of LSTM and Transformer is the core of model performance improvement. The synergistic effect of the two greatly enhances the ability to analyze and predict complex and changing consumer behavior. This study not only opens up a new path for consumer behavior prediction in the field of e-commerce live streaming, but also provides valuable practice for intelligent optimization of supply chains, with profound theoretical significance and practical application value.<\/jats:p>","DOI":"10.7717\/peerj-cs.3707","type":"journal-article","created":{"date-parts":[[2026,3,23]],"date-time":"2026-03-23T08:13:14Z","timestamp":1774253594000},"page":"e3707","source":"Crossref","is-referenced-by-count":0,"title":["A hybrid LSTM and transformer model for analyzing e-commerce user behavior and path optimization"],"prefix":"10.7717","volume":"12","author":[{"given":"Shuxin","family":"Yi","sequence":"first","affiliation":[{"name":"School of Economics and Management, Hebei University of Science and Technology, Shijiazhuang, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Wenbin","family":"Zhao","sequence":"additional","affiliation":[{"name":"School of Engineering and Applied Science, University of Pennsylvania, Pennsylvania, United States"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"4443","published-online":{"date-parts":[[2026,3,23]]},"reference":[{"key":"10.7717\/peerj-cs.3707\/ref-1","doi-asserted-by":"publisher","first-page":"145","DOI":"10.1016\/j.trpro.2025.03.057","article-title":"Enhancing e-commerce dynamics through deep learning-based customer demand prediction","volume":"84","author":"Ahmmed","year":"2025","journal-title":"Transportation Research Procedia"},{"issue":"5","key":"10.7717\/peerj-cs.3707\/ref-2","doi-asserted-by":"publisher","first-page":"3408","DOI":"10.12694\/scpe.v25i5.3007","article-title":"IoT-driven hybrid deep collaborative transformer with federated learning for personalized e-commerce recommendations: an optimized approach","volume":"25","author":"Alqhatani","year":"2024","journal-title":"Scalable Computing: Practice and Experience"},{"issue":"8","key":"10.7717\/peerj-cs.3707\/ref-3","doi-asserted-by":"publisher","first-page":"641","DOI":"10.32985\/ijeces.15.8.2","article-title":"Sentiment mining in e-commerce: the transformer-based deep learning model","volume":"15","author":"Alsaedi","year":"2024","journal-title":"International Journal of Electrical and Computer Engineering systems"},{"issue":"15","key":"10.7717\/peerj-cs.3707\/ref-4","doi-asserted-by":"publisher","first-page":"2403","DOI":"10.3390\/math12152403","article-title":"Sentiment analysis: predicting product reviews for e-commerce recommendations using deep learning and transformers","volume":"12","author":"Bellar","year":"2024","journal-title":"Mathematics"},{"key":"10.7717\/peerj-cs.3707\/ref-5","first-page":"385","article-title":"Shopping trajectory representation learning with pre-training for e-commerce customer understanding and recommendation","author":"Chen","year":"2024"},{"key":"10.7717\/peerj-cs.3707\/ref-6","first-page":"393","article-title":"Evaluation of hybrid recommendation system and machine learning algorithms for e-commerce platform","author":"Chitapulla","year":"2023"},{"key":"10.7717\/peerj-cs.3707\/ref-7","doi-asserted-by":"publisher","DOI":"10.48550\/arXiv.2306.14392","article-title":"ContentCTR: frame-level live streaming click-through rate prediction with multimodal transformer","author":"Deng","year":"2023"},{"key":"10.7717\/peerj-cs.3707\/ref-8","first-page":"395","article-title":"Predicting e-consumer preferences for collection and delivery points using deep learning","author":"El Moussaoui","year":"2025"},{"key":"10.7717\/peerj-cs.3707\/ref-9","first-page":"297","article-title":"Review of machine learning and false advertising in live e-commerce: features, motivations, and identification","volume":"1292","author":"Gan","year":"2025"},{"issue":"4","key":"10.7717\/peerj-cs.3707\/ref-10","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1145\/3690393","article-title":"Analyzing and predicting consumer response to short videos in e-commerce","volume":"15","author":"Guo","year":"2024","journal-title":"ACM Transactions on Management Information Systems"},{"issue":"1","key":"10.7717\/peerj-cs.3707\/ref-11","doi-asserted-by":"publisher","first-page":"1737","DOI":"10.12785\/ijcds\/1601129","article-title":"Advanced hybrid recommender systems: enhancing precision and addressing cold-start challenges in e-commerce and content streaming","volume":"16","author":"Hariyale","year":"2024","journal-title":"International Journal of Computing and Digital Systems"},{"key":"10.7717\/peerj-cs.3707\/ref-12","doi-asserted-by":"publisher","first-page":"200523","DOI":"10.1016\/j.iswa.2025.200523","article-title":"Attention-enhanced LSTM for high-value customer behavior prediction: insights from Thailand\u2019s e-commerce sector","volume":"26","author":"Kasemrat","year":"2025","journal-title":"Intelligent Systems with Applications"},{"issue":"7","key":"10.7717\/peerj-cs.3707\/ref-13","doi-asserted-by":"publisher","first-page":"e0327548","DOI":"10.1371\/journal.pone.0327548","article-title":"The design of consumer behavior prediction and optimization model by integrating DQN and LSTM","volume":"20","author":"Liu","year":"2025","journal-title":"PLOS ONE"},{"issue":"1","key":"10.7717\/peerj-cs.3707\/ref-14","doi-asserted-by":"publisher","first-page":"20250110","DOI":"10.1515\/nleng-2025-0110","article-title":"Advanced sentiment analysis in online shopping: implementing LSTM models analyzing e-commerce user sentiments","volume":"14","author":"Lu","year":"2025","journal-title":"Nonlinear Engineering"},{"issue":"1","key":"10.7717\/peerj-cs.3707\/ref-15","doi-asserted-by":"publisher","first-page":"3078","DOI":"10.70153\/ijcmi\/2024.16304","article-title":"Think buy: a scalable, context-rich AI model for personalized e-commerce recommendations","volume":"16","author":"Medisetty","year":"2024","journal-title":"International Journal of Computational Mathematical Ideas (IJCMI)"},{"issue":"2","key":"10.7717\/peerj-cs.3707\/ref-16","doi-asserted-by":"publisher","first-page":"1","DOI":"10.71097\/ijsat.v16.i2.5400","article-title":"Real-time competitor strategy tracking and analysis for e-commerce using AI","volume":"16","author":"Meeranandhini","year":"2025","journal-title":"IJSAT-International Journal on Science and Technology"},{"key":"10.7717\/peerj-cs.3707\/ref-17","doi-asserted-by":"crossref","DOI":"10.1109\/ICAECT63952.2025.10958979","article-title":"Consumer behavior in the post-pandemic era: insights from machine learning and AI-driven analytics","author":"Nimma","year":"2025"},{"key":"10.7717\/peerj-cs.3707\/ref-18","doi-asserted-by":"crossref","DOI":"10.2139\/ssrn.4981128","article-title":"Clickstreamgpt: leveraging clickstream data to predict customer behavior","author":"Precoma","year":"2024"},{"key":"10.7717\/peerj-cs.3707\/ref-19","article-title":"Leveraging deep learning for accurate user journey prediction and revenue enhancement on online platforms","author":"Rani","year":"2025"},{"issue":"4","key":"10.7717\/peerj-cs.3707\/ref-20","doi-asserted-by":"publisher","first-page":"526","DOI":"10.1080\/01969722.2022.2148510","article-title":"Deepsentimodels: a novel hybrid deep learning model for an effective analysis of ensembled sentiments in e-commerce and s-commerce platforms","volume":"54","author":"Venkatesan","year":"2023","journal-title":"Cybernetics and Systems"},{"key":"10.7717\/peerj-cs.3707\/ref-21","first-page":"1292","article-title":"Text understanding and generation using transformer models for intelligent e-commerce recommendations","volume":"13291","author":"Xiang","year":"2024"},{"key":"10.7717\/peerj-cs.3707\/ref-22","doi-asserted-by":"publisher","first-page":"69288","DOI":"10.1109\/access.2024.3399095","article-title":"Exploring consumption intent in live e-commerce barrage: a text feature-based approach using Bert-BiLSTM model","volume":"12","author":"Xiong","year":"2024","journal-title":"IEEE Access"},{"key":"10.7717\/peerj-cs.3707\/ref-23","doi-asserted-by":"publisher","first-page":"114277","DOI":"10.1016\/j.dss.2024.114277","article-title":"MEMF: multi-entity multimodal fusion framework for sales prediction in live streaming commerce","volume":"184","author":"Xu","year":"2024","journal-title":"Decision Support Systems"},{"key":"10.7717\/peerj-cs.3707\/ref-24","first-page":"58","article-title":"Predicting sales in live streaming: an interpretable framework","author":"Yang","year":"2024"},{"issue":"2","key":"10.7717\/peerj-cs.3707\/ref-25","doi-asserted-by":"publisher","first-page":"92","DOI":"10.3390\/jtaer20020092","article-title":"Forecasting sales in live-streaming cross-border e-commerce in the UK using the temporal fusion transformer model","volume":"20","author":"Zhang","year":"2025","journal-title":"Journal of Theoretical and Applied Electronic Commerce Research"},{"key":"10.7717\/peerj-cs.3707\/ref-26","doi-asserted-by":"publisher","first-page":"114470","DOI":"10.1016\/j.dss.2025.114470","article-title":"Product return prediction in live streaming e-commerce with cross-modal contrastive transformer","volume":"194","author":"Zhang","year":"2025","journal-title":"Decision Support Systems"},{"issue":"1","key":"10.7717\/peerj-cs.3707\/ref-27","doi-asserted-by":"publisher","first-page":"24","DOI":"10.1007\/s41019-024-00275-6","article-title":"Identifying e-commerce fraud through user behavior data: observations and insights","volume":"10","author":"Zhang","year":"2025","journal-title":"Data Science and Engineering"},{"key":"10.7717\/peerj-cs.3707\/ref-28","doi-asserted-by":"crossref","DOI":"10.1109\/ICDSIS65355.2025.11070506","article-title":"Multimodal deep neural framework with Bayesian optimization for real-time e-commerce user purchase behaviour prediction","author":"Zi","year":"2025"}],"container-title":["PeerJ Computer Science"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/peerj.com\/articles\/cs-3707.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/peerj.com\/articles\/cs-3707.xml","content-type":"application\/xml","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/peerj.com\/articles\/cs-3707.html","content-type":"text\/html","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/peerj.com\/articles\/cs-3707.pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,3,23]],"date-time":"2026-03-23T08:13:17Z","timestamp":1774253597000},"score":1,"resource":{"primary":{"URL":"https:\/\/peerj.com\/articles\/cs-3707"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,3,23]]},"references-count":28,"alternative-id":["10.7717\/peerj-cs.3707"],"URL":"https:\/\/doi.org\/10.7717\/peerj-cs.3707","archive":["CLOCKSS","LOCKSS","Portico"],"relation":{},"ISSN":["2376-5992"],"issn-type":[{"value":"2376-5992","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,3,23]]},"article-number":"e3707"}}