General Article

International Journal of Sustainable Building Technology and Urban Development. 31 December 2025. 494-509
https://doi.org/10.22712/susb.20250033

ABSTRACT


MAIN

  • Introduction

  • Literature Review

  • Research Gaps and Motivation

  • Methodology

  • Problem Statement

  • Proposed Methodology

  • Mathematical Model

  • Results and Discussions

  • Performance Metrics

  • Results

  • Conclusion

Introduction

Sustainability in the times of a fast digital revolution means more than merely taking care of the planet. It is also inclusive of technology, economics, and society. Social networks and intelligent urban ecosystems define the modern life. These systems generate vast quantities of dynamic information of persons, societies, and smart devices. They determine what we ultimately decide, communicate and how we care about one another. Digital ecosystems, i.e. smart-city applications, e-governance, e-commerce, and social media, are the platforms that influence choices, communication, and health. In that regard, to construct sustainable and human-centric social networks, it is necessary to provide intelligent, context-sensitive, and emotion-sensitive recommendations [1, 2, 3, 4, 5].

Recommendation systems control information flow between digital and social platforms. They minimize the overloads, enhance resources utilization, and promote meaningful interaction. Recommendation engines connect people, data, and services whether it concerns the suggestion of eco-friendly transport in a city, custom-crafted study material, or useful online contacts. In the past, collaborative and CBF were utilized as a way of personalization. These techniques have problems of data sparsity, scaling issues and cold-start in social networks. They also lack the touch and scenery during interaction with user’s opinions, emotions, trust. The inclusion of SA is a revolutionary solution. SA is a sophisticated NLP tool that retrieves emotional expressions within the reviews, posts and comments. It has been used in conjunction with behavioural and relational models to allow the recommendation systems to know the intent of the user, his or her mood, and the community dynamics. This provides socially and emotionally intelligent outcomes [5, 6, 7, 8]. This integration is enhanced by Deep Learning (DL). Semantic, relational and affective patterns in social data are automatically learned by Convolutional Neural Networks (CNN), recurrent networks and transformer models such as BERT, RoBERTa etc. Incorporating them into the hybrid recommendation systems balances behavioral, relationship and sentiment elements. The outcome is an increase in accuracy and the user trust and cohesion in online communities. Sentiment-aware systems facilitate digital well-being in terms of sustainability. They make AI human, enable responsible governance, and smart consumption giving contextually, emotionally-relevant suggestions, which conform to the objectives of smart city and sustainable development [8, 9, 10, 11].

The proposed sentiment aware hybrid deep-learning architecture on sustainable smart urban and social network ecosystems has a conceptual architecture as displayed in Figure 1. The architecture is designed with the five consecutive layers that are all the data- processing and learning workflow of the system. The first step is to input data using input layer for pre- processing. This information is then forwarded to Pre- processing and Feature Extraction Layer where it is cleaned, normalised and converted. This step uses pre- trained transformer models, like BERT and RoBERTa, to obtain sentiment and contextual embeddings of social text and other behavioural and structural features are obtained as a result of user-item and user-user interactions. The Hybrid Recommendation Layer is a unification of CBF and collaborative methods that assemble the user preferences and item resemblance. In this layer, sentiment and social context are merged to enhance personalization and the emotional and social nature of user behaviour [10, 11, 12, 13, 14, 15, 16, 17].

https://cdn.apub.kr/journalsite/sites/durabi/2025-016-04/N0300160405/images/Figure_susb_16_04_05_F1.jpg
Figure 1.

DL based recommendation framework for online social network.

The DL Fusion Layer splices all the extracted features with nonlinear learning processes, which enables the model to resolve the complicated association between behavioural, content, and sentiment- based representations [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30]. Lastly, the Output Layer produces context-aware, socially relevant, and sustainability-based recommendations, which may be implemented in the smart-city services, digital platforms, and social networks. All in all, the framework illustrates the potential of hybrid DL and SA to support the accuracy, flexibility and sustainability of recommendation system in smart and socially integrated digital ecosystems [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45].

This paper presents a hybrid DL framework that can be used to satisfy the needs that arise by introducing a sentiment-aware hybrid deep-learning framework to address the need of smart urban and social-network ecosystems that are also sustainable. This framework integrates transformer-based SA, CBF and CF to utilize both the user behavior and social interaction data. The model compromises the efficiency of computation with social insight by combining both structured user behavior and unstructured sentiment of the social websites. The framework can enhance individualization, confidence as well as sustainability in online settings, the experiments demonstrate [46, 47, 48, 49, 50, 51, 52, 53].

The organization of the paper is presented in the following way. Section 2 conducts a literature review on the topic of recommendation systems, DL, and SA as it relates to social networks. Section 3 illustrates the framework and methodology of the hybrid framework proposed. In Section 4, the results of the experiment and the performance evaluation are made. Section 5 is the last part of the study as it summarizes the main contributions and provides the direction of future research. This is to enhance socially intelligent, sentiment intelligent, and community intelligent recommendation systems, reinforcing sustainable digital and urban ecosystems with adaptive, emotion intelligent, and community intelligent intelligence.

Literature Review

The latest innovations in the domain of artificial intelligence reshaped the human behavior and emotion interpretation of the recommendation systems. Li et al. conducted a review of DL-based recommendation models and stated that the field is dominated by neural architectures since they have the ability to reveal latent correlations in multi-dimensional user-item data. Following this tendency, Jassim et al. reviewed the method of SAof film review and divided the currently existing methods into three large groups: lexicon- based, ML-based, and hybrid, pointing out the increased importance of the combination of linguistic and statistical understanding in more precise polarity interpretation. A CNN-LSTM based recommendation system of tourist destinations was proposed by An and Moon, which demonstrated that deep neural networks can be used to map textual feedback and contextual clues, such as season or weather to personalized recommendations.

In the same vein, Babu and Kanaga examined SA of social-media data to identify depression and found that both binary and multi-class classification methods could be useful to identify subtle changes in emotions, as expressed by users.

Rosa et al. developed a mental health monitoring system based on knowledge that incorporates ontologies, DL, and SA. The research demonstrates that emotional knowledge can improve the quality of the recommendation in the health setting.

