Elamur Research

Sentimental Matters - Predicting Literary Quality by Sentiment Analysis and Stylometric Features

Paper · 2023 · Yuri Bizzoni, Pascale Moreira, Mads Rosendahl Thomsen et al.

Summary

Readers can agree that some novels work better than others while disagreeing about what makes them work. Bizzoni and colleagues ask whether any of that collective judgment is predictable from the books themselves. They use average Goodreads ratings as a measure of reader appreciation and look for evidence in two kinds of textual feature. One describes how a novel is written, through properties such as vocabulary diversity, readability, repetition and grammatical choices. The other describes how its emotional tone changes as the story unfolds. The study asks what the second kind of evidence adds to the first.

The authors work with the Chicago corpus of 9089 novels written in or translated into English. To trace emotional tone, they use VADER, a system that assigns sentiment scores using a dictionary and rules. Each sentence receives a score, and the scores in reading order form a novel’s sentiment arc. The authors measure the arc’s average tone, its variation, the tone near the beginning and end, and properties of the sequence such as persistence and irregularity. They then compare rating predictions made with writing-style features alone against predictions that also use the sentiment measurements. The underlying technique is sentiment analysis.

The strongest overall results come from Bayesian Ridge regression. In cross-validation over the full corpus, it reaches an R² of 0.24 with sentiment and style together, compared with 0.21 with style alone. Books with very low ratings stand out in the predictions, raising the question of how much the regressions learn about the crowded part of the rating scale. The authors repeat the comparison after excluding 140 titles below 2.5. In that filtered corpus, Bayesian Ridge reaches 0.07 with the combined features and 0.05 with style alone. The smaller scores show how much harder it is to distinguish among books in the narrower rating range, even though sentiment still improves this particular regression.

The feature associations also depend on which books are included. In the filtered corpus, higher ratings are associated with more persistent sentiment arcs and greater variation in sentence sentiment. Persistence and variation can go together. A novel can move through sustained stretches of different emotional tones. The paper’s evidence concerns the prediction of average Goodreads ratings from a limited set of measurements. It shows that the order and shape of a novel’s sentiment scores can supply information alongside ordinary style measurements, while leaving open how those associations would change under a different measure of literary quality.

Deep dive: Sentimental Matters - Predicting Literary Quality by Sentiment Analysis and Stylometric Features

Bizzoni and colleagues test whether the emotional progression of novels helps predict Goodreads ratings beyond what writing style can explain. · about 34 minutes to read

The problem and its context

From judgments about novels to an observable outcome

The paper begins with a problem familiar to literary criticism. Readers differ in taste, yet some books receive favorable judgments from many people. That convergence makes it reasonable to ask whether features of the works contribute to their reception. A story may appeal for reasons bound up with a reader’s interests or the expectations of a genre. The question for quantitative study is whether some textual patterns have a relationship with appreciation across a collection that includes many kinds of fiction.

There are two decisions hidden in that question. A researcher has to decide what will count as appreciation and what can be measured in a text. The first decision sets the scope of the claim. An average rating from readers, inclusion in a canon and a judgment elicited in a literary survey are different observations. They can agree about particular books and still reflect different kinds of evaluation. The paper points to earlier work suggesting overlap among some of these ways of thinking about quality. Its own experiment uses the average ratings contributed by users of one platform.

Goodreads makes that choice practicable because it gathers ratings from a broad readership and includes books from different genres. The authors also emphasize the diversity of that readership across countries and demographic groups. Some popular titles have been rated by hundreds of thousands of people. An average can make those judgments usable in a comparison across novels, but aggregation comes at a cost. A book that inspires sharp disagreement can end up with the same average as a book that consistently draws a middling response. The study’s target is the common numerical outcome in those cases. The reader-level experiences behind it are a separate subject.

The second decision involves representing books in a way that can be compared systematically. A feature has to be consistently measurable across very different narratives. It also has to retain some aspect of the text that could plausibly matter to readers. The authors focus on two families of features that meet those requirements in different ways. Stylometry quantifies properties of writing, frequently through counts and summaries of the whole text. A sentiment arc traces changes in estimated emotional tone as the reader moves through the narrative. Putting the two together makes it possible to ask whether the arc contributes information after a regression has already seen features of style.

What earlier work measured

The paper describes earlier quantitative studies that associated literary reception with features as simple as how frequently adverbs occur. Other studies measured common n-grams, sequences of neighboring units in text. These approaches have the advantage that the measurements can be applied consistently and compared across books. They can also bring out regularities that are difficult to judge from individual passages. A count for a whole novel can establish that a particular type of wording is frequent, for instance, while leaving open where its use is concentrated.

The authors also draw on work treating stylistic variety and redundancy as properties that can be quantified. Vocabulary measures help describe how varied a book’s word use is. Compressibility gives a different view, through how readily the text can be represented more compactly. Readability work makes it possible to describe some surface differences in the demands prose places on a reader. These approaches supply a set of already meaningful comparisons for a study that wants to test the contribution of sentiment. A weak stylistic comparison would make any apparent advantage for sentiment harder to interpret.

