IAES
Inter
national
J
our
nal
of
Articial
Intelligence
(IJ-AI)
V
ol.
15,
No.
6,
December
2026,
pp.
5968
∼
5979
ISSN:
2252-8938,
DOI:
10.11591/ijai.v15.i6.pp5968-5979
❒
5968
Sentiment–topic
dri
v
en
r
ecommendation
system
f
or
enhanced
personalization
El
Mehdi
Lghaouch
1
,
Soumaya
Ounacer
1
,
Souane
Ardchir
2
,
Mohamed
Azzouazi
1
1
Laboratory
of
Information
T
echnologies
and
Modeling,
F
aculty
of
Sciences
Ben
M’
sik,
Hassan
II
Uni
v
ersity
,
Casablanca,
Morocco
2
National
School
of
Business
and
Management,
Hassan
II
Uni
v
ersity
,
Casablanca,
Morocco
Article
Inf
o
Article
history:
Recei
v
ed
No
v
19,
2025
Re
vised
Aug
19,
2026
Accepted
Sep
20,
2026
K
eyw
ords:
BER
T
opic
Collaborati
v
e
ltering
DistilBER
T
Recommendation
systems
Sentiment
analysis
Singular
v
alue
decomposition++
T
opic
modeling
ABSTRA
CT
Personalized
recommendations
are
an
im
portant
f
actor
in
enhancing
user
satisf
action
on
the
digital
platforms.
This
research
introduces
a
h
ybrid
recommendation
system
tha
t
combines
sentiment
analysis
and
topic
modeling
with
collaborati
v
e
ltering
to
impro
v
e
both
accurac
y
and
personalization.
By
le
v
eraging
distilled
bidirectional
encoder
representations
from
transformers
(DistilBER
T)
for
sentiment
analysis
and
bidirectional
encoder
representations
from
transformers
topic
modeling
(BER
T
opic)
to
unco
v
er
k
e
y
themes
in
user
re
vie
ws,
the
proposed
sentiment-topi
c
singular
v
alue
decomposition++
(SVD++)
model
captures
both
the
emotional
tone
and
specic
preferences
e
xpressed
in
te
xtual
feedback.
Experimental
results
demonstrat
e
signicant
enhancements
ag
ainst
traditional
approaches,
deli
v
ering
more
rele
v
ant
and
conte
xt-a
w
are
recommendations.
Looking
ahead,
future
w
ork
will
focus
on
inte
grating
real-time
feedback,
enhancing
interpretability
,
and
e
xtending
the
frame
w
ork
to
multi-domain
scenarios,
further
rening
the
system’
s
capabilities
and
adaptability
.
This
is
an
open
access
article
under
the
CC
BY
-SA
license
.
Corresponding
A
uthor:
El
Mehdi
Lghaouch
Laboratory
of
Information
T
echnologies
and
Modeling,
F
aculty
of
Sciences
Ben
M’
sik,
Hassan
II
Uni
v
ersity
Casablanca,
Morocco
Email:
elmehdi.lghaouch-etu@etu.uni
vh2c.ma
1.
INTR
ODUCTION
A
recommendation
system
is
a
form
of
technology
that
analyzes
user
preferences
and
beha
viors
for
the
purpose
of
recommending
certain
products,
services,
or
content
[1].
These
recommendation
systems
le
v
erage
data,
such
as
user
ratings,
clicks,
or
bro
wsing
history
,
to
of
fer
personalized
e
xperiences.
The
y
play
an
important
role
in
man
y
elds:
in
e-commerce
[2],
the
y
suggest
products
customers
might
be
interested
in;
on
streaming
platforms
the
y
recommend
mo
vies
or
music
[3];
and
on
social
media
[4],
the
y
allo
w
nding
rele
v
ant
content
or
proles.
Consequently
,
recommendation
systems
not
only
impro
v
e
the
rele
v
ance
of
suggested
items
b
ut
also
contrib
ute
to
a
more
satisfying
user
e
xperience.
T
raditional
recommendation
techniques
generally
rely
on
tw
o
major
paradigms
.
Collaborati
v
e
ltering
[5]
e
xploits
similarities
among
users
or
items
to
generate
recommendations,
whereas
content-based
ltering
[6]
recommends
items
according
to
charac
teristics
shared
with
those
pre
viously
preferred
by
the
user
.
Although
these
approaches
ha
v
e
demonst
rated
their
ef
fecti
v
eness
in
man
y
recommendation
scenarios,
the
y
often
f
ail
to
fully
e
xploit
the
rich
semantic
information
embedded
in
te
xtual
re
vie
ws.
User
re
vie
ws
frequently
e
xpress
detailed
opinions
about
multiple
product
characteristics,
such
as
quality
,
price,
durability
,
or
performance
[7].
Since
users
may
assign
dif
ferent
le
v
els
of
importance
to
these
characteristics,
J
ournal
homepage:
http://ijai.iaescor
e
.com
Evaluation Warning : The document was created with Spire.PDF for Python.
Int
J
Artif
Intell
ISSN:
2252-8938
❒
5969
relying
solely
on
numerical
ratings
may
o
v
erlook
v
aluable
preference
information
and
consequently
limit
recommendation
quality
.
T
o
o
v
ercome
these
limitations,
increasing
attention
has
been
de
v
oted
to
combining
sentiment
analysi
s
with
topic
modeling.
Sentiment
analysis
aims
to
determine
the
polarity
and
emotional
orientation
con
v
e
yed
in
te
xtual
opinions;
ho
we
v
er
,
when
used
independently
,
it
pro
vides
only
a
global
assessment
of
user
sentiment
without
e
xplicitly
identifying
the
product
aspects
responsible
for
that
opinion
[8],
[9].
In
contrast,
topic
modeling
is
an
unsupervised
learning
technique
which
allo
ws
for
the
automatic
disco
v
ery
of
latent
semantic
topics
from
lar
ge
collections
of
unstructured
documents
[10].
These
latent
topics
often
correspond
to
meaningful
product
attrib
utes,
including
durability
,
design,
functionality
,
or
cost,
thereby
of
fering
a
structured
representation
of
users’
concerns.
The
inte
gration
of
sentiments
analysis
and
topic
models
allo
ws
recommendation
systems
to
capture
both
users’
opinions
and
the
underlying
product
aspects
discussed
in
te
xtual
re
vie
ws,
resulting
in
richer
user
preference
representations
and
more
conte
xt-a
w
are
recommendations.
F
or
e
xample,
if
a
user
consistently
e
xpresses
positi
v
e
opinions
re
g
arding
product
durability
,
the
recommender
system
can
assign
greater
importance
to
products
whose
re
vie
ws
e
xhibit
positi
v
e
sentiment
to
w
ard
this
particular
aspect
identied
through
topic
modeling
[11].
Furthermore,
recent
progress
in
deep
learning,
particularly
transformer
-based
models
such
as
bidirectional
encoder
representations
from
transformers
(BER
T),
has
signicantly
enhanced
the
performance
of
sentiment
analysis
and
topic
e
xtraction,
allo
wing
recommendati
on
systems
to
e
xploit
te
xtual
information
with
greater
precision
[12],
[13].
As
a
result,
the
combination
of
these
techniques
has
demonstrated
its
ef
fecti
v
eness
in
impro
ving
recommendation
accurac
y
across
v
arious
applications,
including
e-commerce,
customer
re
vie
w
analysis,
and
social
media
services
[13].
The
remainder
of
this
paper
is
or
g
anized
as
follo
ws.
Section
2
re
vie
ws
the
e
xisting
literat
ure
on
recommendation
systems
inte
grating
sentim
ent
analysis
and
topic
modeling.
Section
3
describes
the
proposed
frame
w
ork,
including
data
preprocessing,
sentiment
e
xtraction
using
distilled
bidirectional
encoder
representations
from
transformers
(DistilBER
T),
topic
disco
v
ery
through
bidirectional
encoder
representations
from
transformers
topic
modeling
(BER
T
opic),
and
the
h
ybrid
singular
v
alue
decomposition++
(SVD++)
recommendation
model.
Section
4
presents
the
e
xperimental
results
together
with
a
comparati
v
e
discussion.
Finally
,
section
5
summarizes
the
main
ndings
of
this
w
ork
a
nd
outlines
potential
directions
for
future
research.
2.
RELA
TED
W
ORK
In
today’
s
e-commerce
and
streaming
service
landscape,
recommender
systems
ha
v
e
become
essential
to
customizing
user
-based
e
xperiences.
Earlier
recomm
ender
approaches
rely
mainly
on
e
xplicit
user
ratings.
Ho
we
v
er
,
e
xplicit
ratings
alone
may
not
capture
the
underlying
opinions
and
conte
xt
behind
user
preferences.
As
a
result,
man
y
researchers
ha
v
e
used
sentiment
analysis
and
topic
modeling
as
complementary
processes
to
traditional
recommender
system
methods.
Numerous
studies
ha
v
e
in
v
estig
ated
the
contrib
ution
of
sentiment
analysis
to
recomm
endation
performance.
Al-Ajlan
and
Alshareef
[14]
proposed
a
recommender
system
for
Arabic
content
that
e
xploits
sentiment
e
xtracted
from
user
re
vie
ws.
Their
ndings
demonstrated
that
incorporating
users’
emotional
e
xpressions
impro
v
es
item
rele
v
ance
be
yond
what
can
be
achie
v
ed
using
numerical
ratings
alone.
Lik
e
wise,
Gao
and
Li
[15]
de
v
eloped
a
personalized
recommendation
frame
w
ork
based
on
semantic
sentiment
analysis,
reporting
impro
v
ed
recommendation
accurac
y
through
the
inte
gration
of
sentiment-a
w
are
representations.
K
umar
et
al.
[16]
introduced
a
h
ybrid
recommendation
frame
w
ork
that
inte
grates
coll
aborati
v
e
ltering,
content-based
ltering,
and
sentiment
analysis
using
the
nai
v
e
Bayes
algorithm.
Their
approach
e
xploits
sentiment
information
e
xtracted
from
microblogging
data
to
generate
more
rened
recommendations.
Experimental
results
sho
wed
that
incorporating
user
opinions
into
the
recommendation
process
leads
to
more
rele
v
ant
and
personalized
suggestions.
T
opic
modeling,
be
yond
sentiment
analysis,
is
also
ef
fecti
v
e
in
identifying
hidden
topics
in
re
vie
w
te
xt
and
e
xpanding
kno
wledge
of
user
preferences.
Liang
et
al.
[17]
constructed
a
joint
sentiment-topic
model
with
rating
and
re
vie
w
(JST
-RR)
model
that
jointly
models
ratings
and
re
vie
ws
to
predict
sentiment
and
topic
distrib
utions.
Their
results
sho
wed
impro
v
ed
recommendations
due
to
better
ali
gnment
between
sentiments
and
topics.
In
another
contrib
ution,
W
ang
et
al.
[18]
proposed
the
matrix
f
actorization
fusing
re
vie
ws
(MFFR)
model
to
address
rating
sparsity
in
recommender
systems.
Latent
Dirichlet
allocation
(LD
A)
w
as
used
to
Sentiment–topic
driven
r
ecommendation
system
for
enhanced
per
sonalization
(El
Mehdi
Lghaouc
h)
Evaluation Warning : The document was created with Spire.PDF for Python.
5970
❒
ISSN:
2252-8938
generate
a
preference
matrix
from
user
re
vie
ws,
which
w
as
then
jointly
f
actorized
with
the
original
rating
matrix.
By
directly
inte
grating
topic
features
from
re
vie
ws
into
the
rating
model,
MFFR
impro
v
ed
rating
prediction
accurac
y
,
particularly
for
sparse
datasets.
Liu
and
Zhao
[19]
de
v
eloped
the
sentiment
analysis
and
matrix
f
actorization
(SAMF)
model
to
o
v
ercome
issues
of
data
sparsity
and
credibility
.
The
y
used
LD
A
to
construct
a
preference
matrix
from
latent
topics
in
re
vie
ws,
then
combined
these
matrices
with
the
original
rating
data
via
matrix
f
actorization.
Furthermore,
sentiment
information
obtained
with
BER
T
w
as
used
to
rene
ratings,
resulting
in
better
recommendation
performance.
Hybrid
approaches
that
combine
multi
ple
techniques
to
capture
v
arious
dimensions
of
user
preferences
ha
v
e
become
increasingly
popular
.
Dang
et
al.
[20]
used
deep
learning
models
to
inte
grate
item
genres
(as
aspects)
with
sentiment-dri
v
en
insights
to
pro
vide
more
comprehensi
v
e
recommendations.
Kanw
al
et
al.
[21]
le
v
eraged
con
v
olutional
neural
netw
orks
(CNNs)
and
topic
modeling
to
rene
user
-specic
recommendations
by
combining
structured
(rating)
and
unstructured
(te
xt)
data.
Xie
et
al.
[22]
combined
sentiment
analysis
and
topic
models
of
re
vie
ws
in
their
study
of
mo
vie
recommendations,
sho
wing
that
joint
use
of
these
techniques
impro
v
es
results
compared
to
using
either
alone.
Despite
these
adv
ancements,
challenges
remain.
One
of
the
main
limitations
lies
in
the
interpretabi
lity
of
comple
x
models,
particularly
deep
learning-based
approaches,
where
understanding
ho
w
recommendations
are
generated
is
not
al
w
ays
straightforw
ard.
Additionally
,
while
sentiment
analysis
and
topic
modeling
impro
v
e
recommendation
accurac
y
,
their
ef
fecti
v
eness
v
aries
across
datasets
and
domains.
The
impact
of
sentiment
polarity
on
recommendation
quality
is
not
al
w
ays
well
-quantied,
raising
questions
about
ho
w
best
to
weight
sentiment
scores
in
predicti
v
e
models.
Furthermore,
man
y
current
systems
still
struggle
to
incorporate
user
conte
xt
dynamically
,
which
is
crucial
for
making
real-time,
highly
rele
v
ant
recommendations.
3.
METHOD
Figure
1
presents
the
proposed
recommendation
system,
which
inte
grates
sentiment
analysis,
topic
modeling,
and
collaborati
v
e
ltering
t
o
enhance
rating
prediction
and
recommendation
accurac
y
.
The
methodology
is
or
g
anized
into
se
v
eral
stages:
data
preprocessing,
sentiment
e
xtraction,
topic
identication,
h
ybrid
rating
estimation,
and
performance
e
v
aluation
using
standard
metrics.
Unlik
e
con
v
entional
collaborati
v
e
ltering
methods
that
depend
e
xclusi
v
ely
on
numerical
ratings,
the
proposed
approach
also
e
xploits
te
xtual
re
vie
ws
to
represent
sentiment
polarity
and
semantic
user
preferences
through
sentiment
analysis
and
topic
modeling,
respecti
v
ely
.
Combining
these
complem
entary
information
sources
supports
more
personalized
and
interpretable
recommendations
while
considering
both
e
xplicit
ratings
and
implicit
user
preferences.
3.1.
Data
pr
epr
ocessing
The
e
xperiments
are
conducted
on
the
Amazon
ne
food
re
vie
ws
dataset,
which
pro
vides
user
identiers,
product
identiers,
numerical
ratings,
and
te
xtual
re
vie
ws
collected
o
v
er
a
ten-year
period
ending
in
October
2012.
It
comprises
568,454
re
vie
ws
associated
with
approximately
74,000
products
and
260,000
users,
reecting
substantial
di
v
ersity
among
consumers
interacting
with
the
products.
Re
vie
ws
contain
an
a
v
erage
of
95
w
ords,
of
fering
suf
cient
te
xtual
information
for
sentiment
analysis.
The
mean
product
rating
is
4.18,
while
5
stars
represents
the
most
frequent
score,
re
v
ealing
an
o
v
erall
positi
v
e
rating
tendenc
y
commonly
observ
ed
in
e-commerce
data.
T
e
xt
preparation
constitutes
the
initial
s
tage
of
the
analysis.
Re
vie
ws
are
cleaned
by
eliminating
stop
w
ords,
punctuation
marks,
special
characters,
and
other
unnecessary
te
xtual
noise
while
retaining
informati
v
e
content.
The
cleaned
re
vie
ws
are
subsequently
di
vided
into
indi
vidual
tok
ens
through
tok
enization.
W
ords
are
then
standardized
to
w
ard
their
basic
forms
by
applying
lemmatization
and
stemming.
These
preprocessing
operations
produce
a
more
consistent
te
xtual
representation
and
prepare
the
re
vie
w
content
for
the
subsequent
analytical
stages.
F
ollo
wing
te
xtual
preprocessing,
additional
cleaning
operations
are
applied
to
the
remaining
dataset.
Missing
information
is
addressed
through
either
im
putation
or
remo
v
al
of
incomplete
records,
while
duplicated
instances
are
eliminated
to
reduce
redundanc
y
.
Users
contrib
uting
fe
wer
than
10
re
vie
ws
and
products
recei
ving
fe
wer
t
han
5
re
vie
ws
are
e
xcluded
to
retain
interactions
i
n
v
olvi
ng
suf
ciently
acti
v
e
users
and
represented
items.
Numerical
attrib
utes,
including
ratings,
are
normalized
when
appropriate,
sentiment-related
features
are
e
xtracted,
and
the
resulting
dataset
is
nally
partitioned
into
training
and
testing
subsets
for
model
assessment.
After
preprocessing,
the
dataset
contains
numerical
attrib
utes,
including
score
for
e
xplicit
ratings,
together
Int
J
Artif
Intell,
V
ol.
15,
No.
6,
December
2026:
5968–5979
Evaluation Warning : The document was created with Spire.PDF for Python.
Int
J
Artif
Intell
ISSN:
2252-8938
❒
5971
with
te
xtual
attrib
utes
such
as
te
xt
and
CleanedT
e
xt,
which
support
sentiment
and
topic
e
xtraction.
T
able
1
summarizes
the
resulting
dataset
structure.
Figure
1.
Proposed
recommendation
system
T
able
1.
Dataset
structure
after
preprocessing
Feature
name
Description
Id
Unique
identier
for
each
record
ProductId
Unique
identier
for
products
UserId
Unique
identier
for
users
Score
Explicit
user
rating
(1
to
5)
CleanedT
e
xt
Preprocessed
and
cleaned
te
xt
from
re
vie
ws
3.2.
Sentiment
analysis
with
DistilBER
T
Sentiment
information
is
e
xtracted
from
user
re
vie
ws
using
DistilBER
T
,
a
pre-trained
trans
former
language
model
subsequently
ne-tuned
for
sentiment
classication.
DistilBER
T
is
a
compact
v
ersion
of
BER
T
that
maintains
most
of
its
predicti
v
e
performance
while
reducing
computational
re
qu
i
rements
[23].
Introducing
sentiment
analysis
into
the
recommendation
process
mak
es
it
possible
to
capture
implicit
emotional
information
e
xpressed
in
te
xtual
feedback,
thereby
complementing
the
information
a
v
ailable
from
e
xplicit
numerical
ratings.
Before
classication,
each
re
vie
w
is
processed
through
tok
enization,
lo
wercasing,
stop-w
ord
remo
v
al,
and
punctuation
normalization.
The
resulting
te
xt
is
supplied
to
the
DistilBER
T
classier
,
where
self-attention
mechanisms
are
used
to
model
conte
xtual
relationships
and
linguistic
phenomena
including
ne
g
ation,
iron
y
,
and
comparati
v
e
e
xpressions.
This
preparation
allo
ws
the
classier
to
emphasize
semantically
informati
v
e
content
while
retaining
the
conte
xtual
information
required
for
reliable
sentiment
identication.
Sentiment–topic
driven
r
ecommendation
system
for
enhanced
per
sonalization
(El
Mehdi
Lghaouc
h)
Evaluation Warning : The document was created with Spire.PDF for Python.
5972
❒
ISSN:
2252-8938
F
or
ne-tuning,
the
model
uses
a
batch
size
of
64
and
a
learning
rate
of
2
×
10
−
5
to
maintain
stable
con
v
er
gence.
Ev
ery
re
vie
w
recei
v
es
one
of
three
sentiment
labels—positi
v
e,
ne
g
ati
v
e,
or
neutral—along
with
its
corresponding
condence
score.
These
cate
gorical
predictions
are
then
con
v
erted
into
numerical
representations
for
subsequent
inte
gration
within
the
recommendation
frame
w
ork.
F
or
a
gi
v
en
user
–item
pair
(
u,
i
)
,
the
sentiment
score
is
dened
as
(1).
S
(
u,
i
)
=
(
−
1)
1
neg
·
P
sen
timen
t
(1)
Where
P
sen
timen
t
represents
the
condence
associated
with
the
predicted
sentiment,
and
1
neg
=
1
when
the
re
vie
w
is
classied
as
ne
g
ati
v
e
and
0
otherwise.
Under
this
formulation,
positi
v
e
opinions
are
mapped
to
[0
,
1]
,
whereas
ne
g
ati
v
e
opinions
f
all
within
[
−
1
,
0]
.
The
absolute
v
alue
reects
prediction
condence,
allo
wing
polarity
and
sentiment
strength
to
be
represented
simultaneously
.
F
or
instance,
when
a
positi
v
e
re
vie
w
has
P
sen
timen
t
=
0
.
85
,
the
resulting
score
is:
S
(
u,
i
)
=
(
−
1)
0
·
0
.
85
=
0
.
85
whereas
a
ne
g
ati
v
e
re
vie
w
associated
with
P
sen
timen
t
=
0
.
75
produces:
S
(
u,
i
)
=
(
−
1)
1
·
0
.
75
=
−
0
.
75
.
These
tw
o
e
xamples
sho
w
ho
w
polarity
and
condence
are
represented
jointly
through
a
single
scalar
sentiment
v
alue.
The
resulting
sentiment
v
alues
are
incorporated
into
the
h
ybrid
recommendation
model
to
enrich
rating
prediction
with
emotional
information
obtained
from
te
xtual
feedback.
Accordingly
,
users’
subjecti
v
e
opinions
can
be
considered
alongside
their
e
xplicit
ratings.
This
additional
signal
helps
the
model
distinguish
between
products
that
may
recei
v
e
comparable
numerical
scores
while
being
described
through
dif
ferent
emotional
responses
in
their
re
vie
ws.
3.3.
T
opic
modeling
with
BER
T
opic
T
opic
modeling
comprises
unsupervised
learning
methods
intended
to
identify
latent
thematic
structures
from
recurring
w
ord
patterns
in
lar
ge
collections
of
unstructured
te
xt
[24].
Con
v
entional
approaches,
such
as
LD
A
mainly
depend
on
w
ord
co-occurrence
information
and
may
therefore
pro
vide
a
limited
representation
of
deeper
semantic
relationships.
BER
T
opic
addresses
this
limitation
by
combining
transformer
-deri
v
ed
embeddings
with
clustering
techniques,
of
fering
a
modern
approach
for
e
xtracting
semantically
meaningful
topics
[25].
In
BER
T
opic,
pre-trained
language
models
such
as
BER
T
are
rs
t
used
to
represent
documents
as
dense
conte
xtual
embeddings.
Uniform
manifold
approximation
and
projection
(UMAP)
subsequently
reduces
the
dimensionality
of
these
representations,
after
which
hierarchical
density-based
spatial
clustering
of
applications
with
noise
(HDBSCAN)
groups
semantically
related
re
vie
ws
into
topic
clusters.
Through
this
sequence
of
operations,
semantic
proximity
and
density
information
are
preserv
ed
within
the
embedding
representation,
supporting
the
e
xtraction
of
coherent
and
interpretable
topics.
Each
resulting
topic
is
charact
erized
by
representati
v
e
k
e
yw
ords,
while
the
probability
assigned
to
a
document
is
determined
from
its
position
relati
v
e
to
the
corresponding
cluster
.
The
resulting
topic
distrib
utions
pro
vide
a
concise
representation
of
the
principal
aspects
discussed
within
user
re
vie
ws.
Hence,
one
or
se
v
eral
dominant
thematic
dimensions
can
be
associated
with
each
re
vie
w
.
F
or
each
user
–item
pair
,
topic
rele
v
ance
is
calculated
as
(2).
P
T
(
u,
i
)
=
T
P
(
T
|
R
)
·
I
T
(2)
Where
P
(
T
|
R
)
is
the
probability
of
topic
T
gi
v
en
the
re
vie
w
set
R
,
while
I
T
denotes
the
import
ance
assigned
to
topic
T
for
item
i
.
This
e
xpression
aggre
g
ates
topic
inform
ation
from
the
re
vie
ws
related
to
the
same
user
–item
interaction.
It
consequently
identies
the
aspects,
such
as
taste,
packaging,
or
price,
that
contrib
ute
most
strongly
to
the
user’
s
e
v
aluation.
Int
J
Artif
Intell,
V
ol.
15,
No.
6,
December
2026:
5968–5979
Evaluation Warning : The document was created with Spire.PDF for Python.
Int
J
Artif
Intell
ISSN:
2252-8938
❒
5973
3.4.
Hybrid
rating
pr
ediction
with
SVD++
The
collaborati
v
e
ltering
stage
relies
on
SVD++,
a
matrix
f
actorization
e
xtension
that
incorporat
es
implicit
feedback
when
estimating
user
ratings.
In
comparison
with
standard
matrix
f
actorization,
SVD++
jointly
e
xploits
e
xplicit
rating
information
and
implicit
interac
tion
signals
whe
n
representing
user
preferences.
This
property
mak
es
the
method
particularly
appropriate
for
recommendation
settings
characterized
by
sparse
rating
information.
The
estimated
rating
for
user
u
and
item
i
is
e
xpressed
as
(3).
ˆ
R
(
u,
i
)
=
µ
+
b
u
+
b
i
+
q
T
i
⎛
⎝
p
u
+
|
N
u
|
−
0
.
5
j
∈
N
u
y
j
⎞
⎠
(3)
Where
µ
denotes
the
o
v
erall
mean
rating,
b
u
and
b
i
correspond
to
the
user
and
item
bias
terms,
p
u
and
q
i
represent
their
latent
f
actor
v
ectors
,
and
N
u
contains
the
items
rated
by
user
u
.
The
implicit
feedback
term
|
N
u
|
−
0
.
5
j
∈
N
u
y
j
contrib
utes
additional
informati
on
when
user
ratings
are
sparse.
This
representation
therefore
accounts
for
both
long-term
preference
patterns
and
interaction-related
information.
The
nal
h
ybrid
score
combines
collaborati
v
e
prediction
with
sentiment
and
topic
information
as
(4).
H
(
u,
i
)
=
α
·
ˆ
R
(
u,
i
)
+
β
·
S
(
u,
i
)
+
γ
·
P
T
(
u,
i
)
(4)
Where
α
,
β
,
and
γ
specify
the
relati
v
e
contrib
ution
of
the
three
components.
These
coef
cients
combine
e
xplicit
numerical
information
with
sentiment
polarity
and
topic
rele
v
ance
e
xtracted
from
re
vie
ws.
Their
v
alues
are
determined
through
grid-search
optimization
to
obtain
the
strongest
o
v
erall
recommendation
performance.
3.5.
Ev
aluation
metrics
Model
performance
is
e
xamined
from
tw
o
perspecti
v
es:
numerical
rating
prediction
and
top-
k
recommendation
quality
.
Rating-oriented
measures
quantify
the
dif
ference
between
the
predicted
and
actual
ratings.
In
contrast,
top-
k
measures
e
v
aluate
the
rele
v
ance
of
the
rank
ed
items
returned
to
users.
3.5.1.
Rating
pr
ediction
accuracy
Rating
prediction
accurac
y
is
e
v
aluated
using
root
mean
squared
error
(RMSE)
and
mean
absolute
error
(MAE),
as
dened
in
(5)
and
(6).
Both
metrics
quantify
de
viations
between
estimated
and
observ
ed
ratings,
al
though
RMSE
assigns
greater
inuence
to
lar
ger
prediction
errors.
The
y
therefore
pro
vide
complementary
measures
of
the
accurac
y
of
the
predicted
scores.
R
M
S
E
=
⌜
⃓
⃓
⎷
1
|
T
|
(
u,i
)
∈
T
(
R
(
u,
i
)
−
H
(
u,
i
))
2
(5)
M
AE
=
1
|
T
|
(
u,i
)
∈
T
|
R
(
u,
i
)
−
H
(
u,
i
)
|
(6)
Where
R
(
u,
i
)
denotes
the
observ
ed
user
rating
and
H
(
u,
i
)
represents
the
h
ybrid
prediction.
Smaller
RMSE
and
MAE
v
alues
correspond
to
more
accurate
rating
estimates.
Both
measures
are
commonly
emplo
yed
to
quantify
numerical
prediction
error
in
recommender
-system
e
v
aluation.
3.5.2.
T
op-
k
r
ecommend
a
t
ion
metrics
The
quality
of
rank
ed
recommendations
is
measured
using
Precision@k,
Recall@k,
and
F1-score@k.
Precision@k
quanties
ho
w
man
y
items
within
the
top-
k
list
are
rele
v
ant
as
dened
in
(7),
whereas
Recall@k
determines
ho
w
much
of
the
rele
v
ant
item
set
is
reco
v
ered
by
the
recommendation
list
as
dened
in
(8).
F1-score@k
combines
these
tw
o
measures
into
a
single
balanced
indicator
as
dened
in
(9).
P
r
ecision
@
k
=
1
|
U
|
u
∈
U
|
R
(
u
)
∩
T
(
u
)
|
|
R
(
u
)
|
(7)
Sentiment–topic
driven
r
ecommendation
system
for
enhanced
per
sonalization
(El
Mehdi
Lghaouc
h)
Evaluation Warning : The document was created with Spire.PDF for Python.
5974
❒
ISSN:
2252-8938
R
ecal
l
@
k
=
1
|
U
|
u
∈
U
|
R
(
u
)
∩
T
(
u
)
|
|
T
(
u
)
|
(8)
F
1
−
scor
e
@
k
=
2
·
P
r
ecision
@
k
·
R
ecal
l
@
k
P
r
ecision
@
k
+
R
ecal
l
@
k
(9)
Rele
v
ant
items
T
(
u
)
are
determined
according
to
three
alternati
v
es:
i)
median
rating
threshold,
ii)
mean
rating
plus
standard
de
viation
threshold,
and
iii)
percentile-based
threshold.
These
denitions
mak
e
it
possible
to
determine
rele
v
ant
items
under
dif
ferent
assumptions
re
g
arding
rating
distrib
utions.
Among
the
e
v
aluated
alternati
v
es,
the
75t
h
percentile
threshold
pro
vided
the
most
consistent
beha
vior
across
dif
ferent
rating
distrib
utions.
3.6.
Experimental
setup
and
implementation
details
This
subsection
reports
the
e
xperimental
conguration
and
implementation
parameters
used
to
reproduce
the
proposed
recommendation
frame
w
ork.
The
same
settings
were
maintained
throughout
the
e
xperiments.
The
dataset
w
as
di
vided
according
to
a
x
ed
70%
training
and
30%
testing
partition.
This
identical
split
and
e
v
aluation
procedure
w
as
used
for
both
the
baseline
SVD++
implementation
and
the
proposed
sentiment-topic
SVD++
model.
A
x
ed
random
seed
w
as
additionally
maintained
throughout
the
e
xperiments
to
limit
v
ariations
caused
by
random
initialization.
3.6.1.
Sentiment
analysis
implementation
Sentiment
e
xtraction
used
the
distilbert
-base-uncased
transformer
checkpoint.
The
model
w
as
ne-tuned
for
three
epochs
using
adapti
v
e
moment
estimation
with
decoupled
weight
decay
(AdamW)
with
a
learning
rate
of
2
×
10
−
5
and
a
batch
size
of
64.
Re
vie
w
sequences
were
padded
or
truncated
to
a
maximum
of
128
tok
ens.
The
classier
produced
a
polarity
label
and
condence
v
alue
for
e
v
ery
re
vie
w
,
after
which
the
result
w
as
con
v
erted
into
the
numerical
sentiment
representation
S
(
u,
i
)
gi
v
en
in
(1).
3.6.2.
T
opic
modeling
implementation
T
opic
e
xtraction
w
as
performed
with
BER
T
opic
using
the
all-MiniLM-L6-v2
model
for
sentence
embeddings.
UMAP
reduced
the
embedding
dimensionality
using
n
neig
hbor
s
=
15
,
n
components
=
5
,
and
cosine
distance.
HDBSCAN
then
performed
clustering
with
a
minimum
cluster
size
of
30.
The
corresponding
topic
probabilities
were
subsequently
emplo
yed
to
calculate
the
rele
v
ance
measure
P
T
(
u,
i
)
presented
in
(2).
3.6.3.
Collaborati
v
e
ltering
implementation
The
SVD++
implementation
pro
vided
by
the
Surprise
library
w
as
used
as
the
collaborati
v
e
ltering
component.
Its
latent
dimension
w
as
congured
to
50
f
actors,
with
a
learning
rate
of
0.005
and
a
re
gularization
coef
cient
of
0.02.
T
raining
continued
for
30
epochs.
The
baseline
uses
this
SVD++
conguration
alone,
whereas
the
proposed
system
incorporates
sentiment
and
topic
information
according
to
the
h
ybrid
e
xpression
in
(4).
3.6.4.
W
eight
optimization
and
e
v
aluation
pr
otocol
The
v
alues
of
α
,
β
,
and
γ
were
determined
using
grid
search
o
v
er
{
0
.
1
,
0
.
2
,
.
.
.
,
0
.
9
}
on
v
alidation
data
deri
v
ed
from
the
training
portion.
The
conguration
producing
the
best
performance
(
α
=
0
.
3062
,
β
=
0
.
5870
,
γ
=
0
.
1068
)
w
as
retained
for
the
nal
e
xperiments.
All
reported
performance
measures
were
subsequently
calculated
only
on
the
independent
test
partition
to
a
v
oid
information
leakage.
T
able
2
consolidates
the
main
implementation
settings
and
e
xperimental
parameters
used
throughout
the
e
v
aluation.
T
able
2.
Implementation
details
and
e
xperimental
parameters
Component
P
arameters
and
settings
Data
split
70%
training
/
30%
testing;
x
ed
random
seed
Sentiment
model
DistilBER
T
(distilbert-base-uncased);
AdamW
optimizer;
learning
rate
2
×
10
−
5
;
batch
size
64;
epochs
3;
max
sequence
length
128
T
opic
modeling
BER
T
opic
with
all-MiniLM-L6-v2
embeddings;
UMAP
(
n
neig
hbor
s
=
15
,
n
components
=
5
,
cosine
metric);
HDBSCAN
(min
cluster
size=30)
Collaborati
v
e
ltering
SVD++
(Surprise
library);
latent
f
actors
50;
learning
rate
0.005;
re
gularization
0.02;
epochs
30
Hybrid
weighting
Grid
search
on
α
,
β
,
γ
∈
{
0
.
1
,
.
.
.
,
0
.
9
}
;
selected
v
alues
α
=
0
.
3062
,
β
=
0
.
5870
,
γ
=
0
.
1068
Ev
aluation
RMSE,
MAE,
Precision@k,
Recall@k,
F1-score@k
computed
on
test
set
only
Int
J
Artif
Intell,
V
ol.
15,
No.
6,
December
2026:
5968–5979
Evaluation Warning : The document was created with Spire.PDF for Python.
Int
J
Artif
Intell
ISSN:
2252-8938
❒
5975
4.
RESUL
TS
AND
DISCUSSION
This
section
presents
and
discusses
the
e
xperimental
results
of
the
proposed
sentiment-topic
SVD++
model
in
comparison
with
the
baseline
SVD++
approach.
The
e
v
aluation
considers
both
rating
prediction
accurac
y
and
top-
k
recommendation
quality
.
The
results
are
analyzed
to
assess
the
contrib
ution
of
sentiment
analysis
and
topic
modeling
to
the
performance
of
the
h
ybrid
recommendation
frame
w
ork.
4.1.
Results
This
subsection
presents
the
e
xperimental
e
v
aluat
ion
of
the
proposed
sentiment-
topic
SVD++
m
odel
in
comparison
with
the
con
v
entional
SVD++
baseline.
By
inte
grating
sentiment
information
and
topic
representations
into
the
collaborati
v
e
ltering
process,
the
proposed
approach
consistently
outperforms
the
baseline
across
all
e
v
aluation
metrics.
The
h
ybrid
prediction
model
combines
collaborati
v
e
ltering,
sentiment
analysis,
and
topic
modeling
using
the
optimized
weighting
coef
cients
α
=
0
.
3062
,
β
=
0
.
5870
,
and
γ
=
0
.
1068
,
obtained
through
a
grid
search
procedure.
The
observ
ed
impro
v
ements
indicate
that
te
xtual
information
e
xtracted
from
user
re
vie
ws
pro
vides
complementary
kno
wledge
be
yond
e
xplicit
ratings,
resulting
in
more
accurate
and
personalized
recommendations.
A
detailed
comparison
between
the
baseline
SVD++
model
and
the
proposed
sentiment-topic
SVD++
approach
is
presented
in
T
able
3.
T
able
3
reports
Precision@k,
Recall@k,
and
F1-score@k
for
dif
ferent
recommendation
list
sizes,
pro
viding
a
comprehensi
v
e
assessment
of
the
recommendation
quality
achie
v
ed
by
both
models.
T
able
3.
Comparison
of
recommendation
quality
for
baseline
SVD++
and
sentiment-topic
SVD++
k
Baseline
SVD++
Sentiment-topi
c
SVD++
Precision@k
Recall@k
F1-score@k
Precision@k
Recall@k
F1-score@k
5
0.790
0.839
0.792
0.838
0.937
0.856
10
0.782
0.880
0.811
0.818
0.988
0.871
15
0.780
0.887
0.814
0.815
0.995
0.873
20
0.780
0.889
0.816
0.814
0.998
0.873
25
0.780
0.890
0.816
0.813
0.999
0.874
30
0.780
0.890
0.816
0.813
0.999
0.874
Figure
2
sho
ws
a
comparison
of
the
predicti
v
e
performance
of
the
baseline
SVD++
model
and
t
he
proposed
sentiment-topic
SVD++
frame
w
ork,
using
the
RMSE
and
MAE
e
v
aluation
metrics.
RMSE
highlights
the
lar
gest
prediction
errors,
while
MAE
measures
the
mean
absolute
de
viation
between
the
predicted
ratings
and
the
actual
ratings.
T
ogether
,
these
metrics
help
to
pro
vide
complementary
insights
into
the
predicti
v
e
capability
of
recommendation
models
and
highlight
the
impro
v
ement
achie
v
ed
by
the
proposed
approach.
Figure
2.
Comparison
of
prediction
accurac
y
for
the
baseline
SVD++
and
sentiment-topic
SVD++
Sentiment–topic
driven
r
ecommendation
system
for
enhanced
per
sonalization
(El
Mehdi
Lghaouc
h)
Evaluation Warning : The document was created with Spire.PDF for Python.
5976
❒
ISSN:
2252-8938
T
o
further
position
the
proposed
model
with
respect
to
representati
v
e
recommendation
approaches,
its
performance
w
as
also
compared
with
the
MFFR
and
S
AMF
models
reported
in
[18],
[19],
both
e
v
aluated
on
the
Amazon
food
dataset.
The
comparison
presented
in
T
able
4
sho
ws
that
the
proposed
sentiment-topic
SVD++
model
consistently
achie
v
es
the
highest
F1-score
across
all
recommendation
cutof
fs
(
k
=
10
to
k
=
30
).
F
or
instance,
at
k
=
10
,
the
proposed
model
attains
an
F1-score
of
0.871,
outperforming
SAMF
(0.75)
and
MFFR
(0.64).
The
same
trend
is
observ
ed
for
lar
ger
recommendation
lists,
where
the
proposed
approach
reaches
an
F1-score
of
0.874
at
k
=
30
,
compared
with
0.84
for
SAMF
and
0.81
for
MFFR.
These
results
demonstrate
that
inte
grating
sentiments
analysis
and
topic
modeling
into
the
collaborati
v
e
ltering
frame
w
ork
substantially
enhances
recommendation
ef
fecti
v
eness.
T
able
4.
F1-score
on
Amazon
food
dataset
k
MFFR
SAMF
Sentiment-topic
SVD++
10
0.64
0.75
0.871
15
0.66
0.76
0.873
20
0.67
0.80
0.873
25
0.80
0.82
0.874
30
0.81
0.84
0.874
4.2.
Discussion
The
e
xperimental
ndings
highlight
the
impro
v
ement
of
the
sentiment-topic
SVD++
model
o
v
er
the
baseline
SVD++
approach.
The
clearest
g
ains
concern
precision
and
recall
.
F
or
e
v
ery
e
v
aluated
v
alue
of
k
,
the
h
ybrid
model
obtains
higher
Precision@k
and
Recall@k
scores.
At
k
=
5
,
Precision@k
rises
from
0.790
to
0.838,
while
Recall@k
increases
from
0.839
to
0.937.
These
results
sho
w
that
the
h
ybrid
approach
retrie
v
es
more
rele
v
ant
items
while
increasing
the
proportion
of
useful
recommendations.
Such
impro
v
ements
are
v
aluable
in
practical
settings,
where
presenting
rele
v
ant
items
can
impro
v
e
user
e
xperience.
A
similar
pattern
is
observ
ed
for
F1-score@k.
At
k
=
5
,
F1-score@k
increases
by
8.1%,
from
0.792
to
0.856,
while
the
relati
v
e
g
ain
remains
stable
and
reaches
7.1%
at
k
=
30
.
The
impro
v
ement
across
recommendation
list
sizes
indicates
that
the
h
ybrid
model
maintains
reliable
performance
for
v
arying
v
alues
of
k
.
Its
F1-score
of
0.856
at
k
=
5
is
particularly
rele
v
ant
for
practical
applications,
where
only
a
limited
number
of
items
are
typically
presented
to
users.
Sentiment
analysis
contrib
utes
signicantly
to
the
h
ybrid
model’
s
performance.
By
e
xamining
the
emotional
orientation
e
xpressed
in
user
re
vie
ws,
the
system
can
f
a
v
or
items
consistent
with
users’
preferences
and
attitudes.
F
or
instance,
when
a
user
repeatedly
emphasizes
durability
and
e
xpresses
positi
v
e
opinions
about
this
aspect,
the
model
can
prioritize
products
associated
with
f
a
v
orable
sentiment
re
g
arding
durability
.
This
beha
vior
is
particularly
useful
when
re
vie
ws
contain
detailed
comments
t
hat
pro
vide
information
be
yond
numerical
ratings.
T
opic
modeling
also
contrib
utes
to
representing
specic
user
interests
when
re
vie
ws
emphasize
particular
product
characteristics.
By
identifying
latent
themes
in
te
xtual
re
vie
ws,
the
model
can
determine
repeatedly
discussed
aspects
such
as
price,
design,
or
performance.
F
or
e
xample,
when
a
user
frequently
refers
to
“battery
life,
”
the
system
can
associate
this
preference
with
items
whose
re
vie
ws
e
xpress
positi
v
e
sentiment
to
w
ard
that
aspect.
This
mechanism
supports
recommendations
aligned
with
interests
e
xpressed
in
te
xtual
feedback.
The
model’
s
ef
fecti
v
eness
is
also
inuenced
by
the
weighting
conguration
obtained
through
grid
search.
The
nal
combination
assigns
α
=
0
.
3062
to
collaborati
v
e
ltering,
β
=
0
.
5870
t
o
s
entiment
analysis,
and
γ
=
0
.
1068
to
topic
modeling.
These
v
alues
represent
the
contrib
ution
of
each
component
to
the
h
ybrid
score,
with
sentiment
analysis
recei
ving
the
lar
gest
weight.
This
balance
allo
ws
the
model
to
combine
collaborati
v
e
information,
emotional
signals,
and
topic-related
preferences.
The
prediction-error
measures
pro
vide
additional
e
vidence
of
the
model
’
s
ef
fecti
v
eness.
The
proposed
approach
achie
v
es
an
RMSE
of
0.225
and
an
MAE
of
0.203,
indicating
accurate
estimation
of
user
ratings.
These
v
alues
sho
w
that
the
h
ybrid
method
impro
v
es
not
only
ranking-oriented
recommendation
quality
b
ut
also
numerical
prediction
of
user
preferences.
Ov
erall,
the
results
support
its
use
in
scenarios
requiring
rele
v
ant
recommendations
and
reliable
rating
estimates.
Int
J
Artif
Intell,
V
ol.
15,
No.
6,
December
2026:
5968–5979
Evaluation Warning : The document was created with Spire.PDF for Python.
Int
J
Artif
Intell
ISSN:
2252-8938
❒
5977
5.
CONCLUSION
The
study
proposed
a
h
ybrid
recommendation
approach
that
utilizes
a
combination
of
dif
ferent
techniques.
The
h
ybrid
recommendation
frame
w
ork
presented
here
emplo
ys
sentiment
analysis
and
topic
modeling
along
with
collaborati
v
e
ltering
to
produce
more
personalized
recommendations
and
greater
accurac
y
in
recommending
products.
The
proposed
sentiment-topic
SVD++
model
applies
DistilBER
T
to
perform
sentiment
e
xtraction
and
utilizes
BER
T
opic
for
disco
v
ering
topics.
By
combining
these
methods,
the
model
captures
the
emotional
tone
as
well
as
the
conte
xt
of
the
user’
s
re
vie
w
.
The
results
from
e
xperimentation
were
successful
in
v
alidating
that
the
addition
of
te
xtual
signals
resulted
in
recommendations
that
were
not
only
more
accurate
b
ut
conte
xtualized
compared
to
traditional
methods
of
collaborati
v
e
ltering.
The
e
xibility
of
the
proposed
frame
w
ork
allo
ws
for
e
xtension
into
other
areas
besides
e-commerce
(e.g.,
streaming
services,
social
media
platforms).
The
ne
xt
steps
in
this
research
will
be
to
impro
v
e
interpretability
of
the
models,
incorporate
real-time
user
feedback,
and
test
model
generalizability
on
additional
datasets.
A
CKNO
WLEDGMENTS
The
authors
e
xpress
their
gratitude
for
the
support
recei
v
ed
from
the
Laboratory
of
Information
T
echnologies
and
Modeling
at
the
F
aculty
of
Sciences
Ben
M’
sik,
Hassan
II
Uni
v
ersity
,
Casablanca,
Morocco,
which
pro
vided
the
necessary
f
acilities
for
conducting
this
research.
Additionally
,
the
authors
ackno
wledge
the
support
of
the
National
Center
for
Scientic
and
T
echnical
Research
or
CNRST
under
the
“Ph.D.-AS-sociate
scholarship
–
P
ASS”
program.
The
authors
ackno
wledge
the
use
of
articial
intelligence
tools,
specically
OpenAI’
s
ChatGPT
,
to
assi
st
in
impro
ving
the
language
clarity
,
grammar
,
and
o
v
erall
readability
of
the
manuscript.
All
conceptual,
analytical,
and
e
xperimental
content
w
as
de
v
eloped
by
the
authors.
FUNDING
INFORMA
TION
The
authors
recei
v
ed
no
specic
nancial
support
or
e
xternal
funding
for
completion
of
this
res
earch.
A
UTHOR
CONTRIB
UTIONS
ST
A
TEMENT
This
journal
uses
the
Contrib
utor
Roles
T
axonomy
(CRediT)
to
recognize
indi
vidual
author
contrib
utions,
reduce
authorship
disputes,
and
f
acilitate
collaboration.
Name
of
A
uthor
C
M
So
V
a
F
o
I
R
D
O
E
V
i
Su
P
Fu
El
Mehdi
Lghaouch
✓
✓
✓
✓
Soumaya
Ounacer
✓
✓
✓
Souane
Ardchir
✓
✓
✓
Mohamed
Azzouazi
✓
✓
✓
C
:
C
onceptualization
I
:
I
n
v
estig
ation
V
i
:
V
i
sualization
M
:
M
ethodology
R
:
R
esources
Su
:
Su
pervision
So
:
So
ftw
are
D
:
D
ata
Curation
P
:
P
roject
Administration
V
a
:
V
a
lidation
O
:
Writing
-
O
riginal
Draft
Fu
:
Fu
nding
Acquisition
F
o
:
F
o
rmal
Analysis
E
:
Writing
-
Re
vie
w
&
E
diting
CONFLICT
OF
INTEREST
ST
A
TEMENT
The
authors
declare
that
the
y
ha
v
e
no
conicts
of
interest
related
to
this
w
ork.
INFORMED
CONSENT
Informed
consent
is
not
applicable,
as
the
study
does
not
in
v
olv
e
human
participants
or
identi
able
personal
data.
Sentiment–topic
driven
r
ecommendation
system
for
enhanced
per
sonalization
(El
Mehdi
Lghaouc
h)
Evaluation Warning : The document was created with Spire.PDF for Python.