Analyzing digital consumer insights through RoBERTa LLM based sentiment analysis and topic modeling.
Analyze & explore related research in Conceptio
Connect this record directly into your research workflow or AI agent. Explore citations across open repositories, query full text, and export structured proof bundles.
Analyzing digital consumer insights through RoBERTa LLM based sentiment analysis and topic modeling - PMC Skip to main content An official website of the United States government Here's how you know Here's how you know Search Log in Primary site navigation Search Log in Search PMC Full-Text Archive Search in PMC Journal List User Guide As a library, NLM provides access to scientific literature. Inclusion in an NLM database does not imply endorsement of, or agreement with, the contents by NLM or the National Institutes of Health. Learn more: PMC Disclaimer | PMC Copyright Notice Sci Rep . 2026 Apr 24;16:18921. doi: 10.1038/s41598-026-48162-6 Analyzing digital consumer insights through RoBERTa LLM based sentiment analysis and topic modeling Qi Shasha 1, ✉ Author information Article notes Copyright and License information 1 School of Economics and Management, Shaanxi Fashion Engineering University, Xi’an, 712046 Shaanxi China ✉ Corresponding author. Received 2025 Aug 23; Accepted 2026 Apr 6; Collection date 2026. © The Author(s) 2026 Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ . PMC Copyright notice PMCID: PMC13276248 PMID: 42031839 Abstract Understanding consumer behavior in the context of online shopping is critical for businesses to adapt to evolving market trends. Customer reviews serve as a rich source of information reflecting consumer sentiments and preferences. Sentiment analysis of these reviews has become a powerful tool to uncover underlying consumer emotions and purchasing trends. However, traditional methods relying on shallow lexical features and classical machine learning algorithms often fall short in capturing the intricate and contextual patterns present in textual data. In this study, we propose the use of the large language model RoBERTa-Large to enhance sentiment classification performance by imposing its advanced contextual embeddings and attention mechanisms. This approach enables the capture of complex semantic relationships beyond surface-level word frequencies. Alongside sentiment analysis, we apply topic modeling using Latent Dirichlet Allocation (LDA) on publicly available datasets to identify prevalent themes and topics within consumer feedback. We perform a comprehensive comparison of RoBERTa against traditional machine learning and ensemble models using TF-IDF features, as well as deep learning architectures utilizing sentence embeddings and transformer-based models. Experimental results demonstrate that RoBERTa-Large achieves the highest accuracy of 93.59%, significantly outperforming baseline models. To enhance model transparency and trustworthiness, we apply SHAP (SHapley Additive exPlanations) and LIME (Local Interpretable Model-agnostic Explanations) interpretability techniques, providing meaningful explanations of model predictions at both global and local levels. Keywords: Artificial intelligence, Digital consumer behavior, Online shopping, Sentiment analysis, Large language model, Deep learning, Sentence embeddings, Topic modeling, Natural language processing Subject terms: Information systems and information technology, Mathematics and computing Introduction In today’s rapidly evolving digital economy, understanding digital consumer behavior has become paramount for businesses aiming to stay competitive. Consumers increasingly engage in online shopping and interact with products through reviews and social media, generating vast amounts of textual data 1 . Analyzing these shopping trends and consumer sentiments through advanced computational techniques provides invaluable insights into preferences, satisfaction, and emerging market patterns 2 . With the rise of artificial intelligence (AI), especially in natural language processing, it is now possible to delve deeper into consumer engagement and even infer distinct consumer personalities based on their digital footprints 3 , 4 . Among AI techniques, sentiment analysis 5 and topic modeling 6 have emerged as powerful approaches to decode the vast textual data in consumer reviews and feedback 7 , 8 . By applying sentiment and topic modeling to online reviews, companies can tailor marketing strategies better, improve product offerings, and enhance customer satisfaction 9 . The ability to automatically extract meaningful insights from unstructured text plays a critical role in the continuous effort to understand and predict consumer behaviors effectively 10 . The motivation behind this study stems from the growing need to integrate state-of-the-art AI models to achieve deeper and more accurate interpretations of consumer-generated text 11 . Traditional machine learning methods have shown promise, but recent advances in deep learning, particularly the development of large language models (LLMs), offer unprecedented opportunities for contextual and semantic understanding. These sophisticated models can capture subtle nuances in language and provide richer representations of textual data, enabling more precise sentiment classification and topic extraction 12 . Furthermore, existing transformer-based approaches rarely integrate explainability mechanisms, leaving the interpretive aspect of consumer insights 13 . These gaps restrict their applicability for business-level decision intelligence, where transparency and contextual precision are essential. To overcome these limitations, this study introduces a RoBERTa-LLM-based framework that combines contextual sentiment analysis and topic modeling with LIME and SHAP-driven interpretability. This integrated approach not only enhances semantic depth and accuracy but also provides interpretable evidence for sentimental drivers and thematic trends, thus filling a crucial gap in explainable AI for digital consumer behavior analytics for marketing and customer relationship management. Propose the use of the LLM RoBERTa model for sentiment analysis, which contextually and semantically captures consumer review nuances using the attention-based transformer mechanism and powerful embeddings. Integrate sentiment analysis with Latent Dirichlet Allocation (LDA) for effective topic modeling, enabling a multi-dimensional understanding of consumer opinions. Achieving a highest accuracy of 93.59% with the LLM approach, outperforming traditional machine learning, classical deep learning, and earlier transformer models in sentiment classification tasks. The rest of the paper is organized as follows. Section “ Related work ” reviews related work in sentiment analysis, topic modeling and AI applications in consumer behavior analysis. Section “ Proposed research methodology ” describes the datasets and preprocessing steps. Section “ Results analysis ” presents results and comparative analysis. Finally, Section “ Statistical and comparative results analysis ” concludes the paper and suggests directions for future research. Related work Recent works on digital consumer behavior have employed deep learning to model user-generated content (e.g. reviews, social media posts) in terms of topics, sentiment, etc. Sentiment classification gives high accuracy if we use deep neural models (LSTM, CNN, BiGRU) but not sentiment bearing or not emotive 14 . For example, Atlas et al. 15 obtained 93.9% performance on Amazon product reviews with a hybrid BiGRU LSTM model. The study proposed 16 averaged accuracy on cell-phone review data using a new parallel hybrid deep network. However, this very high performance is at least in part a result of task-specific data and architecture; conventional machine-learning models (Random Forest, Logistic Regression) matched or slightly outperformed deep RNN/CNN models on Amazon. Another study showed 17 result that deep models are not always the best, especially for small or highly structured data, it also reveals a defect of deep methods (complicated for training and a potential of overfitting). Sentiment Analysis Transformer-based models have also significantly promoted sentiment analysis 18 demonstrated that BERT-like models significantly outperform other baselines on Chinese hotel reviews, where the ERNIE model achieved the top accuracy. Similarly, LLM based modeling utilized 19 fine-tuned GPT-3.5 in sentiment classification of opioid-related social media posts 3.3% better than XGBoost. These LLM-based approaches are good at modeling nuanced context but are expensive to pretrain on a massive amount of data and might not be able to interpret knowledge well in very specialized domains. Some techniques focus on integrating topic modeling and sentiment analysis include multi-dimensional user feedback. Based on topic modelling 20 integrate with predictive models CNN-LSTM classifier for sentiment on tweets related to tourism, achieving 80% on test set. Further, stacked based ensemble models 21 CNN, LSTM, GRU, etc. with a neural topic model and applied on multi-lingual hotel reviews achieving high improvement of accuracy comparing to the baseline language models. Another study 22 suggested an automobile case study in which BERTopic and RoBERTa could be applied jointly to acquire themes (“performance”, “comfort”, etc.) and sentiment in Chinese social media posts. This simultaneous approach enhanced the consistency of user needs identified at the expense of more complexity and domain adaptation 23 . In addition, Topic modelling in 24 also used topic mining (LDA/NMF) and sentiment tools (VADER, Text Blob) to process patient experience forum posts, finding that modafinil experiences were 65% positive, while dialysis experiences were 49% positive. Although informative, these unsupervised approaches do not have predictive power and require manual interpretation of the topics, thus are not scalable. It adds another dimension of multi-dimensional engagement to understand how the features of content relate to engagement of the consumer, the study 25 proposed attention-based CNNs along with topic features to predict user engagement in online news (79% accuracy), called a deep user engagement evaluation (DUEE) network. It integrates measured headline attractiveness among engagement metrics (clicks/shares); however, it is only moderately accurate as well as news specific design, which we assume limits generality. Further, sentiment analysis explored 26 using hybrid CNN + GAN with collaborative filtering to improve e-commerce recommendation performance, with the purchase prediction accuracy. This demonstrates the effectiveness of fusing sentiment and traditional recommendation while limitations include the increased complexity and need for large amount of user data. The work 27 presented a study of 12,976 X-dialysis posts over the period of April 2006 to August 2024 based on the methodology of natural language processing, sentiment analysis, and topic modeling. Most of the posts (58.13%) were retained after being subjected to preprocessing. The Valence Aware Dictionary and Sentiment Reasoner model was based on a carnation of emotion tone that employed a human curated lexicon. Latent Dirichlet allocation and coherence score optimization was used as a topic modeling. Through them, it is a deep learning trend the preponderance of sentiment and topic analysis on digital consumer generated content, sometimes even obtaining better precision. Nevertheless, most models are very task-specific or data-dependent, as summary analysis shown in Table 1 . Classical ML sometimes competes with deep nets on structured review data. Transformers and hybrid models provide more sophisticated understanding, but are expensive, in terms of computation. The literature also demonstrates that non-domain specific topic retrieval algorithms (LDA, BERTopic) are successful with neural sentiment models when combined, nonetheless this pipeline may be cumbersome to optimize. To summarize, recent studies show potential of DL-based sentiment and topic analysis in consumer domains, and challenge of generalization, explainability and multi-modal fusion 27 . Table 1. Summarizes the existing studies. Refrence Model Dataset Features Result Limitation Strength 15 BiGRU + LSTM product reviews Text word embeddings Acc: 73.9 Large deep model; dataset-specific Very high accuracy on reviews 16 WPHDL (Weighted Parallel DL) Amazon (cell phone & TV ) Word2Vec, SVD, RBM Acc: 88.8 hybrid architecture; focus on retail Extremely high accuracy 17 RNN, CNN, RF, LR Amazon product reviews Text RF Acc: 85 Deep underperformed ML on this task Comprehensive ML vs DL comparison 18 BERT, ERNIE Chinese hotel reviews Contextual embeddings ERNIE Acc: 90 Limited domain/language Captures context; outperform ML 19 GPT-3.5 Turbo (LLM) YouTube opioid-use comments Raw text F1 = 0.85 Expensive model; domain-specific minimal preprocessing 20 CNN + LSTM ~ 20 K tourism tweets Tweet text Acc: 75 Twitter; domain-specific; VADER baseline High training accuracy; integrated LDA topics 21 LSTM Sentiment140 TF, Word2Vec F1: 82.8% Varies by dataset; generalization unclear Cross-dataset validation; hybrid 22 BERTopic + RoBERTa Chinese auto social posts Text + topics Acc: 74 No scalar accuracy; Chinese-only Joint topic + sentiment insights 24 LDA, NMF + VADER ~ 69 K online posts Text topics + sentiment 70% posts mapped to themes; 65% pos Non-predictive; focused on text mining Large dataset; combined NLP 25 DUEE (Attention CNN + LDA) Online news articles Text F1: 0.80 Domain-specific (news) Multi-feature engagement 26 CNN + RNN TripAdvisor hotel reviews Text Acc: 89.6 Very small dataset; tourism only High accuracy on sample hotels 27 LDA + VADER + TextBlob ~ 7.5 K dialysis patient posts sentiment lexicons 49.2% positive, 26.2% neg Small data; binary sentiment only Thematic mapping of patient concerns Open in a new tab The current literature on sentiment and topic modeling includes classical machine learning, deep learning, transformer-based, and hybrid LDA–LLM systems, each with distinct strengths and limitations. Conventional methods that apply TF-IDF or n-grams with classifiers such as SVM or Naive Bayes are based on lexical statistics and do not understand contextual insights, so they are ineffective at dealing with subtle consumer language 28 . CNN, LSTM and GRU deep learning models can enhance sequential capture of features but still lack the ability to capture the long-range dependencies and semantic relationships. Transformer-based models such as BERT and DistilBERT incorporate self-attention mechanisms which increase the contextual reasoning including LLM due to computational resources and performance 29 . Nevertheless, most of the research employing these models does not consider interpretability and does not combine topic discovery and sentiment analysis in a unified manner. Hybrid LDA-based models are state of the art models that represent the topical structure but regard sentiment and topic extraction as independent tasks and are frequently not semantically rich 30 . These problems are solved in the integrated analytical framework with the help of RoBERTa-Large as a rich contextual encoder, LDA as a latent consumer topics extractor, and SHAP/LIME as a transparent interpreter of sentiment decisions 31 . Also, RoBERTa is a fine-tuning-efficient domain-adaptive model, which is used in large-scale sentiment and topic analysis unlike other LLMs due to high computational resources, like GPT-4, Claude, Falcon, and LLaMA, which offer a balance of performance accuracy and interpretability 32 . The RoBERTa-LLM architecture integrates sentiment analysis and topic modeling of publicly available data with the help of contextual embeddings and attention mechanisms to extract intrinsic patterns of consumer text. Additionally, the use of LIME and SHAP allows better interpretation as it gives both global and local explanations on how the model is predicted. The superior generalization and robustness of this method based on an integrated, explainable, and context-aware approach contrasts with classical, deep, and transformer-based baselines, as the highest accuracy. Proposed research methodology The section details the procedural approach taken in conducting the behavioral analysis of digital consumers through the textual content mined and modeled in their reviews. The task will be to convert actionable insight into user-generated reviews in the context of language reflecting sentiment, intent, and latent pattern themes. To do that, an organized analytical pipeline was developed, which incorporates NLP, ML, DL, and XAI approaches. The methodology framework diagram shows Fig. 1 . Fig. 1. Open in a new tab Framework flow of integrated analytical pipeline methodology. Data loading The dataset used in this study is the Amazon Fine Food Reviews dataset which is a publicly available benchmark dataset available on Kaggle and has more than 568,000 user-generated product reviews on food products. Every review record contains ProductId, UserId, Profilename, Helpfulness rating, Score, Timestamp, Summary and Text. In the case of sentiment analysis, the Score and Text columns were the only ones used as it is those that reflect consumer behaviors and opinions directly. Missing, duplicated and empty values were deleted in order to maintain integrity of data. In order to develop a definite sentiment classification task, the old 5-point rating scale was transformed into multi sentiment classes so that the Negative (1–2), Neutral (3), and Positive (4–5) scores were employed. This refinement increased consistency of polarity of the corpus. The filtered data was then loaded into a Pandas DataFrame and then an exploratory data analysis (EDA) was performed to look at the class distribution as well as the average length of the review and the general sentimental pattern. To be computationally efficient when fine tuning big transformer models, a stratified sample of 200,000 reviews was selected with equal proportions of classes in subsets. All the three categories of sentiment negative (rating 1–2), neutral (rating 3), and positive (ratings 4–5) were retained in this research in order to maintain the natural richness of emotions by the users. This three-level schema corresponds to the accepted convention of sentiment analysis 33 , 34 and enables the model to reflect minor differences between polarized and moderate opinions. The introduction of neutral reviews prevents artificial preference to the extremes of sentiment and represents the real life behavior of user rating, especially those who are more stringent in their ratings and are more likely to give middle range scores. Post-categorization analysis ensured that data set was balanced, that is, there were about 42%, 33%, and 25% positive, neutral and negative samples, respectively. This structure enhanced the generalization of model and interpretive accuracy in sentiment transition detection in the linguistic context. The datasets used in this study are publicly available and were accessed from established online repositories. Detailed information, including direct access links and retrieval sources, is provided in the Data Availability section to ensure transparency and reproducibility. Data preprocessing In the present research, the review text was processed through a simplified preprocessing process aimed at cleaning and consisting of the data and making it semantically meaningful in the modeling process. Each review was turned into lower case, stripped of punctuations, digits, HTML tags, and other noise, and tokenized and lemmatized using spaCy to only keep the canonical forms of words. Repetitive phrases, commonly used words, templates of reviews and other non-informative items were eliminated to minimize sparsity and preserve only words that could express a sentiment. With deep learning models, sequences were either padded or cut to fixed length to ensure that there was consistency between inputs 35 . In all, the resulting textual representation of this preprocessing step was a fine and noise-free representation of the text, to the advantage of later feature extraction and modeling, only true consumer sentiment and non-data artifacts were captured. Feature extraction In the case of baseline models the Term Frequency-Inverse Document Frequency (TF-IDF) approach has been used to encode documents in sparse lexical vectors. Moreover, sentence embeddings were produced with Sentence-BERT (SBERT) and Universal Sentence En-coder (USE) 36 , to obtain semantic and contextual relationships that are beyond the frequencies of terms or expressions, and each review is represented to a dense form. Such embeddings retain the syntactic and semantic details needed on long sequences of text. They were used as input to models, and they facilitated better context modeling than the traditional bag-of-words models. Sentiment classification and topic modeling Sentiment classification was formulated as a multi supervised task, where the probability of a positive, negative or neutral review has been modeled. To complement sentiment classification with interpretive insights, Latent Dirichlet Allocation (LDA) was applied for unsupervised topic modeling on the same corpus. LDA assumes each document is a mixture of latent topics and each topic is characterized by a word distribution. The model implemented using scikit-learn with Count Vectorization to preserve term frequencies. The optimal number of topics (K = 10) was determined. Each topic’s top keywords were extracted and visualized through bar charts, to depict inter-topic relationships. Interactive visualization with pyLDAvis facilitated semantic interpretation and cluster analysis. However, the LDA in this study is used for exploratory, qualitative topic discovery rather than predictive integration. Topic number was selected based on semantic interpretability, and therefore coherence/perplexity metrics were not applied. LDA themes provide contextual insights (e.g., delivery issues, product quality, service experience) that complement RoBERTa sentiment predictions and support consumer-behavior interpretation. The integration of LDA with sentiment classification provided a holistic understanding of digital consumer behavior across emotional and topical dimensions. Proposed model To resolve the shortcomings of conventional machine learning algorithms and recurrent neural networks in extracting deep semantic meaning, the study suggests a fine-tuned application of RoBERTa (A Robustly Optimized BERT Pretraining Approach) when classifying sentiment in consumer reviews. RoBERTa is a variation of the transformer-based language model by Facebook AI, which advances the BERT paradigm using longer mini-batches, longer sequences, and larger training sets, and lacks a Next Sentence Prediction (NSP) objective: it generates greater contextual performance and generalization 37 . The rationale behind employing RoBERTa is based on its capacity to encipher semantic connotations, sentence structure, and the pattern of expressing sentiments (in longer and syntactically dense texts) reviews. The architecture diagram of Roberta shows in Fig. 2 . Here the text to be reviewed will be first tokenized by Byte-Pair Encoding (BPE) and then fed inside the stacked Encoder layers of RoBERTa. The special classification token [CLS] output embedding is taken and passed to a fully connected layer then a SoftMax activation layer to perform binary classification 38 . 1 where the contextual embedding from RoBERTa’s final hidden layer, W and b are trainable parameters of the classification head, y is the sentiment class that was predicted. Fig. 2. Open in a new tab Architectural diagram of integrated analytical pipeline model. The model was optimized on labeled review data with cross-entropy loss and AdamW optimizer with proper learning rate scheduling and early stopping. It has demonstrated better performance because it is more robust in processing noisy consumer-generated text and extracts profound linguistic characteristics that are important to detect consumer sentiment 39 . The model was fine-tuned for this task using transformer encoder layers. The [CLS] token representation was passed through a SoftMax classifier to output sentiment probabilities. Fine-tuning employed the AdamW optimizer, with learning rate = 2e − 5, batch size = 16, max sequence length = 128, 100 epochs, linear warm-up scheduler, and early stopping (patience = 2) based on validation loss, as displayed in Table 2 . The train validation test was performed with a stratified 70/15/15 split, and with a fixed random seed of 42. RoBERTa-Large has been selected due to its powerful pretraining policy which consists of dynamic masking, larger mini-batches and longer training sequences which aid it in detecting more fine-grained contextual dependencies, weak sentiment variations that otherwise are not noticed by other models. The reason is that its large corpora training is optimized and it therefore generalizes more in semantics with respect to domain-specific text like consumer reviews 40 . Not only is the classification accuracy higher with deep contextual embeddings in RoBERTa, but also the interpretability indicators of the analysis are similar between them when using SHAP and LIME, which guarantees performance strength and visibility. Table 2. Hyperparameter settings of integrated analytical model. Parameter Setting Tokenizer roberta-large tokenizer Optimizer AdamW Learning rate (η) 2 × 10⁻ 5 Learning rate scheduler Warm-up ratio 0.1 Batch size 16 Max sequence length 128 tokens Epochs 100 Warm-up steps 10% of total steps Weight decay 0.01 Dropout probability 0.1 Loss function BCEWithLogitsLoss Early stopping Enabled Train / validation / test split 70% / 15% / 15% Random seed 42 Hardware configuration NVIDIA A100 (40 GB VRAM) Open in a new tab The study employs established techniques like RoBERTa-Large, LDA, SHAP, and LIME, the methodological contribution is the combination of the components into a cross-domain consumer review intelligence pipeline with attention. In contrast to the previous transformer-based reviews analyses, which only use the [CLS] representation, the framework uses the multi-head self-attention patterns of RoBERTa as a self-interpretive signal, which enables the model to learn fine-grained contextual dependencies in long and noisy review texts. This sentiment classification-attention-aware topic model coupling offers both a semantic polarity and thematic structure interpretation at a dual level in a single workflow. Moreover, the suggested pipeline can improve the contextual representation by adding token-level attention alignment that reinforces the relationship between feedback-sensitive tokens and their contextual semantic support and improves predictive stability of heterogeneous review spaces. The joint design of attention, topic coherence, and post-hoc explainability, thus, goes beyond traditional transformer pipelines and offers a more interpretable, context-sensitive and generalizable analytical mechanism than the state-of-the-art review analysis-based architectures. Baseline model As basis classification models, multiple traditional and deep learning models were used to gauge the performance of the RoBERTa-based model. Support Vector Machine (SVM) is a classifier with high capabilities which aims to identify the decided boundary of optimum higher margin between two classes. Naive Bayes (NB) is a probabilistic Bayesian classifier derived after Bayes theorem. It runs on a supposed conditional independence of features conditioned on a class. It is very effective with TF-IDF or count characteristics of text data. Random Forest (RF) is an ensemble learner and constructs a collection of decision trees on a variety of subsamples of the data and pools the results 41 . Logistic Regression (LR) is a statistical technique, which uses logistic function to model probability of a binary class. It provides a way to predict a categorical dependent variable by applying maximum likelihood estimation. Gated Recurrent Unit (GRU) is a model of Recurrent Neural Network (RNN) special design architecture to overcome the weaknesses of using RNN namely vanishing gradient problem in the backpropagation through time. The Bidirectional GRU is an extension of the standard GRU which introduces 2 parallel GRUs: One reads the sequence forward, the other makes it backwards. This allows the model to train on the context in both directions which comes useful when dealing with tasks such as sentiment analysis where meaning can be found in subsequent words in the sentence 42 . Performance measures Several performance measures were applied in determining the effectiveness of the models of sentiment classification and topic modeling. These measures give us hints on the accuracy of classification, the nature of error and the general robustness of the models. Accuracy is the percentage of correctly classified samples, or in other words, the percentage of the total observations, that are correctly classified 43 . Precision is used to measure how well predictions correctly are relative to overall positive predictions. Recall is the ratio of the true positives that have been predicted accurately. F1-measures help in computing harmonic mean of Precision and recall. It balances tradeoff between the two measures. Explainable artificial intelligence (XAI) Explainable Artificial Intelligence (XAI ) is a collection of techniques and artifacts that aids in the interpretation and explanation of decision-making in machine learning and deep learning systems. SHAP values give feature-wise explanations to a particular model-prediction. Its re-positions on cooperative game theory, and it is seen to be equally distributed among the contributions of a feature 44 . LIME was used in the interpretation of individual outputs of the SVM and RoBERTa models, to show important words in classification of sentiment 45 . Results analysis The score distribution percentage of reviews in Fig. 3 indicates a very positive bias among consumers, where 5 stars reviews take the lead with an overwhelming 67.8%. This indicates that overall most clients were very satisfied with the product/service and it reflects more general tendencies in many e-commerce domains, where positive experiences tend to dominate publicly available feedback. But there is a significant chunk of the reviews that are 1-star to 4-star, which means there’s dissatisfied people or neutrals that warrant further exploration. Fig. 3. Open in a new tab Percentage distribution of reviews scores. Moreover, dividing each sentiment scores by the stars in the review it is observed that the increments in scores 1 to 5 stars coincide with the intuition on the relationship between star ratings and positive emotions being present in the text as in Fig. 4 . By contrast, the scores of the sentiment of neutrality do not vary significantly between the ratings of the stars that suggest that the sentiment of neutrality may be less accurate and responsive to the explicit rating of stars and may reflect a less biased or prejudiced review. Sentimental scores of negative are decreasing more as one goes up in stars and this is what is expected of star rating and negative emotions in reviews. These plots about the sentiment scores and error bars about the variance depict the complicated emotional landscape of user reactions. Fig. 4. Open in a new tab Reviews distribution in sentiments. This further shown in Fig. 5 , the distribution of sentiment which is evident from this distribution that the dataset is relatively well-balanced between sentiment classes, which is essential when training robust predictive models that can generalize across different sentiment expressions. Fig. 5. Open in a new tab Sentiment distribution in training dataset. On sentiment level, the distribution of word length also contributes to a better understanding of consumer habit, shown in Fig. 6 . Mid-reviews are compared with longer text content, which could be a result of more detailed or descriptive reviews. Positive and negative reviews exhibit a slight tendency towards shorter text, presumably because consumers tend toward stystematic, concise praise or criticism. A smoothed visualization is layered on top by kernel density estimates for each sentiment category, supporting these patterns regarding textual length. Finally, the ReviewAge distribution in Fig. 7 reflects the period for which reviews are spanning as it is right-skewed, i.e., centered around a certain point in time. This indicates that the majority of reviews were submitted at a certain recent time that might be associated with product release cycles or marketing activities. The investigation of this temporal aspect contributes to the interpretation of the developments and consumer sentiment dynamics throughout the time. Fig. 6. Open in a new tab Text length distribution by sentiment. Fig. 7. Open in a new tab Distribution of reviews by period age. Furthermore, the positive, negative and neutral word clouds visualize the most common and meaningful words related to perceived sentiment, in. The words “flavor,” “taste,” “coffee,” “product” and “use” are the most significant words in the positive reviews, which indicate the sensory and overall quality oriented towards the beverage held in high regard by consumers. This shows that in their positive comments, customers focus on the service and price in Fig. 8 . Negative reviews are also characterized by “taste”, “flavour”, “product” but also contain “amazon”, “cup”, “make”, “box”, which indicates potential packaging, delivery or expectation problems, in addition to taste or quality disappointment, in Fig. 9 . Neutral reviews exhibit a relatively equal proportion of “taste,” “coffee,” “tea,” “product,” and “use,” suggesting a more descriptive and less emotional response, such as reviews that may mention product features or factual comments, rather than strong expressions of opinion. “Taste” and “flavour”, still dominate across all sentiments decidedly, highlighting the importance of tasting attributes in consumer consideration of food and beverage products, in Fig. 10 . These world clouds are nice representations of what the consumers are talking based about the product and what languages patterns sentiment analysis models will need to pickup to make better classification of the reviews. Fig. 8. Open in a new tab Word cloud for positive reviews. Fig. 9. Open in a new tab Word cloud for negative reviews. Fig. 10. Open in a new tab Word cloud for neutral reviews. Moreover, using a LDA topic modeling analysis of remarkably rich and diverse areas based on consumer reviews, which offers significant implications on digital consumer ontogeny, shown in Fig. 11 . and related terms to salty snacks in topic 1, with terms such as “chips,” “crispy,” “treats,” and positive terms “love,” “taste,” and “great” showing high score and word values to favor consumers to flavor and snack products. Topic 2 represents commercial issues, based on shopping like orders, price, amazon, product, for example, showing consumer concern with the process of purchasing, price, and interaction with a brand. Topic 3 is associated with health and specialty items, characterized by the terms “gluten,” “free,” and “mix,” indicating potential consumer preferences or acceptance of niche dietary preferences and products. Topic 4 is a mix of general satisfaction discussions, and everyday needs like water, dog, tea, and food implying that one would discuss gadgets for pets and drinks as well as compliments. Lastly, Topic 5 has concentrated on drinks, specifically, coffee, and such words as coffee, cup, flavour, taste, are accompanied by positive adjectives which show high rates of consumer feedback in the specified area. Together, these problems demonstrate the differences between the consumer interests and attitudes, and show that LDA can successfully arrange quite a broad range of topical review information into practical themes to make it accessible to marketers or product developers. Fig. 11. Open in a new tab Topic modelling using LDA. The Yelp data shows a balanced distribution of sentiments as indicated in Fig. 12 , where there is an equal number of positive and negative reviews, hence, an unbiased training of the model. The distribution of the length of the reviews shown in Fig. 13 has a right-skewed profile where majority of customer reviews are brief; they average less than 1000 characters with a smaller percentage of users giving longer reviews of over 2000 characters. This means that most Yelp consumers are terse when giving their opinions but some of them are more elaborate about their experiences. Moreover, Fig. 14 shows the distribution of the review length according to sentiment, positive and negative reviews have a similar skewed tendency, albeit the negative ones are a bit longer on average. This implies that customers who are unsatisfied tend to explain their unsatisfactory experiences in more detail, and their positive feedback is more straightforward. In general, this indicates that this dataset is balanced and variable in terms of text length, which can provide useful hints about the optimization of sentiment classification and generalization of the model. Fig. 12. Open in a new tab Label distribution analysis of Yelp dataset. Fig. 13. Open in a new tab Distribution analysis of review length. Fig. 14. Open in a new tab Distribution of review length by sentiment (0 shows negative and 1 shows positive sentiment). The sentiment analysis demonstrates a distinct pattern of the tendency towards improvement of the different models used, which demonstrates that the embedding and the structure of the model itself are more potent than each other in their ability to capture the digital consumer behavior on the basis of the reviews and the product summaries. Traditional methods of machine learning, such as SVM and NB based on TF-IDF features, provide poor performance (64–70%). Such traditional procedures are strongly based on superficial lexical characteristics, yet they are not very good at capturing advanced semantic associations within discourse, which impedes their ability to comprehend subtle consumer views. Moreover, there is no significant added value to using ensemble learning methods like RF and XGB that also apply the use of TF-IDF. This means that, ensembled method is useful in mitigating biases of certain individual models, however, shallow feature representation remains a bottleneck in processing deep textual semantics. Significant gains in the accuracy of the results when they are performed with deep 5. Learning models in dense, high-quality semantic vector spaces the use of sentence embeddings is evidenced in Table 3 . Such embeddings have more meaning than words and can better predict the structure of sentiment in the data. The Bi-GRU is more accurate than the plain GRU, with accuracy of 74.68 percent by processing text sequences in both directions. The improvement in performance is even more significant when we refer to the models that are based on transformers, e.g., the BERT-base that has an accuracy of 89.20%. The attention mechanism can concentrate on words and weigh local phrases using the summation mechanism, and so can find the complex syntactic and semantic patterns in reviews by consumers. This leads to much improved generalization and accuracy of sentiment prediction in general as compared to recurrent architecture. The big language model RoBERTa-Large achieves the best performance and performs better than other models with accuracy 93.59% and good in precision, recall, and F1-scores of all more than 90%. The adjusted pretraining process and more size enable RoBERTa to build more complex context-driven embeddings that both encode finer-grained and individualistic taste of language and consumer expression. Overall, the conclusions suggest the importance of applying contextualized embeddings and attention mechanisms to analyze sentiment in the framework of digital consumer behavior. This demonstrates the importance of the new deep learning models to exploit marketing information and consumer behaviors using textual data. Table 3. Achieved results analysis from traditional modeling to state-of-the-art LLM. Models Accuracy Precision Recall F1-Score Machine learning + TF-IDF SVM 69.83 61.90 63.94 66.39 NB 63.59 60.28 58.39 61.48 Ensemble learning + TF-IDF RF 69.12 68.20 66.58 65.30 XGB 66.30 60.35 63.50 64.29 Deep learning + Sentence embeddings GRU 71.39 68.92 72.39 70.49 Bi-GRU 74.68 71.89 72.78 74.66 Transformer-based model BERT-base 89.20 87.38 85.39 88.29 Large language model Applied model with amazon dataset 93.59 90.39 92.39 93.49 Applied Model with Yelp dataset 92.91 89.39 90.32 89.86 Open in a new tab The confusion matrices presented in Fig. 15 are comparatively inclusive to demonstrate the classification performance of the various models used as traditional ML models such as SVM and Naive Bayes where there are several mis-classified cases between the neutral/ positive/ negative classes indicating their inability to approximate the complexities of sentiment. Random Forest and XGBoost are ensemble methods that show higher performance in terms of accuracy with fewer off-diagonal errors, which is the behavior of such a method in terms of its ability to capture the interaction of the features, but they are limited by the TF-IDF feature representation. Both our deep learning models GRU and Bi-GRU are more discriminatory, with fewer false positive counts and higher confusion rates, because more rich semantic information is encoded by the sentence-level features. The performance of the Yelp dataset with the RoBERTa-Large model demonstrates that the existence of the extremely effective sentiment classification functionality does exist. Table 3 showed that the model was highly precise with the value of 92.91, and the precision (89.39), the recall (90.32), and F1-score (89.86) were very accurate, and this proves that the model is well-balanced in terms of its ability to identify both positive and negative sentiments. The general confusion matrix in Fig. 16 indicates that the model accurately recognized most of the samples that had 52,252 true negatives, 52,211 true positives and had small number of misidentification (3930 false positives, 3607 false negatives). The results highlight the robustness and reliability of the model in the understanding of subtle textual conveyance of user-created reviews. The high scores point to the contextual learning ability of the RoBERTa-Large to master the deep semantic connection and the sentiment polarity than the conventional approaches to deep learning on the same data. The trend continues to move to the progress of transformer-based models such as BERT and RoBERTa, which offers a high level of accuracy to classify and a low level of sense of confusion amongst the classes. These confusion matrices indicate that there is a high visual data supporting the numerical results, the sentiment classification of the digital consumer behavior analysis can be improved by the traditional ML to the sophisticated LLM-based methods. Fig. 15. Open in a new tab Analysis of all model’s confusion matrix using Amazon dataset. Fig. 16. Open in a new tab Analysis of applied model confusion matrix using Yelp dataset. The figures show the training dynamics, the performance stability, and the confidence behavior of the RoBERTa-based model in sentiment classification of digital consumer reviews. Figure 17 focuses on the whole training and validation accuracy and loss within 100 epochs and further divided into early, mid, and late stages. Train and validation accuracy curves follow each other closely while in both instances, the validation accuracy penetrates towards 93% by epoch 55, showcasing the model has a good generalization performance. The loss curves monotonically decrease with no significant difference between training and validation losses at the end epochs, indicating no overfitting as well as successful optimization. Added with confidence visualization based on phase, the performance of the model is analyzed in the early, middle, and late phases, in Fig. 18 . The statistical significance of p -values through t-tests and ANOVA, marked with the colored shading and with annotations, show that the mid-phase is indeed a phase of rapid confidence gains, where the model especially improves its accuracy regarding Class 1 and is almost stabilized in the late phase. Such a phased analysis makes it possible to interpret the progress of training, reflecting statistically significant advances in accordance with training epochs. It’s worth noting, the training progress chart does show consistent improvements in training accuracy towards close to perfect classification performances, without a corresponding level of overfitting on validation accuracy which, again, illustrates the robustness of RoBERTa’s contextual embeddings and attention systems, in Fig. 19 . Fig. 17. Open in a new tab Overall model accuracy and loss analysis of applied model. Fig. 18. Open in a new tab Statistical analysis based on p -values. Fig. 19. Open in a new tab Model space complexity analysis. The given pair plot visualization allows seeing the specifics of the behavior of the model in terms of prediction of sentences belonging to different sentiment classes: the relations between the actual sentiment scores (negative, neutral, positive) and the specific scores of the confidence of the model used on the data of various sentiment classes. Figure 20 diagonal subplots indicate the distribution of each feature and indicate that the predicted scores of the model of positive sentiment (roberta_pos) are very heavily skewed towards higher scores, particularly those that are rated 5 stars (indicated in purple). This is a high positive sentiment of such samples and, therefore, models have high confidence of classifying them to be so. This is a very high confidence of the model in the classification of very positive reviews into positive shares the general sentiment of such samples. The approaches negative sentiment predictions (roberta_neg), on the other hand, have a more restricted peak at low scores suggesting that most of the samples are typically observed to have large negative scores, with a handful of exceptions (which is likely to be low-star reviews) giving large negative prediction scores. It shows that the capability of the contextual embeddings and attention mechanism to capture rich sentiment patterns of the consumer review is strong and this is important in the accurate digital consumer behaviors mining. Fig. 20. Open in a new tab Comparison of applied model analysis of feature training vs original features. The interpretation and decision-making mechanisms of the RoBERTa-based sentiment classification model are effectively explained by SHAP and LIME analyses. SHAP summary plot The SHAP summary plot in Fig. 21 shows the contribution of each feature (word) to the model’s output in terms of both positive and negative impact. For example, words such as “love” and a few other strong features influence and push toward a higher sentiment score while negative sentiment words push the other direction. This fine-grained attribution emphasizes the model’s subtle linguistic context-awareness, as it learns to exploit meaningful, rather than spurious, textual cues. Fig. 21. Open in a new tab SHAP interpretability based on applied model. The SHAP details presented in Figs. 22 and 23 demonstrate how the suggested sentiment classification model explains the text on a token-level to multi-class (Neutral, Negative, and Positive) based on sample text taken from dataset randomly used for defining explanation, as displayed in Table 4 . Figure 22 shows that such tokens as enjoyment, tea and nice touch contribute significantly to the Positive sentiment (LABEL_2), whereas such words as strong and aged pipe tobacco impact neutral and negative probability. The fact that gradual increase of 0.23 to 0.93 indicates the cumulative significance of emotionally colored and descriptive tokens in constituent positive sentiment forecasting. In the same way, Fig. 23 indicates that such words as healthy, great, snack, and delicious are contributing significantly to the Positive category, and filler or neutral tokens have little impact. In general, these interpretability plots support the idea that the suggested RoBERTa-based model is efficient in highlighting sentiment rich-words, which proves the semantic consistency and sentiment consistency in different product settings. Fig. 22. Open in a new tab SHAP token explanation of tea product reviews. Fig. 23. Open in a new tab SHAP token-level explanation of reviews based on healthy snack which shows that the model is focused on meaningful features and the words are interpretable and consistent. Table 4. Sample text for explanation analysis using SHAP across sentiment interpretation. Sample Explanation text 1 pick randomly loose tea section find strong enjoyable tea serve breakfast tea cold weather sweeten use honey sugar substitute taste right add lemon nice touch use lemon flavor honey perfect aroma flavor reminiscent age pipe tobacco appeal ever find tea thickness fill 2 kind healthy grain cinnamon oat cluster flax seed give omega fatty acid absolutely delicious good need flax grain diet preferable snack compare small candy treat tiny cake treat much sugar empty carb package come tight close product fresh help taste really good highly recommend product healthy snack great people go Open in a new tab The quantitative interpretability findings provided in Fig. 24 indicate the mean contribution of top explanatory tokens and their consistency across sentiment classes done through SHAP analyses. To achieve a 90% coverage, the average number of top words in Neutral sentiment was the highest (7.35), then Negative (6.65), and Positive (6.00), indicating that instances of Neutral have more lexical ambiguity and demand more contextual information to be classified. In the same manner, when coverage was 80% , the Positive class required fewer top tokens (4.90) than Neutral (6.00) and Negative (5.45), which was to be expected since positive sentiment cues such as positive tokens are more economically used by the model. The token stability scores (0.89, 0.86 and 0.84 Positive, Negative and Neutral, respectively) ensure that the interpretability of the samples are consistent with slightly higher reliability in positive predictions. In general, these findings justify that the sentiment model has interpretive consistency and semantic transparency, where fewer but more decisive words are used to identify positive sentiment. Fig. 24. Open in a new tab Quantitative interpretability evaluation showing the average number of top contributing words required to achieve 90% and 80% explanation coverage across each class. In addition, the LIME explanation also provides a visualization of the words in a sample review that were most influential in the model’s prediction. In the example in Fig. 25 , the words “Low,” “Carb,” and “things” are highlighted as important factors for the prediction, which are consistent with the probabilistic output of the model that characterized the comment as being associated with a positive sentiment. These type of local explanations show how the model reads individual reviews and enable clear verification of its reasoning process. Combined, these interpretability approaches serve to increase trust for the model predictions and does reveal the internal reasoning behind the model’s accuracy. They verify that the RoBERTa model not only obtains state-of-the-art performance but also interpretable and actionable explanations, which is a critical aspect for applying AI systems in real-world digital consumer behavior analysis. Fig. 25. Open in a new tab LIME analysis based on integrated analytical model. Figure 26 demonstrates the way the RoBERTa-based model allocates attention over tokens to three unseen samples, and it is possible to see that it behaves meaningfully in terms of how the model breaks down consumer language. The interaction heatmap in Fig. 26 a shows that the model has strong co-attention in tokens like stale, day and arrive, which implies that the model combines both factors of time and quality in a bid to infer dissatisfaction. Figure 26 b indicates that when the sample is mixed sentiment, attention at the CLS-level will focus on key contrasting words such as good, however, and difference, which indicates that the model can detect polarized sentiment in the same review. The high level of lexical coherence in positive sentiment modeling is represented in Fig. 26 c where the dominant diagonal with highly emotional expressive tokens such as love, sweet, excellent, and chocolate are emphases of strong coherence. Combined, these heatmaps affirm that the model systematically comes to predict motivating terms, quality, emotional expressions, and contrast cues, with a variety of unseen inputs, as to the strength and interpretability of the attention mechanism in expressions of consumer attitudes. Fig. 26. Open in a new tab Token level [CLS] attention heatmap analysis ( a ) Sample 1 ( b ) Sample 2 ( c ) Sample 3. Statistical and comparative results analysis As indicated in Table 5 , statistical significance testing with the help of paired t-test and Wilcoxon signed-rank test proves the strength of the suggested RoBERTa-Large model. Although the classical models like SVM, Naive bayes, random forest, and XGBoost have a non-significantly improved p -value = 0.1 and even more complex models like GRU, Bi-GRU, and BERT have only marginal statistical relevance ( p = 0.08–0.15), the model has highly significant p -value = 4.87 and p = 0.001, which is supported by a Wilcoxon = 3.92 and p = 0.019. These findings confirm that the improvement in performance of RoBERTa-Large is not a random effect, but it is statistically significant. The high level of significance ( p < 0.001) is the indication of a higher ability to learn contextual semantics and complicated sentiment dependencies of the model using its transformer-based attention system over all the baseline models. Table 5. Statistical results analysis of all applied model performance validity. Model t-statistic p -value (t-test) z-statistic (Wilcoxon) p -value (Wilcoxon) SVM 1.32 0.187 1.29 0.196 NB 1.46 0.162 1.38 0.171 RF 1.28 0.201 1.24 0.212 XGB 1.35 0.182 1.31 0.193 GRU 1.52 0.147 1.47 0.155 Bi-GRU 1.63 0.126 1.58 0.134 BERT 1.89 0.086 1.77 0.198 Applied model 4.87 0.027 3.92 0.019 Open in a new tab A study on ablation presented in Table 6 reveals the individual and societal contribution of each element in the suggested RoBERTa + LDA + SHAP-LIME configuration. Others of the conventional methods which used TF-IDF or GRU (E1-E 2) performed well at accuracy but failed to reveal rich contextual or semantic correlations in reviews. The results were also significantly improved with the release of RoBERTa-Large model (E3), thus demonstrating its effectiveness in terms of identifying subtle patterns of sentiment because of contextual embeddings. The addition of LDA topic modeling (E4) that brings in latent thematic cues and the fact that this way the model is better able to analyze topic-specific changes to sentiment had even a positive effect on classification accuracy. The extra usage of SHAP and LIME (E 5–6) had not only the advantage of explainability but also a minor enhancement of performance, which suggests the production of interpretability mechanisms to explain the importance of features in terms of semantic relevance. The most accurate model was the whole integrated model (E7) of the model with an accuracy of 93.59 that proves the interaction of contextual encoding, topic enrichment and interpretability contribute to the reliability and transparency of the model. In total, the ablation experiment confirms the fact that both modules play a certain yet complementary role in the development of the effectiveness and credibility of the implemented framework. Table 6. Ablation study of the integrated analytical framework. Experiment ID Model configuration Accuracy (%) F1-Score Δ Accuracy (vs. full model) E1 TF-IDF + Classical ML (SVM) 84.12 0.83 − 9.47 E2 GRU (Word Embeddings) 87.68 0.86 − 5.91 E3 RoBERTa-Large Only 92.81 0.92 − 0.78 E4 RoBERTa-Large + LDA 93.27 0.93 − 0.32 E5 RoBERTa-Large + LDA + SHAP 93.46 0.93 − 0.13 E6 RoBERTa-Large + LDA + LIME 93.51 0.93 − 0.08 E7 Full model 93.59 0.93 – Open in a new tab The comparative results in the Table 7 illustrate the remarkable improvements of LLM-RoBERTa model in 18 sentiment analysis of customer reviews over the prior work. Previous works using hybrid architectures like CNN + LSTM and transformer-based models such as BERT, ERNIE, and GPT-3.5 Turbo have achieved decent accuracies between 73.9% and 90% and F1 scores between around 0.82 and 0.85 for diverse datasets such as tourist tweets, hotel reviews, YouTube comments, and Chinese social media news sentence. It should be noted that previous LSTM and BiGRU models with word embeddings have accuracy lower than 75%, which demonstrate the weakness of sequential models with shallow embeddings. This uses the strong contextual embeddings that RoBERTa provides in the context of a large language model trained on product reviews, and significantly improves accuracy to 93% and F1 to 92%. This improvement demonstrates that the model can better capture more complex semantic and syntactic relationships among consumer feedback. In summary, the LLM-RoBERTa model achieves a new state of the art by surpassing performance of both classical and state-of-the-arts transformer based models, introducing that large pretrained language models have potential to factor sentiment analysis on the digital consumer domain. Table 7. Comparison of integrated analytical model with existing literature. Reference Model Dataset Features Result 15 BiGRU + LSTM Product reviews Text word embeddings Acc: 73.9 18 BERT, ERNIE Chinese hotel reviews Contextual embeddings ERNIE Acc: 90 19 GPT-3.5 Turbo (LLM) YouTube comments Raw text F1 = 0.85 20 CNN + LSTM 20 K tourism tweets Tweet text Acc: 75 20 CNN + LSTM 20 K tourism tweets Tweet text Acc: 75 22 BERTopic + RoBERTa Chinese social posts Text + topics Acc: 74 28 DeBERTa-Large SQuAD Default embeddings Acc: 92 30 XLNet-Large Yelp Default embeddings Acc: 91 29 ALBERT-xxlarge Book Corpus Reviews Default embeddings Acc: 90 Applied Framework RoBERTa-Large Product Reviews Amazon, Yelp Default embeddings Acc: 93 F1: 92 Open in a new tab Interpretability and discussion The comparative analysis of interpretability demonstrates that consumers report the symptoms of emotions differently in the shopping-based and service-based settings, shown in Fig. 27 . The SHAP and LIME error-case visualizations presently used in Yelp continue to rank the use of emotionally loaded tokens, including terrible, awful, disaster, cold, overpriced, and avoid as the most influential sources of negative sentiment. These words exhibit high levels of attribute of both explainers with support to the fact that service failures and emotional response to not meeting expectations are the two issues that make it come out as the strongest influence on dissatisfaction in service settings as opposed to product attributes. On the contrary, higher contribution is observed in Amazon polarity analysis because of product-related tokens such as taste, berries, cold, winter, flavor, and the focus is on the fact that consumer choices in product situations depend on sensory quality, reliability, and value congruency. The difference brings out a significant behavioral difference, where Yelp reviews emphasize experiential and interpersonal attributes, whereas Amazon reviews emphasize functional and sensory features. The attention heatmaps would also support this interpretation. In the case of negative Yelp experiences (ex: cut terrible awful experience…), the model puts significant emphasis on sequential emotional descriptors where there is a tendency of increasing negative tones. In the case of highly positive Yelp reviews (e.g., awesome soy cap… nice place hangs out…), the focus is on the words that refer to comfort (e.g., place, atmosphere, nice, free, wifi) meaning that consumer positivity in services is modulated by the ambiance and convenience than by the elements of products. This attitude framing also helps to reinforce the fact that the service satisfaction is anchored in the whole experience and not on the single qualities. Fig. 27. Open in a new tab Token-level interpretability for reviews yelp dataset. SHAP and LIME bar plots highlight emotionally charged tokens driving sentiment, while the attention heatmap shows how descriptors dominate the model’s internal focus. The analysis that investigated interpretability shows that the RoBERTa-LLM framework not only shows a high predictive performance, but it also reveals valuable patterns of behavior that are inherent in the consumer reviews. According to the model, experiential cues like quality, reliability, and tone of emotion of products are always the most powerful determinants of sentiment, which is the way consumers think of products in online markets. These results indicate that sentimental cues in text are consistent with the dynamics of decision making in real life. The interpretability results of the Amazon data set show that there are significant trends in the way consumers define satisfaction and dissatisfaction, and how the model can internalize the behavioral cues of customers. Behavioral insight is also obtained by the token-level analysis of stability in Fig. 28 . The scores of stability are high (near 1.0) across samples, which means that the model is sensitive to stable consumer sentiment drivers despite sentence structure and product type. In terms of consumer-behavior, this implies that consumers constantly employ the same verbal cues to demonstrate satisfaction or dissatisfaction, particularly when it comes to sensory attributes, functional attributes, and product reliability. This regularity, in turn, implies that the underlying emotional and cognitive mechanisms of online reviewing are extremely regular, a result that confirms the capability of the model to generalize over the various consumer stories. Fig. 28. Open in a new tab Token-level stability plot illustrating near-perfect stability (1−variance) across unseen sample. This demonstrates that attributions remain consistent across reviews, supporting the robustness of model explanations and indicating stable sentiment cues in consumer behavior. The case of errors analysis gives more explanation to Fig. 29 behaviors. There are misclassified samples that are mixed or indistinct emotional cues e.g. when the consumer influences both praise with unsolved frustration (e.g. easy to taste but melted berries). SHAP heatmaps suggest that competing sentiment clues often lead to a wrong prediction, thus consumers tend to present dual-valence emotions when they are left to do a product review. This two-sidedness underlines the complex decision-making model where the consumers weigh the good qualities of the product with the bad information of the experience- a pattern that was always long-established in the field of behavioral economics but now demonstrated by explainable AI. Fig. 29. Open in a new tab Heatmap of SHAP token contributions for a misclassified case, showing contribution clusters around words, exposes the linguistic sources of misclassification and provides insights for refining the model’s handling expressions. High-impact corresponds to emotionally charged or experience-defining tokens, offering insight into the model’s internal decision-making focus. This observation is strengthened by the relative study conducted between SHAP and LIME. The fact that the two approaches utilize dissimilar mechanisms of explanation does not in any way eliminate the fact that the two approaches focus on pointing to the same sets of influential tokens and this suggests that there is a high level of semantic convergence with respect to how the consumer sentiments are constructed. This consistency reflects the fact that consumer judgments are driven by few highly diagnostic cues (e.g., cold, melted, great, flavor) which is also in line with other studies in the consumer-behavior literature that indicate that people make their buying decisions based on the most salient affective stimuli. This is also confirmed by the visual representation of the SHAP-LIME agreement scatter plot in Fig. 30 which indicates that the tokens of strong value perceptions (e.g., great, flavor, taste) are concentrated into the area of high importance, and the neutral or descriptive tokens (texture, items, weather) are concentrated into the middle of the importance bands. It means that the model is a definite method of making considerations of the human attention patterns in the interpretation of the review sentiment. Fig. 30. Open in a new tab Scatter plot demonstrating the agreement between SHAP and LIME token importances. Warmer colors denote higher combined importance, showing convergence on product-experience drivers validating the reliability of model interpretation. As can be seen in the SHAP and LIME token-importance plots in Fig. 31 , consumer sentiment is highly influenced by experiential descriptors, specifically words relating to the quality of the product (“taste, great, berries, flavor), to weather conditions (cold, weather, melted), and trustworthiness (order, winter). These high contribution terms are in tandem with the well-known online consumer decision drivers like product performance, consistency, and usability. These behavioral cues are rightfully highlighted by the model, which means that RoBERTa-LLM does not only capture literal word meaning but also its consumer priorities hidden in the language of the review, which is suitable in behavioral theories that have to focus on experiential value and risk perception in online shopping. Fig. 31. Open in a new tab SHAP and LIME-based token-importance plot on amazon dataset showing consistent influential tokens, and features illustrate how consumers emphasize product condition and contextual experience in their evaluations. The cross-domain comparison of Amazon and Yelp data offers valuable behavioral data of the expression of sentiment in various settings by consumers. The domain shift experiment suggests that despite the RoBERTa-LLM model being trained on Amazon product-review language, the model generalizes very well to the discourse of Yelp. It is also very accurate (Amazon: 93.59, Yelp: 92.91) and the predictive uncertainty is changed by only a small margin (Amazon: 6.41 Yelp: 7.09). This consistency indicates that the model is efficient in projecting more affective cues as opposed to domain particular vocabulary that is effective as indicative of actual consumer sentiment patterns as opposed to the existence of superficial lexical cues, shown in Fig. 32 . The comparison of the polarity and strength of Amazon and Yelp provides an extra dimension of consumer-behavior insights, shown in Fig. 33 . Amazon tokens demonstrate greater and more predictable values of polarity, which means that the sentiment of the products is often straightforward and clear. Yelp sentiment, on the other hand, is more diffuse (in this case, service experiences are subjective and heavily context-related). In this example, weather, order, enjoy, and flavor, have lower polarity in Yelp, which implies that consumers in service settings share more detail on the experience, and they blend both environmental and emotional elements. Fig. 32. Open in a new tab Comparative analysis of both datasets showing accuracy remains consistently high across both domains, while uncertainty increases slightly on Yelp, indicating mild domain shift due to differing linguistic patterns in product vs. service reviews. Fig. 33. Open in a new tab Comparison of polarity strength for shared tokens across Amazon and Yelp datasets. Taken together, this evidence shows that the present RoBERTa-LLM framework does not only attain the level of cross-domain robustness but also reveals the pattern of sentiment in the behavior that characterizes the products-related judgment as compared to services-related assessments. Such findings are important to the study of digital consumer-behavior because they demonstrate that the strength of sentiment, lexical expression, and decision drivers vary systematically because of the engagement context. The consistency between SHAP/LIME interpretability and attention dynamics also promotes the model reliability further as predictions are based on real behavioral indicators and not an artifact of the dataset. The findings of this study demonstrate that reviews extracted through the RoBERTa-LLM model reveal meaningful behavioral tendencies and decision-making cues embedded within consumer reviews. Throughout the Amazon and Yelp datasets, the model repeatedly emphasized tokens relating to product quality, reliability, service interplay, and emotional experience, which have a strong correlation to consumers purchase intent and subsequent post purchase recommendation. Using attention-weight inspection and SHAP and LIME, one can find that consumers can express sentiment using not only explicit positive or negative words, but also context-rich opportunities associated with expectations, perceived value, and experience fulfillment. These trends demonstrate how the consumers compare items or services on a multidimensional basis, and how the mood is influenced by experience, contextual, and operational variables. This interpretation of behavior is enhanced by cross-domain analysis. Whereas the attributes of the product, including the taste, the freshness, the packaging, and the durability are derived because of Amazon reviews, Yelp reviews are more oriented on the quality of service, the waiting times, the ambience, and the interactions with other people. RoBERTa-Large demonstrated high flexibility in the ability to memorize these domain-specific behavioral indicators, which results in the consistency of polarity detection even with a large linguistic difference. The domain-shift assessment, which is substantiated by token-level polarity comparison, shows that the cues of decision-making vary greatly between platforms: the Amazon behaviors are in line with utilitarian decision-making (product functionality and value), whereas the Yelp behaviors are in line with experiential decision-making. This proves that this model can be used to not only categorize sentiments, but also to identify latent drivers of behavior that influence consumer behavior in various settings. These insights of behavior are supported by interpretability analysis. SHAP and LIME demonstrate that misclassifications are common in the reviews with both positive and negative emotions or sarcasm or the presence of conflicting cues to products and services, which are the naturally ambiguous decision-making tendencies of humans. The sample analysis of Yelp has revealed that negative experiences that occur during service situations are often enhanced by emotional terms, but positive experiences are enhanced by atmosphere and convenience. Even though the integrated framework is very accurate in classification, these findings indicate the need to consider characteristics of large-scale consumer review datasets. Sentiment labels based on rating scores intrinsically entail class ambiguity, with neutral or mixed-affect reviews, where the language used to express a positive and negative attitude have the same linguistic overlap. Besides, consumer reviews usually involve repetitive wording and formulaic expressions, which may make tasks easier compared to more detailed affective categorization. To reduce the risk of data leakage, we did the data split stratification and tested the model on two different platforms (Amazon and Yelp), however, additional testing on other domains and more varied review environments would offer a more detailed estimation of the generalizability. Despite high accuracy, the predictions made by RoBERTa-Large are still prone to the domain shift, vague expressions, and sentiment-neutral scenarios that may result in some cases of misclassifications. The reason why RoBERTa-Large performs better than other models in this paper is due to its streamlined training process, increased parameter space and dynamic masking scheme that make it better able to capture subtle linguistic features inherent in consumer reviews. In contrast to smaller transformers and the traditional models, RoBERTa is useful in learning long-range relationships, sarcasm, implicit sentiment, and do-main-specific lexical differences that are common in product reviews. Such strengths help it to be more accurate at modeling nuanced consumer ex-expressions and therefore yield the best performance on both Amazon and Yelp datasets. Other drawbacks of the model include the impediments that are characteristic of transformers like high computational cost and low interpretability in multi-topic complex reviews. Regardless of this limitation, the findings can be used in practice in business as they indicate sentiment-based behavioral indicators, pain areas in product experience, and assist in data-driven decision-making in marketing, quality improvement, and customer experience strategies. This knowledge supports the significance of affective im-pressions to the consumers which are more relevant in a hotel setting, which conforms to behavioral theories of emotional decision making. All this allows supporting the statement that the model can accurately identify sentiments and, at the same time, demonstrate interpretable, psychologically significant behavioral patterns based on which real-life consumer decision-making is built on the digital platform. Conclusion and future work This study demonstrates the effectiveness of integrating advanced deep learning techniques, particularly the large language model RoBERTa, for analyzing digital consumer behavior through sentiment analysis and topic modeling of online reviews. By combining classical textual features like TF-IDF with powerful contextual embeddings and attention mechanisms, the approach significantly outperforms traditional machine learning and earlier deep learning models, achieving a peak accuracy of 93.59%. The model’s ability to capture complex semantic and syntactic patterns enables nuanced understanding of consumer sentiments and thematic trends, providing valuable insights into marketing and customer relationship management. Extensive experiments, supported by detailed exploration data analysis and robust evaluation metrics, validate the superior performance and interpretability of the RoBERTa-based framework. The phased training analysis and confidence score visualizations further underscore the model’s stability and reliability in real-world applications. However, this study is limited by its reliance on publicly available datasets that may not fully capture the diversity of consumer behaviors across different domains or languages. Additionally, the model’s computational requirements may restrict scalability for extremely large-scale deployments. Future work will explore cross domain adaptation techniques to generalize the model across varied industries and incorporate multilingual capabilities. Additionally, focus on developing a joint sentiment–topic modeling framework that integrates contextualized topic–sentiment alignment using advanced models such as BERTopic and sentiment-aware LDA to achieve more fine-grained semantic understanding and neural topic–sentiment fusion architectures will be explored to strengthen contextual understanding. Integrating explainability tools to better interpret model decisions and deploying real-time sentiment monitoring systems will further enhance practical applications and deepen understanding of dynamic consumer behaviors. These directions will provide deeper behavioral insights by linking consumer sentiments directly with their underlying thematic drivers. Author contributions The author Qi Shasha fully contributed to this study. Data availability The dataset available at: https://www.kaggle.com/datasets/snap/amazon-fine-food-reviews ; https://www.kaggle.com/datasets/ilhamfp31/yelp-review-dataset . Code availability The code is available at: https://github.com/shaqiChi/Consumer-Behavior-Analysis ; https://zenodo.org/records/19326208 . Declarations Competing interests The authors declare no competing interests. Footnotes Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. References 1. Ishfaq, U., Khan, H. U. & Shabbir, D. Exploring the role of sentiment analysis with network and temporal features for finding influential users in social media platforms. Soc. Netw. Anal. Min. 14 (1), 241. 10.1007/s13278-024-01396-6 (2025). [ Google Scholar ] 2. Oliveira, J. S. et al. The effect of emotional positivity of brand-generated social media messages on consumer attention and information sharing. J. Bus. Res. 140 , 49–61. 10.1016/j.jbusres.2021.11.063 (2022). [ Google Scholar ] 3. Naz, A. et al. Machine and deep learning for personality traits detection: A comprehensive survey and open research challenges. Artif. Intell. Rev. 58 (8), 239. 10.1007/s10462-025-11245-3 (2025). [ Google Scholar ] 4. Jie, W., Poulova, P., Haider, S. A. & Sham, R. B. Impact of internet usage on consumer impulsive buying behavior of agriculture products: Moderating role of personality traits and emotional intelligence. Front. Psychol. 10.3389/fpsyg.2022.951103 (2022). [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 5. Liang, B. et al. Embedding refinement framework for targeted aspect-based sentiment analysis. IEEE Trans. Affect. Comput. 14 (1), 279–293. 10.1109/TAFFC.2021.3071388 (2023). [ Google Scholar ] 6. Ding, K. et al. LCSEP: A large-scale Chinese dataset for social emotion prediction to online trending topics. IEEE Trans. Comput. Soc. Syst. 11 (3), 3362–3375. 10.1109/TCSS.2023.3334296 (2024). [ Google Scholar ] 7. Ahmad, W., Khan, H. U., Iqbal, T. & Iqbal, S. Attention-based multi-channel gated recurrent neural networks: A novel feature-centric approach for aspect-based sentiment classification. IEEE Access 11 , 54408–54427. 10.1109/ACCESS.2023.3281889 (2023). [ Google Scholar ] 8. Wan, B., Wu, P., Yeo, C. K. & Li, G. Emotion-cognitive reasoning integrated BERT for sentiment analysis of online public opinions on emergencies. Inf. Process. Manag. 10.1016/j.ipm.2023.103609 (2024). [ Google Scholar ] 9. Ahmad, W., Khan, H. U., Alarfaj, F. K. & Alreshoodi, M. Aspect-based sentiment analysis: A comprehensive review and open research challenges. IEEE Access 10.1109/ACCESS.2025.3555744 (2025). [ Google Scholar ] 10. Tabassum, A. & Patil, R. R. A Survey on text pre-processing & feature extraction techniques in natural language processing. Int. Res. J. Eng. Technol. Available at: www.irjet.net (2020). 11. Cheng, Z., Zhang, B. & Gil de Zúñiga, H. Antecedents of political consumerism: Modeling online, social media and WhatsApp news use effects through political expression and political discussion. Int. J. Press/Polit. 28 (4), 995–1016. 10.1177/19401612221075936 (2023). [ Google Scholar ] 12. Naz, A. et al. Using transformers and Bi-LSTM with sentence embeddings for prediction of openness human personality trait. PeerJ Comput. Sci. 11 , e2781. 10.7717/peerj-cs.2781 (2025). [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 13. Khan, H. U., Naz, A., Alarfaj, F. K. & Almusallam, N. A transformer-based architecture for collaborative filtering modeling in personalized recommender systems. Sci. Rep. 15 (1), 1–22. 10.1038/s41598-025-08931-1 (2025). [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 14. Sun, X., Guo, B., Yang, Y. & Pan, Y. Time for a change! Uprooting users embedded in the status quo from habitual decision-making. Decis. Support Syst. 189 , 114371. 10.1016/J.DSS.2024.114371 (2025). [ Google Scholar ] 15. Atlas, L. G. et al. A modernized approach to sentiment analysis of product reviews using BiGRU and RNN based LSTM deep learning models. Sci. Rep. 15 (1), 1–24. 10.1038/S41598-025-01104-0 (2025). [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 16. Vijayaragavan, P. et al. Sustainable sentiment analysis on E-commerce platforms using a weighted parallel hybrid deep learning approach for smart cities applications. Sci. Rep. 14 (1), 26508. 10.1038/S41598-024-78318-1 (2024). [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 17. Ashbaugh, L. & Zhang, Y. A comparative study of sentiment analysis on customer reviews using machine learning and deep learning. Computers 13 (12), 340. 10.3390/COMPUTERS13120340 (2024). [ Google Scholar ] 18. Wen, Y., Liang, Y. & Zhu, X. Sentiment analysis of hotel online reviews using the BERT model and ERNIE model—Data from China. PLoS ONE 18 (3), e0275382. 10.1371/JOURNAL.PONE.0275382 (2023). [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 19. Ahmad, M., Batyrshin, I. & Sidorov, G. Sentiment analysis using a large language model-based approach to detect opioids mixed with other substances via social media: Method development and validation. JMIR Infodemiol. 5 (1), e70525. 10.2196/70525 (2025). [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 20. Mishra, R. K., Urolagin, S., Jothi, J. A. A., Neogi, A. S. & Nawaz, N. Deep learning-based sentiment analysis and topic modeling on tourism during Covid-19 pandemic. Front. Comput. Sci. 3 , 775368. 10.3389/FCOMP.2021.775368 (2021). [ Google Scholar ] 21. Kaur, G. & Sharma, A. A deep learning-based model using hybrid feature extraction approach for consumer sentiment analysis. J. Big Data 10 (1), 1–23. 10.1186/S40537-022-00680-6 (2023). [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 22. Liu, Y., Zhang, D., Wan, Q. & Lin, Z. Innovative mining of user requirements through combined topic modeling and sentiment analysis: An automotive case study. Sensors (Basel) 25 (6), 1731. 10.3390/S25061731 (2025). [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 23. Lyu, D., Wang, Z., Kumar, A. & Jin, J. Morality is for social being: The role of morality in social-adjustive functional attitudes toward counterfeit luxury consumption. J. Bus. Ethics 10.1007/S10551-025-06027-4 (2025). [ Google Scholar ] 24. Walsh, J., Cave, J. & Griffiths, F. Combining topic modeling, sentiment analysis, and corpus linguistics to analyze unstructured web-based patient experience data: Case study of Modafinil experiences. J. Med. Internet Res. 10.2196/54321 (2024). [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 25. Song, G., Wang, Y., Chen, X., Hu, H. & Liu, F. Evaluating user engagement in online news: A deep learning approach based on attractiveness and multiple features. Systems 12 (8), 274. 10.3390/SYSTEMS12080274 (2024). [ Google Scholar ] 26. Erdoğan, D. et al. Developing a deep learning-based sentiment analysis system of hotel customer reviews for sustainable tourism. Sustainability 17 (13), 5756. 10.3390/SU17135756 (2025). [ Google Scholar ] 27. Shankar, R., Xu, Q. & Bundele, A. Patient voices in dialysis care: Sentiment analysis and topic modeling study of social media discourse. J. Med. Internet Res. 10.2196/70128 (2025). [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 28. He, P. Liu, X. Gao, J. & Chen, W. DeBERTa: Decoding-enhanced BERT with Disentangled Attention. In ICLR 2021 - 9th International Conference on Learning Representations , accessed 30, October 2025; https://arxiv.org/pdf/2006.03654 (2020). 29. Lan, Z., Chen, M. Goodman, S. Gimpel, K. Sharma, P. & Soricut, R. ALBERT: A Lite BERT for Self-supervised Learning of Language Representations.In 8th International Conference on Learning Representations, ICLR 2020 , Sep. 2019, accessed 30 October 2025; https://arxiv.org/pdf/1909.11942 30. Yang, Z., Dai, Z., Yang, Y., Carbonell, J. Salakhutdinov, R. & Le, Q. V. XLNet: Generalized Autoregressive Pretraining for Language Understanding. Adv. Neural Inf. Process. Syst. 32 , Accessed 30, October 2025; https://arxiv.org/pdf/1906.08237 (2019). 31. Huang, M. et al. EdgeLLM: A highly efficient CPU-FPGA heterogeneous edge accelerator for large language models. IEEE Trans. Circuits Syst. I Regul. Pap. 72 (7), 3352–3365. 10.1109/TCSI.2025.3546256 (2025). [ Google Scholar ] 32. Lin, Z., Wang, Y., Zhou, Y., Du, F. & Yang, Y. MLM-EOE: Automatic depression detection via sentimental annotation and multi-expert ensemble. IEEE Trans. Affect. Comput. 16 (4), 2842–2858. 10.1109/TAFFC.2025.3585599 (2025). [ Google Scholar ] 33. Bigne, E., Ruiz, C., Perez-Cabañero, C. & Cuenca, A. Are customer star ratings and sentiments aligned? A deep learning study of the customer service experience in tourism destinations. Serv. Bus. 17 (1), 281–314. 10.1007/S11628-023-00524-0 (2023). [ Google Scholar ] 34. Du, J., Mamo, Y. Z., Floyd, C., Karthikeyan, N. & James, J. D. Machine learning in sport social media research: Practical uses and opportunities. Int. J. Sport Commun. 17 (1), 97–106. 10.1123/IJSC.2023-0151 (2023). [ Google Scholar ] 35. Meng, T. et al. A multi-message passing framework based on heterogeneous graphs in conversational emotion recognition. Neurocomputing 569 , 127109. 10.1016/J.NEUCOM.2023.127109 (2024). [ Google Scholar ] 36. Naz, A. et al. AI knows you: Deep learning model for prediction of extroversion personality trait. IEEE Access 10.1109/ACCESS.2024.3486578 (2024). [ Google Scholar ] 37. Khan, H. U., Naz, A., Alarfaj, F. K. & Almusallam, N. Analyzing student mental health with RoBERTa-Large: A sentiment analysis and data analytics approach. Front. Big Data 8 , 1615788. 10.3389/FDATA.2025.1615788 (2025). [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 38. Liu, W. et al. SEAD-MGFE-Net: Schrödinger equation-based adaptive dropout multi-granular feature enhancement network for conversational aspect-based sentiment quadruple analysis. Inf. Sci. 723 , 122684. 10.1016/J.INS.2025.122684 (2026). [ Google Scholar ] 39. Yang, Y., Qiao, S., Law, R. & Zhang, Z. How rainy weather and social influence shape consumers’ online evaluation behavior: Mediating effects of negative mood and conformity tendency. Curr. Psychol. 45 (3), 197-. 10.1007/s12144-025-08901-w (2026). [ Google Scholar ] 40. Lin, A., Liu, H. & Wu, H. A bi-directional flow weighted regression for interpreting social media sentiment identified by large language models. Int. J. Geogr. Inf. Sci. 10.1080/13658816.2025.2555582 (2025).40959203 [ Google Scholar ] 41. Wang, S., Zhang, K. & Liu, A. Flat-Lattice-CNN: A model for Chinese medical-named-entity recognition. PLoS ONE 20 (9), e0331464. 10.1371/journal.pone.0331464 (2025). [ DOI ] [ PMC free article ] [ PubMed ] [ Google Scholar ] 42. Zeng, F., Tang, R. & Wang, Y. User personalized recommendation algorithm based on GRU network model in social networks. Mob. Inf. Syst. 2022 (1), 1487586. 10.1155/2022/1487586 (2022). [ Google Scholar ] 43. Cao, X. et al. Analytical survey of learning with low-resource data: From analysis to investigation. ACM Comput. Surv. 10.1145/3773075 (2025). [ Google Scholar ] 44. Ma, X., Utaberta, N. & Zainordin, N. From online to offline attractiveness: investigating urban tourist area appeal and tourist emotional fulfillment. Curr. Issue Tour. 10.1080/13683500.2025.2575930 (2025). [ Google Scholar ] 45. Gao, Z. et al. Exploring tourist spatiotemporal behavior differences and tourism infrastructure supply–demand pattern fusing social media and nighttime light remote sensing data. Int. J. Digit. Earth 17 (1), 1. 10.1080/17538947.2024.2310723 (2024). [ Google Scholar ] Associated Data This section collects any data citations, data availability statements, or supplementary materials included in this article. Data Availability Statement The dataset available at: https://www.kaggle.com/datasets/snap/amazon-fine-food-reviews ; https://www.kaggle.com/datasets/ilhamfp31/yelp-review-dataset . The code is available at: https://github.com/shaqiChi/Consumer-Behavior-Analysis ; https://zenodo.org/records/19326208 . Articles from Scientific Reports are provided here courtesy of Nature Publishing Group ACTIONS View on publisher site PDF (6.5 MB) Cite Collections Permalink RESOURCES Similar articles Cited by other articles Links to NCBI Databases Follow NCBI NCBI on X (formerly known as Twitter) NCBI on Facebook NCBI on LinkedIn NCBI on GitHub NCBI RSS feed Connect with NLM NLM on X (formerly known as Twitter) NLM on Facebook NLM on YouTube National Library of Medicine 8600 Rockville Pike Bethesda, MD 20894 Web Policies FOIA HHS Vulnerability Disclosure Help Accessibility Careers NLM NIH HHS USA.gov Back to Top
Related documents
- Corporate social responsibility (CSR) versus corporate social advocacy (CSA): Conceptual boundaries, distinct roots, and growing convergence revealed by topic modeling and word embedding#236868
- Exploring Marshall–Olkin Models Through Bibliometric and Topic Modeling Approaches Uses Latent Dirichlet Allocation (1981-2025): A Study Based on Scopus Data#169466
- Thematic patterns of social media content by patient-led breast cancer key opinion leaders: A topic modeling study#205426
- Thematic patterns of social media content by patient-led breast cancer key opinion leaders: A topic modeling study.#140925
- Does Syntax Matter? A Graph-Augmented Variational Topic Model for Computational Social Sciences#984692
Retrieved via Conceptio: every document is proof-bundled with source, license, and retrieval metadata.
Read the Docs → · View CLI source on GitHub · Conceptio Open Knowledge Archive