Earlier sentiment research, as described in the paper, has operated at several levels of text. Word-level work can assign judgments to particular items in a vocabulary. The study cites Saif Mohammad’s work on human judgments of valence, arousal and dominance as an example. Valence concerns whether an expression is positive or negative. Keeping it conceptually distinct from arousal and dominance helps explain the scope of the novel study, whose arcs trace scores of positive and negative tone. Obtaining Reliable Human Ratings of Valence, Arousal, and Dominance for 20,000 English Words

The paper also situates its procedure alongside research applying sentiment analysis at broader levels of text and research on sentiment directed at particular aspects. The latter asks what an evaluative expression concerns, a distinction that matters if a passage is favorable about one subject and unfavorable about another. For the literary experiment, the authors choose the sentence as their basic unit and use a compound score for each sentence. The aspect-based study belongs to the background against which that choice can be understood. Exploiting BERT for End-to-End Aspect-based Sentiment Analysis

The paper’s closest antecedents look beyond how positive or negative a narrative is on average. The authors discuss earlier studies by Hu and colleagues and by Bizzoni and colleagues that used fractal analysis to investigate properties such as self-similarity, persistence and predictability in sentiment arcs. Self-similarity concerns whether comparable patterns can be discerned across different scales of observation. The underlying idea is that a series can have organization across stretches of text even when its individual values fluctuate. Such work gives the paper a reason to test sequence measures alongside simpler summaries like a book’s mean sentiment.

The resulting question is narrower than whether a computer can recognize the merits of a novel. The authors ask whether a few summaries of emotional tone and its progression can improve estimates of reader ratings in a regression that already sees some properties of prose. Framing the question this way gives the experiment a clear comparison. If the combined feature set predicts ratings better on held-out books, sentiment measurements have added predictive information under that setup. The interpretation of the measurements, and of the ratings themselves, still requires attention to how both were made.

The method, step by step

Define a prediction for each novel

The unit of analysis is the novel. Each title contributes a text from which to compute features and an average Goodreads rating to predict. A feature is a numerical description of an aspect of that text. Many sentences contribute to a given book’s features, but the prediction is made for the book as a whole. The resulting task is regression, which estimates a numerical outcome. That choice preserves differences among rating values across the span of the data.

The text collection is the Chicago corpus. Its sampling gives preference to novels held by more libraries. It includes popular fiction and books associated with prestigious awards and canonical collections. That mixture gives the regressions a varied set of works to compare. The collection also reflects what the corpus’s compilers could assemble under their criteria. Library holdings determine the composition of the text collection while Goodreads supplies the outcome. The study therefore combines a process for selecting available works with a separate source of reader judgments.

The authors prepare two versions of the prediction task. The whole corpus preserves the range of ratings present in the collection. The filtered corpus excludes the titles rated below 2.5. Both tasks use the same kind of outcome, an average rating. Removing the low-rated novels changes which outcomes the regressions need to distinguish. It also changes which novels can contribute evidence when a regression is fitted. The exercise tests how the approach behaves when the unusually low-rated part of the collection is removed.

From novel text to rating prediction

The steps in order.

From novel text to rating predictionStep 1: Pair Chicago corpus novels with Goodreads averages1. Pair Chicago corpus novels with Goodreads averagesStep 2: Measure prose style across each novel2. Measure prose style across each novelStep 3: Score each sentence for sentiment with VADER3. Score each sentence for sentiment with VADERStep 4: Keep sentence scores in narrative order4. Keep sentence scores in narrative orderStep 5: Summarize sentiment levels, variation, and sequence dynamics5. Summarize sentiment levels, variation, and sequence dynamicsStep 6: Fit regressions with and without sentiment6. Fit regressions with and without sentimentStep 7: Evaluate predictions on held-out folds7. Evaluate predictions on held-out foldsStep 8: Repeat the comparison without very low-rated titles8. Repeat the comparison without very low-rated titles

Measure style across the text

The stylistic part of the procedure describes vocabulary, redundancy, readability and grammar. These descriptions serve as inputs to the rating regressions and provide a comparison for the sentiment features. Measuring several properties of style is important because they need not tell the same story about a book. A rich vocabulary can occur in prose with fairly direct sentences. Prose with a relatively repetitive vocabulary can still use complicated syntax. The feature set gives the regression separate quantities with which to represent such cases.

Adjusted lexical diversity describes the variety of vocabulary use. A whole-book count of distinct words is affected by the amount of text available to count. The study uses an adjusted diversity measure because it is interested in a stylistic property of the writing. It treats that measurement as one predictor for each novel. The paper later calls this property lexical richness when discussing the fitted coefficients. In this experiment richness is the name of a quantified vocabulary feature. It can have a relationship with ratings without serving as a judgment of a writer’s vocabulary in an individual scene.

Compressibility approaches repetition through a different route. A text with recurring patterns can lend itself to a shorter representation, which makes compressibility a possible indicator of redundancy or formulaic wording. The measure applies to a whole text. It cannot tell the regression whether a repeated phrase was an intentional refrain, whether it occurred in dialogue or whether the repetition was important to the story. Its role is to give a broad indication of how much recurring material the prose contains.