Nair et al. made a comparative study of sentiment- based models of recommendation with various platforms and found out that sentiment mining through opinion mining has a great contribution to relevancy in recommendations.

In the agricultural sector, Sharma et al. came up with a sentiment-based product recommendation model of managing the rice-crop diseases. Their work demonstrates how these techniques can be used in other industries that require contextual decision support, rather than in e-commerce.

Loukili et al. were concerned with product reviews in online retailing and they found that unstructured textual responses are very crucial in influencing consumer choices. Their study supports the need to transform unprocessed reviews into formatted sentiment knowledge to enhance product recommen-dations.

Gupta et al. synthesized several ML models to evaluate aspect-based sentiment through the application of ML, which showed that integrative models are more interpretable and accurate as compared to solitary- model approaches.

Sellamuthu et al. introduced an AI-based model of recommendations that can be utilized to predict drug interactions and enhance decision-making during pharmaceutical research. The paper demonstrates how recommendation systems can be flexible in the process of scientific uses. Cui et al. gave a general overview of the development of SA studies. They observed a steep rise in hybrid and transformer-based models that are more effective than previous statistical methods. Okey et al. explored how the sentiment tracking can evaluate trust and risk in new technologies by investigating SA and topic modeling of ChatGPT perception in the community. Kaur and Sharma suggested a DL model, which incorporates hybrid features and LSTM networks to provide an overview of consumer views. Lastly, Sharma et al. overviewed SA tasks and DL approaches to a variety of domains, discovering the main problems of sarcasm detection, the ethical utilization of data, and the ability to adapt to new language environments. A DL-based basil leaf disease classification framework was suggested by Singla et al., which applies transfer learning to improve agricultural sustainability; the CNN-based models are effective in detecting plant diseases, encouraging effective resource management and precision agriculture, which is a significant component of sustainable smart ecosystems. Sharma et al. proposed a ML-based system of energy-efficient load distribution of mobile edge computing (MEC) systems, which streamlines resource allocation and consumption. This paper illustrates the way ML can contribute to the smart city and building environments to meet the sustainability objectives, which is consistent with the development of intelligent infrastructure. Likewise, Sharma and Kamra used a hybrid approach or a combination of ML and image segmentation in mammographic diagnosis to enhance the accuracy of the detection at minimum computational cost.

Research Gaps and Motivation

Current studies of sentiment analysis, hybrid recommendation systems, and transformer-based embeddings also have significant drawbacks. First, the majority of transformer-enhanced recommenders do not focus on emotion-conscious personalization that facilitates human-centered digital sustainability, but are focused on accuracy. Second, collaborative filtering and content-based filtering with sentiment embeddings have only a few studies that use deep fusion, which restricts whole contextual reasoning. Third, existing models do not list computational cost or resource use, or long-term digital well-being, which are important sustainability parameters. Lastly, the majority of assessments operate on small, domain- specific datasets, thus, it makes them less generalized and robust. The comparison of current methods, datasets, limitations, and performance is summarized in Table 1.

Table 1.

Performance comparison of existing techniques used in literature

Author / YearTechnique / ModelDataset / DomainAccuracy / PerformanceKey ContributionLimitation
Li et al. (2023) [11] DL–Based Recommendation Review Multiple Benchmark Datasets Provided taxonomy of DL-based models for recommendations Lacked focus on sentiment integration
Jassim et al. (2023) [12] Lexicon + ML Hybrid Sentiment Model Film Review Dataset 92.50% Proposed hybrid SAcombining lexicon and ML Limited domain coverage, no contextual DL
An & Moon (2022) [13] CNN–LSTM Framework Tourism Recommendation 93.40% Integrated contextual features like weather and season Did not incorporate affective sentiment features
Rosa et al. (2018) [15] Knowledge-Based + Sentiment Deep Model Psychological Well-Being System 94.00% Introduced affective feedback in health recommendations Narrow domain; not scalable to large social networks
Nair et al. (2021) [16] Sentiment-Based Hybrid Model Multi-Platform 95.20% Demonstrated opinion-mining–driven personalization Limited model generalization
Sharma et al. (2024) [17] Sentiment-Aware Agricultural Recommendation Crop Management 96.00% Applied SAto agri-sustainability Domain-specific; lacked deep contextual embedding
Karabila et al. (2024) [25] BERT-Enhanced Sentiment Model E-Commerce Reviews 92.00% Used transformer embeddings for personalization Focused on item-level analysis only
Ojo et al. (2023) [30] Graph Neural Network (GNN) + Sentiment Smartphone Recommendation 97.00% Incorporated graph-based user relationship modeling High complexity, lower scalability
Proposed Framework (2025) Hybrid DL + Sentiment (BERT, RoBERTa) Smart Urban & Social Network Ecosystems 99.14% Accuracy, 99.52% F1-Score Combines behavioral, contextual, and affective intelligence for sustainable, human-centric recommendations Addresses previous gaps in scalability, context, and emotional adaptability

The proposed framework will fill the gaps by:

1.Combining transformer-based sentiment repre- sentations and hybrid CF-CBF predictions through a deep fusion mechanism.

2.Integrating emotion-sensitive and context-sensitive cues into relevance scoring of recommendations.

3.Huge validation of performance of large and heterogeneous data sets and statistical reliability testing.

Methodology

In this section, the methodological framework will be presented to design and develop a hybrid DL and SA recommendation framework. It gives insights on the way user interaction data and textual reviews are combined to form an intelligent system that can produce personalized, sentiment-aware recommendations.

Problem Statement

Recommendation systems play an important role in sustainable digital ecosystems, i.e. smart cities, intelligent infrastructure, and environmentally friendly digital platforms, to enhance user experience, resource optimization, and assist in decision-making. However, the most popular models, ones that are primarily based on CF and CBF, are not able to comprehend the underlying human intent and their emotional context. They are relying on numeric scores or even transaction records, which restrict personalization, interpretability, and flexibility. Due to these flaws, these models are wasteful of digital resources, they inattentively engage users, and they consume additional computing resources. This is contrary to the objectives of developing sustainable systems. The inefficiency implies that every recommendation request consumes more energy and bandwidth than it is needed, which decreases the sustainability. The other problem is the cold-start problem. The lack of sufficient data to train the model happens when new users or new items are introduced, which reduces scalability and causes redundant and repetitive processing. This also adds to the wastage of computational power. In order to transcend these constraints, this paper introduces a DL hybrid recommendation engine that is emotion aware. It incorporates SA as an element of personalization. The model uses behavioral data, contextual and affective signs to provide more sustainable, efficient, human- centered and adaptable recommendations to changing user needs.

