Manuscript Offprint
arXiv:2610.06703Reading the Mood: Emotion-Guided Book-to-Music Recommendation via CGANs and LLMs
Manousos Linardakis
School of Electrical & Computer Engineering
National Technical University of Athens
Zografou, 15780, Greece
manousoslinardakis@mail.ntua.gr
Georgios Alexandridis
Department of Digital Industry Technologies
National & Kapodistrian University of Athens
Evripos Complex, Psachna, 34400, Greece
Abstract—Background music that matches the mood of a text has been shown to make readers feel more immersed and improve their reading experience, motivating recommender systems that pair books with mood-matched music. In this direction, we present Sentiment Aware Generative Adversarial Network for Cross Domain Recommendation (SAGA-CDR), a two-phase cross-domain recommendation framework that personalizes music suggestions and emotionally aligns them with the book being read. In the first phase, transformer-based sentiment embeddings are constructed from user reviews and mapped across domains via a Conditional Generative Adversarial Network, whose mask-conditioned generator handles missing sentiment components and injects stochasticity for richer preference transfer. A compact rating neural network then fuses sentiment-specific interaction scores with a collaborative filtering prior to predict music ratings. In the second phase, large language models classify each book into a valence-arousal emotional quadrant, and candidate tracks are filtered to match that quadrant. Experiments on both the English Amazon and Chinese Douban datasets show that SAGA-CDR achieves the best rating prediction accuracy on Amazon (RMSE 0.98) and the lowest RMSE on Douban (0.91), with ranking performance competitive with the strongest sentiment-aware baseline, even in cross-lingual settings.
Index Terms—Cross-Domain Recommendation, Generative Adversarial Networks, Large Language Models, Sentiment Analysis, Emotion-Aware Recommendation
I. INTRODUCTION
Recommender systems (RSs) operating within a single domain cannot leverage preferences expressed across different content types. Cross-domain recommendation (CDR) addresses this shortcoming by transferring knowledge from a source domain, where user activity is abundant, to a target domain where data are sparse. Most CDR methods rely on structural signals such as shared latent factors or user-item interaction patterns, ignoring the rich emotional information embedded in user-generated text.
In the books & music case, emotional alignment is particularly well-motivated. Experimental evidence shows that emotionally congruent background music significantly enhances reading immersion and perceived text quality [1]. A RS for this scenario must therefore satisfy two simultaneous objectives: (i) match individual user taste and (ii) align with the emotional tone of the book being read. In order to address these issues, we propose Sentiment Aware Generative Adversarial Network for Cross Domain Recommendation (SAGA-CDR), a two-phase recommendation pipeline, whose main contributions are:
-
A formulation of emotion-guided book-to-music recommendation as a two-phase task, combining cross-domain preference transfer with valence-arousal congruence between the book and the recommended track.
-
A cross-domain mapping in which the deterministic bridge used by prior sentiment-aware CDR methods is replaced by a conditional GAN with a presence mask over sentiment partitions and noise injection, addressing missing partitions and one-to-many transfer mechanisms.
-
An affective filtering stage in which LLMs assign books to VA quadrants, with the choice of LLM informed by a human study on cases where the models disagree.
-
An empirical evaluation on two public benchmarks, including cross-lingual transfer from sparse English data to dense Chinese data, with post-hoc SHAP and ICE analysis.
The rest of this paper is organized as follows; Section II reviews related work and positions SAGA-CDR contribution, while Section III lays out its core components. Section IV describes the experiments, Section V presents the obtained results and Section VI analyzes the neural network prediction module in terms of the explainability of predictions. Finally, the paper concludes in Section VII.
A. Structural and Mapping Approaches
Traditional CDR methods often focus on structural signals, learning a bridge function between independently trained embedding spaces. EMCDR [2] trains separate Matrix Factorization (MF) models per domain and fits a shared multi-layered perceptron (MLP) to translate source user embeddings to the target space, providing a cold-start profile for unseen users. PTUPCDR [3] extends this approach with a meta-network that generates a personalised bridge function for each user, conditioned on a characteristic embedding derived from their transferable interests in the source-domain interaction history. More recently, HEAD [4] leverages hyperbolic representations to model hierarchical user-item interactions while preserving power-law structures across domains. Meanwhile, CFAA [5]
© 2026 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works.
aligns BERT-based cross-domain user and item embeddings through Optimal Transport and graph-based attribution matching to mitigate domain discrepancy. However, these methods operate purely on interaction data and metadata, overlooking the rich affective signals embedded in review text. While some models, like RC-DFM [6], inject raw review text into Stacked Denoising Autoencoders to bridge latent spaces, sentiment is not extracted explicitly.
B. Sentiment-Aware Approaches
To enrich representations beyond interaction patterns, a second line of work incorporates sentiment or emotion extracted from user reviews. CDR-SAFM [7] partitions reviews into three polarity classes using a rating-based heuristic, applies Latent Dirichlet Allocation (LDA) to each class, and trains independent MLPs to map sentiment topic vectors across domains. STN-CDRS [8] addresses data sparsity by converting unrated text reviews into pseudo-ratings using sentiment analysis from a recurrent neural network. CRAS [9] uses VADER to discard negative reviews, retain only positive and neutral reviews for topic extraction, and train an improved CycleGAN to translate user preference matrices between domains. UTAM [10] combines TextBlob and BERT for aspect-level sentiment, clustering users thematically and matching source-domain clusters to target-domain counterparts. Moving to richer affect representations, AAPAM [11] extracts seven-dimensional emotion profiles via a Tweet Affective Classifier, identifying cross-domain user pairs by affective cosine similarity. ECDR [12] builds six-dimensional emotion profiles derived from Parrott's hierarchical model, applying symmetric KL-divergence to identify emotionally similar target-domain users for collaborative filtering (CF). More recently, an affect-centric stance has been adopted by certain approaches [13], by mapping music and visual art to a shared VA space, matching items by sentiment proximity using contrastive multimodal learning on audio, visual, and LLM-generated text features. Beyond sentiment, personality-aware RSs employ user traits to mitigate the cold start effect [14], while responsible RSs prioritize the users' well-being and explainability over engagement [15]. SAGA-CDR shares both aims, using review sentiment instead of personality and explaining its predictions via SHAP/ICE and LLM justifications (Table I).
C. SAGA-CDR
The literature on sentiment-aware CDR demonstrates a clear technological evolution from early lexicon-based tools and topic modeling, to deterministic MLPs, and finally to modern transformer-based architectures and multimodal learning. By utilizing a RoBERTa model fine-tuned on 124M tweets, we produce contextual 768-dimensional per-review embeddings that capture linguistic nuances missed by static LDA topics. Our main technical contribution is the replacement of deterministic bridges with a mask-conditioned stochastic Conditional GAN. Its explicit noise injection models the inherent one-to-many uncertainty in cross-domain preference transfer, while mask conditioning robustly handles users with missing sentiment partitions—practical data-quality issues often ignored by prior methods.