Readability is represented through several established indices. The authors use measures such as Flesch Reading Ease, Flesch–Kincaid Grade Level and the New Dale–Chall Readability Formula. They also include SMOG and the Automated Readability Index. The paper describes this family of indices in terms of ingredients such as sentence length, word length and syllable counts. A named readability index is a particular way of using surface evidence to estimate the difficulty of prose. Several indices give the regression different views of that property. The meaning of a coefficient accordingly depends on which index it belongs to. An increase in a reading-ease measure and an increase in a grade-level measure need different readings.

The grammatical features are frequencies. Some summarize the relative use of word categories, including pronouns, verbs, nouns and adverbs. The paper also considers punctuation and stopwords, the common words tracked as a group. Other measurements capture grammatical structures. A nominal subject, for instance, is a noun or noun phrase in the subject role. A relative clause can elaborate on a noun, as that overlooks the harbor does in the house that overlooks the harbor. The authors also include features for constructions involving passive auxiliaries. Counts of such structures extend the stylistic description beyond a record of the vocabulary. The corresponding word-category information is part-of-speech tagging.

These features make a compact description of style, though there is overlap among them. Pronouns may belong to categories counted in other features, and choices about sentences can affect grammatical frequencies and readability together. The regression is fitted with multiple features at once. A coefficient for one feature consequently belongs to the fitted relationship among all the included measurements, and its reading depends on that joint setting.

Turn sentences into an ordered sentiment arc

The authors apply VADER at the sentence level. VADER uses a lexicon, which records sentiment information about words, and rules for using that information to score text. The rules and word information are part of an established procedure that the authors apply to the novels. In the example figures the relevant output is its compound sentiment score. This lets each sentence occupy a position on a common scale of estimated positive and negative tone. Assigning such values systematically is the paper’s use of linguistic annotation.

The study’s regressions are fitted to Goodreads ratings, while the sentence scores are assigned upstream by VADER. A sentence from a low-rated novel does not get a negative score by virtue of that novel’s rating. It gets a score from the sentiment procedure applied to its wording. This separation gives the researchers an interpretable pipeline. They can examine whether an unexpected prediction is associated with the features that went into it, and they can inspect how the underlying sentiment labels track the text itself.

The authors give several reasons for using VADER. They value the transparency of a lexicon-and-rules approach and cite work reporting consistent performance across different domains. That consideration matters in a collection that mixes kinds of fiction. They also cite earlier experience with literary material and discuss the resemblance of plotted VADER arcs to arcs produced by Syuzhet, a package intended for narrative. Their use of sentence-level scores lets a sentence contribute as a unit to the arc. They see this as a way around some of the issues associated with scoring words separately.

Sentence scores become an arc when they are kept in the order in which the novel presents them. The horizontal coordinate in the paper’s example corresponds to progression by sentence. The vertical coordinate is the compound sentiment score. The sequence tracks the text as a reader encounters it. Events recounted late in a novel contribute late in the series even if those events happened earlier in the story’s chronology. This is a consequence of the chosen representation, and it gives a precise meaning to the location of a rise or fall in the arc.

The paper illustrates the process with Hemingway’s The Old Man and the Sea. One figure shows the novel’s course of sentiment with polynomial curves of different degrees fitted over it. A degree, denoted by m in the figure, governs the flexibility of the fitted polynomial. Curves of different degrees give different views of the broad movement through the same sentence scores. The figure uses polynomial fitting to visualize an arc. The polynomial regression compared later in the rating experiment is a separate use of a polynomial, fitted to predict ratings.

A second figure focuses on the opening sentences of the same novella. Here the reader can assess the annotation against the wording rather than infer its quality from a smooth curve. The opening moves among the fisherman’s lack of a catch, the boy’s concern for him and details that suggest both hardship and resolve. The authors use examples like this to check the sentiment procedure at both scales. At the local scale, a reader can consider a particular sentence and the score it received. At the larger scale, changes in the arc can be compared with developments in the story. The checks give a qualitative reason to treat the sequence as interpretable.

Summarize what the arc contains and how it moves

A rating regression needs comparable features for books with different lengths. The authors therefore turn each arc into a small collection of measurements. Some describe the set of sentence scores and some depend on where those scores occur. This distinction determines what can be learned from each feature. An average sentiment score is the same if scores change places. An ending average can change if stronger scores are moved into the end of the text. Measures of persistence and irregularity depend on patterns through the ordered series.

Mean sentiment describes the general level of the novel’s scores. In ordinary arithmetic notation, the mean used to summarize an arc can be written as follows.

s̄ = (∑ᵢ sᵢ) / n

Here s̄ is the mean sentiment of the novel, sᵢ is the compound VADER score of the sentence at position i, and n is the number of scored sentences. The sum ∑ᵢ adds the scores across the sentence positions. Dividing by n puts books of different lengths on a comparable footing for this measurement. The same idea of averaging applies when the calculation is restricted to a selected portion of the book.

The standard deviation describes how dispersed the scores are around the mean. Imagine one story whose sentence scores stay around a middling level and another whose strongly positive and negative sentences balance out. The averages can be similar while the second story has greater dispersion. Standard deviation captures that distinction. It still gives the same value when the order of a fixed set of sentence scores changes. Its role is to describe the breadth of the sentiment values present in the text.

