NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

DyFuLM: An Advanced Multimodal Framework for Sentiment Analysis

Rulin Zhou, Jinlong Yuan, Yang Chen, Wenzheng Huang, Guoyan Zhang, Shihao Wei, Jianbo Hu, Xin Ning, Md Maruf HasanarXiv 2025 · DOI

Sentiment analysis has come a long way from simple "thumbs up/thumbs down" classifiers. However, human emotion is rarely that binary. A hotel guest might write, "The staff was incredibly helpful, but the room was cramped and the Wi-Fi was spotty." Standard models often struggle with these mixed signals, either averaging them out into a neutral score or missing the nuance entirely.

In their recent paper, DyFuLM: An Advanced Multimodal Framework for Sentiment Analysis, Ruohan Zhou and colleagues introduce a "Dynamic Fusion Learning Model" designed to capture both the big picture and the fine-grained details of complex textual expressions.

TL;DR

DyFuLM is a dual-encoder framework (combining RoBERTa and DeBERTa) that uses hierarchical fusion and gated aggregation to master complex sentiment analysis. By adaptively blending information from all transformer layers and using a guided multi-task learning approach, it achieves state-of-the-art results in classifying both coarse and fine-grained emotions.

What Problem Does This Paper Address?

The authors identify two persistent "walls" in current sentiment analysis:

  1. The "Last Layer" Trap: Most models rely solely on the final output layer of a Transformer. This ignores valuable linguistic and emotional information trapped in the intermediate layers.
  2. Granularity Gaps: Most models are great at "Positive vs. Negative" (coarse-grained) but fail at quantifying intensity or distinguishing between "Positive" and "Very Positive" (fine-grained) in mixed-review scenarios.

While single-encoder models like BERT are powerful, they often overfit to specific domains or lack the representational depth to handle the "global" context of a review alongside "local" emotional cues.

Methods

DyFuLM moves away from the "one-size-fits-all" encoder approach. Its architecture is built on three pillars:

  • Dual-Encoder Backbone: The model uses RoBERTa to capture broad, holistic semantic representations and DeBERTa to focus on fine-grained, disentangled attention for localized emotional nuances.
  • Hierarchical Dynamic Fusion: Instead of just looking at the top layer, DyFuLM uses a BiLSTM-guided attention mechanism to scan all layers of the Transformers. It learns which layers are most informative for a specific task and fuses them into a single representation.
  • Gated Feature Aggregation: A learnable "gate" (a sigmoid function) acts as a traffic controller, deciding for every token how much information to pull from RoBERTa versus DeBERTa. This prevents redundant information and ensures the best features from both models are utilized.
  • Guided Multi-tasking: The model predicts three things simultaneously: coarse sentiment, emotion intensity (regression), and fine-grained sentiment. Crucially, the fine-grained prediction is "guided" by the outputs of the first two, creating a hierarchical feedback loop.

Datasets

The researchers evaluated DyFuLM on a massive, real-world dataset:

  • Booking.com Reviews: A collection of 515,738 user reviews from 1,493 European luxury hotels (2015–2017).
  • The data includes 17 attributes, including raw text, numerical ratings, and temporal data, providing a rich ground for testing domain-specific adaptability.

Key Insights and Ideas

  • Intermediate Layers Matter: The ablation studies confirm that extracting features from across the Transformer hierarchy (rather than just the top) significantly boosts performance.
  • Complementary Strengths: By using two different encoders, the model benefits from RoBERTa’s robust pre-training and DeBERTa’s superior handling of relative word positions and disentangled attention.
  • The Guidance Effect: One of the "aha" moments is the hierarchical prediction. By forcing the model to first understand the general sentiment and the intensity, the final fine-grained classification becomes much more accurate. It’s essentially teaching the model to "think" before it categorizes.

Key Results

DyFuLM consistently outperformed standard single-encoder models (BERT, RoBERTa, DeBERTa) and common hybrid architectures:

  • Accuracy: Achieved 82.64% on coarse-grained tasks and 68.48% on fine-grained tasks.
  • Regression Precision: Yielded the lowest errors in intensity prediction with an MAE of 0.0674 and an MSE of 0.0082.
  • Variance Explained: Reached an $R^2$ of 0.6903, the highest among all tested baselines, indicating a very strong fit for predicting emotional intensity.
  • Ablation Impact: Removing the gated fusion and dynamic loss mechanisms led to significant performance drops (up to 0.91%), proving that the "fusion" isn't just an add-on—it's the engine of the model.

Limitations and Future Work

Despite the "Multimodal" in the title, the current iteration of DyFuLM focuses exclusively on textual data. The authors acknowledge several areas for growth:

  • True Multimodality: Future versions aim to integrate visual (images of hotels) and acoustic (voice reviews) signals to capture even more emotional context.
  • Computational Overhead: Using two large encoders plus a BiLSTM increases the parameter count and inference time, which might limit real-time deployment on edge devices.
  • Efficiency: The authors plan to explore model compression and lightweight architectures to make the framework more production-ready.
  • Cross-Domain Testing: While it excels at hotel reviews, testing on social media (Twitter/X) or technical support logs would further prove its generalizability.

Summary updated

BibTeX
@misc{zhou2025dyfulm,
  author = {Rulin Zhou and Jinlong Yuan and Yang Chen and Wenzheng Huang and Guoyan Zhang and Shihao Wei and Jianbo Hu and Xin Ning and Md Maruf Hasan},
  title = {{DyFuLM: An Advanced Multimodal Framework for Sentiment Analysis}},
  year = {2025},
  eprint = {2512.01410},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.01410},
  howpublished = {arXiv},
}
Figure