Fig. 1. The architectural diagram of the phase of SAGA-CDR
III. METHODOLOGY
Fig. 1 provides a high-level overview of the phase of SAGA-CDR, outlining its two main components; (i) the CGAN used for domain transfer between the source and target domains and (ii) the neural network prediction module that performs the actual recommendation in the target domain. More formally, let be a set of users with interactions in both a source domain (e.g. books) and a target domain (e.g. music). Each interaction is a quadruple where is a numerical rating and a textual review. The goal is to predict ratings for music items using book interactions as the primary signal.
A. Sentiment-Aware Representations
For each review in the source domain, a RoBERTa-base model trained on 124M tweets and fine-tuned for sentiment classification via the TweetEval benchmark [16] produces a contextual embedding (i.e. the [CLS] token representation) and a sentiment label . For each entity (user or item), reviews are partitioned by sentiment class and mean-pooled within each class: . The final representation is the concatenation . Prior to training, all embeddings are z-score standardized using statistics computed exclusively on source-domain training data, placing all dimensions on a comparable scale while preventing information leakage.
B. Cross-Domain Mapping via Conditional GAN
The input to the GAN Generator (Fig. 1, top middle) is comprised of (i) the source domain embedding ; (ii) a noise vector , ; and (iii) a binary presence mask indicating which sentiment components exist in the source domain. Batch normalization, the ReLU activation function and dropout are used in generator's hidden layers.
The Discriminator (Fig. 1, bottom middle) receives the concatenated source and target embeddings together with a combined mask of both domains, outputting a real/fake probability. A key training asymmetry reflects inference conditions: is restricted to source-domain information only (mirroring cold-start deployment), while sees both domains, letting it learn what a plausible source–target pair looks like and provide stronger gradient feedback to . Leaky ReLU () and dropout () are used in discriminator's hidden layers.
The loss function of averages two BCE terms over real and generated pairs: .
The generator loss consists of a non-saturating adversarial loss and a masked reconstruction term . The mask applied to is deliberate. Components present in both domains are penalized normally; components present in only one domain teach the generator to produce a near-zero embedding where appropriate (since retains them against a zero-filled target); and components absent in both domains are excluded entirely, as there is no ground truth to compare against.
C. Rating Prediction Module
The rating prediction module is a two-layered MLP (Fig. 1, right) with ReLU activations, whose input vector is , where each score is the dot product between the corresponding sentiment partition of the generated user embedding and the item embedding. The fourth feature is a bias-based CF prior , where is the global average rating in the target domain, is the user bias (the difference between the user's mean rating in the source domain and the global source-domain average, capturing their general tendency to rate high or low) and is the item bias (the difference between the item's mean rating in the target training set and , reflecting its overall popularity- for cold-start items). Source-domain user averages are estimated from each user's available history at inference time; this does not constitute information leakage, as the source domain is treated as fully observed for both training and test users.
All four features are normalized using a quantile transformer fitted on the training set, mapping each value to its empirical quantile and applying the probit transform (where denotes the inverse CDF of the standard normal distribution), yielding approximately Gaussian marginals , while preserving rank information. Quantile normalization is used because the raw features are strongly non-Gaussian (skewed, heavy-tailed, or sharply peaked), and it places them on a common scale while preserving rank.
The model is trained with a weighted combination of MSE and MAE: , with .
We set to prioritize RMSE, since large mispredictions are more damaging than small frequent deviations.
D. Emotion-Driven Recommendation
In emotion-driven recommendation ( phase), the recommendation process is enhanced through emotional alignment between books and music. Book summaries are analyzed using LLMs to determine their dominant emotional tone within a VA framework. Music tracks are also categorized according to their emotional characteristics. The system then filters predicted recommendations by selecting music items that share the same emotional quadrant as books the user has enjoyed, thereby producing recommendations that are not only personalized but also emotionally consistent with the user's reading experience. The two phases are decoupled deliberately: quadrant classification runs offline (16.73 s per summary vs. 34.0 ms per forward pass), keeping online scoring lightweight and letting the filter's strictness change without retraining the mapping. The quadrant is shared by all readers of a book; personalization comes from Phase 1, as the filter acts on each user's own music candidate pool.
Algorithm 1 summarizes the full pipeline. In Phase 1 (lines 1–16), Douban reviews are first translated to English, every review is encoded into a sentiment label and embedding, and these are mean-pooled into per-sentiment user and item representations. The CGAN is then trained to map source-domain user embeddings to the target domain, after which the rating module is trained on the quantile-normalized features. In Phase 2 (lines 17–25), each book summary is assigned a VA quadrant by Qwen3 offline; at recommendation time, the generator produces the user's music-domain profile, the rating module scores each candidate track, and only tracks with that match the book's quadrant are kept, ranked by predicted rating.
Algorithm 1 Two-Phase Emotion-Guided CDR Framework
Require: Source interactions S, Target interactions T, Book summaries B, Tracks M
Ensure: Target rating predictions , Affective candidate rankings R
1: // Phase 1: Pre-processing & Sentiment Extraction
2: for each Douban review do
3: Helsinki-NLP-Translate(d)
4: end for
5: for each review do
6: TweetEval(RoBERTa)(d)
7: end for
8: Construct user and item sentiment arrays via mean-pooling
9: while CGAN not converged do
10: Sample batch and masks
11: Sample noise vector
12: Generator
13: Update Discriminator via
14: Update Generator via
15: end while
16: Train the rating module using Quantile-transformed features and target ratings via combined MSE/MAE loss ( )
17: // Phase 2: Affective Filtering & Recommendation
18: for each book summary do
19: Qwen3_Classification(b)
20: end for
21: for each track do
22: Generate music embedding for user via Generator
23: Predict rating
24: end for
25: Filter candidates to match and sort by descending
IV. EXPERIMENTS
All experiments were conducted on an ASUS Dual GeForce RTX 3060 GPU with 12 GB of VRAM. The codebase, models and processed datasets for this paper are available in the accompanying repository. Average runtimes are 34.0 ms per prediction on Amazon and 6.3 ms on Douban, against 16.73 s per book summary for the offline Phase 2 classification (cf. Section III-D).
A. Datasets and Baselines
-
Amazon (Books → CDs & Vinyl): Obtained from the Amazon 2023 review corpus [17], using Books as the source domain and CDs & Vinyl as the target. With only ≈3.5 music reviews per user, this benchmark represents a challenging and realistic sparse regime. Experiments are repeated across three independent seeds ( ) with 80k/20k/30k train/val/test users per seed; pairwise test-set user overlap is 3.2–3.4%, confirming each run evaluates the model on a substantially distinct user subset.
-
Douban (Books → Music): A Chinese-language benchmark from the Douban social network [18], with 101.7 music reviews per user—roughly denser than Amazon. Evaluated via 5-fold cross-validation (1249/139/348 train/val/test users per fold) on seed= 42.
For both datasets, we retain only users with reviews in both domains, since CDR requires learning and assessing a user-level transfer function from source preferences to target behavior. Cold-start items unseen during training ( ) are handled via TF-IDF category matching in the Amazon dataset. For each unseen category , the most similar training category is identified via cosine similarity over TF-IDF vectors. Each cold-start item's category is replaced with , and its embeddings are imputed with the mean of training items in that mapped category. For Douban (no category metadata), cold-start items receive the global mean training embedding. Test users' target-domain interactions serve only as ground truth: at inference the model sees exclusively the user's source-domain (book) profile, making the evaluation a strict target-domain cold-start setting.
- Baselines: We compare SAGA-CDR against three CDR baselines, selected specifically to evaluate performance with and without textual signals. The first two are EMCDR [2] and PTUPCDR [3]. Both use MF, with the former mapping embeddings through a deterministic MLP and the latter on a per-user meta-network. They fall under the structural and mapping category of systems (Section II-A) and act as rating-only control groups. We intentionally include these text-agnostic models to assess the performance of methods that operate purely on ratings.
To ensure a fair comparison against models that do utilize rich review text, our third baseline is CDR-SAFM [7], which employs LDA topic features stratified by sentiment polarity, with three MLP regressors for cross-domain mapping. It is a sentiment-aware approach (Section II-B), as it implements explicit, personalized sentiment-feature mapping.
We chose these specific baselines, because more recent text-based methods use sentiment mainly as an intermediate step, to impute missing ratings as pseudo-ratings [8], filter reviews [9], or form user clusters [10], rather than as the representation mapped across domains. Furthermore, state-of-the-art affect models (e.g., [13]) require multi-modal inputs, such as raw audio or visual features. Evaluating them in our setting would require modifying their formulation, so an observed gap could reflect our adaptation rather than the method itself.
For EMCDR and PTUPCDR, we employ the official implementations [3], while CDR-SAFM is re-implemented from [7]; all systems share the same train/validation/test user splits.
-
Metrics: We evaluate all systems on a set of standard offline RS metrics [19], including prediction accuracy ones (RMSE and MAE) and ranking ones (Hit Ratio at , Mean Average Precision at , Normalized Discounted Cumulative Gain - NDCG@k, and Mean Reciprocal Rank at ) for various cut-off values ( – higher is better), with an item deemed relevant if its true rating is at least 4.0. Users with no relevant test items receive a score of zero on all ranking metrics.
-
Statistical Significance: For the Amazon dataset (n=3 seeds), one-sided paired t-test p-values are reported comparing the SAGA-CDR against each baseline (significance threshold ). The alternative hypothesis is that SAGA-CDR's mean is strictly better (lower for error metrics, higher for ranking metrics).
B. Hyper-parameters
Hyperparameters were selected using Copeland's method [20] across three random seeds (0, 42 and 2026). Four CGAN configurations (Section III-B) were evaluated over : , , and , with the third being selected. Selection was based on validation-set cosine similarity between generated and target embeddings. The asymmetric learning rates—with a higher rate for the generator—allow for more aggressive generator updates while keeping discriminator training stable. outperformed both extremes, indicating that neither suppressing the adversarial signal ( ) nor deprioritizing reconstruction ( ) is beneficial.
CGAN training used a batch size of 512 and a 200-epoch schedule with early stopping (patience 30), which terminated at approximately epoch 145. The training curves are displayed in Fig. 2. The discriminator loss decreases steadily but never approaches zero, so the discriminator does not saturate and the generator continues to receive informative gradients throughout training. Correspondingly, the generator's loss rises and then stabilizes. The validation cosine similarity between generated and target embeddings rises steadily before plateauing at about 0.64. Training does not diverge: the only irregularity is a single spike in the discriminator loss near epoch
https://github.com/manouslinard/book-music-cdrs