To capture some aspects of position, the authors compute the average sentiment in the first 10 percent of the arc and in the last 10 percent. They also measure a difference between the main part and the ending. The opening and ending means answer questions about local levels. The contrast answers a question about the ending in relation to the rest of the novel. An ending with a certain value can sit above the preceding arc of one book and below the preceding arc of another. The paper describes the contrast in words. The direction of subtraction is relevant to reading a signed coefficient, and the feature description gives no explicit equation that settles that direction.

These summaries still leave many aspects of progression unrepresented. Consider two hypothetical novels whose openings and endings have comparable scores and whose overall sentiment distributions are alike. In one, emotionally similar sentences occur in long stretches. In the other, the sentiment changes direction much more often. The difference concerns the arrangement of values through the narrative. The authors use the Hurst exponent and approximate entropy to give the regression information about that arrangement.

The Hurst exponent is a measure of persistence in a sequence, discussed by the paper in terms of long-term memory. It addresses whether behavior in the sequence tends to carry through across longer stretches. For this feature, the authors use detrended arcs. Detrending removes a broad trend so that an overall climb or decline can be set aside when estimating persistence. A steady large-scale movement towards more positive scores and persistence within shorter or longer runs of scores are distinct aspects of an arc. The paper specifies detrending for the Hurst calculation and gives no full estimator equation.

Approximate entropy describes how regularly patterns recur through the series. An irregular sequence makes it harder to expect that an observed pattern will be followed by similar behavior when it is encountered again. This measure and the Hurst exponent are related to the general question of how an arc is organized, but they address different properties. An arc can contain persistent stretches while the changes within and between those stretches remain varied. Their inclusion alongside standard deviation lets the fitted relationships distinguish the size of fluctuations from aspects of their ordering. The paper gives an interpretation of approximate entropy without specifying its full computational formula or settings.

The resulting sentiment description has several levels. Mean and dispersion cover the values across the whole text. Opening, ending and the contrast with the main portion address position. Hurst and approximate entropy characterize the ordered series. That design supports an experiment on the value of sentiment features as a group. It also lets the authors inspect associations with individual features after fitting, though those associations answer a different question from the predictive comparison between feature sets.

Fit regressions and test predictions on withheld books

The authors choose a set of largely simple regressions because they want to inspect relationships between textual measurements and predicted ratings. A linear regression fits a baseline level plus a weighted contribution from each feature. For the linear predictors, the structure can be written in the usual notation as follows.

r̂ = b + ∑ⱼ wⱼ xⱼ

Here r̂ is the predicted average rating, b is the intercept or baseline level in the fitted equation, and j indexes the included features. xⱼ is the book’s value for feature j and wⱼ is the coefficient fitted for that feature. The sum ∑ⱼ combines the weighted feature values. The authors use the idea behind this expression when they read the sign and size of a coefficient. In a linear fit, the coefficient gives the change in the predicted rating for a unit increase in the corresponding input while the other inputs are held fixed.

The regression variants differ in how they estimate that relationship. Ridge and Bayesian Ridge constrain the fitted coefficients, which can help when features carry overlapping information. The authors also compare Lasso and ElasticNet, whose coefficient shrinkage can reduce the contributions of some inputs substantially. Ordinary linear regression supplies a direct comparison. Huber and TheilSen are included as regressions designed to limit the influence of extreme observations, and polynomial regression gives the rating prediction a more flexible functional form. Comparing these approaches helps show whether the sentiment features are effective across several ways of fitting the same general prediction task.

Every comparison between feature sets uses an input that includes the stylometric features. In one condition these features are the entire input. In the other, the sentiment measurements are added. The pairing of conditions is important. A high score from one regression with sentiment and a lower score from a different regression without it could reflect the choice of fitting procedure. Results for the same regression under both feature settings provide a more direct test of whether the added information is useful to that procedure.

The paper evaluates the regressions using 5-fold cross-validation. The books in the relevant corpus are partitioned into folds. A fit learns from the books outside the fold being evaluated and predicts the ratings of books in that fold. The held-out role rotates through the partitions. This design tests the regressions on books whose ratings were withheld from the corresponding fit. It measures performance within the sampled collection under the chosen split procedure. The authors run the feature comparison on the whole corpus and repeat the prediction exercise on the filtered corpus.

Experiments and results

The books, ratings and evaluation measures

The Chicago corpus contains 9089 titles and represents 3,150 authors. The novels were written in or translated into English, and the corpus covers the period from 1880 to 2000. The paper reports an average title rating of 3.74. It describes the bulk of the ratings as lying between 3 and 5. The ratings figure also plots the number of ratings on a logarithmic scale, giving a view of how the amount of reader participation differs among titles. The prediction target for a book remains its average rating.

The low-rated portion of the collection comprises 140 titles below 2.5, representing 118 authors. The authors exclude these titles to construct the filtered corpus, which they describe as having ca. 8900 titles. This creates a second test aimed at the more densely occupied region of the ratings. The whole-corpus test allows the regressions to benefit from recognizing distinctive books at the low end. The filtered experiment asks whether measurable relationships remain after those books have been removed from the prediction task.

The principal metric for reading the results is R². It evaluates squared prediction errors relative to the variation in the observed ratings. A positive value indicates an improvement over the reference of a constant prediction at the observed mean. Negative values can occur when the predictions have larger squared errors than that reference. The paper also includes a separate random baseline. Its scores show how the regressions compare with the paper’s chance benchmark, while the sign of R² describes performance against the metric’s own mean-based reference.

