Mood Classification of Hindi Songs based on Lyrics
Paper · 2015 · Braja Gopal Patra, Dipankar Das and Sivaji Bandyopadhyay
Summary
A song can sound angry when played and feel sad when its words are read. That difference matters for anyone trying to organize a music collection by mood. A search for a calm or excited song is typically a request for a listening experience, while the lyrics are often the easiest part of a song to search as text. The authors ask how much the words of Hindi songs can tell us about the mood of the recording and how well those same words reveal the sentiment of the lyrics themselves. Their study treats these as separate questions about sentiment and emotion.
The authors assembled a collection of 461 Hindi song lyrics and paired them with two kinds of human judgment. Listeners assigned a mood from a taxonomy that grouped related experiences under Excited, Happy, Calm, Sad and Angry. Readers assigned positive or negative polarity after considering the words. The paper reports inter-annotator agreement of 88% for the broad mood categories and 95% for the polarity labels. The labels often aligned in familiar ways, but there were exceptions. Some songs judged Happy when heard had lyrics judged negative when read. The annotations therefore gave the authors two distinct targets for a system using only text.
The authors trained a support vector machine for each target. It used clues from three kinds of evidence: entries in Hindi sentiment and emotion dictionaries, patterns such as repetition and shared line endings, and recurring sequences of words. With all three feature families combined, the average F-measure reached 38.49% for listener-assigned mood and 68.30% for reader-assigned polarity in 10-fold cross-validation. Word sequences alone gave a substantial part of that performance. Combining the feature families gave the strongest reported result on each task.
The comparison shows where a lyric-only approach was more successful on this collection. The words supported a better prediction of the broad sentiment that readers assigned to them than of the more detailed mood that listeners assigned to the corresponding recordings. The tasks also differed in how many answers they allowed and how consistently people agreed on those answers. Earlier Hindi audio studies cited in the paper reported higher scores, but they classified audio clips, and their reported metric was accuracy. The study’s clearest finding comes from keeping the two human judgments visible: a result for textual polarity answers a different question from a result for the mood of a performance.
Deep dive: Mood Classification of Hindi Songs based on Lyrics
A study of how well Hindi song lyrics predict the mood listeners hear and the positive or negative sentiment readers find in the words. · about 32 minutes to read
The problem and its context
What a mood search is asking for
When people browse a music collection by artist or title, they already have a way to name what they want. Mood offers a way into a collection when they have a desired experience in mind and have yet to choose a song. The authors situate their work in music information retrieval, the study of how to find and organize music using information about it. In this setting, a mood label is metadata that can support browsing, search and recommendation. Its value depends on what the label describes. A person choosing an Excited song may care about the sound of the performance, while someone looking through lyrics may be interested in what the words express. Information retrieval & search
Digitization, in the authors’ account, made a wider selection of music accessible and increased the practical value of finding a suitable song without listening through an entire collection. Mood is an appealing way to narrow that choice, but it is harder to catalog than an artist’s name. A performance can combine an energetic delivery with distressing language, or give a restrained delivery to a lyric full of longing. A track also unfolds over time. If its atmosphere changes, an index that assigns a single mood has to compress those changes into one label. The definitions of the categories and the circumstances under which a person chooses one both matter to the usefulness of the index.
The paper focuses on popular Hindi songs associated with cinema. The authors distinguish this repertoire from the Hindustani and Carnatic classical traditions, which also appear in their account of previous work. Their motivation was partly the prominence of Hindi popular music and partly a gap in computational work on it. They knew of Hindi mood studies that used audio. They were unaware of an existing Hindi lyric-based system against which they could run a direct comparison. Building a collection with compatible lyric and song annotations was therefore part of the research problem. A classifier could only be evaluated once the authors decided whose judgment it should reproduce and what set of answers that person could choose from.
Different ways of naming musical affect
The earlier work surveyed in the paper offers several ways to define mood. The authors discuss Hevner’s adjective groupings, Russell’s circumplex representation of affect and the categories used in the Music Information Retrieval eXchange, or MIREX. These approaches give researchers a vocabulary with which to record a listener’s impression. Their groupings serve different purposes. A pre-defined list can help annotators use the same labels, whereas a representation organized by dimensions can help explain why certain words describe related experiences.
Russell’s representation organizes 28 affect words around dimensions associated with pleasantness and activation. The authors use the terms valence and arousal for the corresponding properties. Valence concerns the positive or negative side of the experience, while arousal concerns its intensity or level of activation. The distinction matters because pleasantness and activation can vary independently. An experience implied by relaxed can share pleasantness with one implied by delighted and still differ markedly in activation. Conversely, labels associated with excitement and anger can occupy similar territory in activation while differing in the kind of feeling they name. This gives the authors a reason to expect some category boundaries to be easier to maintain than others.
The paper also describes a criticism of deriving categories in laboratory settings. People encounter music in social situations, and schemes based on controlled judgments may leave that context out. The authors nonetheless use Russell’s arrangement as a practical starting point. Their decision is to group semantically related descriptors and test the resulting coarse categories on their own repertoire. They use the underlying dimensions to motivate the groupings. Their classification experiments ask for category assignments instead of a position for each song on a continuous affect scale.
The Indian studies discussed in the paper illustrate why category design depends on the question and repertoire. Koduri and Indurkhya investigated whether particular Carnatic raagas evoked particular rasas for individual listeners. Their categories included experiences associated with romance or love and with laughter or comedy. Velankar and Sahasrabuddhe worked with a broader list of moods for Hindustani classical music, with categories such as Peaceful, Graceful, Pure and Meditative. For Indian popular music, Ujlambkar and Attar used labels including Happy, Sad, Silent, Excited and Romantic, with subdivisions organized around energy and stress. Previous work by Patra and colleagues also used the MIREX taxonomy. In each case, the set of permitted answers determined which distinctions the resulting system could learn to make.
Audio, lyrics and the question of evidence
The research surveyed by the authors treated sound as a major source of evidence for musical mood. Audio systems used spectral properties, rhythm and intensity. Spectral properties concern the frequency content of the sound. Rhythm describes its temporal organization, while intensity captures aspects of how forceful or loud it is. The authors report that spectral features and support vector machines had been widely used in the MIREX audio mood task. They also describe the MediaEval emotion task, where researchers estimated valence and arousal as they varied through a recording. That task illustrates what changes when annotation retains time information. A system can represent a changing impression across a track when the target is a sequence of judgments.
Earlier research on Western music also used lyrics. It represented them through word counts, emotion dictionaries and descriptions of writing style. Word counts give a classifier access to vocabulary choices across a song, while a dictionary can relate different words to shared emotional categories. The paper also discusses approaches that combined audio and text, naming Yang and Lee’s work as an early example. The studies the authors reviewed gave different impressions of how useful each source was for predicting mood. Some comparisons favored the words under their particular conditions, while others emphasized sound or found value in using both.
That mixed background makes the authors’ paired annotation scheme especially important. A lyric can be evaluated as evidence about a recording, or it can be evaluated as a text with an affective character of its own. In the former case, the target comes from a listener. In the latter, it comes from a reader. Both are legitimate uses of the words, but they refer to different experiences. The paper builds a separate prediction task around each one. For a reader of the study, this distinction is more informative than a general question about whether lyrics are good at mood classification. It specifies exactly what the words are being asked to predict.
The method, step by step
Preparing the words and deciding what to label
A practical way to understand the method is to follow a song into the experiment. The recording supplies the experience on which the mood label is based. The authors find its corresponding lyric in a web archive and prepare the words for processing. The written lyric supplies the experience on which the polarity label is based. The same written lyric also provides all the features for both classifiers. In the mood task, the learning procedure is thus given the words and taught to predict a label that originated in listening.
The lyrics were gathered to match recordings in an audio collection developed in earlier work by Patra and colleagues. The authors describe adding lyrics as that audio collection grew. This gives the study a basis for associating a whole written text with a song that could be heard and annotated. The important pairing is between the lyric and the corresponding recording. What the paper tests is whether textual features computed for that particular lyric can predict judgments made about the paired song.
Much of the archived material represented Hindi in Roman characters. The authors’ Hindi dictionaries and common-word resources were in a different written representation. They used a transliteration tool from the EILMT project to convert the Romanized lyrics into Hindi text encoded in UTF-8. Transliteration changes how the words are written while retaining the language of the lyric. The encoding allows the converted characters to be stored and processed. These details matter because a dictionary lookup depends on a correspondence between the form present in the lyric and the form stored in the resource. A difference in script would prevent a direct match.
The converted text contained errors, so the authors corrected it manually. A correction at this stage could affect several features further along in the process. It could restore a match with a dictionary entry, make identical words count as repetitions, or let the same sequence be recognized in multiple lyrics. In other words, the features describe the material after transliteration and correction. The experiment evaluates classification on that prepared text.
Preparing and classifying Hindi song lyrics
The steps in order.
Grouping moods and recording the judgments
The taxonomy takes neighboring affect words and groups them under broader labels. Excited brings together Excited, Astonished and Aroused. Happy covers Delighted, Happy and Pleased. Calm collects Calm, Relaxed and Satisfied. Sad groups Sad, Gloomy and Depressed, while Angry groups Angry, Alarmed and Tensed. The broad labels are the answer choices used in the experiments. The finer terms explain the range of experiences each category was intended to cover.
The examples in the paper show how the underlying dimensions informed the grouping. Happiness and delight represent experiences the authors associate with high valence. Excitement and arousal share strong activation. The authors also describe a preliminary impression that audio features varied little among some subclasses within their parent category. That observation motivated collecting similar songs under broad labels. The experiment itself operates at the level of the broad classes, so a correct Excited prediction covers a song assigned there for any of the more specific experiences grouped under it.
The annotation was done by volunteer undergraduates aged 18-24. Each song was annotated by five people. For the mood judgments, the volunteers listened to the recording and used the coarse categories. The use of full songs gives the annotations a particular meaning. A listener has the course of the performance available when deciding how to label it. The label represents a judgment about the song as a whole, even when individual moments would justify different descriptions. This kind of explicit labeling, used to supply a target for later evaluation, is a form of linguistic annotation when applied to the corresponding text.
The authors describe trying to use the same mood vocabulary while the volunteers read the lyrics. Assigning a category to a text proved difficult because it could contain several emotions. They also noticed cases in which the mood differed across listening and reading. Their example is Bhaag D.K.Bose Aandhi Aayi. The track was judged Angry when heard and Sad when the words were considered on their own. This example comes from the attempt to describe reading with the coarse mood taxonomy. It illustrates the change in perceived emotion across media, separately from the final positive-or-negative labels used for the reading task.
The authors settled on positive and negative as the reading labels. This choice narrows the question. A reader can treat several passages as different in feeling and still assign an overall polarity to the lyric. The recording’s category continues to distinguish kinds of mood that can share a broad polarity, such as Happy and Calm. The final arrangement associates each lyric with a broad listening category and a binary reading judgment. The latter comes from reading the contents, so the polarity labels were not generated by an automatic mapping from the listening categories.
This matters at training time. If a song was heard as Happy but its lyric was read as negative, its text representation can appear with Happy as the target in one task and negative as the target in the other. Each prediction has its own criterion for success. The study can consequently examine whether the same information in the lyric is useful for different kinds of human judgment. The preparation of the targets is as consequential as the feature extraction.
Turning the lyric into dictionary and style features
The classifiers require a numerical description of each lyric. The first source of values is a set of Hindi sentiment and emotion dictionaries. A sentiment lexicon associates words with categories such as positive or negative. An affect lexicon can distinguish more specific emotions. These resources give the classifier a way to treat different words as evidence of related feelings. Words that hardly ever occur together, or never occur in the same lyric, can still contribute to a signal about a shared category. Lexical semantics
The Hindi Subjective Lexicon has separate lists for adjectives and adverbs. Its adjective list contains 3909 positive, 2974 negative and 1225 neutral entries. The corresponding adverb counts are 193 positive, 178 negative and 518 neutral. The distinction between adjectives and adverbs is a matter of grammatical role. The reported counts describe the lexicon’s inventory, before it is applied to the song collection. They give a sense of the vocabulary available for lookup. They do not specify how often the words appear in lyrics. Part-of-speech tagging
Hindi SentiWordNet also supplies positive, negative and neutral words, with 2168 positive entries, 1391 negative entries and 6426 neutral entries. These entries carry grammatical categories and identifiers for sets of related word senses in Hindi WordNet. The identifiers are properties of the lexical resource. The experimental description centers on finding sentiment words in the lyrics and using the resulting evidence as features. It does not describe a separate procedure for choosing a dictionary sense every time a word is encountered in a song.
Hindi Wordnet Affect gives the authors a vocabulary organized around particular emotions. For angry, disgust, fear, happy, sad and surprise, the resource contains 2986, 357, 500, 3185, 801 and 431 words, respectively. The entries also have grammatical categories. An emotion dictionary of this kind gives the classifier a potentially finer set of clues than a positive or negative inventory. Its categories are those of the dictionary, so they need not be identical to the listening taxonomy. For example, the presence of a word from the dictionary’s surprise group is an input feature. The classifier learns how that information relates to its permitted outputs.
The second family records the style of the lyric. The paper mentions counts of distinct words, repeated words, lines and distinct lines, as well as lines ending in the same word. These features give the classifier some information about how the text is constructed, independently of whether particular words appear in a sentiment dictionary. Repetition can distinguish a lyric that returns frequently to the same material from one with more variation across its lines. A shared final word tells the classifier something about line endings. It is a concrete measure based on word identity and leaves more elaborate judgments about sound or rhyme outside the feature itself.
The stylistic measures also preserve evidence that would be hard to recover from a list of distinctive phrases. Counting distinct lines projects the text onto its organization at the line level. Counting repeated words describes recurrence at the word level. Both can be useful when many lyrics share common vocabulary but use it in different patterns. On their own these counts provide little interpretation of what is being repeated. Their value in the authors’ scheme comes from letting the supervised classifier consider such patterns alongside lexical information.
Representing recurring language
The third family is based on n-grams, sequences of adjacent items in a text representation. Here the items are words. A unigram represents an individual word, a bigram a pair, and a trigram a sequence of three. Including sequences allows the classifier to distinguish some recurring expressions that would look alike in a feature set limited to individual words. The order information is local. The representation can identify an exact short sequence wherever it occurs while leaving the larger structure of the lyric to other clues.
The authors removed stopwords when constructing these features. Stopwords are common words selected for omission during text processing. Removing them can help direct attention towards more distinctive content, though it also changes the material available when constructing sequences. The paper also retained only n-grams whose document frequency was greater than one. Document frequency measures how many lyrics contain an item. A phrase that occurs several times within a single song remains confined to that document in this count. The threshold therefore favors vocabulary whose occurrence gives the procedure evidence from more than one lyric.
The retained items are weighted using TF-IDF, short for term frequency–inverse document frequency. The term frequency component concerns how often an item occurs in a particular lyric. The inverse document frequency component gives more influence to items that occur in relatively few lyrics. Together they let the representation distinguish an item that recurs in a given song from an item that is routine throughout the collection. The threshold and the weighting act at different stages. The threshold removes items restricted to a single document, while the weighting distinguishes more and less widely shared items among those that remain.
The authors considered sequences up to trigrams and say that including longer sequences made the results worse. The paper names TF-IDF without specifying a formula for the variant used. The feature description likewise gives the document-frequency condition and stopword treatment without spelling out every detail of segmentation or sequence construction. The stated choices are sufficient to explain what the representation is intended to capture. Exact reconstruction would require additional implementation details.
The word-sequence features differ from the dictionaries in what they allow the system to discover. A dictionary encodes an earlier judgment about the meaning of a lexical item. An n-gram starts as a recurring pattern in the corpus. Its usefulness for a class is established through training. A phrase can therefore carry predictive evidence even when it includes words absent from the sentiment resources. Conversely, a rare lyric may express its feeling with a dictionary word that fails to supply a recurring n-gram under the frequency threshold. The combined representation gives the classifier access to both kinds of clue.
Selecting features and fitting the classifiers
The authors used the correlation-based supervised feature selection facility in WEKA. Feature selection reduces the number of inputs by choosing features according to a criterion. Here the process uses the training labels, so it can assess how the available variables relate to the target. The paper reports that the experiments used 10 sentiment features, 13 stylistic features and 1561 n-gram features after selection. These counts describe the reported experimental inputs. They do not tell how strongly particular features influenced individual predictions.
There is an important distinction between selecting features and learning the prediction rule. Selection establishes which columns of the lyric representation will be available. The classifier then learns from the pattern of values across those columns and from the answers supplied for training songs. A word sequence can be selected as a potentially useful clue while its influence still depends on which other features appear with it. Likewise, the large number of sequence features leaves room for many vocabulary distinctions without implying that every sequence plays the same role. Machine learning
The authors used LibSVM through WEKA for their final results. A support vector machine learns boundaries between classes from labeled examples. A kernel lets it use a notion of similarity between feature vectors that can produce curved decision boundaries in the original feature space. The authors initially tried a polynomial kernel and report that a radial basis function kernel worked better. Conceptually, the radial kernel lets nearby examples in feature space provide more localized evidence of similarity. The paper gives the kernel choice without a mathematical definition or parameter settings. Its main account of training is the sequence of preparing the features, selecting inputs and fitting a supervised classifier for each target.
The supervised learning problem has the same general form in both tasks. One example is a lyric represented by a set of feature values. For mood, the associated answer is one of the coarse listening categories. For polarity, it is positive or negative from reading. Keeping the classifiers separate lets a feature have different predictive value under the two label schemes. An emotionally charged word might be informative about whether a reader finds the content negative, while leaving considerable ambiguity about whether listeners hear the song as Angry, Excited or Sad. The evaluation asks how useful these representations are for each particular label set. Text classification
Experiments and results
What the collection measures
The corpus consists of 461 complete lyrics. The reported counts by listening category are 50 Angry songs, 95 Calm songs, 91 Excited songs, 100 Happy songs and 125 Sad songs. These counts establish the size of the groups used in the mood task. They also show that categories have different representation. Accordingly, an overall score cannot by itself tell a reader how well the classifier served each group, particularly the category with the fewest songs. The experiment predicts a whole-song label for each text.
The listening annotations reached 88% inter-annotator agreement according to the paper. The reading judgments for positive or negative polarity reached 95%. Agreement describes consistency among human judgments under an annotation procedure. It is distinct from the ability of a classifier to generalize from labeled examples. The paper does not specify a chance-corrected agreement statistic or spell out how individual votes were consolidated. The percentages are best read as the reported agreement for the respective schemes. They identify a difference in how readily the volunteers converged on these labels.
The authors also cross-tabulate the listening categories with the reading labels. This comparison concerns the human annotations, before classification. Within the group heard as Happy, the paper records 96 lyrics read as positive and 4 read as negative. Among songs heard as Calm, it records 83 positive and 12 negative lyrics. For Excited, it reports 85 positive and 6 negative. The Angry group includes 1 positive lyric and 49 negative lyrics. The printed counts for the Sad polarity cells and the printed total for that row are internally inconsistent, so those cells do not give an exact account of the distribution within the Sad group.
The entries that can be read consistently illustrate both association and exceptions. Polarity often follows the more familiar valence of the listening category, so the labels share some information. The exceptions show why the authors took the trouble to record polarity separately. In particular, the cases of negative lyrics in listening categories such as Happy and Excited would be erased by treating the category names themselves as polarity labels. This cross-tabulation also makes clear that the paper is comparing two kinds of human judgment about paired material. It is a separate analysis from comparing system predictions with correct answers.
How the systems were evaluated
Both classifiers were evaluated with 10-fold cross-validation. In this procedure, the data are partitioned into folds, and each fold is held out in turn while the classifier is trained on the others. Predictions for the held-out examples are compared with their assigned labels. The purpose is to evaluate performance on songs excluded from the corresponding training run while making use of a limited collection. The reported results refer to this corpus and this evaluation procedure. The paper gives no separate external test collection. Evaluation & benchmarks
The results table presents precision, recall and F-measure. For a class, precision asks how often predictions of that class are correct. Recall asks how many examples belonging to that class are recovered. F-measure combines the two so that low performance on either can pull the score down. Overall versions of these metrics depend on how scores or counts across classes are combined. The paper calls its headline results average F-measures and does not specify the averaging convention in enough detail to reproduce it. The reported F-measures are useful for comparing the feature settings as published. Precision and recall should be read as their own reported quantities.
The most direct reference points are the feature settings within the lyric experiments. The paper reports a sentiment-only condition, a condition that adds style to sentiment, an n-gram-only condition and the combined condition. Because these rows are evaluated for the same target on the same collection, they show what the chosen procedure achieved with different sources of evidence. The article also reports that LibSVM outperformed the other classifiers the authors tried and that the radial kernel improved on the polynomial kernel. The scores for those alternatives are not tabulated. The within-task feature comparison therefore offers the clearest quantitative view of the reported experiments.
Predicting the mood assigned by listeners
The best reported mood result was an average F-measure of 38.49% with the three feature families combined. The corresponding precision and recall entries are 40.58 and 36.4. The text-only procedure therefore picks up some patterns associated with the listening labels, while the reported F-measure leaves substantial room for errors. Since the task distinguishes the five coarse moods, the score describes exact predictions among those alternatives. Giving a plausible neighboring mood still counts as missing the assigned label.
Feature comparisons for listener-assigned mood on the Hindi lyrics corpus
Combining the feature families gives the highest reported mood F-measure.
The numbers
| System or setting | F-measure % |
|---|---|
| Sentiment lexicons | 29.81 |
| Sentiment lexicons and stylistic features | 33.58 |
| N-grams | 35.05 |
| Sentiment lexicons, stylistic features and n-grams (this paper) | 38.49 |
Of the configurations using a single feature family, n-grams gave the higher mood F-measure, at 35.05%. That row reports precision of 34.1 and recall of 36.0. The row using sentiment dictionaries and style gives precision of 33.60 and recall of 33.56. The dictionary-only condition reports precision of 29.82 and recall of 29.8. The combined setting leads on the reported precision and recall columns as well as F-measure. These numbers give more detail than the top-line score while still describing aggregate performance across the mood task.
A mood result at this level of aggregation cannot identify which distinctions are most recoverable from lyrics. The authors describe patterns of human confusion involving Angry and Excited, Happy and Excited, and Sad and Calm. Those observations come from annotation. A class-by-class matrix of classifier predictions would be needed to determine whether the system made the same confusions, or whether its errors arose from different feature patterns. The human comparison helps explain the task, but it supplies a different kind of evidence from a prediction error analysis.
Predicting the polarity assigned by readers
The best polarity result was an average F-measure of 68.30% under cross-validation, again with the combined feature representation. The precision and recall entries for that setting are 70.30 and 66.30. In this task, the text features describe the same medium the volunteers considered when assigning the target. Hence the inputs have a closer relationship to the annotation procedure than in the mood task. The decision is also between positive and negative, so it asks the classifier to resolve a broader distinction than the listening taxonomy.
Feature comparisons for reader-assigned polarity on the Hindi lyrics corpus
The combined features lead, and sentiment with style scores above n-grams alone.
The numbers
| System or setting | F-measure % |
|---|---|
| Sentiment lexicons | 65.28 |
| Sentiment lexicons and stylistic features | 65.54 |
| N-grams | 64.2 |
| Sentiment lexicons, stylistic features and n-grams (this paper) | 68.30 |
Sentiment with style achieved an F-measure of 65.54%, with the table also giving 65.54 for precision and recall. N-grams alone achieved an F-measure of 64.2%, with precision of 65.4 and recall of 63.0. The dictionary-only row lists an F-measure of 65.28 with precision of 62.30 and recall of 62.26. The paper gives no calculation or explanation for that row. In particular, the printed F-measure cannot be reconstructed as the harmonic mean of the displayed precision and recall. The values are best preserved as reported, without inferring an averaging rule or correcting a cell.
The difference in the headline scores is descriptive. On this setup, the highest polarity result was higher than the highest mood result. Several properties of the tasks differ together. Reading polarity offers fewer classes, has higher annotator agreement and takes its target directly from the text. Listening mood requires a finer choice and is labeled from the recording. The experiment therefore establishes the ranking of the reported scores under the authors’ conditions. It cannot apportion the gap among differences in target definition, annotation reliability and the information available to the classifier.
What comparisons outside the lyric experiment add
The authors place their mood score beside earlier Hindi audio studies in part because their lyric collection was built from related recordings. They cite earlier reported audio accuracies of 51.56% and 48%. Those experiments classified clips of 60 seconds, while the lyric experiment assigned one label to a complete song text. Accuracy was the metric given for the audio systems, whereas 38.49% is an F-measure for mood prediction from lyrics. The audio scores are useful context for the line of research. They offer no controlled estimate of what would change if the same classification procedure were given audio on the same examples under the same scoring rule.
The authors also cite a result from Hu and Downie on English lyrics. That work reported a maximum accuracy of 61.72 on 5,296 unique lyrics covering 18 mood categories. The Hindi experiment differs in language, number of examples and number of classes, and its headline score uses a different metric. The authors discuss differences in the songs, including the performers and instruments and the presence of multiple emotions in some Hindi lyrics. The comparison raises questions about the influence of corpus and repertoire. A language effect would need to be estimated in an experiment designed to distinguish it from those other differences.
What the ablations show
Which feature comparisons support a conclusion
The paper’s closest equivalent to an ablation study is the comparison of feature subsets. This kind of comparison asks what happens to performance when the information available to a classifier changes. Here the authors report selected subsets, including two conditions restricted to individual feature families, and an all-features condition. These are informative comparisons within each task. A complete removal study would report what happened when each feature family was taken out of the full representation in turn. The published rows cover some of those contrasts and leave others open.
One direct comparison is between sentiment dictionaries by themselves and the same family combined with stylistic features. The reported mood F-measure moves from 29.81% to 33.58%. For polarity, the published F-measures are 65.28% and 65.54% for the respective settings. The mood result gives the clearer evidence that the style family helped in the company of dictionary features. Stylistic counts may describe aspects of lyrics that are missed by lexicon membership, such as how persistently a line or word recurs. Since there is no style-only row, the results leave its independent predictive strength unresolved.
A second comparison adds n-grams to the sentiment-and-style representation. The resulting setting yields the highest F-measure in each task. This is direct evidence that the reported full configuration had more useful information than the sentiment-and-style configuration under the study’s training procedure. The two conditions differ in the addition of recurring word sequences. The results support use of the sequences alongside the other inputs, without identifying the words or phrases responsible for the gain.
The n-gram-only row also makes it possible to ask how much of the result can be obtained from recurring vocabulary without dictionary or style features. In mood classification, it performs better than either the sentiment-only or sentiment-and-style settings. In polarity classification, it falls below the sentiment-and-style setting and below the published sentiment-only F-measure. This difference in ordering is worth attention. The word sequences are especially informative relative to the other tested subsets for distinguishing listening moods. The dictionary features are comparatively strong for distinguishing the positive and negative reading labels.
There is a plausible connection to how the inputs and outputs were defined. The sentiment dictionaries were designed to capture polarity or affect expressed by words. A binary judgment of the written lyric asks for a related distinction. The listening moods can instead depend on details of a song that are only indirectly reflected in the lyric. Specific recurring expressions may still identify themes associated with songs in particular categories. The paper provides scores consistent with such an account, but gives no attribution of individual features or matched set of examples that could establish it.
The full configuration also improves over n-grams alone on both tasks. That contrast adds dictionaries and style together, so it supports a joint contribution from the added information. Separate comparisons with n-grams plus dictionaries and n-grams plus style would be needed to determine which addition accounted for how much of the improvement. For the same reason, the full configuration’s lead is evidence that these feature families worked well together in the reported setup, without establishing that every family is required to obtain that result.
What the qualitative analyses reveal
The paper reports trying n-gram orders beyond trigrams and finding that performance worsened. This gives a direction for the comparison but no scores for the longer sequences or separate results for unigrams, bigrams and trigrams. The authors suggest that flexible Hindi word order might help explain the limits of relying on fixed sequences. They also point to verse, where the placement of words can be influenced by how a line is meant to end. For a feature defined by an exact sequence, rearranging words can change the feature even if the general meaning remains similar.
The frequency requirement gives a complementary reason to be careful about long sequences. A phrase needs to recur across documents to enter the reported representation. Longer strings have more opportunities to vary as writers choose different forms or arrange words differently. The paper’s observation establishes that the longer settings it tried were less successful. Its evidence does not isolate word order from the frequency threshold, vocabulary size or the corpus’s distribution of repeated phrases. The explanation based on order is a hypothesis proposed for the observed behavior.
The qualitative comparison of human labels is another analysis with a distinct purpose. The authors identify pairs of listening categories for which annotators sometimes disagreed, and they suggest similar acoustic qualities as an explanation. Separately, the cross-tabulation shows where a song’s reading polarity diverged from what its listening category might lead one to expect. These observations identify different sources of difficulty. One concerns boundaries within a taxonomy used in a single medium. The other concerns what happens when judgments are formed from different aspects of the same song.
Those analyses help position the feature results. A lyric feature can be genuinely informative about what its words express and still fail to distinguish listening categories for a song with an ambiguous overall mood. Conversely, a successful mood prediction can reflect an association between vocabulary and how a kind of song is performed in this corpus. The reported comparisons establish that the feature sets differ in predictive usefulness. They do not show which annotator disagreements each feature resolves or which properties of the recording it indirectly captures.
Limitations
Limits the authors identify
The authors emphasize that Hindi lyrics can express several emotions within a single song. That observation motivates their decision to use broad polarity for reading. It also qualifies the listening-mood experiment, which assigns one label to the full song. A lyric can include passages that suggest different categories, while a recording can shift in intensity or expression. A document-level prediction compresses such changes into one decision. Consequently, these experiments address assignment of overall labels. They provide no performance evidence for detecting where a mood begins or how it changes through a song.
The authors raise the different units of the audio and lyric experiments as a possible explanation for the lower lyric result. A 60-second clip may contain a more locally consistent mood than an entire song. The paper also observes that music can evoke one emotion in a listener while its lyric evokes a different one in a reader. Together, these points suggest why the classifier may face difficulty when expected to infer a song-level listening category from text accumulated across the whole piece. The study does not test whether shorter units would actually improve lyric prediction, because it has no matched experiment with labels defined for corresponding text and audio segments.
Another explanation discussed in the paper is that polarity can be more consistent across a lyric than the specific mood one might ascribe to a song. This interpretation is compatible with the higher reported agreement for binary polarity and the stronger prediction score on that task. It remains a qualitative observation. The volunteers gave overall labels, and the paper does not report annotations of polarity at successive points within individual lyrics. Its results support the practical use of an overall reading label on the corpus, while leaving the stability of sentiment inside songs unmeasured.
The authors also identify the feature set as an area for extension. Their dictionary lookups, counts and short word sequences capture aspects of literal vocabulary and recurring form. The reported experiments have no separate representation for how a lyric’s story develops, for changes in who is speaking, or for an expression whose emotional meaning depends on material elsewhere in the song. These are examples of distinctions that can collapse in a representation based on aggregated counts. The paper proposes using a wider set of textual features in future experiments, with the present results as a starting point.
Limits that follow from the setup
The tasks differ in ways that prevent a clean comparison of access to emotion across reading and listening. The mood annotations are collected from recordings with a choice among five categories. The polarity annotations are collected from text with a choice between positive and negative. Input medium, output vocabulary and human agreement all change together. As a result, the higher polarity score cannot identify how much of the difference comes from using a target derived from the words. A comparison designed to isolate the medium would require comparable label choices under both conditions and evaluation on matched items.
The participant group is also narrow. The volunteers were undergraduates aged 18-24, and the paper does not establish how a wider audience would label these songs or what labels people would prefer when browsing their own collections. How closely the annotations match offers evidence of how the group followed the instructions when annotating this material. It provides no direct measure of agreement across other listeners, age groups or contexts of use. This matters for the motivation of mood-based recommendation, where the judgment of a particular listener may be the desired target.
The retrieval of words from web archives, followed by transliteration and manual correction, defines the input conditions of the experiment. The paper does not evaluate the pipeline on uncorrected Romanized material or quantify the effects of individual corrections. The results can therefore describe classification using the prepared corpus. They cannot predict how the same system would behave on newly collected lyrics with differing spellings, alternate transcriptions or residual transliteration mistakes. Such variations matter for both lexical lookup and the recurrence of exact word sequences.
Cross-validation gives an internal estimate of generalization, but the paper supplies limited procedural detail. The feature selection is supervised, and vocabulary filtering and TF-IDF also depend on the available documents. For a strict held-out evaluation, choices derived from corpus statistics or labels need to be made using the corresponding training partition. The paper does not specify when these operations occurred relative to the split. That is a limitation of the reported procedure, not evidence that information from held-out songs was used. The description also leaves open how fold scores were pooled and which kernel settings were used.
The results are given primarily as aggregate scores. There are no per-class performance results or measures of variability over folds to show how stable the rankings were. In particular, the small separation between some polarity configurations cannot be interpreted as an established improvement across samples. The absence of a simple majority-class or comparable reference score also leaves the headline results without that particular point of comparison. The tested feature subsets furnish a clear internal ranking as published, while the level of performance on individual categories and its uncertainty remain open.
Finally, the language and modality comparisons are observational. The English result comes from a different corpus with more lyrics, different mood labels and an accuracy score. The earlier Hindi audio results describe shorter units and also use accuracy. These comparisons locate the study among related experiments. They cannot establish that Hindi word order caused the reported mood performance, that English lyrics are intrinsically easier to classify, or that audio would necessarily win under matched conditions. The strongest evidence concerns the relative performance of the text feature sets on this corpus and the distinction between its two annotation targets.
What came after
No subsequent study is documented here as extending or replicating these experiments. The paper itself closes by identifying several directions for follow-up. These are plans the authors describe. The earlier audio studies discussed alongside the lyric results predate this experiment, so they establish the research lineage rather than what followed from it.
One direction was to expand the textual representation. The existing comparison shows what can be gained from affect vocabulary, measures of form and recurring short sequences. A wider set of textual features would let the authors investigate whether the words contain relevant evidence that these representations fail to preserve. That question is separate from whether the missing evidence resides in the recording. The experiment supplies a lyric-based starting point for asking how far changes to the text representation alone can improve prediction of the listener’s label.
A second direction was to combine sound and words in a single classifier. The two sources describe different aspects of a song, and the authors’ matched data provide a conceptual basis for relating them. Audio can supply information about how the song is performed. The lyric can contribute evidence about what is said and how the words are structured. Their joint usefulness would have to be tested against each source alone using comparable annotated units and the same metric. The independent scores cited in the paper cannot answer that question. Vision & language
The authors also propose pursuing multilevel classification to improve lyric-based mood prediction. The taxonomy already organizes related affect words under broader groups, while the experiment evaluates only the broad listening labels. The paper gives no design or result for a multilevel classifier. The proposal leaves open how the levels would be defined, what each would predict and whether decisions at an earlier level would help resolve difficult choices at a later one.
Across these directions, the continuing question is which judgment a system is intended to reproduce. Improving a lyric classifier on reader-assigned polarity would advance the analysis of the words. Improving a joint audio and lyric classifier on listener-assigned mood would advance prediction of a response to the performance. The study gives those projects distinct targets and a common set of paired songs. Its results establish how the tested lyric features performed under those definitions.
Cite
Cite as Braja Gopal Patra, Dipankar Das and Sivaji Bandyopadhyay. 2015. Mood Classification of Hindi Songs based on Lyrics. Proceedings of the 12th International Conference on Natural Language Processing.
@inproceedings{patra2015mood,
title = {{Mood Classification of Hindi Songs based on Lyrics}},
author = {Braja Gopal Patra, Dipankar Das and Sivaji Bandyopadhyay},
booktitle = {Proceedings of the 12th International Conference on Natural Language Processing},
year = {2015},
url = {https://aclanthology.org/W15-5939/}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/patra-2015-mood-classification-hindi-songs-based/