Published · IEEE ISAI-NLP 2025   IIM Ranchi × IIT Kharagpur   Multimodal NLP

EviCLIP: Bridging the Semantic Gap in Multimodal Movie Review Helpfulness

Combining CLIP-based dynamic visual grounding with Dempster–Shafer evidential theory to resolve conflicting modalities in cinematic user reviews — achieving state-of-the-art ranking performance across 10 iconic films.

MH
Muhammad Hamza
IIT Kharagpur
KR
Krishna Rai
IIM Ranchi
SS
Sobhan Sarkar
IIM Ranchi
40K+
IMDb Reviews
24K+
Movie Keyframes
0.982
Peak NDCG
10
Films Benchmarked
§ 01

The Semantic Gap in Film Critique

"The sheer isolation of humanity was perfectly captured in that single, silent wide shot of the Endurance."

— IMDb user review, Interstellar (2014)

This sentence carries enormous semantic weight — yet a conventional transformer model can only parse its lexical surface. It registers positive sentiment and descriptive intensity, but the true meaning lives in a specific cinematic frame: a spacecraft alone in the void of space. That frame is completely absent from the text.

In recommender systems, review helpfulness prediction is a critical ranking signal. Existing multimodal models — UNITER, ViLBERT, MCR — share a fatal assumption: that any image paired with the text is inherently relevant. Pair an Interstellar review discussing a desolate wide shot with the generic movie poster, and you inject noise rather than insight. This is the Semantic Gap.

Formally, a unimodal model estimates:

$$P(y \mid r)$$
Probability that review $r$ is helpful — no visual context.

But the review implicitly references a latent visual variable $v^*$ — the mental image invoked by the reviewer. The correct formulation should be:

$$P(y \mid r,\, v^*)$$
Helpfulness depends jointly on textual and aligned visual semantics.

Prior multimodal systems approximate this as $P(y \mid r, \tilde{v})$ where $\tilde{v} \neq v^*$. We define the Semantic Gap as:

$$\Delta = \mathbb{E}_{r}\!\left[P(y \mid r, v^*) - P(y \mid r, \tilde{v})\right]$$
Our hypothesis: reducing $\Delta$ via dynamic visual grounding improves ranking robustness.

Core thesis: Dynamic, CLIP-driven frame selection that greedily minimises $\Delta$ — combined with evidential uncertainty modelling — yields significantly superior ranking metrics compared to static image pairing or deterministic fusion strategies.

§ 02

Dataset Construction & Threshold Calibration

We curated 40,000+ IMDb user reviews across 10 films spanning diverse narrative genres — sci-fi, fantasy, crime, superhero, and drama — paired with 24,000+ high-resolution keyframes extracted via shot-boundary detection. Each film was processed in its own Jupyter notebook.

🚀
Interstellar
Sci-Fi / Drama
~4,000 reviews
💍
Return of the King
Epic Fantasy
~4,000 reviews
🧙
Fellowship of the Ring
Epic Fantasy
~4,000 reviews
⚔️
The Two Towers
Epic Fantasy
~4,000 reviews
🦇
The Dark Knight
Superhero Noir
~4,000 reviews
🦇
Batman Begins
Superhero
~4,000 reviews
🍊
The Godfather
Crime Drama
~4,000 reviews
🌀
Inception
Sci-Fi Thriller
~4,000 reviews
🔑
The Shawshank Redemption
Drama
~4,000 reviews
🏰
The Dark Knight Rises
Superhero
~4,000 reviews

Helpfulness Score & Binarisation

Each review carries a raw helpfulness ratio from IMDb community votes. Let $H$ be helpful votes and $U$ unhelpful votes:

$$S = \frac{H}{H + U}$$
Raw helpfulness score. Heteroscedastic: high variance at low vote counts.

$S$ is heteroscedastic — a review with 2/2 votes and 20/20 votes both score 1.0, but the latter carries far more statistical weight. We therefore excluded all samples with $H + U < 5$ to stabilise the target variable.

We binarised via threshold $\tau$, optimised for Balanced Accuracy across the range $\tau \in [0.4, 0.7]$:

$$y = \begin{cases} 1 & \text{if } S \geq \tau \\ 0 & \text{otherwise} \end{cases}$$ $$\text{BA} = \frac{1}{2}\!\left(\frac{TP}{TP+FN} + \frac{TN}{TN+FP}\right)$$
Optimal threshold $\tau = 0.54$ yielded near 52:48 class distribution while preserving semantic differentiation.

Higher thresholds (e.g. $\tau = 0.65$) produced severely unbalanced classes and reduced dataset size, undermining statistical reliability. $\tau = 0.54$ was the empirically optimal calibration point.

§ 03

End-to-End Multimodal Pipeline

📝
Raw Review
HTML cleaning, vote normalisation
IMDb scrape
🎬
Frame Extraction
Shot-boundary detection
2000+ frames/film
🎯
CLIP Alignment
Dynamic frame selection
ViT-B/32
🔡
BERT Encoder
Contextual text embedding
bert-base-uncased
👁️
ViT Encoder
Patch-level visual features
vit-base-patch16
⚗️
Evidential Fusion
Dempster–Shafer belief
DS Theory
🏆
Helpfulness Score
MAP, NDCG ranking
BCE + align loss
Full EviCLIP Architecture
Fig. 1 — Full multimodal pipeline: CLIP-guided dynamic alignment feeding independent BERT/ViT encoders, fused via Dempster–Shafer evidential theory.
§ 04

Dynamic Visual Grounding via CLIP

The architectural centrepiece of EviCLIP is that image selection must be dynamic, not static. For each review $r_i$, we retrieve the single most semantically aligned frame $f^*$ from the $N$ candidate frames of its corresponding film.

Using CLIP's dual encoders, we project both modalities into a shared $d$-dimensional embedding space:

$$e_r = \frac{\text{CLIP}_{\text{text}}(r_i)}{\|\text{CLIP}_{\text{text}}(r_i)\|}, \qquad e_{f_j} = \frac{\text{CLIP}_{\text{image}}(f_j)}{\|\text{CLIP}_{\text{image}}(f_j)\|}$$
L2-normalised embeddings in shared $\mathbb{R}^{512}$ CLIP space.

Semantic alignment is measured by cosine similarity, and frame selection becomes a nearest-neighbour retrieval problem:

$$\text{align}(r_i, f_j) = e_r^\top e_{f_j}, \qquad f^* = \arg\max_{j \in \{1,\ldots,N\}} \text{align}(r_i, f_j)$$
Optimal frame $f^*$ maximises semantic overlap with the review's implicit visual reference.

CLIP's contrastive training objective ensures matched text-image pairs cluster in embedding space:

$$\mathcal{L}_{\text{CLIP}} = -\log \frac{\exp(e_r^\top e_f / \tau_c)}{\sum_{k=1}^{N}\exp(e_r^\top e_{f_k} / \tau_c)}$$
$\tau_c$ is the temperature parameter; the loss is an InfoNCE contrastive objective.
Python · CLIP Frame Alignment
import torch
import torch.nn.functional as F

def get_optimal_frame(review_emb: torch.Tensor,
                        frame_embs: torch.Tensor) -> tuple:
    """
    Select the keyframe most semantically aligned with the review.
    
    Args:
        review_emb  : (1, 512)  – CLIP text embedding
        frame_embs  : (N, 512)  – CLIP image embeddings for N candidate frames
    Returns:
        (best_idx, alignment_score)
    """
    # L2-normalise both modalities
    review_emb = F.normalize(review_emb, p=2, dim=-1)
    frame_embs = F.normalize(frame_embs, p=2, dim=-1)

    # Cosine similarity matrix: (1, N)
    similarities = torch.matmul(review_emb, frame_embs.T)

    # Greedy argmax retrieval → f*
    best_idx   = torch.argmax(similarities, dim=-1)
    best_score = similarities[0, best_idx]

    return best_idx.item(), best_score.item()

Empirical alignment accuracy: Validated on 500 manually annotated review-frame pairs — achieving ~82% alignment accuracy. Primary failure modes: highly metaphorical language (e.g., "symphony of chaos") and non-visual reviews focused on music or dialogue. Computationally, frame embeddings are pre-computed offline, reducing runtime to a single matrix multiplication per review.