Validation Cosine Similarity
Rating Module Training vs Validation Loss
Fig. 2. SAGA-CDR training curves (in the Amazon dataset) after hyperparameter selection.
141, which is absorbed within one epoch. The downstream rating network, trained on the generated embeddings with a 1000-epoch budget, also trains smoothly. Its training and validation losses (Fig. 2, bottom right) decrease together, with the validation loss flattening at about 0.86 by roughly epoch 600 and not rising afterwards, showing no sign of overfitting.
C. Emotion-Driven Recommendation (Phase 2)
-
Music dataset construction.: The MERGE Audio Dataset [21] provides VA-annotated tracks, which are further discretised into four quadrants: (i) Q1 (energetic/positive: Pop, R&B), (ii) Q2 (energetic/negative: Metal, Punk), (iii) Q3 (calm/negative: Soul, Blues), (iv) Q4 (calm/positive: Jazz, Bossa Nova) [22]. To connect it to the Amazon ecosystem, both datasets are normalized (lowercased, punctuation stripped) and joined on the resulting title field to produce a candidate metadata table . To guard against spurious title matches across different artists, a strict artist-name validation filter is applied: a match is retained only if the MERGE artist name appears in at least one Amazon text field (product description, review text, store name, or title). Of the 3554 MERGE tracks, 1372 match an Amazon title and 365 survive artist validation, forming , which maps each song's audio file and emotional quadrant to its Amazon ASIN.
-
Book dataset construction: The CMU Book Summary Dataset [23] provides Wikipedia plot summaries. These are aligned with the Amazon Books catalogue via the same normalized title-based join as , yielding . An analogous author-name validation filter retains a match only if the CMU author name appears in the corresponding Amazon review text or item title. Of the 16277 CMU titles, 11704 match an Amazon title and 6818 survive author validation, producing , which associates each book's title and summary with its Amazon ASIN for later LLM classification.
-
LLM book classification: Three open-source LLMs (LLaMA 3.1 8B [24], Qwen3 8B [25], and DeepSeek-R1 8B [26]) are run locally via Ollama (temperature = 0, fixed
System framing: Act as a musical curator for literature. Choose one of four musical quadrants as the single, overarching soundtrack for a book. Imagine the user will listen for the entire reading experience. Your choice must represent the book's dominant, persistent mood.
Q1 (High Arousal, High Valence): uplifting, triumphant, fast-paced. Genres: Dance-Rock, R&B, Pop, Synth-Pop, Indie Pop.
Q2 (High Arousal, Low Valence): tense, aggressive, dark, chaotic. Genres: Heavy Metal, Punk, Grunge, Industrial.
Q3 (Low Arousal, Low Valence): melancholic, somber, deeply reflective. Genres: Soul, Blues, Adult Contemporary, Neo-Soul.
Q4 (Low Arousal, High Valence): serene, peaceful, gentle, relaxing. Genres: Jazz, Easy Listening, Bossa Nova, Soft Rock.
Output format: Start with Q1, Q2, Q3, or Q4, then colon, then reasoning.
Example: Q2: The story's constant suspense and dark themes align with tense, dramatic music.
Book: {title} Author: {author} Summary: {summary}
Fig. 3. LLM prompt template for emotional quadrant classification. All three models receive the same prompt; only the book metadata varies per instance.
seed = 42) to classify each book into a VA quadrant. Each model receives the same structured prompt (Fig. 3): it is framed as a musical curator for literature asked to select the quadrant representing the book's dominant, persistent mood as if the music will accompany the full reading experience. The prompt defines each quadrant with VA coordinates, a qualitative description, and representative genres, then requires a structured Q{1--4}: <reasoning> output. This structured output enables reliable automated parsing, while the natural-language justification lets annotators audit the models' reasoning in disputed cases and could be surfaced to end-users as an explanation.
Majority vote [27] resolves cases where at least two models agree; of the 129 books, 53 received unanimous assignments, 70 were resolved by a 2-to-1 majority, and 6 were fully disputed (all three models disagreeing) and forwarded to human evaluation. These 129 are the subset of rated above 4 stars by evaluation users, since a soundtrack is only meaningful for a book the reader actually enjoyed. A form was generated from the LLM output and for each disputed book, annotators were shown the title, an author-curated one-paragraph summary sourced from Wikipedia and Goodreads (to avoid LLM-influenced wording), and the reasoning provided by each disagreeing model for its proposed quadrant. Reviewers were instructed to select the quadrant best representing the book's dominant, persistent mood—mirroring the framing used in the LLM prompt.
The study involved 20 gender-balanced participants (ages 18–44, predominantly holding a BSc or higher), whose ML experience ranged from none (25%) to advanced (10%), intentionally mixing typical end-users with practitioners to improve representativeness.
LLM quality was assessed via a combined score: final(k) = , , , where is the min-max normalised weighted inter-model agreement score (unanimous agreement rewarded more than a 2-to-1 split), and is the normalised human evaluation score (number of disputed books for which k's quadrant was selected by the majority of annotators). The weight reflects the greater reliability of human judgement over inter-model agreement.
DeepSeek-R1 and Qwen3 scored comparably on inter-model agreement (54 and 55 points respectively), while LLaMA 3.1 scored considerably lower (31), suggesting it more frequently proposed the minority quadrant. On the 6 disputed cases, Qwen3 was preferred by human annotators in 3 books, compared to 2 for LLaMA 3.1 and only 1 for DeepSeek-R1. Qwen3 achieves a final score of 1.00 vs. 0.38 for DeepSeek-R1 and 0.30 for LLaMA 3.1; since it leads on both components, it ranks first for any , although six disputed books remain a small sample.
TABLE I SAMPLE READING SOUNDTRACK RECOMMENDATIONS. Q: EMOTIONAL QUADRANT.
| Book | Music | Q | LLM reasoning (sum-mary) | Rating | ||
|---|---|---|---|---|---|---|
| The Diaries Sixx) | Heroin (Nikki) | “Sing Death House” - The Distillers | Sing | Q2 | Addiction, turmoil, and self-destruction. | 4.8 |
| Foley Is Good (Mick Foley) | Good | “I Can't Stop” - Al Green | Can't | Q1 | Celebratory, energetic, positive, and triumphant mood. | 4.75 |
| Franny and Zooey Salinger) | and (J.D. | “Is This De-sire?” - PJ Harvey | Is This De-sire?” - PJ | Q3 | Introspective, somber, emotionally fragile, and existential. | 4.7 |
| The Storey Mountain (Thomas Merton) | Seven | “Prelude to a Kiss” - Duke Ellington | to a | Q4 | Reflective spiritual journey, transformation, and inner peace. | 4.6 |
- Final recommendation: For a book rated more than 4 stars in the Amazon dataset, Qwen3 assigns its quadrant. The recommended track candidate pool ( ) is filtered to the matching quadrant and ranked by predicted score. Table I shows the reading soundtrack recommendations produced by the full pipeline. Since a recommendation must satisfy both criteria, the trade-off appears as coverage rather than quality: at least one candidate survives for 46 of 139 (user, book) pairs (33.1%), and the mean predicted rating among surviving pairs is statistically unchanged (4.591 before and after filtering, paired t-test p = 0.85), since the filter removes candidates outright rather than reordering them. Coverage is bounded by the catalogue (365 tracks, 129 books), not the method.
V. RESULTS
Table II shows that SAGA-CDR achieves the best rating prediction performance for the Amazon dataset by a substantial and statistically significant margin, on both prediction accuracy metrics. The RMSE of 0.9806 and MAE of 0.6097 represent a relative RMSE improvement over CDR-SAFM, the closest sentiment-aware competitor.
Table III draws an equally clear picture for the rank accuracy metrics on the Amazon dataset. At —the strictest test of whether the single best recommendation is immediately relevant—SAGA-CDR significantly outperforms both EMCDR & PTUPCDR. This advantage is sustained and is also statistically significant across every cut-off and every precision-oriented metric (MAP, NDCG, MRR) for these two baselines. It is important to note that EMCDR and PTUPCDR still have high ranking metrics in absolute terms (above 88% at k=1). Combined with their rating errors (Table II), however, it can be concluded that MF-based methods fail to perform as well in sparse regimes ( 3.5 reviews per user) as review-based methods, even when they order items reasonably.
TABLE II AMAZON RATING PREDICTION (MEAN ± STD, n=3 SEEDS) †: SIGNIFICANCE AGAINST SAGA-CDR (α=0.05) – LOWER IS BETTER
| Method | RMSE | p | MAE | p |
|---|---|---|---|---|
| SAGA-CDR | — | — | ||
| CDR-SAFM | ||||
| EMCDR | ||||
| PTUPCDR |
Against CDR-SAFM, SAGA-CDR ties on all ranking metrics. In our setting, however, rating accuracy carries more weight. Phase 2 forms each user's candidate pool with an absolute threshold , so the specific tracks to be recommended depend on predictions being correct on the rating scale, a step that ranking metrics computed on Phase 1 do not capture. In rating prediction, SAGA-CDR clearly leads (RMSE = 0.98 vs. 1.12), making it the only method to pair the best prediction accuracy with tied-best ranking. For HR@k (where ), all methods are statistically tied at every cut-off, suggesting that the main distinction is not whether a relevant item appears in the top-k list, but how highly relevant items are ranked within that list.
Prior to analyzing the Douban results, an asymmetry in the setup should be noted: SAGA-CDR operates under a more demanding transfer regime, with the CGAN having been pretrained on sparse English Amazon data - since the CGAN requires a larger paired cross-domain signal than Douban alone provides - and only the rating module having been fine-tuned on Douban. Once learned, the mapping transfers effectively even across language and density shifts (Table IV).
The competing baselines (CDR-SAFM, EMCDR, PTUPCDR) are evaluated both with and without Amazon pre-training, denoted in Table IV as pre-tr. and no-pre., respectively, allowing a direct assessment of how much each baseline benefits from cross-dataset transfer versus training on Douban alone. SAGA-CDR is evaluated in three configurations, reflecting different strategies for handling the Chinese review text: (i) notrans (no translation; Chinese-only RoBERTa), (ii) multi (no translation; multilingual XLM-RoBERTa), and (iii) trans. (reviews machine-translated to English via Helsinki-NLP [28], then encoded with the same English-pretrained sentiment model used on the Amazon dataset). These models perform the initial sentiment recognition and user-review embedding generation, after which the resulting representations are passed to the remaining stages of SAGA-CDR.
Paired one-sided t-tests across the 5 CV folds, with Holm–
TABLE III AMAZON RANKING METRICS (MEAN ± STD, n=3 SEEDS). †: SIGNIFICANT. HIGHER IS BETTER.
| k | Method | MAP↑ | NDCG↑ | MRR↑ | HR↑ |
|---|---|---|---|---|---|
| 1 | SAGA-CDR | .8907 ±.0005 | .8907 ±.0005 | .8907 ±.0005 | .8907 ±.0005 |
| SAFM | .8902 ±.0019 (p=.2955) | .8902 ±.0019 (p=.2955) | .8902 ±.0019 (p=.2955) | .8902 ±.0019 (p=.2955) | |
| EMCDR | .8859 ±.0007 (p=.0056†) | .8859 ±.0007 (p=.0056†) | .8859 ±.0007 (p=.0056†) | .8859 ±.0007 (p=.0056†) | |
| PTUPCDR | .8861 ±.0012 (p=.0075†) | .8861 ±.0012 (p=.0075†) | .8861 ±.0012 (p=.0075†) | .8861 ±.0012 (p=.0075†) | |
| 3 | SAGA-CDR | .8946 ±.0011 | .9026 ±.0014 | .9075 ±.0012 | .9254 ±.0020 |
| SAFM | .8947 ±.0019 (p=.5243) | .9027 ±.0020 (p=.5561) | .9071 ±.0020 (p=.2732) | .9255 ±.0021 (p=.7887) | |
| EMCDR | .8912 ±.0010 (p=.0022†) | .9000 ±.0011 (p=.0051†) | .9049 ±.0008 (p=.0085†) | .9255 ±.0019 (p=.7100) | |
| PTUPCDR | .8910 ±.0015 (p=.0179†) | .9000 ±.0014 (p=.0233†) | .9049 ±.0012 (p=.0116†) | .9252 ±.0019 (p=.2222) | |
| 5 | SAGA-CDR | .8973 ±.0014 | .9063 ±.0016 | .9078 ±.0012 | .9267 ±.0020 |
| SAFM | .8976 ±.0019 (p=.7192) | .9064 ±.0020 (p=.5851) | .9074 ±.0020 (p=.2572) | .9268 ±.0021 (p=.7887) | |
| EMCDR | .8943 ±.0014 (p=.0025†) | .9041 ±.0015 (p=.0041†) | .9052 ±.0008 (p=.0060†) | .9267 ±.0021 (p=.6291) | |
| PTUPCDR | .8942 ±.0016 (p=.0139†) | .9041 ±.0016 (p=.0162†) | .9053 ±.0012 (p=.0101†) | .9267 ±.0021 (p=.5000) | |
| 10 | SAGA-CDR | .9004 ±.0012 | .9095 ±.0015 | .9078 ±.0012 | .9270 ±.0021 |
| SAFM | .9005 ±.0018 (p=.5987) | .9095 ±.0019 (p=.5000) | .9074 ±.0020 (p=.2278) | .9270 ±.0020 (p=.5000) | |
| EMCDR | .8975 ±.0015 (p=.0035†) | .9075 ±.0016 (p=.0025†) | .9052 ±.0008 (p=.0082†) | .9270 ±.0020 (p=.7887) | |
| PTUPCDR | .8976 ±.0016 (p=.0137†) | .9075 ±.0016 (p=.0113†) | .9053 ±.0012 (p=.0117†) | .9269 ±.0020 (p=.0918) |
TABLE IV DOUBAN RESULTS (5-FOLD CV AVERAGES). BOLD: BEST; UNDERLINE: SECOND BEST.
| Method | Pred. ↓ | k=1↑ | k=3↑ | k=5↑ | k=10↑ | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RMSE | MAE | MAP | NDCG | HR | MRR | MAP | NDCG | HR | MRR | MAP | NDCG | HR | MRR | MAP | NDCG | HR | MRR | ||
| pre-c | SAFM | 0.9169 | 0.6925 | 0.9118 | 0.9118 | 0.9118 | 0.9118 | 0.8848 | 0.9085 | 0.9775 | 0.9433 | 0.8769 | 0.9098 | 0.9839 | 0.9447 | 0.8704 | 0.9121 | 0.9839 | 0.9447 |
| EMCDR | 4.0819 | 3.9763 | 0.8341 | 0.8341 | 0.8341 | 0.8341 | 0.7963 | 0.8371 | 0.9637 | 0.8953 | 0.7850 | 0.8411 | 0.9798 | 0.8990 | 0.7790 | 0.8487 | 0.9833 | 0.8995 | |
| PTUPCDR | 4.0793 | 3.9735 | 0.8272 | 0.8272 | 0.8272 | 0.8272 | 0.7877 | 0.8306 | 0.9672 | 0.8924 | 0.7785 | 0.8357 | 0.9781 | 0.8948 | 0.7742 | 0.8444 | 0.9833 | 0.8956 | |
| no-pro. | SAFM | 0.9151 | 0.6928 | 0.9084 | 0.9084 | 0.9084 | 0.9084 | 0.8866 | 0.9097 | 0.9781 | 0.9417 | 0.8775 | 0.9097 | 0.9833 | 0.9429 | 0.8720 | 0.9131 | 0.9839 | 0.9430 |
| EMCDR | 3.5591 | 3.2499 | 0.8750 | 0.8750 | 0.8750 | 0.8750 | 0.8426 | 0.8758 | 0.9764 | 0.9236 | 0.8346 | 0.8792 | 0.9816 | 0.9248 | 0.8258 | 0.8820 | 0.9833 | 0.9251 | |
| PTUPCDR | 3.8265 | 2.9725 | 0.8710 | 0.8710 | 0.8710 | 0.8710 | 0.8324 | 0.8670 | 0.9718 | 0.9184 | 0.8241 | 0.8713 | 0.9781 | 0.9210 | 0.8141 | 0.8741 | 0.9833 | 0.9211 | |
| SAGA-CDR | notrans | 1.0155 | 0.7862 | 0.9130 | 0.9130 | 0.9130 | 0.9130 | 0.8859 | 0.9095 | 0.9792 | 0.9442 | 0.8792 | 0.9114 | 0.9827 | 0.9450 | 0.8705 | 0.9124 | 0.9839 | 0.9452 |
| multi | 0.9267 | 0.7525 | 0.9078 | 0.9078 | 0.9078 | 0.9078 | 0.8914 | 0.9135 | 0.9792 | 0.9421 | 0.8808 | 0.9118 | 0.9821 | 0.9428 | 0.8714 | 0.9123 | 0.9839 | 0.9430 | |
| trans. | 0.9057 | 0.7284 | 0.9165 | 0.9165 | 0.9165 | 0.9165 | 0.8915 | 0.9143 | 0.9810 | 0.9471 | 0.8810 | 0.9129 | 0.9833 | 0.9477 | 0.8695 | 0.9126 | 0.9839 | 0.9477 | |
Bonferroni correction per baseline over the 18 reported metrics, confirm SAGA-CDR's advantage over EMCDR and PTUPCDR on both prediction-accuracy metrics (p < 0.0001 for all variants) and on MAP and NDCG at nearly every cutoff. Against CDR-SAFM, SAGA-CDR has lower RMSE and matches it on every ranking metric; CDR-SAFM leads only on MAE (p = 0.008) and only under cross-lingual transfer: on Amazon, SAGA-CDR leads on MAE as well (p = 0.0145).
-
Prediction Accuracy: Despite operating under the most demanding experimental conditions - cross-lingual transfer from a sparse English corpus to a dense Chinese one - SAGA-CDR attains the lowest RMSE (0.9057) of all methods evaluated on Douban, outperforming even baselines trained from scratch directly on the target data, while maintaining a competitive MAE of 0.7284. The fact that SAGA-CDR, a model carrying cross-domain mappings from English Amazon reviews, matches or even exceeds target-trained competitors, constitutes the strongest evidence so far that the learned sentiment representations encode preference structure surviving both domain and language shift at the same time.
-
Ranking Performance: SAGA-CDR leads all methods on precision-sensitive ranking metrics at , taking the top position across MAP, NDCG, and MRR at these cut-offs, while holding the second-best position on HR@5 and remaining competitive at k=10 for most of the ranking metrics. Attaining this under cross-lingual transfer, where the closest competitor is trained directly on Douban, reflects the quality of the learned cross-domain user representations and their ability to distinguish highly relevant items from the rest of the candidate pool.
-
Effect of Language Strategy: The three variants reveal a clear hierarchy: translating reviews to English prior to encoding (SAGA-CDR) is the strongest overall configuration, followed by multilingual encoding (multi), with the monolingual Chinese model (notrans) last, particularly on prediction accuracy. This ordering reflects representational alignment: the full training stack is anchored in English pretraining, so keeping review text in English eliminates cross-lingual mismatch. The multilingual model is a practical alternative when translation is unavailable, at a cost to prediction accuracy.
Ablation
To isolate the contribution of each CGAN component, we retrain SAGA-CDR on Amazon with one component removed at a time, keeping the sentiment representations, rating module, hyper-parameters, seeds and splits unchanged, and test each variant against the full model with the same one-sided paired t-tests as in the Amazon experiments. Removing the adversarial term has the largest effect on rating prediction, raising RMSE from 0.981 to 1.002 and MAE from 0.610 to 0.640 (MAE: p = 0.013): without it, the generator is trained only to reconstruct target embeddings and loses the discriminator's signal about which source–target pairs are plausible. Removing noise injection, the presence mask or the reconstruction loss slightly lowers RMSE but raises MAE (0.621–0.636); neither change
TABLE V CGAN ABLATION ON AMAZON (MEAN OVER n=3 SEEDS). @1: MAP, NDCG AND MRR. †: SIGNIFICANTLY WORSE THAN FULL (α=0.05).
| Variant | Rating ↓ | Ranking ↑ | ||||
|---|---|---|---|---|---|---|
| RMSE | MAE | @1 | MAP@10 | NDCG@10 | MRR@10 | |
| Full model | 0.981 | 0.610 | .8907 | .9004 | .9095 | .9078 |
| - noise | 0.973 | 0.636 | .8857† | .8979† | .9075† | .9049† |
| - mask | 0.974 | 0.621 | .8857† | .8979† | .9075† | .9049† |
| - | 1.002 | 0.640† | .8858† | .8979† | .9076† | .9049† |
| - | 0.973 | 0.625 | .8857† | .8979† | .9075† | .9049† |
is statistically significant. On ranking metrics, all four variants exhibit worse performance, significantly below the full model on MAP, NDCG and MRR at and . Table V showcases these prediction and ranking metrics of the ablation study. Every variant still outperforms CDR-SAFM on RMSE and MAE, but only the full model matches it on ranking metrics. Therefore, all components of the full model play a meaningful role in achieving the overall system performance.
VI. MODEL EXPLAINABILITY (XAI)
To evaluate the internal decision-making process of the rating prediction module, we apply SHAP [29] and ICE [30] plots. The analyses reveal an interpretable feature-importance hierarchy: base_term score score score
At the global level, the SHAP summary plot (Fig. 4, top panel) shows that the CF prior (base_term) serves as the model's primary rating anchor. Its impact is asymmetric: low baseline values strongly penalize predictions, whereas high values yield only modest positive contributions. The feature ranks second and displays a monotonically increasing positive influence, confirming that stronger positive sentiment reliably raises predicted ratings.
The feature shows a concentrated SHAP distribution centered around zero: negative sentiment acts as a secondary, context-dependent signal rather than a monotonic rating suppressor. Finally, contributes the least, with SHAP values tightly clustered around zero, indicating that neutral sentiment carries limited discriminative power, reflecting its inherent ambiguity in recommender settings.
Fig. 4 (bottom panel) shows a local force plot for a representative instance (record 200): base_term (= 5.112) and pos_score = 488.265 push the prediction upward, consistent with the global analysis. Notably, although neg_score and neu_score are both 0.0, they act in opposite directions; the absence of negative sentiment is an active positive signal, while zero neutral reviews introduces a mild downward correction to the final value of 4.78.
The ICE curves (Fig. 5) corroborate these findings: base_term shows a steep sigmoidal PDP with minimal heterogeneity, confirming its dominant role, while trends positively but with some heterogeneity at lower values, suggesting moderation by feature context.
Interestingly, exhibits a non-linear inverted-U shape in its ICE plot, indicating that predictions peak when . This indicates once more that the model interprets the complete absence of negative sentiment as an active positive signal, rather than applying a simple linear penalty. The neutral score () contributes negligibly to the overall prediction, consistent with the SHAP summary plot.

Fig. 4. SHAP explanations on Amazon dataset. Top: summary plot showing feature impact across all instances (red: high values, blue: low values). Bottom: force plot for record 200; red features increase the prediction, while blue (neu_score) decreases it.

Fig. 5. ICE plots for Amazon dataset (blue: individual curves; red: PDP average).
Collectively, these results confirm interpretable behavior: the CF prior anchors predictions, positive sentiment reinforces them, and negative and neutral signals act in a nuanced, non-linear fashion.
VII. CONCLUSION
In this work, we presented SAGA-CDR, a two-phase emotionally guided CDR framework for the books-to-music setting. The phase combines contextual transformer-based sentiment representations with a stochastic, mask-conditioned CGAN cross-domain mapping and a bias-aware rating prediction module. The phase uses an LLM to classify books into VA emotional quadrants and filters personalized music candidates to match the book's VA quadrant. Experiments demonstrated that SAGA-CDR excels on prediction accuracy and remains competitive on ranking metrics, while also proving to be highly robust under complex cross-lingual transfer conditions. Also, SHAP and ICE analyses confirm interpretable, domain-consistent behavior. To the best of our knowledge, this is the first framework to address personal taste and emotional alignment together in a books-to-music CDR setting.
Several promising directions for future work emerge from this study. Firstly, transitioning from discrete emotional quadrants to a continuous VA space could capture fine-grained affective nuances, potentially allowing for chapter-level granularity that produces a dynamic soundtrack evolving alongside the narrative arc. On the audio front, incorporating pretrained music understanding models to extract embeddings directly from raw waveforms would expand coverage beyond metadata-linked catalogues and provide richer affective estimates. Furthermore, although CGAN training converged stably here, diffusion models, which avoid adversarial optimization altogether [31], could provide a more stable mapping conditioned on source-domain embeddings. For future work, we will also conduct live user studies with a larger population to measure emotional congruence during real reading sessions; the present work establishes only quadrant agreement, since the subjectivity of affective judgments makes perceived congruence measurable only through a controlled study. Finally, we will adapt and evaluate more recent sentiment-aware CDR methods under our formulation.
ACKNOWLEDGMENT
This research has been co-financed by the European Union and Greek national funds through the Program COMPETITIVENESS under the call RESEARCH – INNOVATE (project code: EKΠA02-0055774)
REFERENCES
[1] P. Hauck and H. Hecht, “Emotionally congruent music and text increase immersion and appraisal,” Plos one, vol. 18, p. e0280019, 2023.
[2] T. Man et al., “Cross-domain recommendation: An embedding and mapping approach.” in Ijcai, vol. 17, 2017, pp. 2464–2470.
[3] Y. Zhu et al., “Personalized transfer of user preferences for cross-domain recommendation,” in Proceedings of the fifteenth ACM international conference on web search and data mining, 2022, pp. 1507–1515.
[4] Y. Choi et al., “Based hyperbolic cross-domain recommendation,” in Proceedings of the Eighteenth ACM International Conference on Web Search and Data Mining, 2025, pp. 146–155.
[5] W. Liu et al., “Collaborative filtering with attribution alignment for review-based non-overlapped cross domain recommendation,” in Proceedings of the ACM web conference 2022, 2022, pp. 1181–1190.
[6] W. Fu et al., “Deeply fusing reviews and contents for cold start users in cross-domain recommendation systems,” in Proceedings of the AAAI conference on artificial intelligence, vol. 33, no. 01, 2019, pp. 94–101.
[7] Y. Wang et al., “Cross-domain recommendation based on sentiment analysis and latent feature mapping,” Entropy, vol. 22, p. 473, 2020.
[8] N. Taneja and H. K. Thakur, “Stn-cdrs: Sentiment transfer network for cross-domain recommendation systems,” Computer Assisted Methods in Engineering and Science, vol. 31, pp. 389–415, 2024.
[9] F. Zhang et al., “Cras: cross-domain recommendation via aspect-level sentiment extraction,” Knowledge and Information Systems, vol. 66, pp. 5459–5477, 2024.
[10] A. Azam et al., “Utam: A unified thematic mapping approach for cross-domain personalization and cold start alleviation,” IEEE Access, 2025.
[11] J. K. Leung, I. Griva, and W. G. Kennedy, “Making cross-domain recommendations by associating disjoint users and items through the affective aware pseudo association method,” arXiv preprint arXiv:2012.05982, 2020.
[12] S. Chakraverty and M. Saraswat, “Review based emotion profiles for cross domain recommendation,” Multimedia Tools and Applications, vol. 76, pp. 25 827–25 850, 2017.
[13] B. A. Yilma and L. A. Leiva, “Affect-aware cross-domain recommendation for art therapy via music preference elicitation,” in Proceedings of the Nineteenth ACM Conference on Recommender Systems, 2025, pp. 31–40.
[14] S. Dhelim et al., “A survey on personality-aware recommendation systems,” Artificial Intelligence Review, vol. 55, pp. 2409–2454, 2022.
[15] P. Kazienko and E. Cambria, “Toward responsible recommender systems,” IEEE Intelligent Systems, vol. 39, pp. 5–12, 2024.
[16] D. Loureiro et al., “Timelms: Diachronic language models from twitter. arxiv,” 2022.
[17] Y. Hou et al., “Bridging language and items for retrieval and recommendation,” arXiv preprint arXiv:2403.03952, 2024.
[18] F. Zhu, “Douban dataset: Rating, review and side information,” https://www.kaggle.com/datasets/fengzhujoey/douban-datasetratingreviewside-information, 2019, kaggle dataset, Accessed: 2026-03-15.
[19] E. Zangerle and C. Bauer, “Evaluating recommender systems: Survey and framework,” ACM Comput. Surv., vol. 55, Dec. 2022. [Online]. Available: https://doi.org/10.1145/3556536
[20] D. G. Saari and V. R. Merlin, “The copeland method: I.: Relationships and the dictionary,” Economic theory, vol. 8, pp. 51–76, 1996.
[21] P. L. Louro et al., “Merge – a bimodal dataset for static music emotion recognition,” 2024. [Online]. Available: https://arxiv.org/abs/2407.06060
[22] J. A. Russell, “A circumplex model of affect.” Journal of personality and social psychology, vol. 39, p. 1161, 1980.
[23] D. Bamman and N. A. Smith, “New alignment methods for discriminative book summarization,” in Proceedings of the 51st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), 2013, pp. 534–544. [Online]. Available: https://www.cs.cmu.edu/~dbamman/booksummaries.html
[24] A. Grattafiori et al., “The llama 3 herd of models,” arXiv preprint arXiv:2407.21783, 2024.
[25] A. Yang et al., “Qwen3 technical report,” arXiv preprint arXiv:2505.09388, 2025.
[26] D. Guo et al., “Deepseek-r1: Incentivizing reasoning capability in llms via reinforcement learning,” arXiv preprint arXiv:2501.12948, 2025.
[27] F. Trad and A. Chehab, To Ensemble or Not: Assessing Majority Voting Strategies for Phishing Detection with Large Language Models. Springer Nature Switzerland, 2025, p. 158–173. [Online]. Available: http://dx.doi.org/10.1007/978-3-031-82150-9_13
[28] J. Tiedemann and S. Thottingal, “OPUS-MT — Building open translation services for the World,” in Proceedings of the 22nd Annual Conference of the European Association for Machine Translation (EAMT), Lisbon, Portugal, 2020.
[29] S. M. Lundberg and S.-I. Lee, “A unified approach to interpreting model predictions,” Advances in neural information processing systems, vol. 30, 2017.
[30] A. Goldstein et al., “Peeking inside the black box: Visualizing statistical learning with plots of individual conditional expectation,” journal of Computational and Graphical Statistics, vol. 24, pp. 44–65, 2015.
[31] W. Wang et al., “Diffusion recommender model,” in Proceedings of the 46th International ACM SIGIR Conference on Research and Development in Information Retrieval, ser. SIGIR '23. New York, NY, USA: Association for Computing Machinery, 2023, p. 832–841. [Online]. Available: https://doi.org/10.1145/3539618.3591663