Multi-task Learning for Multi-modal Emotion Recognition and Sentiment Analysis
Paper · 2019 · Md Shad Akhtar, Dushyant Chauhan, Deepanway Ghosal et al.
Summary
Recognizing a speaker’s attitude requires more than identifying emotional words. A transcript can sound reassuring while the speaker’s voice or expression suggests distress. An utterance can also depend on remarks elsewhere in the same video. This paper studies how to combine those sources of evidence while learning two related tasks: sentiment analysis and emotion recognition. Sentiment is treated as a choice between positive and negative polarity. Emotion recognition allows several labels to apply to the same utterance, including anger, disgust, fear, happiness, sadness and surprise.
The authors bring these tasks together in a shared neural network. Textual, acoustic and visual features first pass through separate recurrent networks that represent each utterance in its surrounding context. A contextual inter-modal attention mechanism then compares pairs of modalities across the utterances in a video. Rather than deciding only which neighboring remark matters, it can give different importance to the text, sound and visual information associated with that context. The resulting representations feed separate prediction branches for sentiment and emotion, while training signals from both tasks update their shared representation.
The experiments use CMU-MOSEI, a collection of videos with aligned language, sound and visual information. The authors compare joint training with separate training for each task, examine different combinations of modalities, and compare their approach with earlier systems. For the setting using all modalities, the main configuration table reports sentiment F1 of 78.8 and accuracy of 80.5 under joint training. Its corresponding separately trained system scores 77.6 and 79.8. For emotion recognition, the same table gives joint-training F1 of 78.6 and weighted accuracy of 62.8, compared with 77.7 and 60.8 under separate training.
These findings support the value of learning sentiment and emotion together in this experimental setting. They also show that text is a strong source of information and that adding acoustic and visual evidence can help. The improvement is not uniform across every metric or emotion category, however. The authors identify difficulties with fear and surprise, and the results include an acoustic-only setting in which joint training lowers emotion weighted accuracy. Some reported values also differ between the paper’s tables and prose, so exact figures need to be read with their reporting context.
The contribution is therefore both an architecture and an empirical comparison. The architecture combines contextual processing, pairwise attention between modalities, and shared learning across related affective tasks. The experiments demonstrate better aggregate results than the reported alternatives on CMU-MOSEI. They do not separately establish the contribution of every architectural component, prove that attention weights explain a decision, or show that the same gains extend to other datasets and deployment conditions.
Deep dive: Multi-task Learning for Multi-modal Emotion Recognition and Sentiment Analysis
How joint learning combines transcripts, sound, visual cues and utterance context to recognize sentiment and emotion in videos. · about 35 minutes to read
The problem and its context
Why words alone can leave the attitude unclear
A video presents several kinds of evidence at once. Its transcript records the words a person uses. Its audio carries information about delivery, including pitch and voice quality. Its visual stream supplies cues from the speaker’s appearance, gestures and posture. The paper’s starting point is that these channels can contribute different information to an affective judgment.
The challenge is not simply to collect more features. A system must decide which evidence matters for a particular utterance. Some remarks reveal their sentiment directly through their wording. Others depend more heavily on how they are spoken or on the speaker’s expression. An approach that treats every channel as equally useful for every example can miss this variation.
The paper illustrates this with a sarcastic expression of gratitude about being kept waiting. Its surface wording appears appreciative, but the intended attitude is negative. The authors use the example to argue that visual evidence can resolve a reading that the transcript alone leaves misleading. Their other illustration concerns a brief claim of being fine, spoken by someone who is sad. Here, voice and facial appearance may reveal an emotion that the words do not name.
These are motivating cases rather than experimental demonstrations of sarcasm detection or sadness recognition. Their role is to make the information problem concrete. The desired output concerns what the speaker expresses, while the available channels need not agree in a straightforward way. Combining them requires a mechanism that can preserve differences rather than flatten them immediately into an undifferentiated input.
This places the work within multimodal language analysis. The linguistic signal remains important, but it is interpreted alongside other observations from the same communicative event. For this paper, the relevant unit is an utterance: a stretch of speech delimited by pauses or breathing. Predictions are made for these units instead of assigning a single sentiment or emotion to an entire video.
Why an utterance’s neighbors matter
The authors also argue that utterances should not always be interpreted independently. A speaker can produce several remarks within a video, and the attitude expressed in one can help interpret another. A short or ambiguous utterance may become clearer when the surrounding discussion is available.
Context introduces another selection problem. Even if neighboring remarks are useful, they need not all be equally useful. Nor must the most useful information come from the same modality throughout the sequence. A relevant contextual remark might contribute through its wording, while another contributes through the speaker’s vocal delivery.
The proposed attention mechanism is designed around this combined problem. It asks about relationships between modalities and utterances together. Its purpose is to construct a representation of a target utterance using evidence from other positions in the video, with the contribution of that evidence depending on the modality involved.
This differs from treating context as a single textual window or assigning one importance value to each neighboring utterance regardless of channel. The authors want the network to retain the possibility that an utterance is relevant for one kind of evidence but less relevant for another. Their architecture implements that idea through pairwise comparisons between contextualized modality representations.
Why sentiment and emotion are learned together
Sentiment and emotion describe related aspects of an affective expression, but they are not interchangeable labels. Sentiment, as defined in the experiments, concerns positive or negative polarity. Emotion recognition asks which of several more specific categories are present, allowing multiple categories to coexist.
The authors motivate joint learning through associations between these categories. Anger, fear, disgust and sadness generally suggest negative situations in their discussion, while happiness and surprise are associated with positive ones. If a shared representation captures evidence relevant to one task, the other task may benefit from it.
The important architectural point is that this relationship is learned through common internal features. The network does not receive a rule requiring a particular emotion whenever it predicts a particular sentiment. Instead, each task supplies supervision to the same representation. Features that help distinguish emotional categories can influence the representation used for polarity, and sentiment supervision can influence the representation used for emotions.
The paper presents this as an application of multitask learning. Several prediction objectives share part of a system rather than being handled by wholly separate networks. The authors expect sharing to improve generalization and to let related tasks support one another. They also describe the practical attraction of handling several tasks within one framework.
Those motivations leave an empirical question open: whether the proposed sharing actually helps. Related tasks can provide useful supervision, but the relationship alone does not guarantee an improvement in every setting. The paper addresses that question by training both separate-task and joint-task versions of its approach.
How the paper positions earlier research
The related-work discussion describes a field moving from text-centered affect analysis towards systems that combine several channels. One earlier direction studied the interaction between facial movements and spoken language through a multimodal dictionary. Another, Tensor Fusion Network, represented interactions within and across modalities. The authors characterize these approaches as lacking utterance context.
A different line of work used recurrent processing to capture dependencies between utterances. In the paper’s account, the contextual sentiment approach of Poria and colleagues incorporated those dependencies through an LSTM network but did not include an attention mechanism. This supplied context without the particular selective comparison proposed here.
The paper also discusses multi-attention blocks that capture relationships across text, sound and visual input. Its distinction is that attention across modalities does not by itself provide attention across contextual utterances. The proposed method seeks to combine those concerns in the same computation.
Other cited approaches explored different feature choices and fusion methods. Blanchard and colleagues relied on visual and acoustic information without text. Work on multimodal emotion recognition included convolutional feature extraction, kernel-based fusion and acoustic–visual representations of subtle emotional expressions. The paper also notes self-attentive fusion involving text and speech.
The closest antecedent in the authors’ discussion is the contextual inter-modal attention approach of Ghosal and colleagues. That work already addressed contextual relationships between modalities for sentiment analysis. The present paper extends the setting to joint sentiment and emotion prediction and makes the comparison between separate and shared training a central part of its evaluation.
This distinction matters for understanding the contribution. The paper does not introduce multimodal affect analysis, contextual recurrent processing or inter-modal attention in isolation. Its central proposal combines these elements with shared learning for sentiment and emotion, then evaluates whether that combination improves both tasks.
The method, step by step
From a video to parallel sequences
The network begins with a video divided into utterances. Each utterance has representations derived from its transcript, acoustic signal and visual information. These are organized into parallel sequences, so a position in each sequence refers to the same utterance.
The authors use the CMU Multimodal Data SDK to obtain the data and features. The supplied data are already tokenized, and features are associated with words. Textual features come from GloVe, acoustic features from CovaRep, and visual features from the resource the paper identifies as Facets.
The word-level representations are averaged to produce utterance-level inputs. For each modality, an utterance therefore enters the recurrent network as a feature vector rather than as an internally ordered sequence of word-level observations. The order retained for subsequent processing is the order of utterances within the video.
This is an important distinction between input preparation and contextual processing. The network does not apply its contextual attention directly to individual words, video frames or acoustic moments. It applies attention to representations of utterances after they have passed through modality-specific recurrent networks.
Averaging gives the later architecture a consistent unit to work with. It also means that the attention mechanism cannot directly choose a particular word or frame from within an utterance. Any such detail must already be reflected in the feature vector produced before contextual attention begins.
From video features to joint affect predictions
The steps in order.
Building context separately for each modality
The network uses a separate bidirectional gated recurrent unit, or bi-GRU, for each input stream. A recurrent network processes a sequence while carrying information between positions. Bidirectional processing makes both earlier and later utterances available when constructing a representation.
Keeping the streams separate at this stage allows each recurrent network to learn contextual patterns appropriate to its own input features. The text sequence is not forced into the same recurrent computation as the acoustic or visual sequence before those contextual representations exist.
The algorithm denotes the textual computation as follows.
T = biGRU_T(t, d)
Here, t is the sequence of textual utterance features. biGRU_T is the bidirectional recurrent encoder assigned to text. The parameter d denotes the representation dimension used in the algorithm, and T is the resulting sequence of contextual textual representations.
The visual stream is processed independently.
V = biGRU_V(v, d)
Here, v contains the visual features associated with the utterances. biGRU_V is the visual encoder, and V contains its contextual outputs. The dimension parameter has the same role as in the textual computation.
The acoustic stream follows the corresponding procedure.
A = biGRU_A(a, d)
Here, a is the acoustic input sequence, biGRU_A is its bidirectional encoder, and A is the sequence of contextual acoustic representations.
These outputs can be viewed as matrices whose rows correspond to utterances. They retain a common utterance axis, which makes it possible to compare a representation from one modality with representations from another. The next stage uses that alignment to construct cross-modal attention.
The algorithm sets d to 100. The configuration table separately lists the bi-GRU setting as 2×200 neurons. The paper does not explain the relationship between these descriptions sufficiently to treat them as a single unambiguous specification. The architectural sequence is clear, but the dimensional details require care.
Comparing every utterance across a modality pair
Contextual inter-modal attention operates on a pair of encoded streams. Call them X and Y. Either can stand for text, sound or visual information, depending on the pair being processed.
The first operation creates a matrix of matching scores.
M₁ = X · Yᵀ
X and Y are the contextual representation matrices for the selected modalities. The superscript ᵀ means transpose, and · denotes matrix multiplication. M₁ contains cross-modal matches between utterance positions: a row identifies an utterance in X, and a column identifies an utterance in Y.
If the video contains u utterances, the paper describes M₁ as having shape u×u. It therefore compares each utterance representation in one stream with all utterance representations in the other stream, instead of limiting the comparison to aligned positions.
A second matching matrix reverses the roles.
M₂ = Y · Xᵀ
M₂ compares representations from Y against representations from X. Its rows now correspond to the utterances in Y. The operation preserves both directions because the subsequent normalization is performed separately for each row.
This distinction is easy to overlook. A raw match between a textual representation and a visual representation participates in both directions of comparison. Yet the distribution over possible contextual partners can differ depending on which representation supplies the query. Attention from text toward visual information and attention from visual information towards text are therefore kept as separate computations.
The scores at this point are not probabilities or final feature weights. They are unnormalized measures used to decide how strongly contextual representations should contribute. The next step converts each row into an attention distribution.
Turning matching scores into contextual attention
The authors apply a softmax operation across the contextual utterances in each row.
N₁(i, j) = exp(M₁(i, j)) / ∑ₖ₌₁ᵘ exp(M₁(i, k))
N₁ is the attention matrix derived from M₁. The index i identifies the utterance whose representation is being enriched. The index j identifies a candidate utterance in the other modality. The index k runs over the u available utterances in the denominator. exp is the exponential function, and ∑ indicates summation.
For a fixed target position, this normalization makes contextual candidates compete for attention. A stronger matching score receives a larger share relative to the other candidates in that row. The computation uses the full video sequence represented by the matrix.
The reverse direction is normalized separately.
N₂(i, j) = exp(M₂(i, j)) / ∑ₖ₌₁ᵘ exp(M₂(i, k))
N₂ is the attention matrix obtained from M₂. The indices and operations have the same roles, but the modalities have exchanged positions. Its row-wise distribution selects contextual evidence from X for a target represented in Y.
The resulting matrices retain the u×u organization. A cell records the relative attention given to one contextual position when constructing the attended representation for another. This is the basis of the paper’s heatmap analysis.
The mechanism does not explicitly label an utterance as sarcastic, informative or irrelevant. Its weights are learned indirectly because the attended representations help or hinder the downstream classification tasks. Attention is a computational route for incorporating context, trained through the final prediction objectives.
Gathering the selected information
The attention distributions are then used to combine contextual representations from the opposite stream.
O₁ = N₁ · Y
O₁ is the attended representation built from Y. Each row is a weighted combination of rows from Y, with the corresponding row of N₁ supplying the weights. The target positions are those associated with X, because N₁ was formed by comparing X against Y.
This gives each target utterance a context-dependent representation from the other modality. For example, when X is textual and Y is visual, the operation supplies a visual-context representation selected according to the textual queries.
The reverse operation constructs the other attended representation.
O₂ = N₂ · X
O₂ gathers contextual information from X for positions associated with Y. The weights come from N₂, so the reverse direction can emphasize a different pattern of contextual relationships.
These operations explain why the method is contextual as well as multimodal. The combination is not restricted to the visual, textual and acoustic features of the same utterance. It can draw on representations at other positions in the video.
At the same time, the representations being combined are already contextualized by their bi-GRUs. The architecture therefore uses context at more than one stage: recurrent encoding first, followed by selective cross-modal aggregation. The experiments do not isolate the independent contribution of each stage.
Gating the attended representations
After gathering information from the other modality, the network combines it multiplicatively with the original target representation.
A₁ = O₁ ⊙ X
A₁ is the gated output for the direction that enriches X. The symbol ⊙ means element-wise multiplication: corresponding components of O₁ and X are multiplied rather than combined through another matrix product.
The paper describes this as multiplicative gating. The attended context influences the components retained in the target representation. It is therefore more than simply appending a contextual vector; the cross-modal information directly modulates the target’s feature values.
The reverse direction is gated in the same manner.
A₂ = O₂ ⊙ Y
A₂ is the gated representation for the other direction. Its components combine the attended information in O₂ with the original contextual representations in Y.
The outputs are joined to form the result for the modality pair.
CIM-Attention(X, Y) = [A₁, A₂]
CIM-Attention names the contextual inter-modal attention procedure. Square brackets denote concatenation, which places the representations alongside one another. Both directions remain available to the later prediction layers.
The notation A₁ and A₂ refers to attention outputs, whereas the earlier capital A denotes the acoustic stream. Their roles differ in spite of the shared letter. Keeping that distinction clear helps when reading the overall architecture.
Combining the pairwise results
The procedure is applied to the text–visual pair, the acoustic–visual pair and the text–acoustic pair. Each pair can capture a different relationship. The method does not construct a single attention computation that directly compares all modalities at once; it assembles the outputs of these pairwise operations.
The final shared representation also retains the contextual outputs that entered attention.
Rep = [Atn_TV, Atn_AV, Atn_TA, T, V, A]
Rep is the representation passed to the task-specific prediction branches. Atn_TV, Atn_AV and Atn_TA are the attention outputs for the text–visual, acoustic–visual and text–acoustic pairs. T, V and A are the original contextual outputs from the separate recurrent encoders.
The authors describe the retention of those original representations as motivated by residual connections. Operationally, the algorithm concatenates them with the attended outputs. This gives the classifier access to both contextual modality features and their attention-based combinations.
That design avoids making the attention pathway the sole source of information. If a useful signal is present in an original contextual representation, it remains accessible after attention. The paper does not provide a controlled comparison that removes this retained pathway, so its individual contribution is not measured.
Producing different kinds of outputs
Sentiment and emotion require different prediction structures. The sentiment branch selects between positive and negative polarity using a softmax output. The labels are mutually exclusive under the paper’s experimental definition.
Emotion is treated as a multi-label problem. An utterance can express several emotional categories, so the emotion branch uses sigmoid outputs instead of forcing all categories to compete in a single exclusive choice. The authors include an additional output for the absence of emotion.
Training uses categorical cross-entropy for sentiment and binary cross-entropy for emotion. These are loss functions: they penalize disagreement between predictions and the annotated targets. The paper names these objectives but does not give an explicit formula for their combined multitask loss or specify a numerical weighting between the task losses.
The two branches send their training signals back into the shared representation. This is how interaction between tasks occurs. The architecture does not show a predicted sentiment label being inserted directly into the emotion branch, or a predicted emotion label being inserted into the sentiment branch.
That distinction qualifies the authors’ later interpretation of individual examples. When they say sentiment helps identify an emotion, the architecture supports an explanation through jointly learned features. It does not establish a separate inference stage in which one completed label mechanically determines the other.
For emotion prediction, the sigmoid values are converted into labels by thresholding. The authors use 0.4 when evaluating F1 and 0.2 when evaluating weighted accuracy, after optimizing and cross-validating the choices. The reported emotion metrics therefore involve different decision thresholds rather than a single fixed set of predicted labels.
Training settings and reduced-input variants
The implementation uses Keras. The configuration table specifies a dense layer with 100 neurons, ReLU activations and dropout of 0.3. It also lists dropout of 0.3 for the bi-GRU configuration. Optimization uses Adam with learning rate 0.001, batch size 16 and 50 epochs.
The full attention procedure needs a pair of modalities. For experiments using only one modality, the authors substitute a self-attention variant. That variant receives the contextual utterance representations from the recurrent encoder and attends within the same stream before classification.
The single-modality results consequently should not be read as evaluations of cross-modal attention with an input removed. They evaluate an adapted architecture that still uses context and attention, but cannot compare separate input channels.
For the comparison between learning regimes, the separate-task setting trains one system for sentiment and another for emotion. The joint setting learns both tasks within the shared architecture. This provides the central controlled comparison in the paper: whether common supervision improves the predictions produced from otherwise corresponding input configurations.
Experiments and results
What CMU-MOSEI contributes to the evaluation
The experiments use CMU-MOSEI, whose full name identifies it as a multimodal opinion, sentiment and emotion-intensity dataset. The paper describes 3,229 videos containing more than 23,000 utterances from over 1,000 speakers on YouTube.
The split contains 16,216 training utterances, 1835 development utterances and 4625 test utterances. At the video level, the corresponding counts are 2250, 300 and 679. These partitions supply the training data, validation material and held-out evaluation used in the experiments.
Each utterance has aligned information from the modalities used by the network. This makes the dataset suitable for comparing text-only, acoustic-only and visual-only settings with paired and combined inputs. It also provides labels for both tasks, allowing the authors to compare separate and shared learning on the same underlying examples.
The sentiment labels are obtained from the sign of the annotated sentiment value. Values below 0 become negative labels, while values greater than or equal to 0 become positive labels. The positive category therefore includes utterances whose original score is 0. It should be understood through that operational definition rather than as an unrestricted claim of favorable sentiment.
The sentiment classes are unevenly represented. The training partition contains 11,499 positive and 4717 negative utterances. The development partition contains 1333 positive and 502 negative utterances. On the test partition, the counts are 3281 positive and 1344 negative utterances.
These counts matter when interpreting accuracy. A correct prediction rate summarizes performance over the observed mixture of labels. The paper also reports F1, which evaluates the balance between precision and recall under its scoring procedure.
How emotion labels are constructed
The original emotion annotations assign intensity values to anger, disgust, fear, happiness, sadness and surprise. The experiments turn these into category-presence labels: a category is considered present whenever its intensity is non-zero.
An utterance can therefore receive several emotion labels. The target is not the single strongest emotion, and the experiments do not attempt to reconstruct the original intensity values. When none of the emotion categories is present, the authors assign the additional no-emotion category.
The label distribution shows that multi-label cases are substantial. The paper reports 11,050 utterances with a single emotion and 5526 with two emotions. It lists 2084 with three emotions, 553 with four, 84 with five and 8 with six. A further 3372 utterances have no emotion label.
Individual categories also vary in frequency. On the test split, anger occurs in 1063 utterances and disgust in 802. Fear occurs in 381 and surprise in 437. Happiness is associated with 2484 test utterances, while sadness appears in 1112.
These are counts of category occurrences, so categories can overlap within an utterance. They should not be interpreted as a partition of the test set. Their uneven frequencies help explain the authors’ decision to report weighted accuracy for emotion recognition and their concern about underrepresented categories.
The emotion task thus differs from sentiment in several respects at once: its labels overlap, it includes an explicit absence category, and its original intensity annotations are reduced to presence or absence. Each of these choices affects what a successful prediction means.
Metrics and reporting conventions
Sentiment is evaluated with F1 and accuracy. Emotion is evaluated with F1 and weighted accuracy. The authors choose weighted accuracy because the emotion categories are imbalanced and because it follows the evaluation practice of the earlier CMU-MOSEI work they compare against.
The paper does not reproduce the weighted-accuracy formula. Its values should therefore be reported using the paper’s metric name rather than silently reinterpreted as ordinary accuracy. The distinction is especially important when comparing sentiment and emotion, whose accuracy columns refer to different quantities.
The emotion thresholds introduce another reporting condition. F1 uses the threshold 0.4, whereas weighted accuracy uses 0.2. Accordingly, a higher weighted-accuracy result does not necessarily describe the exact predictions used to obtain the accompanying F1 score.
There is also an aggregation distinction between the main configuration table and the external-comparison table. The experiments train an emotion branch that includes no emotion, but the external-comparison table explicitly identifies its emotion average as a six-class average. These results should be kept attached to their stated reporting scopes.
Finally, the paper gives some headline figures at different numerical precision, and a few values do not agree exactly between passages. The charts below follow the external-comparison table where they compare against earlier work. Other results are identified with the main configuration table or the accompanying narrative.
Joint training versus separate training
For sentiment with all modalities, the main configuration table reports F1 of 77.6 under separate training and 78.8 under joint training. Accuracy is 79.8 and 80.5, respectively. This is the principal evidence that sharing supervision with emotion recognition helps the polarity task in the full-input setting.
The narrative gives more detailed sentiment figures for this experiment: F1 of 77.67% and accuracy of 79.8% for separate training, followed by F1 of 78.86% and accuracy of 80.47% for joint training. These are the values as stated in that passage; the paper does not explain all differences in presentation between its prose and tables.
Emotion recognition also improves in the main configuration table. The full-input separate-task setting has F1 of 77.7 and weighted accuracy of 60.8. Joint training yields F1 of 78.6 and weighted accuracy of 62.8.
The narrative elsewhere gives the separate-task emotion result as F1 of 77.71% and weighted accuracy of 60.88%. Again, the appropriate reading is to retain the source’s stated precision instead of manufacturing a single harmonized figure.
The central experimental direction is nevertheless consistent. When all input channels are available, the jointly trained system scores above its separately trained counterpart on both reported metrics for each task. The claim concerns these measured outcomes, instead of a universal benefit from sharing tasks.
What the input combinations reveal
Text is the strongest individual modality for sentiment in the main configuration table. Under separate training, its F1 is 75.1, compared with 67.9 for acoustics and 66.3 for visual features. Under joint training, the corresponding scores are 77.5, 72.1 and 69.1.
The paired-input results show that the value of additional evidence depends on which channels are combined. For sentiment, the jointly trained text–visual setting reaches F1 of 78.7, while text–acoustic reaches 78.6. The acoustic–visual pair reaches 75.8.
The full-input joint setting has sentiment F1 of 78.8. This is the highest value in that part of the configuration table, but the text-containing pairs already perform strongly. The results support useful contributions from additional modalities without implying that every channel is equally important.
Emotion recognition shows a related but distinct pattern. The jointly trained individual-modality F1 scores are 76.9 for text, 74.6 for acoustics and 75.4 for visual features. The text–visual pair reaches 78.5, text–acoustic reaches 77.6, and acoustic–visual reaches 77.0.
With all modalities, emotion F1 is 78.6. Weighted accuracy is 62.8, compared with 62.5 for text–visual and 60.5 for text–acoustic. These comparisons indicate that the full combination performs best on the reported aggregate measures, while also showing that a strong paired setting can approach it.
The results should not be taken to mean that the same modality is decisive for every utterance. They summarize whole test-set outcomes. The architecture’s motivation concerns instance-specific contributions, but these aggregate comparisons establish only the value of making different input combinations available.
Comparisons with earlier systems
The external comparison includes approaches based on early fusion, tensor fusion and other sequential or multimodal methods. The authors also report selected earlier results for conventional classifiers and systems using different combinations of features. Many entries are absent for particular tasks or emotion categories.
The paper says that it includes the leading earlier results for each case as reported in the CMU-MOSEI work. The comparison therefore combines the authors’ own experiments with results drawn from that earlier report. It is not presented as a complete reimplementation of every baseline under a newly standardized training procedure.
For sentiment, the external-comparison table gives the strongest earlier accuracy as 76.9. The proposed separate-task system reaches 79.8, and the proposed joint-task system reaches 80.5.
Sentiment accuracy on CMU-MOSEI in the external comparison
Joint training achieves the highest reported sentiment accuracy in this comparison.
The numbers
| System or setting | accuracy % |
|---|---|
| Earlier best reported system | 76.9 |
| Proposed separate-task system | 79.8 |
| Proposed joint-task system (this paper) | 80.5 |
The corresponding sentiment F1 values are 77.0 for the earlier best result, 77.6 for the proposed separate-task system and 78.8 for the proposed joint-task system. The comparison supports both the proposed architecture’s competitiveness and the additional benefit associated with joint training.
For emotion recognition, the external-comparison table reports a six-class average F1 of 76.3 for the earlier best result. Its proposed separate-task result is 76.2, while joint training reaches 78.6.
Six-class average emotion F1 on CMU-MOSEI
The joint system exceeds both the earlier comparison result and the separately trained version.
The numbers
| System or setting | F1 |
|---|---|
| Earlier best reported system | 76.3 |
| Proposed separate-task system | 76.2 |
| Proposed joint-task system (this paper) | 78.6 |
For six-class average weighted accuracy, the earlier result is 62.3. The external-comparison table lists 61.3 for the proposed separate-task system and 62.8 for joint training. The separate-task averages here differ from those in the main configuration table, which is another reason to preserve each table’s reporting context.
Statistical evidence and its scope
The authors report significance tests for comparisons with both the earlier state of the art and their separate-task system. In the external-comparison table, the sentiment F1 comparison against earlier work has a p-value of 0.0012, while sentiment accuracy has 0.0046. Against separate training, those values are 0.0015 and 0.0278.
For the emotion averages, the reported p-values against earlier work are 0.0240 for F1 and 0.0420 for weighted accuracy. The corresponding comparisons against separate training are 0.0171 and 0.0312. The authors identify these results as significant under their criterion of p-value < 0.05.
These tests support the paper’s statement that the reported aggregate improvements are statistically significant under its evaluation procedure. They do not explain why the architecture improves, and they do not replace missing information about variation across independent training runs.
The comparative-analysis prose also reports sentiment accuracy of 80.4%, whereas the external-comparison table gives 80.5 and the earlier experimental narrative gives 80.47%. The paper’s broad conclusion does not depend on choosing among these presentations, but an exact numerical account must acknowledge them.
What the ablations show
The paper offers controlled comparisons rather than a complete component ablation
The paper does not present a full component-by-component ablation of the architecture; its main analyses compare separate and joint training, vary the available modalities, inspect attention heatmaps, and examine selected predictions.
This distinction matters because the proposed system combines several mechanisms. Context comes from bidirectional recurrence and attention. Cross-modal interaction comes from matching, aggregation and gating. Original contextual representations are retained alongside attention outputs. Shared learning then adds supervision from another task.
A complete component ablation would help separate those contributions. The reported experiments instead answer a narrower set of questions: whether joint training helps the proposed framework, how it behaves with different input channels, and whether selected internal patterns and examples are consistent with the authors’ interpretation.
The strongest comparison concerns task sharing
The separate-task versus joint-task comparison is the clearest evidence for the paper’s central learning claim. The authors repeat it across individual, paired and full-input configurations instead of showing only a single favorable setting.
For sentiment F1, joint training improves every input configuration listed in the main table. Text alone goes from 75.1 to 77.5. The acoustic–visual pair moves from 69.6 to 75.8. The full-input setting moves from 77.6 to 78.8.
Emotion F1 also improves across the listed configurations. For instance, the visual-only setting changes from 73.6 to 75.4, and the text–visual setting changes from 77.5 to 78.5. This consistency across F1 comparisons is stronger evidence than a single aggregate result would provide.
The accuracy-related measures require a more qualified account. Sentiment accuracy improves across the listed settings, but emotion weighted accuracy does not. In the acoustic-only experiment, separate training reaches 56.7, whereas joint training reaches 56.2.
That counterexample limits the authors’ broad language about improvement. The evidence supports a generally beneficial pattern, especially for F1 and the full-input setting. It does not support the claim that sharing tasks improves every metric under every choice of inputs.
The comparison also cannot establish that sentiment and emotion exchange a particular human-interpretable fact. Better performance shows that shared training is useful in the tested architecture. Determining exactly which learned features mediate the benefit would require a different analysis.
Modality comparisons support complementarity, with qualifications
The modality experiments show that text carries substantial predictive information. Its individual-channel sentiment results exceed those of the acoustic and visual settings. This agrees with the paper’s description of text as a historically central source for affect analysis.
At the same time, the best aggregate full-input results exceed the text-only results. The finding is compatible with the motivating argument that sound and visual information can resolve cases left uncertain by wording alone.
The paired settings provide a more detailed view. For jointly trained sentiment, both text-containing pairs perform strongly, while acoustic–visual input remains lower. For emotion F1, visual information is comparatively useful even without text, and the text–visual combination is especially competitive.
These comparisons do not directly identify which examples require which modality. Nor do they show that the attention mechanism is responsible for all of the benefit from extra inputs. Adding a modality also changes the available feature content and, for paired settings, enables the cross-modal computation itself.
The individual-channel experiments introduce an additional qualification because they use self-attention. They are useful tests of what each feature stream can support, but they do not hold the attention mechanism identical while simply removing another input.
The safest conclusion is that the modalities contain complementary information under this framework, with text particularly strong for sentiment. The experiments leave open how much of that complementarity depends on contextual inter-modal attention rather than on other aspects of the representation.
What the attention heatmaps reveal
The authors visualize attention for a video containing six utterances. They show the distributions for each modality pair, with both attention directions represented. Each cell indicates how much contextual weight a source utterance receives for a target utterance in the relevant directional computation.
Their discussion focuses on the utterance identified as u4. In the text–visual visualization, they report greater emphasis on the textual information associated with u2 and u6, while the visual side is distributed more evenly across the utterances.
The example illustrates the architecture’s intended flexibility. Attention need not remain concentrated on the target utterance, and its distribution need not be the same for both modalities. Different contextual positions can contribute differently to the representation used for classification.
This is a useful check that the attention mechanism is doing something more varied than assigning a fixed uniform pattern. It also gives a concrete meaning to the matrix equations: rows correspond to target positions, and columns correspond to possible contextual contributions.
However, the heatmap is an observation of internal weights, not a controlled intervention. The paper does not remove the highly weighted utterances and measure the change in prediction. It also does not compare the weights against independent judgments of which evidence should matter.
The visualization therefore supports a description of attention behavior. It does not establish a causal explanation of the final labels. Information can also reach the classifier through the retained original representations and through context already incorporated by the recurrent encoders.
Selected examples show both recoveries and remaining errors
The paper presents examples where joint training produces better labels than separate training. These cases help explain what aggregate improvement can look like at the utterance level, but they are selected illustrations instead of a representative error sample.
In the movie-review example, the gold sentiment is negative. The prediction table shows the separate-task system assigning positive polarity and the joint system assigning negative polarity. This is a successful correction of the sentiment label.
The accompanying prose contains an inconsistency: it describes the negative gold label but then calls a positive prediction the corrected result. The table supports the negative prediction as the intended successful case. This should be treated as a reporting error in the explanation, not as evidence for an unusual sentiment definition.
The emotion predictions for that utterance are more mixed. The gold labels are anger and disgust. Separate training predicts disgust, happiness and sadness. Joint training predicts anger, disgust, happiness and sadness.
The joint system recovers an additional correct emotion, but it still includes unwanted labels. The paper reports precision of 0.5 and recall of 1.0 for the joint prediction, compared with precision of 0.3 and recall of 0.5 for the separate-task prediction. The case illustrates improved coverage of the gold emotions rather than an exact multi-label match.
Another example has positive sentiment and gold emotions of happiness and sadness. The separate-task system predicts anger and sadness, while the joint system predicts happiness and sadness. The authors interpret this as a case where sentiment-related information helps recover the appropriate emotion.
The interpretation is plausible within the shared-learning design. Even so, the example alone cannot demonstrate that a positive sentiment decision caused the emotion correction. Both outputs arise from a common representation, and the paper does not intervene on either branch to establish the direction of influence.
Prediction counts expose changes in category preference
The authors also compare how frequently the systems assign particular emotion labels. Joint training predicts anger for 1173 utterances, compared with 951 under separate training. The test data contain 1063 utterances annotated with anger.
For sadness, the direction changes. Joint training predicts 1618 utterances as sad, whereas separate training predicts 2126. These figures show that sharing tasks changes the output distribution rather than merely improving a few isolated examples.
The counts alone do not measure correctness. Predicting a category more often can recover missed instances, create false positives, or do both. Likewise, reducing predictions can remove errors while also losing true cases. Category-specific precision and recall would be needed to distinguish these possibilities fully.
The authors report broadly similar prediction counts for disgust and happiness across the learning regimes. They also identify poor behavior for fear and surprise under joint training, suggesting that the low representation of these categories may be responsible.
This analysis adds an important qualification to the aggregate scores. A system can improve its overall F1 or weighted accuracy while becoming less useful for particular categories. The paper’s strongest conclusions concern average performance, not uniform gains across the emotional inventory.
Limitations
Limits the authors explicitly identify
The clearest difficulty acknowledged by the authors concerns fear and surprise. They report that the joint system fails to predict a substantial number of instances from these categories and suggest that their limited representation in the dataset may explain the problem.
This is a proposed explanation instead of a tested cause. The paper does not report a controlled rebalancing experiment, a targeted increase in training examples, or another intervention that isolates category frequency. The observation is supported by the analysis; the mechanism behind it remains a hypothesis.
The authors also explicitly leave intensity prediction for future work. Although CMU-MOSEI supplies sentiment and emotion intensities, the experiments reduce these to classification targets. Their proposed extensions include learning sentiment categories alongside sentiment intensity, learning emotion categories alongside emotion intensity, and combining those objectives.
The current results therefore concern classification under the paper’s label conversions. They do not establish how accurately the framework can estimate the strength of a sentiment or emotion.
Another boundary is built into the method itself: contextual inter-modal attention requires a modality pair. The authors accommodate individual-channel experiments through a separate self-attention variant. This provides a useful comparison, but it also marks the conditions under which the central attention procedure is applicable.
The dataset bounds the demonstrated generalization
A careful-reader limitation is that all reported experiments use CMU-MOSEI. This provides a coherent evaluation for both tasks, but it does not show whether the same improvements appear in another collection of speakers, recording conditions or communicative settings.
The motivating examples concern broad problems of affective interpretation. The empirical claim is narrower: the proposed framework performs well on the selected benchmark under the stated feature preparation, labels and evaluation measures.
The paper does not report a transfer experiment in which a system trained on CMU-MOSEI is tested on another dataset. Nor does it evaluate adaptation to a setting with different label frequencies. The evidence therefore cannot establish robustness to those changes.
The architecture also assumes access to a sequence of utterances and uses bidirectional encoders. Later utterances can influence the representation of an earlier one. That is appropriate for analysis after a video is available, but the experiments do not demonstrate prediction under a strictly streaming constraint.
A live system that must decide before future speech arrives would have a different information condition. The paper does not measure the effect of removing that future context, so its reported accuracy should not be transferred directly to that setting.
Label conversion limits what the outputs mean
A further careful-reader limitation concerns the conversion from intensity annotations to category labels. Any non-zero emotion intensity is treated as evidence that the category is present. The classifier is not asked to distinguish a weak expression from a strong one.
This conversion simplifies the target, but it discards distinctions present in the original annotation. A correct category prediction says that the system agrees with the presence label. It does not say that it has measured the degree of emotional expression.
The sentiment conversion likewise imposes a specific decision boundary. The positive category includes original values of 0. Consequently, the output label should be interpreted as the paper’s non-negative class, even though the interface names it positive.
The no-emotion output introduces another unresolved detail. The paper trains it alongside the emotion outputs using sigmoid decisions, but does not describe a constraint preventing no emotion from co-occurring with an emotion label. One of the separate-task examples includes such a combination.
This does not invalidate the multi-label setup, but it leaves the handling of logically conflicting outputs underspecified. A system intended to provide a coherent final label set would need an explicit policy or demonstrated behavior for these cases.
Threshold choices affect the comparison
The use of different emotion thresholds for F1 and weighted accuracy is a careful-reader qualification instead of a fault by itself. Optimizing a decision rule for a metric can be appropriate, but it means the metrics describe different operating settings.
A reader cannot assume that the system simultaneously produces the reported F1 and weighted accuracy from one unchanged label set. The threshold for each result is part of the experimental condition.
This matters when interpreting examples and averages together. A qualitative prediction shown under one decision rule may not represent the predictions used for another metric. The paper does not trace every qualitative example to a specific threshold.
The paper states that thresholds are optimized and cross-validated, but gives limited procedural detail about that selection. It does not provide a fuller threshold-sensitivity analysis that would show whether the advantage is stable across a range of decision settings.
The practical evidence is therefore strongest at the reported operating points. Claims about robustness to threshold choice would require additional results.
The architecture is not fully disentangled experimentally
The paper’s controlled comparison establishes that shared training can improve the proposed framework. It does not establish how much each architectural element contributes.
There is no reported removal study for multiplicative gating, no direct comparison that deletes the retained contextual representations, and no systematic contrast between contextual inter-modal attention and an otherwise identical simpler fusion method.
The recurrent encoders and attention both incorporate context. Without an experiment that varies them separately, it is difficult to determine how much useful contextual information enters through each route.
Similarly, retaining the original modality representations gives the classifier a pathway around the attention outputs. That may be beneficial, but it makes heatmaps an incomplete account of the information used for a decision.
The appropriate conclusion is that the combined framework works well in the tested setting. A stronger causal claim about the necessity or sufficiency of a particular component is not supported by the reported comparisons.
Attention is suggestive evidence, not a complete explanation
The authors use heatmaps to illustrate where the network places contextual weight. A careful reader should distinguish these weights from a validated explanation of why a label was predicted.
The attention distributions describe an internal aggregation operation. They do not directly measure how much the final classifier would change if a particular input were absent. A highly weighted representation may contain redundant information, while a lower-weighted pathway can still contribute through the retained features.
The paper does not perform interventions on utterances or modalities to test these relationships. It also does not compare attention patterns with human annotations of relevant evidence.
The heatmaps therefore help explain the architecture’s behavior at one stage. They do not justify treating the network as fully interpretable or treating its weights as an authoritative account of emotional evidence.
The same caution applies to the selected cross-task examples. A better emotion prediction alongside a correct sentiment prediction is consistent with useful sharing. It does not identify a unique direction of information flow or prove that one output supplied the decisive evidence for the other.
Reporting leaves some reproducibility questions open
Several details limit how precisely the experiment can be reconstructed from the paper alone. The algorithm specifies d as 100, while the configuration table lists the bi-GRU setting as 2×200 neurons. The relationship between these statements is not resolved.
The paper names separate loss functions for sentiment and emotion, but does not write the combined training objective or describe an explicit task-weighting choice. Such a choice can matter when supervision from different branches updates shared parameters.
Some result values also vary across tables and prose. Sentiment accuracy appears as 80.47%, 80.5 and 80.4% in different reporting contexts. The separate-task emotion averages differ between the main configuration table and the external-comparison table, whose average is explicitly described as covering six classes.
These discrepancies do not erase the reported performance pattern. They do prevent a careful account from collapsing all values into one supposedly exact figure without qualification.
The significance table supplies p-values, but the experimental account does not provide a detailed distribution of results across repeated training runs. Statistical significance under the reported test should therefore be distinguished from a demonstrated account of training variability.
Finally, the external comparison includes earlier results taken from the CMU-MOSEI report rather than a fully documented common reimplementation. The comparison supports competitiveness against those published figures. It offers less control over differences in training and evaluation procedures than a complete rerun under shared conditions would provide.
What came after
Extending joint affect analysis toward sarcasm
The later citing work Sentiment and Emotion help Sarcasm? appeared in 2020. Its title identifies a multitask framework concerned with multimodal sarcasm, sentiment and emotion analysis.
The connection is a natural continuation of the question posed here. The earlier paper learns sentiment and emotion through a shared representation because their supervision may be mutually useful. The later work’s title extends that line of inquiry to sarcasm, asking about the value of sentiment and emotion in a broader joint setting.
Sarcasm also connects to the earlier paper’s motivation. The authors use a sarcastic remark to illustrate why literal wording may be insufficient and why other channels can matter. Yet their evaluated outputs are sentiment and emotion, not sarcasm labels. The later work explicitly places sarcasm among the tasks named in its framework.
The relationship should be stated at that level of certainty. The citing record and title establish a later multitask investigation involving the same affective tasks and an additional sarcasm objective. They do not establish that the later system reuses the contextual inter-modal attention equations, preserves the same recurrent encoders, or adopts the same thresholds.
Nor does the later record supply results that would show whether adding sarcasm improves sentiment or emotion recognition, or whether their supervision improves sarcasm detection. Those outcomes cannot be inferred from the question in the title.
What carries forward is the research direction: affective judgments can be studied together rather than as isolated classifiers, and multimodal evidence can support that shared investigation. The present paper supplies a concrete earlier demonstration for sentiment and emotion on CMU-MOSEI. The later work broadens the set of tasks under discussion, while the exact architectural inheritance and empirical benefit remain separate questions.
Cite
Cite as Md Shad Akhtar, Dushyant Chauhan, Deepanway Ghosal, Soujanya Poria, Asif Ekbal and Pushpak Bhattacharyya. 2019. Multi-task Learning for Multi-modal Emotion Recognition and Sentiment Analysis. Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers).
@inproceedings{akhtar2019multi,
title = {{Multi-task Learning for Multi-modal Emotion Recognition and Sentiment Analysis}},
author = {Md Shad Akhtar, Dushyant Chauhan, Deepanway Ghosal, Soujanya Poria, Asif Ekbal and Pushpak Bhattacharyya},
booktitle = {Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers)},
year = {2019},
doi = {10.18653/v1/n19-1034},
url = {https://doi.org/10.18653/v1/n19-1034}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/akhtar-2019-multi-task-learning-multi-modal/