The results table supplies an error column as well, although its notation is inconsistent. The header says neg_rmse, while the caption describes negative MSE. The distinction matters because RMSE takes the square root of mean squared error. The random baseline’s entry in the error column is also positive in both corpus settings, whereas the fitted regressions have negative entries. The R² values provide a consistent basis for comparing the reported runs. The error entries can be stated as printed where useful, with the metric ambiguity kept in view.

The whole collection

Bayesian Ridge with both feature families gives the highest reported whole-corpus R², at 0.24. Its stylometry-only run reaches 0.21. Ordinary linear regression and Ridge each reach 0.23 with sentiment and 0.21 with style alone. This group gives the clearest support for the paper’s main claim. The two conditions for each method share the same prediction target and fitting approach, and the introduction of sentiment features is accompanied by a higher held-out score in each pairing.

Whole Chicago corpus 5-fold cross-validation R² with and without sentiment

Bayesian Ridge leads with both feature families, and the linear fits shown also improve when sentiment is added.

Whole Chicago corpus 5-fold cross-validation R² with and without sentimentRandom baseline: -1.07Random baseline-1.07Linear regression, style only: 0.21Linear regression, style only0.21Linear regression, style and sentiment: 0.23Linear regression, style and sentiment0.23Ridge, style only: 0.21Ridge, style only0.21Ridge, style and sentiment: 0.23Ridge, style and sentiment0.23Bayesian Ridge, style only: 0.21Bayesian Ridge, style only0.21Bayesian Ridge, style and sentiment (this paper): 0.24Bayesian Ridge, style and sentiment(this paper)0.24
The numbers
System or settingR²
Random baseline-1.07
Linear regression, style only0.21
Linear regression, style and sentiment0.23
Ridge, style only0.21
Ridge, style and sentiment0.23
Bayesian Ridge, style only0.21
Bayesian Ridge, style and sentiment (this paper)0.24

Other comparisons show why the gain has to be described method by method. In the whole-corpus test, Huber reaches an R² of 0.13 with sentiment and 0.11 without it. Lasso goes from 0.03 with style alone to 0.04 with the combined features. ElasticNet goes from 0.04 to 0.05 under the same change. The authors attribute the relatively weak whole-corpus Lasso and ElasticNet results to coefficient shrinkage. Their score differences show that some sentiment information can survive those fitting procedures, even as their absolute performance lags behind Bayesian Ridge.

TheilSen reaches 0.22 with sentiment, compared with 0.23 with style alone. Its style-only result is competitive with those of the combined linear regressions in the chart. Polynomial regression shows a larger drop. Its R² is 0.16 with style alone and -0.02 after the sentiment features are included. The authors suggest overfitting as an explanation for the polynomial result. The held-out scores show the reversal directly. Determining exactly where a more flexible fit went wrong would require evidence about its fitting behavior beyond those scores.

The fitted Bayesian Ridge predictions are also plotted against the actual ratings. In the whole corpus, the paper calls attention to the separation of books below 2.5 from the bulk of the titles. The low-rated books are scarce yet recognizable enough in the prediction plot that the authors regard them as a distinct group. The plot makes the distribution behind the overall metric easier to see. A prediction procedure can gain credit for placing very low-rated books in an appropriately low region, even while giving similar predictions to many books with meaningfully different ratings in the crowded region.

The whole-corpus Bayesian Ridge error column reports -0.14 with the combined features and -0.15 with style alone. The R² comparison makes the same run the leading result without requiring a choice between the column header and caption’s definitions of the error metric. The random baseline’s whole-corpus R² is -1.07. This large separation from the random run establishes that the chosen inputs can yield more accurate predictions than that particular benchmark. The comparison with the style-only fit is the more direct way to isolate what is gained by adding sentiment.

The collection without very low-rated titles

After the exclusion, Bayesian Ridge again leads on R². Its score is 0.07 with sentiment and style together and 0.05 with style alone. Ridge reaches 0.063 with both families and 0.05 with stylometry. Ordinary linear regression reaches 0.061 with both and 0.04 with stylometry. The consistency of direction across these comparisons matters more to the paper’s specific claim than the ranking among the closely grouped fits. The regressions still benefit from sentiment in the setting where they have to make distinctions among a narrower range of ratings.

Filtered Chicago corpus 5-fold cross-validation R² with and without sentiment

Bayesian Ridge has the highest score, and the linear fits shown still gain predictive information from sentiment.

Filtered Chicago corpus 5-fold cross-validation R² with and without sentimentRandom baseline: -0.944Random baseline-0.944Linear regression, style only: 0.04Linear regression, style only0.04Linear regression, style and sentiment: 0.061Linear regression, style and sentiment0.061Ridge, style only: 0.05Ridge, style only0.05Ridge, style and sentiment: 0.063Ridge, style and sentiment0.063Bayesian Ridge, style only: 0.05Bayesian Ridge, style only0.05Bayesian Ridge, style and sentiment (this paper): 0.07Bayesian Ridge, style and sentiment(this paper)0.07
The numbers
System or settingR²
Random baseline-0.944
Linear regression, style only0.04
Linear regression, style and sentiment0.061
Ridge, style only0.05
Ridge, style and sentiment0.063
Bayesian Ridge, style only0.05
Bayesian Ridge, style and sentiment (this paper)0.07