§ 05

Dual-Encoder Representation Learning

Once the aligned pair $(r_i, f^*)$ is established, we encode each modality independently via dedicated transformers, following a late-interaction dual-encoder paradigm that preserves modality-specific abstraction before fusion.

Text: BERT

$$h_{\text{text}} = \text{BERT}(r_i) \in \mathbb{R}^{768}$$ $$\text{Attention}(Q,K,V) = \text{softmax}\!\left(\frac{QK^\top}{\sqrt{d_k}}\right)V$$
BERT's multi-head self-attention captures long-range narrative dependencies and semantic density.

Vision: ViT

$$h_{\text{visual}} = \text{ViT}(f^*) \in \mathbb{R}^{768}$$ $$z_0 = [x_{\text{cls}};\, x_p^1;\, \ldots;\, x_p^M] + E_{\text{pos}}$$
ViT partitions $f^*$ into 16×16 patches and applies transformer self-attention across spatial tokens. $x_{\text{cls}}$ is the global representation token.

Both encoders project into the same $\mathbb{R}^{768}$ semantic manifold. Naïve concatenation $h_{\text{concat}} = [h_{\text{text}};\, h_{\text{visual}}]$ implicitly assumes equal modality reliability — a critical oversimplification that motivates our evidential fusion stage.

§ 06

Evidential Fusion & Uncertainty Quantification

In high-context cinematic domains, text and visual signals routinely disagree. A hyperbolic review of Inception may score 0.9 helpfulness from text alone — but if the retrieved frame is poorly aligned, forcing equal-weight fusion introduces systematic noise.

We resolve this via Dempster–Shafer Theory (DST), which models evidence as belief mass functions rather than scalar weights. Define the binary hypothesis frame:

$$\Theta = \{H,\, \bar{H}\} \quad \text{(Helpful, Not Helpful)}$$ $$m_1,\, m_2 :\, 2^{\Theta} \rightarrow [0,1], \quad \sum_{A \subseteq \Theta} m(A) = 1$$
Each modality assigns belief mass to subsets of $\Theta$. $m(\Theta)$ captures ignorance — explicitly unassigned belief.

Conflict Mass & Dempster's Rule

$$K = \sum_{A \cap B = \emptyset} m_1(A)\,m_2(B)$$ $$m_{\text{fused}}(C) = \frac{\displaystyle\sum_{A \cap B = C} m_1(A)\,m_2(B)}{1 - K}$$
$K \in [0,1]$ is the conflict mass. High $K$ means the modalities disagree; fusion is normalised by $(1-K)$ to prevent overconfident predictions.

Worked Numerical Example

Suppose for an Inception review, the BERT encoder assigns high text confidence but ViT sees a poorly-aligned frame:

Text modality: $m_1(H)=0.70,\; m_1(\bar{H})=0.20,\; m_1(\Theta)=0.10$

Visual modality: $m_2(H)=0.40,\; m_2(\bar{H})=0.50,\; m_2(\Theta)=0.10$

Conflict: $K = (0.70 \times 0.50) + (0.20 \times 0.40) = 0.35 + 0.08 = 0.43$

Normalisation: $1-K = 0.57$ → fusion averts overconfident "helpful" classification

Fused belief shifts toward $m(\Theta)$, the ignorance set — triggering conservative, calibrated prediction.

Training Objective

$$\mathcal{L} = \lambda_1 \mathcal{L}_{\text{help}} + \lambda_2 \mathcal{L}_{\text{align}}$$ $$\mathcal{L}_{\text{help}} = -\left[y\log\hat{p} + (1-y)\log(1-\hat{p})\right]$$
Joint multi-task loss: binary cross-entropy helpfulness prediction + CLIP contrastive alignment. Adam optimiser, lr $= 3\!\times\!10^{-5}$, batch size 16.

The conflict mass $K$ acts as an implicit uncertainty indicator at inference time — directly useful for calibrated ranking in recommender systems, where overconfident predictions degrade user trust.

§ 07

Comprehensive Empirical Benchmarks

We benchmarked three fusion strategies — Evidential (DS-theory), Attention (cross-modal attention), and Simple (concatenation) — across five metrics: Accuracy, F1, AUC-ROC, MAP, and NDCG@5. Highlighted cells indicate the best-performing strategy per film per metric.