Proposed Methodology

Figure 2 represents the proposed framework and is a recommender based on deep-learning hybrid that incorporates SA to provide smarter and more personalized recommendations. It is a mixture of three fundamental concepts, which are CF, CBF, and neural models to understand emotion in user reviews. Combined, the approaches enable the system to anticipate the liking of the users and simultaneously comprehend their perceptions on their experiences. The process begins with the data collection which includes online stores, movie platforms and social- media sites where the user can leave out their reviews and ratings. There are two types of data that include structured data which consists of numeric ratings and user IDs, and unstructured data which consist of written reviews, comments, and tags. The combination of the two types helps the system to learn better and be performed in different situations. The system then filters and isolates the most informative features: reviews, tags, and ratings after collecting the information. Reviews include the emotional and opinion of the users, tags suggests the kind of content, and ratings offer a straightforward content of satisfaction. Focusing on this information will enable the model to understand the actions and emotions of the users. Pre-processing is the second step involving cleaning of the data. This is done to eliminate extraneous symbols, redundant space and filler words, to normalize the text format. Tokens are divided into sub units and variations in spelling corrected. After cleaning the data, the system carries out SA that determines the emotion in the review. It reviews the tone of the text as positive, negative or neutral. This is performed using two Deep-learning models, which are BERT and RoBERTa. With the implementation of both models, reliability is enhanced and in case one presents uncertain result, the other goes back to the text. This check and cross-check eradicate errors and only reliable sentiment scores proceed.CF analyses the activity of users and compares it to suggest things that are liked by other users. CBF compares the characteristics of items and compares them with the items that were liked before. Then the engine incorporates the sentiment data: when the sentiment is positive, the recommendation is strengthened and when it is negative, the recommendation is weakened. The ultimate results of this blend are data-driven and emotionally informed and are more realistic in their suggestions. Lastly, the system generates a list of suggested items which is personalized. These suggestions rely on the combination of user behaviour, item specifications as well as emotional tone. The system is more satisfying and customized as it matches what the users have previously liked with the way they feel about their decisions.

https://cdn.apub.kr/journalsite/sites/durabi/2025-016-04/N0300160405/images/Figure_susb_16_04_05_F2.jpg
Figure 2.

Flowchart for the proposed framework.

Mathematical Model

The hybrid recommendation framework proposed is a combination of three basic systems such as CF (CF), CBF and SA. All these elements provide a new perspective to the process of recommendations. The end result is a composite score that will combine behavioral, contextual and emotional information to provide very personalized recommendations. Let the dataset be represented as:

(1)
D={U,I,R,T}

where U={u1,u2,,um} is the set of users, I={i1,i2,,in} is the set of items, R is the user-item rating matrix, and T is the set of textual reviews associated with user-item pairs.

Algorithm 1.

Hybrid Recommendation Engine with SA

Require: Dataset [D={ reviews, tags, ratings}; ]
pre-trained models (BERT, RoBERTa); weights α, β, γ
Ensure: Top-k personalized recommendations for each user u
1: Extract relevant data from D such as reviews, tags, and ratings
2: Preprocess text by cleaning, normalizing, and tokenizing it
3: Perform SAusing fine-tuned BERT and RoBERTa models
4: Each review rigets sentiment probabilities:
P(ri)={ppos,pneu,pneg}
5: Calculate sentiment score:
S(ri)=ppos-pneg
6: if sentiment score S(ri) is unreliable then
7: Re-evaluate using the alternate model (BERT or RoBERTa)
8: end if
9: Normalize sentiment values to range [0,1]:
S^ri=Sri-min(S)max(S)-min(S)
10: CF (CF): Predict user u’s rating for item i
Ru,iCF^=Ru¯+vN(u)sim(u,v)Rv,i-Rv¯vN(u)|sim(u,v)|
11: CBF (CBF): Predict rating from item features
Ru,iCBF^=fFfwf·sim(f,u)
12: Combine CF, CBF, and Sentiment into one hybrid model
α·Ru,iCF^+β·Ru,iCBF^+γ·S^ri
13: Rank items for each user by HybridScore(u, i)
14: Select top-k items with highest scores
15: return Personalized recommendation list for each user

Each user ui can be represented by a vector of their preferences, and each item ij by its content-based attributes and textual reviews.

For each review rkT, the pre-trained DL model (BERT or RoBERTa) predicts sentiment probabilities:

(2)
P(rk)={ppos,pneu,pneg}

The overall sentiment score S(rk) is computed as:

(3)
S(rk)=ppos-pneg

This score represents the emotional polarity of the review. The sentiment value is then normalized to a range [0, 1] to ensure uniformity:

(4)
S^rk=Srk-min(S)max(S)-min(S)

The normalized sentiment score S^rk serves as a confidence-weighted indicator of user emotion and is later combined with other recommendation signals.

CF focuses on user-item interaction patterns. The predicted rating for a user u on an item i is estimated using a weighted average of ratings from similar users:

(5)
R^u,iCF=R¯u+vN(u)sim(u,v)×Rv,i-R¯vvN(u)|sim(u,v)|

Here, R¯u is the average rating given by user u, N(u) is the set of users similar to u, and sim(u,v) represents the similarity between users u and v. Cosine similarity is often used for this measure:

(6)
sim(u,v)=Ru·RvRuRv

In CBF, recommendations are made using the similarity between the attributes of items and the preferences of a user. Each item i has a feature vector Fi (derived from metadata, tags, or descriptions), and the user profile Pu represents the user’s interest distribution across these features. Table 2 summarizes the symbols, variables and mathematical representations used in the proposed model.

Table 2.

Notation Table

Symbol Definition
U, I Set of users and items
Ru,i Actual or predicted rating of user (u) for item (i)
u,i Latent vectors for user and item
S(ri) Sentiment score extracted from review (r_i)
𝛼, 𝛽, 𝛾 Weight coefficients for hybrid fusion
HScore(u,i) Final hybrid recommendation score