The remaining methods produce a more mixed picture. Lasso and ElasticNet each reach 0.04 with both families of feature, compared with -0.02 with style alone. Huber moves in the other direction, from 0.05 with style alone to -0.46 with the added sentiment measures. TheilSen goes from -0.01 to -0.18. Polynomial regression goes from -0.01 to -0.40. The negative values show that beating the random benchmark of -0.944 is a permissive criterion on this filtered task. A method can outperform that random reference while still doing worse than the mean-based reference inherent in R².

The filtered Bayesian Ridge entries in the error column are -0.09 with sentiment and -0.11 without it. Its smaller R² in the filtered setting is compatible with a different scale of rating errors because the spread of the outcomes has changed. R² places an error in the context of the rating variation available to explain. Absolute errors and relative performance can therefore behave differently when the extreme part of the target distribution is removed. The metric-label ambiguity makes the R² comparisons especially useful for reading across the experiments.

The figure of real and predicted ratings presents the filtered Bayesian Ridge results alongside those for the full corpus and the random baseline. The filtered panel is the visual counterpart of a more demanding comparison among books. There is some correspondence between real and predicted ratings even with the conspicuous lower tail absent, but the small R² indicates that most of the variation within that narrower span remains unexplained. The predictive result is best understood at both scales. There is a recurring gain from adding sentiment to several regressions, and the level of accuracy still leaves substantial uncertainty for any particular novel.

What the ablations show

Adding sentiment to the same stylistic inputs

The closest thing to a feature ablation is the paired comparison with and without the sentiment measurements. The stylistic input remains in both conditions, and the comparison is made for each fitted procedure. That is a stronger test of what sentiment adds than comparing unrelated systems, because it provides a score for the procedure before and after the feature group is introduced. It shows that some regularities relevant to Goodreads ratings are captured better when the regression has access to sentence sentiment and its summaries.

Bayesian Ridge gains on both corpus definitions, and the ordinary linear and Ridge regressions show the same direction of change. Taken together, these results are evidence that the gains extend across closely related fitting procedures and persist in a task without the conspicuous low-rated group. The declines for other regressions qualify that conclusion. Adding features gives a procedure more information to use and more fitted relationships to estimate. The reported tests establish a benefit for particular combinations of inputs and methods.

The feature comparison is at the level of a group. The paper does not report a series of refits that separately remove Hurst, approximate entropy or each positional average. It also gives no sentiment-only run in the main results table. Consequently, the results compare style against style plus sentiment. They leave unresolved how much predictive information the sentiment measurements would retain by themselves and how much each individual measurement contributes to held-out accuracy. Those questions are distinct from whether a feature receives a large coefficient in the joint fit.

This distinction also applies to the paper’s argument about narrative order. The sentiment feature group contains both measurements that depend on the order and measurements that would survive a permutation of the sentence scores. The gains from adding that group can arise through either kind of measurement or through their combination. An arc feature such as persistence appears prominently in the coefficient analysis, especially after filtering. That observation gives a specific relationship to investigate. It does not give the held-out result of a comparison where order-dependent inputs have all been removed.

Removing the lowest-rated titles

The exclusion of books below 2.5 is a controlled comparison on the population being predicted. It addresses a problem revealed in the full-corpus plot. If the uncommon low ratings account for much of the predictable structure, an overall score may make the relationships among the other books look easier to recover than they are. The second experiment tests the same general design after taking that group out of both fitting and evaluation.

The decline in leading R² gives empirical weight to the authors’ concern about the low-rated tail. The total range of observed ratings is different, and the fit no longer has the examples that defined the earlier task’s extremes. The comparison is informative because these changes happen together in a well-defined restricted corpus. It cannot allocate the whole decline to a single cause. Restricting the outcome range changes the variance against which an error is judged as well as the evidence from which the regression learns.

The surviving improvement for Bayesian Ridge is the more specific check on the sentiment claim. In the filtered test the model still achieves a higher R² when it receives the sentiment measurements. On this restricted sample, it cannot obtain that advantage by recognizing titles below 2.5. It must be obtaining the benefit somewhere in the ratings that remain. The smaller scores give that claim the right scale. The features help with distinctions inside the main group, while the experiment leaves those distinctions only weakly predictable overall.

The change in corpus also affects interpretation of the coefficients. A relationship with ratings across the whole collection can mostly describe what distinguishes very low-rated novels from the others. Among the remaining titles, it can become weaker or point in a different direction. The authors accordingly inspect the two fitted regressions separately. This is a useful question to ask of a rating task where the lower end has a distinctive profile, because an association that helps distinguish the extremes can easily be mistaken for a rule that applies throughout the range.

Reading the stylistic coefficients

The paper reports selected coefficients from Bayesian Ridge, the strongest overall regression. For the whole corpus, punctuation frequency has a coefficient of -3.261, compressibility -2.841 and Flesch Reading Ease -2.205. Verb and pronoun frequency both have negative coefficients. Lexical richness is positive at 0.697, and Flesch–Kincaid Grade Level is positive at 1.380. These are signed quantities from the joint fit. Their values describe how feature changes enter the predicted rating in that fit, alongside the other predictors.