Film Strategy Accuracy F1 AUC MAP NDCG
🚀 Interstellar Evidential 0.805 0.801 0.884 0.900 ↑ 0.982 ↑
💍 Return of the King Evidential 0.830 ↑ 0.830 ↑ 0.870 0.910 ↑ 0.980 ↑
🧙 Fellowship of the Ring Attention 0.790 ↑ 0.800 0.870 0.870 ↑ 0.970 ↑
🍊 The Godfather Evidential 0.680 0.780 0.810 ↑ 0.770 ↑ 0.930
🦇 The Dark Knight Simple — 0.710 ↑ 0.740 ↑ 0.730 ↑ 0.930 ↑
🦇 Batman Begins Simple 0.570 0.710 ↑ 0.740 ↑ 0.730 ↑ 0.930 ↑
⚔️ The Two Towers Evidential — 0.630 ↑ 0.690 ↑ 0.700 ↑ 0.890 ↑
🌀 Inception Evidential — 0.570 ↑ 0.590 0.690 ↑ 0.890 ↑

Key finding: Evidential fusion dominates in visually and symbolically rich films (Interstellar, LOTR, Inception). Simple concatenation prevails in action-heavy, visually grounded films (Dark Knight, Batman). This confirms fusion strategy should be domain-sensitive.

Training Dynamics: Validation AUC over Epochs (Interstellar)
Evidential Fusion (smooth convergence) Attention Fusion (oscillatory) Simple Concatenation
Aggregate Metric Comparison Across All Films
§ 08

Ablation Study & Component Sensitivity

To isolate each architectural component's contribution, we systematically ablated modules and observed performance degradation on the Interstellar test set (AUC reported):

Configuration
AUC
vs. Full Model
Full EviCLIP
0.884
Baseline
— CLIP Alignment
0.810
↓ 7.4pp
— Evidential Fusion
0.860
↓ 2.4pp
— ViT (text only)
0.792
↓ 9.2pp
Simple Concat (baseline)
0.862
↓ 2.2pp

CLIP alignment contributes the largest single improvement (~7–8 AUC points), confirming that which image is chosen matters more than how it is fused. Evidential fusion contributes primarily to calibration stability and ranking robustness rather than raw separability.

$$\Delta_{\text{align}} = \text{AUC}_{\text{full}} - \text{AUC}_{\text{no align}} \approx 7.4\text{ pp}$$ $$\text{Var}(\nabla \mathcal{L})_{\text{attention}} > \text{Var}(\nabla \mathcal{L})_{\text{evidential}}$$
Gradient variance analysis confirms that DS-normalisation by $(1-K)$ directly reduces optimisation instability.
§ 09

Calibration & Predictive Reliability

Beyond accuracy, model reliability is measured via Expected Calibration Error (ECE) — the gap between predicted confidence and empirical accuracy across $M$ probability bins:

$$\text{ECE} = \sum_{m=1}^{M} \frac{|B_m|}{n}\,\bigl|\text{acc}(B_m) - \text{conf}(B_m)\bigr|$$
Well-calibrated models have low ECE; predictions of 0.7 confidence should be correct ~70% of the time.

Evidential fusion reduced ECE compared to attention-based fusion across all evaluated films. The conflict mass $K$ functions as an implicit uncertainty detector: when modalities disagree ($K \uparrow$), fused belief mass redistributes toward the ignorance set $m(\Theta)$, producing conservative, appropriately uncertain predictions instead of overconfident scores.

In production recommender systems, calibration errors compound: overconfident helpful predictions pushed to top-$k$ lists degrade user trust asymmetrically. EviCLIP's uncertainty-aware fusion provides a natural hedge against this failure mode.

§ 10

Failure Modes & Edge Case Analysis

Systematic error analysis revealed four primary failure clusters:

  • Metaphorical language: Reviews like "a symphony of visual chaos" trigger CLIP to retrieve visually noisy frames with high cosine similarity but zero semantic alignment with the reviewer's intended reference.
  • Non-visual reviews: Music, dialogue, or acting-focused critiques have no meaningful frame to retrieve — CLIP returns an arbitrary high-similarity frame.
  • Extremely short reviews (<15 tokens) produce low-confidence CLIP embeddings with high distributional variance.
  • Rare or visually sparse films with fewer than 500 keyframes reduce the quality of the retrieval pool.