The content-based predicted rating is computed as:

(7)
R^u,iCBF=fFiwf×simf,Pu

where wf is the importance weight of feature f, and simf,Pu measures how closely the feature f matches the user’s profile.

To combine the benefits of both CF and CBF while introducing sentiment information, a hybrid scoring function is used:

(8)
 HybridScore (u,i)=α×R^u,iCF+β×R^u,iCBF+γ×S^ri

where 𝛼, 𝛽, and 𝛾 are non-negative weights such that 𝛼+𝛽+𝛾=1. The model takes into consideration emotional background by considering the sentiment hence it reacts to user moods and experience.

For each user u, the model calculates  HybridScore (u,i) for all items iI. The top-k items with the highest scores are then selected as recommendations:

(9)
Rec(u)=Top-k{HybridScore(u,i)iI}

This step gets out the most relevant items as well as the emotionally matched items of each user.

In the training process, the loss function:

(10)
L=1|R|(u,i)RR^u,iHybrid -Ru,i2+λΘ2

where 𝛩 denotes the model parameters and 𝜆 is the regularization coefficient to prevent overfitting. Optimization is performed using Stochastic Gradient Descent (SGD) with momentum:

(11)
vt+1=γvt+ηΘL,Θt+1=Θt-vt+1

This ensures stable convergence and efficient learning of model parameters.

The proposed model integrates the behavioral, contextual, and emotional findings into one recommendation score. It is able to increase the accuracy, personalization and emotional relevance in recommendations by combining deep-learning sentiment extraction with the more traditional CF and CBF. Table 3 indicates the chosen hyperparameters and their experimentally confirmed values to train the model.

Table 3.

Hyperparameter Tuning & Training Strategy

Parameter Tested Values Final Selection
Learning rate {1e-5, 3e-5, 1e-4} 3.00E-05
Batch size {16, 32, 64} 32
Max token length {128, 256, 512} 256
Dropout {0.1, 0.2, 0.3, 0.5} 0.2
Optimizer Adam, AdamW AdamW

Results and Discussions

In this section performance comparison of proposed framework with state of art techniques has been discussed. The proposed framework has been implemented using Python on Google Colab. The computation speed and time of training were also improved due to the use of the GPU in the platform. The dataset utilized for performance evaluation is Sentiment- Based Product Recommendation and Reviews. This sample contains approximately 12,000 user reviews that have been labeled. By comparison, MovieLens provides more than 33 + million ratings and 2.3 + million tags of approximately 331 000 users and 86 000 movies. Both datasets underwent text cleaning and token normalization, as well as stop-word elimination, and transformed corpus with the maximum sequence length of 256 tokens using transformers. The dataset is accessed through Kaggle. The dataset has numerous user-generated reviews and product ratings, which make it the best to test sentiment-based recommendation models. All records contain user ID, product ID, a rating and a textual review. The product variety in which reviews are performed gives the model a wide exposure to different sentiments and purchasing trends. Since the reviews are mixed with a positive and negative comment, they can be used to train and justify sentiment-analysis modules. A combination of structured fields and unstructured text gives a good foundation on the development and testing of hybrid recommendation systems that integrate emotional context and well-known rating predictions. Table 4 indicates the system structure and calculation design of the model implementation. Furthermore, the attributes of the dataset are summarized in Table 5.

Table 4.

Experimental Environment

Component Configuration
Platform Google Colab Pro+
GPU NVIDIA Tesla T4 (16GB VRAM)
CPU 2.30 GHz × 4 Cores
RAM 25 GB
OS Ubuntu 20.04
Libraries Python 3.10, PyTorch 2.1, Transformers 4.33
Table 5.

Description of the Sentiment-Based Product Recommendation and Reviews dataset

Attribute Type Description
User_ID Integer / String A unique identifier assigned to each customer who has provided a review or rating for a product.
Product_ID Integer / String A distinct code that represents each product available in the dataset, helping link reviews and ratings to specific items.
Review_ Text Text The written feedback shared by users, containing opinions, experiences, and emotional expressions related to the product.
Rating Numerical (1–5 scale) A numeric value that reflects the user’s level of satisfaction, typically ranging from 1 (very poor) to 5 (excellent).
Summary Text A short sentence or phrase summarizing the user’s review, often capturing the overall sentiment or opinion.
Time Timestamp / Date The date and time when the review was submitted, useful for analyzing temporal trends in user sentiment.
Sentiment_Label Categorical (Positive / Negative / Neutral) The classified sentiment derived from the review text, indicating whether the user’s experience was favorable, unfavorable, or neutral.

The analysis is based on the MovieLens Latest Full dataset that consists of more than 33 million user ratings as well as approximately 2.3 million tag applications. It has 86,000 movies that represent approximately 331,000 different users. The data are put in three CSV files rated in ratings.csv, movies in movies.csv and tags in tags.csv. The files are a record of a dissimilar aspect of user-item interaction. Behavioral and content-based analyses are based on these files. The dataset is a combination of numerical, textual, and categorical data, allowing CF relying on it, as well as sentiment-based approaches. The usage of the dataset is described in a Table 6.

Table 6.

Description for the attributes of the dataset