The readability entries show why it matters to read the names of the inputs carefully. Ease and grade level express difficulty in different ways. The opposite signs of their coefficients are compatible with the authors’ reading of the whole-corpus fit as favoring some degree of reading difficulty. They still belong to specific indices and are estimated in a regression with potentially related predictors. The paper interprets the broader profile as linking lower ratings with relatively simple and repetitive prose and greater use of features such as verbs, adverbs and pronouns.

For the filtered corpus, the most prominent listed negative coefficient is for pronoun frequency, at -1.419. The coefficient for nominal subject frequency is -0.761, that for adjective frequency is -0.436 and that for relative clause modifiers is -0.263. Lexical richness remains positive at 0.602. The authors read this combination as evidence for vocabulary variety alongside comparatively direct or concise phrasing. A novel can be varied in its choice of words while using fewer of particular grammatical structures. The coefficient pattern gives the authors grounds to discuss those aspects of style separately.

Both fits list a positive coefficient for lexical richness and a negative coefficient for compressibility. That combination is consistent with an association between higher predicted ratings and a less repetitive, more varied use of language in this collection. It does not specify what readers value about any particular instance of variation. A coefficient also does not say how common a feature is across books. To assess how much a feature tends to move ratings in practice, the coefficient must be interpreted alongside the range and scale of its input and its overlap with other measurements.

Reading the sentiment coefficients

In the whole corpus, the Bayesian Ridge sentiment coefficient with the largest magnitude among those listed is for approximate entropy, at -1.500. Hurst is also negative, at -0.649. Ending sentiment has a positive coefficient of 0.861, and the contrast between the main arc and the ending is positive at 1.152. The positive ending coefficient gives direct evidence of a fitted association between a higher ending sentiment score and a higher predicted rating, conditional on the other inputs.

The whole-corpus mean sentiment result needs particular care. The coefficient table lists -1.352, but the discussion also describes higher average sentiment as accompanying higher ratings. Those statements point in different directions if read as accounts of the same fitted coefficient. The table supports reporting a negative conditional coefficient for the mean and a positive one for the ending. It gives no basis for treating the discussion’s positive description of average sentiment as a settled interpretation of that coefficient. Mean level, ending level and the contrast with the rest of the arc are separate inputs, and their fitted contributions can differ.

In the filtered corpus, Hurst has a positive coefficient of 0.576 and is the strongest of the listed sentiment predictors. The standard deviation of sentiment has a coefficient of 0.214, and approximate entropy has a positive coefficient of 0.148. Beginning sentiment is negative at -0.169, while mean sentiment is positive at 0.082. This leads to a more specific picture of the association within the bulk of the ratings. The fit favors greater persistence while assigning positive weight to a wider spread of sentence scores. It also allows for some irregularity and a lower sentiment level at the opening.

Persistence, dispersion and irregularity answer distinct questions about a sequence. Scores can stay in a generally positive or generally negative region for sustained stretches while the regions differ considerably from one another. Individual scores inside each region can still fluctuate. The filtered coefficients are compatible with this kind of combination. They help explain why the authors use several arc measurements rather than putting the entire sentiment description on a scale from calm to turbulent.

The direction changes for Hurst and approximate entropy are among the most revealing observations in the coefficient analysis. Both are negative in the whole-corpus fit and positive in the filtered fit. The results are conditional on the sampled books, the other features and the fitting procedure. The sign changes make it hard to turn the analysis into a single rule about emotionally coherent or irregular fiction. The paper instead interprets the higher-rated books within the restricted sample as combining sustained emotional movement with variation. That is a description of the fitted relationships in one range of reception.

Limitations

Limits the authors identify

The authors explicitly recognize that a Goodreads average combines people with different preferences, backgrounds and reasons for rating a book. The large and varied audience is why the platform offers a usable research target. Its diversity also makes the average difficult to interpret as any one kind of judgment. A rating can reflect how much the reader enjoyed a novel, what the reader expected from it or many aspects of the reading experience at once. The experiment models the final aggregate. It gives no account of which readers approved of a given feature or which motivations drove their decisions.

The authors also acknowledge the cultural and geographic bias of the text collection. The Chicago corpus contains translations and a range of popular and prestigious works, but Anglophone authors are strongly overrepresented. Library holdings influence which titles are included. An apparent relationship across that collection therefore concerns a historically and culturally specific set of available novels. Its breadth within the selected material does not establish how the same features would relate to appreciation in a collection formed under different criteria.

The paper treats the bottom of the rating distribution as a complication instead of allowing it to pass unnoticed in an aggregate score. The authors point out how tightly most of the ratings are grouped and how distinctive the very low ratings appear. Filtering is their response to that issue, and the narrower experiment is harder to predict. The authors also recognize that the scores can be volatile. That makes small distinctions in observed ratings a challenging target and gives a reason to avoid interpreting a fitted ranking of individual titles as an authoritative ordering.

The authors’ plans for future work identify further boundaries. They propose examining proxies for quality other than Goodreads ratings to see where different definitions agree. They also want to consider more features and explore whether a classification task might be useful. Classification would ask for placement in categories, a different output from the numerical prediction tested here. They are open to more sophisticated predictive methods if the relationships remain interpretable. These suggestions concern experiments the paper proposes, while its evidence comes from the regressions and features it actually evaluates.