$$\arg\max_{f}\,\cos(e_r, e_f) \not\approx v^* \quad \text{(metaphorical failure)}$$
CLIP alignment relies on literal semantic overlap in embedding space — deep metaphorical reasoning remains out-of-scope for current contrastive models.
§ 11

Computational Profile

Frame-alignment complexity per review is $\mathcal{O}(N_f \cdot d)$ where $N_f$ is the frame count and $d=512$ is the CLIP embedding dimension. Since frame embeddings are pre-computed offline, runtime cost reduces to a single matrix multiplication.

220M
Parameters
~4hr
Training Time
11GB
Peak VRAM
RTX 3090
Hardware

Future work may leverage approximate nearest-neighbour search (FAISS, HNSW) to scale alignment to sub-linear complexity for large frame collections.

§ 12

My Specific Contributions

  • Designed and implemented the end-to-end CLIP dynamic alignment pipeline — including shot-boundary extraction, embedding pre-computation, and greedy frame retrieval.
  • Derived and implemented the Dempster–Shafer evidential fusion layer from first principles, including conflict mass computation and belief normalisation.
  • Engineered the threshold calibration sweep over $\tau \in [0.4, 0.7]$, identifying $\tau = 0.54$ as the optimal balanced-accuracy operating point.
  • Conducted full cross-genre benchmarking across 10 films (individual Jupyter notebooks), interpreting per-genre performance variation and correlating it with visual/narrative density.
  • Diagnosed gradient instability in early attention-fusion training via loss variance analysis; proposed and validated evidential normalisation as the stabilising mechanism.
  • Developed the full visualisation dashboard for training dynamics, validation curves, ranking metric summaries, and genre-level performance comparisons.
  • Co-authored the paper, contributing the theoretical framing of the Semantic Gap, all mathematical derivations, and the empirical analysis sections.
§ 13

Limitations & Future Directions

EviCLIP currently grounds each review on a single keyframe, ignoring temporal cinematographic context. For reviews referencing narrative arcs or editing rhythms, the correct formulation should condition on the full frame sequence:

$$P(y \mid r, f^*) \neq P\!\left(y \mid r,\, \{f_t\}_{t=1}^{T}\right)$$
Temporal transformers or video-language models (VideoLLaMA, InternVideo) would address this gap.

Priority research directions:

  • Temporal visual grounding via multi-frame aggregation or video-language pre-training
  • Adaptive fusion weighting conditioned on predicted genre distribution
  • ANN-based frame retrieval (FAISS) for sub-linear scaling to large film libraries
  • Cross-cultural review style adaptation and debiasing for non-English IMDb content
  • Extension to other review domains: books (cover art), music (album artwork), restaurants (photo galleries)
§ 14

References

  • [1] CLIP: Radford, A., et al. (2021). Learning Transferable Visual Models From Natural Language Supervision. ICML 2021. arXiv:2103.00020
  • [2] Dempster–Shafer Fusion: Alzahem, A., et al. (2024). Feature fusion for improved classification: Combining Dempster-Shafer theory and multiple CNN architectures. arXiv:2405.20230
  • [3] BERT: Devlin, J., et al. (2019). BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. NAACL-HLT 2019.
  • [4] ViT: Dosovitskiy, A., et al. (2021). An Image is Worth 16×16 Words: Transformers for Image Recognition at Scale. ICLR 2021.
  • [5] MCR Baseline: Liu, J., et al. (2021). Multi-perspective Coherent Reasoning for Helpfulness Prediction of Multimodal Reviews. ACL 2021.
  • [6] SANCL: (2022). Sentiment-Aware Multi-modal Dialogue Systems. COLING 2022. ACL Anthology
  • [7] This Paper: Hamza, M., Rai, K., Sarkar, S. (2025). Movie Review Helpfulness Prediction: A Multimodal Framework. IEEE ISAI-NLP 2025. IEEE Xplore