File Attribute Description
ratings.csv userId Unique identifier for user
movieId Unique identifier for movie
rating Integer rating (usually 1–5 stars; some versions allow 0.5 increments)
timestamp Unix timestamp of rating event
movies.csv movieId Identifier (joins with ratings)
title Movie title (with release year)
genres Pipe-separated list of genres (e.g., “Comedy
tags.csv userId ID of the user who tagged
movieId ID of the movie tagged
tag Freetext usergenerated tag
timestamp Unix timestamp of tagging event

Performance Metrics

Accuracy is the proportion of the accurate forecasting to all the predictions of the model. It gives us the overall recital of the model. The accuracy is however misleading, particularly on unbalanced data sets, where one class is predominant, as a model can be highly accurate merely by voting in the majority class.

(12)
 Accuracy =TN+TPTN+TP+FN+FP

Precision is the proportion of accurate and all predictions called positive by the model. It demonstrates the ability of the model to avoid false positives. Precision is very important in cases where a false positive classification might have grave repercussions or a false declaration.

(13)
 precision =TPTP+FP

Recall, depict sthe proportion of the correctly detected positives divided by the total actual positives is referred to as the proportion of the true positives. This measure is particularly crucial when a positive result is missed which might cause essential mistakes or undesirable outcomes.

(14)
 Recall =TPTP+FN

The harmonic mean of precision and recall is the F1. It provides an objective picture of the performance of a model. The measure is applicable when both false positives and negative are significant. It is good in case of uneven distributions of the classes as there is a reasonable assessment of the prediction given by the model in all the classes.

(15)
 F 1- score =2× Recall × Precision  Recall + Precision 

Results

In Figure 3, the confusion matrix of the baseline sentiment classification model is used. It made only 33 false positives and 68 false negatives which is a very low rate of error.

https://cdn.apub.kr/journalsite/sites/durabi/2025-016-04/N0300160405/images/Figure_susb_16_04_05_F3.jpg
Figure 3.

Confusion Matrix of the proposed framework for the Dataset-1.

This means that the model is accurate, and it detects most positive sentiments but it has a limited number of errors. Although some of the positive feedbacks were marked as negative, the overall accuracy of approximately 98.8 3 appears to be balanced between the precision and recall. These results verify that the model is effective to record the most important patterns of sentiments and give a strong base to the enhanced hybrid system of recommendations.

The confusion matrix of the optimized sentiment classification model is shown in Figure 4 and the accuracy of the model was approximately 99.14. Based on approximately 12,000 samples, the model was able to identify 10,647 positive cases and 1,250 negative cases and false positives and false negatives were only 28 and 75 respectively. These results indicate very high classification and are lowly in error. The extremely low percentage of error of classification shows how effective the suggested hybrid approach is in learning and differentiating the sentiment polarity. The fact that the system is accurate in both positive and negative forecasts is also indicative of its stability, robustness, and scalability and it is therefore effective in large-scale sentiment-based recommendation tasks.

https://cdn.apub.kr/journalsite/sites/durabi/2025-016-04/N0300160405/images/Figure_susb_16_04_05_F4.jpg
Figure 4.

Confusion Matrix of the proposed framework for the Dataset-2.

Figure 5 and Table 7 reflect the performance of the initial version of the sentiment-classification model. It has average accuracy of about 98.78. The model has been identified as very good at identifying the appropriate sentiment patterns. Recall is slightly higher than precision that is, it picks the majority of the positive cases although some false positives are also generated. F1-score, a metric that gives a balance amid precision and recall, shows that there is a healthy trade-off between the two. In general, the findings verify that the model is effective and consistent, which provides a good foundation to include SAto the hybrid recommendation framework.

https://cdn.apub.kr/journalsite/sites/durabi/2025-016-04/N0300160405/images/Figure_susb_16_04_05_F5.jpg
Figure 5.

The performance shown by the proposed framework on the dataset-1.

Table 7.

Metrices value of the proposed work on dataset-1

Metric Value (%)
Precision 97.96
F1-Score 98.19
Recall 98.42
Accuracy 98.78

The results of the assessment of the improved model are presented in Figure 6 and Table 8 and have the accuracy of approximately 99.14. The almost flawless accuracy and recall rates indicate that the model is capable of distinguishing amid positive and negative sentiments with an enormous degree of accuracy. F1-Score 99.52-percent shows that there was a good trade-off on the true positives and the false classification. This is an enhancement of the earlier version, as the model has a higher capability to generalize to a larger dataset and still achieve a high performance.

https://cdn.apub.kr/journalsite/sites/durabi/2025-016-04/N0300160405/images/Figure_susb_16_04_05_F6.jpg
Figure 6.

The performance shown by the proposed framework on the dataset-1.

Table 8.

metrices value of the proposed work on dataset-2

Metric Value (%)
Precision 99.74
F1-Score 99.52
Recall 99.3
Accuracy 99.14

Figure 7 illustrates the accuracy of the four models sucha as Karabila et al., Hameed and Zapirain, Pan and Liang, and our proposed framework. Hameed and Zapirain stated that BiLSTM model had an accuracy of approximately 0.89, and BiGRU model by Pan and Liang gave an accuracy of approximately 0.91. Karabila et al. achieved a slightly better accuracy, namely 0.92. Our model had the best accuracy of 0.95 which is a significant improvement of 6.7 and 4.4 and 3.3 relative to BiLSTM, BiGRU and Karabila et al.. These results underscore the excellence of our model in terms of its capacity to predict sentiment patterns with appropriate accuracy and give sound recommendations.

https://cdn.apub.kr/journalsite/sites/durabi/2025-016-04/N0300160405/images/Figure_susb_16_04_05_F7.jpg
Figure 7.

Accuracy comparison of the existing techniques on the Dataset-1.

Figure 8 shows the comparison of the F1 -score of four frameworks. The F1-score is used to balance the precision and recall to provide a whole picture regarding the classification effectiveness of a model. A mean F1-score of 0.89 was obtained by Hameed and Zapirain using a BiLSTM architecture. A BiGRU was used to increase the score to 0.91 by Pan and Liang. Karbali et al. received a little more value of 0.92, which would denote a moderate improvement. Our framework achieved a score of 0.95, and it was always higher than all other works. The decrease in error of misclassification and highly effective generalization of this model proves its usefulness. These results prove that the suggested system is more balanced in terms of sensitivity and precision than the approaches it was contrasted with Figure 8. Comparison of AUC-score of the existing techniques on Dataset-1. Figure 8 demonstrates four frameworks AUC scores. AUC is used to determine how a model can differentiate between positive and negative sentiment. Hameed and Zapirain also achieved an AUC of approximately 0.70 with their BiLSTM. Using a BiGRU, Pan and Liang increased this to 0.80. Karabila et al. developed an even larger AUC of approximately 0.85 showing improved class separation. Our proposed framework performed significantly better than any other model in the past with AUC of 0.95: 35.7 per cent higher than BiLSTM, 18.8 per cent higher than BiGRU and 11.8 per cent higher than Karabila et al. These gains demonstrate the fact that our architecture is more resilient and discriminating sentiment when it comes to recommendation tasks.

https://cdn.apub.kr/journalsite/sites/durabi/2025-016-04/N0300160405/images/Figure_susb_16_04_05_F8.jpg
Figure 8.

F1-Score assessment of the existing techniques on the Dataset-1.

Figure 9 and Table 9 shows a comparative evaluation of four frameworks such as Sekaran et al., Singh et al., Ojo et al., and the proposed methodology. The proposed approach is more stable and efficient at producing sentiment-based suggestions and, therefore, it always has better results in all of the metrics compared to others.

https://cdn.apub.kr/journalsite/sites/durabi/2025-016-04/N0300160405/images/Figure_susb_16_04_05_F9.jpg
Figure 9.

Comparison of proposed model with existing techniques on the Dataset-2s.

Table 9.

Assessment of proposed framework with existing techniques on Dataset-2

Models Features Used F1-
Score
Precision Accuracy Recall
Sekaran et al. CF only 68% 79% 98% 72%
Singh et al. CF + CBF 86.48% 89% 91.20% 84.10%
Ojo et al. CF + CBF 97% 97% 97% 97%
Proposed Methodology CF + CBF + Sentiment (Final Model) 99.52% 99.74% 99.14% 99.30%

S ekaran et al. obtained lesser metric values, where precision, recall and F1-score decreased significantly below 80%. This means that there was less consistency in classification accuracy albeit with moderate accuracy. Singh et al. have done slightly better, maintaining most of the metrics at above 85%, although recall was inadequate, indicating that they are not able to capture all the instances of sentiment of interest. Ojo et al. demonstrated consistent performance and the accuracy and recollection of about 95% and are representative of the balanced classification. Conversely, the presented approach recorded almost perfect results, with all the four indicators of about 99%. The proposed model works more effectively primarily due to its combination of sentiment data. This allows it to examine behavioral and content relating similarities as well as the emotional resonance of user response. It identifies nuanced sentiment within the context that is absent with traditional CF and CBF approaches through transformer embeddings such as BERT and RoBERTa. The sentiment signal then increases or decreases scores on recommendations depending on actual user emotions eliminating irrelevant suggestions and enhancing accuracy. A deep fusion layer models non-linear correlations between behavior, content, and affective cues, is more accurate, robust and less sparse and cold start compared to traditional methods.

In addition to performance, we address the sustainability of the framework in relation to the digital well-being perspective. Our interpretation of sustainability is based on digital and social welfare and not environmental figures. Sentiment-aware hybrid learning is expected to reduce redundant recommendations, increase user experience, and foster emotionally engaging online interactions, which are the values that sustainability of smart-urban ecosystems are supposed to be. Although we now define sustainability conceptually, next generation research will include quantifiable measures such as user-experience outcomes, computational cost, and scalability of deployment to determine its effect.

Conclusion

The sentiment-aware DL system integrates collaborative, content-based, and transformer-based sentiment analyzes into a single architecture that aims at sustainable smart urban and social network ecosystems. It is able to do this by exploiting advanced transformers like BERT and RoBERTa to extract both behavioral and affective user preferences, which generate highly accurate, context-sensitive, and human-centric suggestions. The results indicate that the framework is more effective than traditional techniques since it scored 99.14% accuracy and 99.52% F1-score, which proves its strength, flexibility, and efficiency. Besides predictive accuracy, the framework will enhance digital and social sustainability through lessening computational load, enhancing user trust, and providing ethical, inclusive, and context-sensitive personalization.

References

1

T.B. Lalitha and P.S. Sreeja, Recommendation system based on machine learning and deep learning in varied perspectives: a systematic review. Information and Communication Technology for Competitive Strategies (ICTCS 2020) Intelligent Strategies for ICT. 6 (2021), pp. 419-432.

10.1007/978-981-16-0882-7_36
2

C. Choudhary, I. Singh, and M. Kumar, SARWAS: Deep ensemble learning techniques for sentiment based recommendation system. Expert Systems with Applications. 15(216) (2023), 119420.

10.1016/j.eswa.2022.119420
3

B. Selvakumar and B. Lakshmanan, Sentimental analysis on user’s reviews using BERT. Materials Today: Proceedings. 1(62) (2022), pp. 4931-4935.

10.1016/j.matpr.2022.03.678
4

P. Gupta, K.K. Bhatia, and N. Duhan, A Socio- economic cost-effective budget allocation framework for real-time bidding in online advertisement for urban development. International Journal of Sustainable Building Technology and Urban Development. 16(2) (2025), pp. 234-250.

5

D. Zhang, Automated Tourism Path Recommendation System Using Convolutional Neural Network based Bidirectional Long Short-Term Memory. In2024 Second International Conference on Data Science and Information System (ICDSIS). IEEE. May. (2024), pp. 1-5.

10.1109/ICDSIS61070.2024.10594175
6

K.S. Sangher, A. Singh, and H.M. Pandey, LSTM and BERT based transformers models for cyber threat intelligence for intent identification of social media platforms exploitation from darknet forums. International Journal of Information Technology. 16(8) (2024), pp. 5277-5292.

10.1007/s41870-024-02077-5
7

E. Anbazhagan, E. Sophiya, and R. Prasanna Kumar, Sentiment-aware drug recommendations with a focus on symptom-condition mapping. International Journal of Information Technology. 16(8) (2024), pp. 5195-5212.

10.1007/s41870-024-02091-7
8

R. Kansal and C. Diwaker, Significant Factors for Recommender Systems Using Sentimental Analysis. InInternational Conference on Mobile Radio Communications & 5G Networks 2023 Aug 25. Singapore: Springer Nature Singapore. (2023), pp. 371-381.

10.1007/978-981-97-0700-3_29
9

B. Khemani, S. Malave, S. Patil, N. Shilotri, S. Varma, V. Vishwakarma, and P. Sharma, Sentimatrix: sentiment analysis using GNN in healthcare. International Journal of Information Technology. 16(8) (2024), pp. 5213-5219.

10.1007/s41870-024-02142-z
10

S. Dangi, D. Kumar, and V. Khurana, BAAO: Bayesian and Adam optimizer for fault prediction in self-driving software systems using deep learning-based hyperparameter tuning. International Journal of Information Technology. 17(2) (2025), pp. 841-850.

10.1007/s41870-024-02273-3
11

C. Li, I. Ishak, H. Ibrahim, M. Zolkepli, F. Sidi, and C. Li, Deep learning-based recommendation system: Systematic review and classification. IEEE Access. Oct. 11 (2023), pp. 113790-113835.

10.1109/ACCESS.2023.3323353
12

M.A. Jassim, D.H. Abd, and M.N. Omri, A survey of sentiment analysis from film critics based on machine learning, lexicon and hybridization. Neural Computing and Applications. 35(13) (2023), pp. 9437-9461.

10.1007/s00521-023-08359-6
13

H.W. An and N. Moon, Design of recommendation system for tourist spot using sentiment analysis based on CNN-LSTM. Journal of Ambient Intelligence and Humanized Computing. 13(3) (2022), pp. 1653-1663.

10.1007/s12652-019-01521-w
14

M. Rashid, S.A. Parah, A.R. Wani, and S.K. Gupta, Securing E-Health IoT Data on Cloud Systems using Novel Extended Role Based Access Control Model. Internet of Things (IoT): Concept and Applications. (2020), pp. 473-489.

10.1007/978-3-030-37468-6_25
15

A. Sharma, N. Kumar, C. Diwaker, B. Sharma, R. Baniwal, S.B. Bhattacharjee, and S. Rani, A Machine learning-based framework for energy-efficient load balancing in sustainable urban infrastructure and smart buildings. International Journal of Sustainable Building Technology and Urban Development. 15(4) (2024), pp. 498-512.

16

C. Chunka, S. Banerjee, and S.K. Gupta, A secure communication using multifactor authentication and key agreement techniques in internet of medical things for COVID-19 patients. Concurrency and Computation: Practice and Experience. 35(7) (2023), pp. 1-22.

10.1002/cpe.7602
17

V. Khullar, I. Kansal, S.B. Bhattacharjee, Z. Tasneem, N. Goyal, S. Samreen, S.K. Gupta, and S. Mahajan, Multiple model visual feature embedding and selection method for an efficient pest classification supporting precision agriculture. Sci. Rep. 15 (2025).

10.1038/s41598-025-16942-140877365PMC12394682
18

S.K. Gupta and A. Banerjee, Energy and Experimental Trust-based Task Offloading in the Domain of Connected Autonomous Vehicles. Veh. Commun. 55 (2025), 100954.

10.1016/j.vehcom.2025.100954
19

S.S. Dhanda, S. Kumari, V. Kumar, and S.K. Gupta, A low-latency 163-bit ECC processor for IoT applications. J. Electr. Eng. 76(3) (2025), pp. 241-255.

10.2478/jee-2025-0025
20

N.K. Chauhan, K. Singh, A. Kumar, A. Mishra, S.K. Gupta, S. Mahajan, J. Kim, and S. Kadry, A hybrid learning network with progressive resizing and PCA for diagnosis of cervical cancer on WSI slides. Sci. Rep. 15 (2025), 12801.

10.1038/s41598-025-97719-440229435PMC11997219
21

N.V. Babu and E.G. Kanaga, Sentiment analysis in social media data for depression detection using artificial intelligence: a review. SN computer science. 3(1) (2022), 74.

10.1007/s42979-021-00958-134816124PMC8603338
22

R.L. Rosa, G.M. Schwartz, W.V. Ruggiero, and D.Z. Rodríguez, A knowledge-based recommendation system that includes sentiment analysis and deep learning. IEEE Transactions on Industrial Informatics. Aug. 15(4) (2018), pp. 2124-2135.

10.1109/TII.2018.2867174
23

A. Nair, C. Paralkar, J. Pandya, Y. Chopra, and D. Krishnan, Comparative review on SA-based recommendation system. In: 2021 6th International Conference for Convergence in Technology (I2CT). IEEE. Apr. (2021), pp. 1-6.

10.1109/I2CT51068.2021.9418222
24

A. Sharma, D. Vora, K. Shaw, and S. Patil, SA- based recommendation system for agricultural products. Int J Inf Technol. 16(2) (2024), pp. 761-778.

10.1007/s41870-023-01617-9
25

M. Loukili, F. Messaoudi, and M. El Ghazi, Sentiment analysis of product reviews for e- commerce recommendation based on machine learning. International Journal of Advances in Soft Computing & Its Applications. 15(1) (2023).

26

K. Gupta, N. Jiwani, and N. Afreen, A combined approach of sentimental analysis using machine learning techniques. Revue d’Intelligence Artificielle. 37(1) (2023), 1.

10.18280/ria.370101
27

S. Sellamuthu, S.A. Vaddadi, S. Venkata, H. Petwal, R. Hosur, V. Mandala, R. Dhanapal, J. Singh, AI- based recommendation model for effective decision to maximise ROI. Soft Computing. (2023).

10.1007/s00500-023-08731-7
28

A. Banerjee, S.K. Gupta, and V. Kumar, A Genetic Algorithm-Based Approach for Collision Avoidance in a Multi-UAV Disaster Mitigation Deployment. Concurr. Comput. Pract. Exp. 37 (2025), pp. 1-14.

10.1002/cpe.70061
29

S.S. Dhanda, B. Singh, P. Jindal, V. Kumar, and S.K. Gupta, AES-8: A Lightweight AES for Resource- Constrained IoT Devices. Trans. Emerg. Telecommun. Technol. 36 (2025), 70094.

10.1002/ett.70094
30

S.S. Dhanda, V. Kumar, S.K. Gupta, D. Panwar, and P. Singh, A Comparison of 163-bit Hybrid Karatsuba Multiplier and Word-Serial Multipliers for ECC processors. Trans. Emerg. Telecommun. Technol. 36 (2025), 70074.

10.1002/ett.70074
31

S.K. Gupta, P. Gupta, and P. Singh, Enhancing UAV-HetNet Security Through Functional Encryption Framework. Concurr. Comput. Pract. Exp. 36 (2024), 8206.

10.1002/cpe.8206
32

A. Khan, S. Gupta, and S.K. Gupta, UAV-enabled disaster management: Applications, open issues, and challenges. GMSARN International Journal. 18(1) (2024), pp. 44-53.

33

A. Gupta, S. K. Gupta, A study on secured unmanned aerial vehicle-based fog computing networks. SAE International Journal of Connected and Automated Vehicles, 7(2) (2024), pp. 1-11.

10.4271/12-07-02-0011
34

S.K. Gupta, S. Mohi Ul Din, K. Upreti, S. Mahajan, and S.S. Date, Enhancing CNN weights for improved routing in UAV networks for catastrophe relief with MSBO algorithm. Journal of Mobile Multimedia. 20(5) (2024), pp. 1117-1152.

10.13052/jmm1550-4646.2056
35

J. Cui, Z. Wang, S.B. Ho, and E. Cambria, Survey on sentiment analysis: evolution of research methods and topics. Artificial Intelligence Review. 56(8) (2023), pp. 8469-510.

10.1007/s10462-022-10386-z36628328PMC9816550
36

O.D. Okey, E.U. Udo, R.L. Rosa, D.Z. Rodríguez, and J.H. Kleinschmidt, Investigating ChatGPT and cybersecurity: A perspective on topic modeling and sentiment analysis. Computers & Security. 135 (2023), 103476.

10.1016/j.cose.2023.103476
37

G. Kaur and A. Sharma, Automatic customer review summarization using deep learning-based hybrid sentiment analysis. International Journal of Electrical & Computer Engineering. 14(2) (2024), pp. 2110-2125.

10.11591/ijece.v14i2.pp2110-2125
38

N.A. Sharma, A.S. Ali, and M.A. Kabir, A review of sentiment analysis: tasks, applications, and deep learning techniques. International Journal of Data Science and Analytics. 19(3) (2025)m pp. 351-388.

10.1007/s41060-024-00594-x
39

A. Mahindru, H. Arora, A. Kumar, S.K. Gupta, S. Mahajan, S. Kadry, and J. Kim, PermDroid a Framework developed using proposed feature selection approach and machine learning techniques for Android malware detection. Scientific Reports. 14 (2024), pp. 1-38.

10.1038/s41598-024-60982-y38730228PMC11636933
40

A. Sharma, S. Ram, P. Vasistha, B.K. Kanaujia, D. Gangwar, S.P. Singh, and A. Lay-Ekuakille, Characterization and performance enhancement of 4× 4 microstrip antenna array in dusty atmosphere using metasurface based superstrate. Measurement, 235 (2024), 114736.

10.1016/j.measurement.2024.114736
41

V.D.A. Kumar, A. Kumar, R.S. Batth, M. Rashid, S.K. Gupta, and R. Manish, Efficient Data Transfer in Edge Envisioned Environment using Artificial Intelligence based Edge Node Algorithm. Transactions on Emerging Telecommunications Technologies. 32(6) (2020), pp. 1-15.

10.1002/ett.4110
42

E. Farooq, A. Sahu, and S.K. Gupta, Survey on FSO Communication System Limitations and Enhancement Techniques. Optical and Wireless Technologies, Lecture Notes in Electrical Engineering (LNEE), Springer Nature Singapore. 472 (2018), pp. 255-264.

10.1007/978-981-10-7395-3_29
43

S. Kumar, S.K. Gupta, V. Kumar, M. Kumar, M.K. Chaube, and N.S. Naik, Ensemble Multimodal Deep Learning for Early Diagnosis and Accurate Classification of COVID-19. Computers and Electrical Engineering. 103 (2022), pp. 1-18.

10.1016/j.compeleceng.2022.10839636160764PMC9485428
44

S.K. Gupta and R.K. Saket, Performance metric comparison of AODV and DSDV routing protocols in MANETs using NS-2. International Journal of Research and Reviews in Applied Sciences. 7(3) (2011), pp. 339-350.

45

I. Karabila, N. Darraz, A. EL-Ansari, N. Alami, and M. EL Mallahi, BERT-enhanced sentiment analysis for personalized e-commerce recommendations. Multimedia Tools and Applications. 83(19) (2024), pp. 56463-56488.

10.1007/s11042-023-17689-5
46

Z. Hameed and B. Garcia-Zapirain, Sentiment classification using a single-layered BiLSTM model. IEEE Access. Apr. 8 (2020), pp. 2169-3536.

10.1109/ACCESS.2020.2988550
47

Y. Pan and M. Liang, Chinese text sentiment analysis based on BI-GRU and self-attention. In2020 IEEE 4th Information Technology, Networking, Electronic and Automation Control Conference (ITNEC). IEEE. Jun 12. 1 (2020), pp. 1983-1988.

10.1109/ITNEC48623.2020.9084784
48

R. Sekaran, S. Rajeyyagari, A.K. Munnangi, M. Parasuraman, M. Ramachandran, and A. Kumar, Generic sentimental analysis in web data recommendation based on social media scalable data analytics using machine learning architecture. InInternational Conference on Data Analytics & Management. Singapore: Springer Nature Singapore, Jun 23. (2023). pp. 345-359.

10.1007/978-981-99-6544-1_26
49

T. Singh, V. Rajput, N. Sharma, Satakshi, and M. Kumar, Sentiment analysis based distributed recommendation system. Multimedia Tools and Applications. 83(25) (2024), pp. 66539-66563.

10.1007/s11042-023-18081-z
50

S. Ojo, S. Abbas, M. Marzougui, G.A. Sampedro, A.S. Almadhor, A. Al Hejaili, and I. Ivanochko, Graph Neural Network for Smartphone Recommendation System: A Sentiment Analysis Approach for Smartphone Rating. IEEE Access. Dec 8. 11 (2023), 140451-140463.

10.1109/ACCESS.2023.3341222
51

D. Singla, D. Gupta, and N. Goyal, Sustainable basil leaf disease classification: Benchmarking seven deep learning models using transfer learning for urban and rural farming. International Journal of Sustainable Building Technology and Urban Development. 16(1) (2025), pp. 141-157.

52

A. Sharma, P. Raj, and K. Mehta, A ML-based framework for energy-efficient load distribution in MEC systems. Int J Sustain Build Technol Urban Dev. 15(4) (2024), pp. 332-345.

53

R. Sharma and A. Kamra, Enhancing diagnosis of breast cancer through mammographic image segmentation using Fuzzy C-Means. International Journal of Sustainable Building Technology and Urban Development. 14(4) (2023), pp. 488-499.

페이지 상단으로 이동하기