Limits visible in the experimental design

Cross-validation measures prediction on held-out material drawn from the same collection under the paper’s partitioning procedure. There are multiple authors and titles in the data, and the paper does not state whether folds were grouped by author. If a writer’s books appear in both fitting and evaluation partitions, recurring stylistic traits could carry across the split. That possibility is relevant to the scope of the validation, since predicting a held-out title and predicting a title by a wholly unseen author are different tasks. The reported scores do not establish the latter more specific form of generalization.

A similar issue concerns differences across periods or genres. The corpus contains varied fiction, and the chosen sentence scorer is intended to be usable across domains. The main regression results are nonetheless pooled across that variety. A relationship could be common to several kinds of novel or reflect differences among the kinds of novel that the corpus contains. Separate evaluations across genres or periods would address that distinction. The pooled results show that the overall feature set carries information in this mixture of books.

The paper plots how many ratings books received, but the main comparisons use the averages as the outcomes. An average based on relatively little participation and an average backed by many ratings can differ in stability. No result is given for a design that explicitly accounts for the amount of reader participation when evaluating errors. Nor does the average retain the dispersion of individual ratings. The experiment is therefore suited to predicting the aggregate reported for a title. It cannot recover the degree of consensus behind that aggregate.

The VADER inspection is qualitative. The examples let a reader see why some rises and dips look plausible and whether individual sentence scores bear a recognizable relation to the prose. A quantitative accuracy estimate for sentiment labels throughout the corpus would require systematically comparing them with a suitable set of judgments. Fiction raises distinctions between a character’s words, a narrator’s attitude and the effect of a passage on the reader. A single score per sentence gives the regression a consistent input while combining such possibilities into one number. Its role as a proxy for the emotional experience of reading remains bounded by that representation.

The chosen time axis also matters. Progression by sentence is easy to define, and it matches the unit used to compute sentiment. It compresses longer and shorter sentences into the same number of positions. It can place an abrupt sentence boundary at a point that carries little narrative importance, while a major change in the story can extend across many sentences. The resulting time series is a measure of sentiment along the presentation of the text. Interpreting an arc feature as a property of plot structure requires the further assumption that the sentence sequence captures the relevant progression.

Feature associations remain observational. The regressions learn patterns among novels that differ in many ways at once. A negative coefficient for pronouns cannot establish that deleting pronouns would improve a book’s ratings. Likewise, an association between ending sentiment and reception does not establish that revising an ending towards more positive language would produce the predicted change. In both cases an intervention would change a text and potentially its meaning, while the coefficient describes how naturally occurring differences were fitted in this collection.

Some of the precision needed to reproduce and interpret the analysis is left open in the paper’s descriptions. The arc measures are identified by name and purpose, but their calculation settings are not fully specified in equations. The error metric has conflicting labels, and the construction of the random baseline is not described in enough detail to give those scores a wider benchmark interpretation. The R² comparisons are clear enough to support the principal result. The table does not give fold-by-fold results or uncertainty around those comparisons, so close scores such as those for the leading regressions should be read as observed differences under this evaluation.

Taken together, these limits set the scale of the claim about literary quality. The experiment shows associations between a rating proxy and textual features, including a repeated gain from sentiment for the leading regressions. It does not establish a universal reader response, an effect of revising prose or a measure that can stand in for other judgments of literary merit. The most specific finding is that information about sentence sentiment helps in this prediction task alongside stylistic statistics, including when the most readily distinguished low-rated titles are absent.

What came after

A later citing study from 2026 takes up sentiment at the level of concept vectors, with geometry and portability as its stated subjects. That focus concerns how a sentiment representation is organized and how it can carry across settings. Bizzoni and colleagues’ study instead starts with a fixed sentence-scoring procedure and investigates what summaries of its output can reveal about reader ratings. The citation connects work on a downstream use of sentiment scores with a later investigation of sentiment representation itself. The citing relationship leaves open whether the later study reused the novel corpus, the arc features or the rating experiment. Is Sentiment Banana-Shaped? Exploring the Geometry and Portability of Sentiment Concept Vectors

Cite

Cite as Yuri Bizzoni, Pascale Moreira, Mads Rosendahl Thomsen and Kristoffer Nielbo. 2023. Sentimental Matters - Predicting Literary Quality by Sentiment Analysis and Stylometric Features. Proceedings of the 13th Workshop on Computational Approaches to Subjectivity, Sentiment, & Social Media Analysis.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2023.wassa-1.2

@inproceedings{bizzoni2023sentimental,
  title = {{Sentimental Matters - Predicting Literary Quality by Sentiment Analysis and Stylometric Features}},
  author = {Yuri Bizzoni, Pascale Moreira, Mads Rosendahl Thomsen and Kristoffer Nielbo},
  booktitle = {Proceedings of the 13th Workshop on Computational Approaches to Subjectivity, Sentiment, \& Social Media Analysis},
  year = {2023},
  doi = {10.18653/v1/2023.wassa-1.2},
  url = {https://doi.org/10.18653/v1/2023.wassa-1.2}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/bizzoni-2023-sentimental-matters-predicting-literary-quality/