Elamur Research

CANarEx: Contextually Aware Narrative Extraction for Semantically Rich Text-as-data Applications

Paper · 2022 · Nandini Anantharama, Simon Angus and Lachlan O'Neill

Summary

A debate can stay focused on the same issue while the accounts people give of it change. Participants may disagree about who should act, describe different consequences of an action, or use different words for the same proposal. Counting mentions of the issue gives all of those statements the same weight. CANarEx extracts short records that retain a verb and the participants it connects. Researchers can inspect those records, group related ones, and follow their frequency over time. The paper treats the construction of those records as a problem in information extraction.

An account can draw on information introduced well before the sentence that expresses it. CANarEx begins by linking references to the same person, group, or thing across a document, using coreference resolution. It then finds the verb and the phrases that fill its roles through semantic role labeling. Where one extracted relationship is embedded inside another, the procedure can separate them into smaller records called micro-narratives. CANarEx compares these records using a numerical representation of the entire expression, so the action can influence the grouping alongside its participants. An optional sentence filter produces a shorter collection for inspection.

The authors apply CANarEx to Australian parliamentary speech and news coverage about First Nations people. For the quantitative test, they construct a corpus from variants of news sentences and assign the topics known patterns of activity, mixing in material from outside those topics. In the main results table, CANarEx achieves mean squared errors of 46.6 for the Kevin Rudd series, 79.4 for climate change, and 155.4 for Indigenous people. These errors are lower than the corresponding values for Relatio, the earlier narrative extraction system, and for random assignment. For every labeled group, including noise, CANarEx also outperforms both reported Relatio settings on precision and recall.

The component comparisons show where the gains and tradeoffs arise. Resolving references improves temporal recovery throughout the unfiltered experiment, with or without splitting. Keeping the extracted records intact gives the lowest errors in that experiment. Splitting makes embedded relationships easier to inspect, and the authors accept a small increase in error in the reference-resolved configuration for that benefit. Sentence filtering clears space in the visualizations at a greater cost to temporal recovery. The paper thus gives quantitative evidence about recovering deliberately planted patterns and illustrates what a reader can learn by examining the relationships behind a count.

Deep dive: CANarEx: Contextually Aware Narrative Extraction for Semantically Rich Text-as-data Applications

CANarEx groups accounts of actions and their participants, then tests how well those groups recover changes in narrative frequency over time. · about 36 minutes to read

The problem and its context

What a narrative count has to preserve

A researcher following parliamentary debate might care about the role assigned to families in discussions of child care. The same subject could occur in statements about families using a service, proposals about who should provide it, and descriptions of how a policy affects its availability. The verb and its surroundings tell the reader which of those accounts is being offered. The subject alone tells the researcher that child care came up. The difference matters if the aim is to see when a particular account takes hold or loses prominence.

The authors describe narratives as accounts that connect events. Their computational starting point is a compact representation of an event or relationship, with a predicate between participant expressions. A predicate supplies the action, state, or relation around which the expression is organized. A participant might be an actor, the thing acted upon, or another entity involved in the relationship. As a representation for counting, this gives a passage enough structure to distinguish claims about the same entities. As a representation for reading, it gives the analyst a recognizable piece of language to inspect.

This choice serves a particular research aim. The paper is interested in whether related accounts can be found repeatedly in large collections of text, and whether their changing prominence can be expressed in a form suitable for time-series analysis. A time series puts observations in temporal order. Here the observations are counts of text units associated with a group. To build such a series, a pipeline must turn individual passages into records, decide which records are alike, and retain the association between the group and the source material. Each decision affects which passages contribute to the final curve.

That is the connection to text as data. Quantitative social science can work with structured observations from news, opinion, and political speech once a procedure has defined the units that it counts. A measure of coverage can represent attention to a subject. A measure based on relations can additionally represent how the subject is framed, including the actions and participants given prominence. The paper approaches this as a problem in the analysis of public discourse. The observable object is language in the corpus, and the intended product is an organized record of the accounts that occur there. Discourse analysis.

The pipeline needs context at different points. A reader may understand a pronoun because the article named a public figure several sentences earlier. Recovering that referent supplies context for the participant. A reader also interprets the participant through the event in which it appears. Keeping the verb attached to its arguments supplies context for the similarity comparison. These operations address different sources of uncertainty. An extractor can identify the action correctly and leave its actor unspecified. A grouping procedure can recognize two expressions for the same actor and still mix accounts in which that actor does different things.

Variation in wording adds a further complication. A newspaper and a parliamentary speaker can describe a related action using different phrases. Treating each wording as its own category can scatter the evidence for a recurring account. Treating the documents as similar whenever the same entities appear can pool statements that describe different relationships. The paper’s approach places the similarity comparison at the level of the individual extraction. That places the words expressing the relationship within reach of the grouping stage, while allowing multiple expressions to contribute to a common group.

The approaches the authors build on

The paper relates its task to earlier work that uses a three-part structure for events. The usual idea is that a subject or entity is connected to another entity by a predicate. Some of the work the authors cite uses such structures for detecting events or for assembling networks of knowledge centered on events. In the account of narrative theory adopted by CANarEx, agents and events are ingredients of a minimal narrative. A triple can preserve these ingredients in a small enough unit for repeated extraction from a corpus. Knowledge graph.

Semantic role labeling offers a way to locate this structure in prose. The task organizes pieces of a sentence around a predicate and identifies the function each piece serves with respect to that predicate. This is helpful when the order of words varies or when an argument extends beyond a single name. The earlier literature discussed in the paper takes the question of who does what to whom as a practical route to describing events and actors. CANarEx retains that organizing question and adds operations for determining the reference of participant phrases and handling accounts with more than one predicate. Question-Answer Driven Semantic Role Labeling.

Earlier approaches also tailored the extraction to particular kinds of discourse. The paper discusses work by Zhang and colleagues on economic activity associated with processes such as industrial regeneration. That work includes events representing debate, conflict, and compromise. Attribution is important to its design because an account may contain statements, beliefs, or intentions associated with particular actors. The pipeline combines a custom event inventory, manually labeled material, and a component that identifies entities in the text. This last task locates expressions for entities such as named participants and is known as named entity recognition.

The system described by Zhang and colleagues also combines role-labeling outputs. The frames provide predicates and associated participants. The entity recognizer and custom event categories help organize those outputs into actors and attributed events. This gives the analysis a way to connect what is said or intended with the actor to whom the account assigns it. The paper names Semafor and DeepSRL as parts of the ensemble. Frame-Semantic Parsing and Deep Semantic Role Labeling.

Relatio takes a broader approach. It searches for recurring statements in public discourse with limited dependence on custom labeling. It extracts entity–verb–entity records through role labeling, then reduces the variety of the entity expressions by grouping their vector representations. This lets a collection with many distinct phrases be organized around a smaller inventory of entity categories. The paper connects this part of Relatio’s design to numerical representations of words and other pieces of text. Efficient Estimation of Word Representations in Vector Space and Universal Sentence Encoder.

For CANarEx, the pivotal question is what enters the comparison when that reduction happens. In Relatio’s entity grouping, a phrase is compared with other entity phrases apart from the predicate that connects it to another participant. This makes the grouping effective as a way to organize the entity vocabulary. It also means the verb has no influence on which entities are combined at that stage. CANarEx preserves the triple as the form of the record and shifts the similarity operation to the complete expression. Two passages about similar participants can then be distinguished partly by the actions being described.

The authors see advances in contextual processing as an opportunity to make these changes while retaining the useful structure of earlier pipelines. They cite work surveying how pretrained systems can serve social science applications. In CANarEx, the contextual processing is used to solve specific intermediate problems, including decisions about mention identity and argument boundaries. The resulting text is then represented again for a different purpose, grouping the extracted accounts. One of the works underlying the contextual components is BERT.

The method, step by step

Following the text from document to group

The input is a document. The pipeline makes some references explicit and passes the resulting sentences to a component that identifies verbs and their associated roles. Each extracted relationship becomes a record. Where the roles for one verb include a relationship expressed by another, CANarEx can bring the embedded relationship out as a separate record. It cleans the records, represents each as a vector, and groups vectors that are similar. In the filtered version, a sentence-selection step restricts which parts of a document can supply these records.

From source documents to CANarEx groups

The steps in order.

From source documents to CANarEx groupsStep 1: Link references to the same entity1. Link references to the same entityStep 2: Optionally rank and retain representative sentences2. Optionally rank and retain representative sentencesStep 3: Locate verbs and their participant phrases3. Locate verbs and their participant phrasesStep 4: Build a record for each selected relationship4. Build a record for each selected relationshipStep 5: Separate relationships embedded inside larger records5. Separate relationships embedded inside larger recordsStep 6: Clean and embed the full phrases6. Clean and embed the full phrasesStep 7: Group records by their numerical representations7. Group records by their numerical representations

The unit of processing changes along the way. Mention identity is inferred using the document. Predicate frames are obtained from sentences. The things that go into the final grouping are records derived from those frames. A sentence can therefore produce multiple items for the clustering stage. Conversely, removing a sentence at the optional selection step removes the opportunity to recover any of its relationships. This distinction is central to the paper’s component experiments, which compare the effects of retaining more context, creating more units, and restricting the source material.

Giving a later mention its referent

The authors first run SpanBERT-base with the domain setting nw, for newswire. The component looks for mentions that share a referent. These mentions can include names, pronouns, and descriptive noun phrases. A noun phrase can carry useful identifying information even when it contains no proper name. The output of this step is used to rewrite mentions in the document so that a later reference can carry information available from another part of the text. SpanBERT and BERT for Coreference Resolution.

Consider what this supplies to the next stage. If an argument consists of a pronoun, the verb can still be associated with a participant grammatically. The record may then be hard to compare with a passage that refers to the same participant by name. Replacing the pronoun with a more explicit expression provides words that can support the comparison. It can also make the extracted record intelligible when a researcher reads it away from the source sentence.

The preparation changes the form of the text that the role labeler sees. An explicit phrase may be longer than the mention it replaced and may bring additional modifiers into the sentence. This creates a dependency between the quality of reference resolution and the quality of extraction. If the substitution points to the wrong referent, the record can be readable and still name the wrong participant. The ordering of the stages thus has practical consequences for both the benefits and the errors that make it through to clustering.

Using predicates to organize the sentence

CANarEx uses the BERT-based role labeler from Shi and Lin through the AllenNLP framework. Its output consists of frames, each organized around a predicate and the phrases attached to it. A sentence with several relevant verbs can supply several frames. Each frame gives the pipeline a different view of the sentence because the role of a phrase is defined with respect to the frame’s own verb.

The paper’s representation for the extracted relation is a triple.

{Entity-Verb-Entity}

The first and last Entity fields contain participant expressions. Verb marks the predicate that connects them. The hyphens indicate the order of the fields, and the braces enclose one record. The role labeler marks a predicate with V and reports numbered argument labels such as ARGx. In that label ARG indicates an argument, and x stands for the role number. A frame can carry phrases that bear on circumstances such as where or when an event takes place. The entity–verb–entity form is the compact record assembled for analysis. In the corpus applications, the authors retain frames that supply at least two entities.

The entity fields are spans of text. A span is the sequence of words taken to express an argument. The difference between a bare noun and a noun with a modifier can matter even when both point in the same general direction. Roles provide a way to determine which words belong to a relationship, and the span boundaries determine how much of what was said about each participant is carried forward. The corpus examples later make it possible to inspect both aspects of the output.

Separating relationships inside a frame

Multiple frames from the same sentence can overlap. In particular, one predicate’s argument can include an expression with a predicate of its own. When the whole stretch enters a single triple, the embedded relationship can be hard to see as an independent item. CANarEx compares the triples from different frames of that sentence and checks whether one is contained in another. It splits the larger triple into constituent relationships when it finds that containment. The resulting smaller units are what the paper calls micro-narratives.

The paper illustrates this with a sentence in which been and proposed are identified as different verbs around which frames can be formed. The comparison picks up that one extracted structure is included in another. Splitting exposes the relationships associated with the two verbs, and resolved references supply fuller participant expressions in the resulting records. The example shows the scope of the procedure: it uses connections among frames already found in one sentence. Reference resolution supplies links beyond that sentence before splitting starts.

There are two reasons to care about which pieces are kept together. One is readability. A compact relationship allows a reader to inspect the participants of an embedded proposition without working through every part of the enclosing expression. The other is grouping. A shorter expression centered on a particular verb can resemble a different set of records from the larger phrase that contained it. The splitting rule therefore changes both what a person sees and what the downstream clustering receives.

CANarEx also removes stopwords from the extracted micro-narratives. These are words selected for omission during cleanup. In the corpus applications, the reported cleanup includes removing triples with is or are as their verbs. This can eliminate records the authors regard as unhelpful for the analysis. It also changes the set of relations available to count. The cleaned collection reflects the choices made at this step as well as the roles and spans delivered upstream.

Comparing relationships as complete expressions

The next stage uses embeddings from Sentence-BERT. An embedding represents a piece of text by a vector, a set of numerical coordinates that can be compared with coordinates for other pieces of text. In the core grouping step, that piece of text is the complete extracted relationship. The vector can therefore reflect the wording of the verb and the combination of participant phrases that accompany it.

The point of clustering is to find groups of nearby representations. A group gives the analyst a way to look across accounts expressed in different words. It also supplies a unit for counting how frequently related material appears in the corpus. Cluster membership is a judgment about proximity in the representation. In the article’s examples, a reader can examine the underlying phrases and see which relationships contribute to the group, including whether the grouping has brought together actions that are distinguishable on inspection.

The corpus visualizations answer a different question from the embedding comparison. In those illustrations, the links between the displayed expressions are weighted by how frequently the extracted relationships occur. Embedding similarity helps the pipeline organize candidate records. The frequency weighting makes recurrent relationships visible once the material has been selected and extracted. An analyst reading a strong connection in the graph is seeing evidence of repeated extraction of that relationship in the material under examination.

Choosing representative sentences

The optional filter addresses the size of the collection. Reference rewriting and extraction from multiple frames produce many triples, and a researcher inspecting a graph may benefit from seeing a more compact set. The authors evaluate document-level clustering, which they call TopN, and the graph-ranking procedure TextRank. Both work with sentences inside a document. CANarEx extracts records from the selected sentences and clusters the resulting narrative records afterward.

TopN assumes the presence of a main theme and a secondary theme. It groups the document’s sentences into two clusters and takes the larger one as the main theme. Its centroid is the center of the sentence representations in that group. The procedure retains the N sentences nearest the centroid, where N names the number to retain. This rule favors a sentence for how well it represents the larger group under that representation. A distinctive statement can have a different rank from a statement that echoes the document’s main material.

TextRank builds a graph with a sentence at each node. The edges express similarity between the sentences they connect. A graph-ranking procedure uses those connections to identify prominent sentences. The paper discusses several possible definitions of the edge similarity, among them text overlap, comparison of term-weight vectors, and comparison of sentence embeddings. These definitions can make different pairs of sentences prominent in the ranking. TF-IDF and PageRank.

The implementation chosen by the authors uses a modified Okapi-BM25 function to express the relation between sentences. They vary the retained amount relative to the number of reference-resolved sentences in a document. The TextRank summary ratios they try are 0.05, 0.1, 0.2 and 0.4. A ratio controls the amount selected, while the graph controls which sentences qualify. This is the connection between ranking in the filter and the paper’s earlier work on information retrieval.

For the filtered records, the paper describes a final grouping choice based on the largest silhouette score. A silhouette score compares how well a point fits within its own group with how close it is to another group. The choice favors cohesion and separation in the representations being clustered. The test for temporal recovery then compares sentence counts over time. A selection can give a compact, well-separated set for inspection while omitting material that contributes to the profile of a topic across the corpus.

Preparing the sentence generator

The paper’s evaluation calls for a target that can be specified in advance. The researchers want to know how frequently a theme should appear at each time and still give the extractor varied material. Their solution is to adapt the Ada version of GPT-3 to generate sentences similar to ones observed in the news. This generator is used to build the evaluation corpus. CANarEx itself takes documents through reference resolution, extraction, and grouping. The work introducing the generator is Language Models are Few-Shot Learners.

Preparation starts with original Factiva sentences. The authors retain originals that remain similar to their counterparts after coreference resolution. Their aim is to use source material that can support examples with pronouns and other mentions. They represent the selected sentences and use paraphrase mining to find pairs close in the embedding space. Paraphrase mining searches among candidate sentences for possible alternate expressions of similar content. The paper draws on the approach associated with Making Monolingual Sentence Embeddings Multilingual.

The paper writes a training pair in the following form.

[x,y]

Here x is the source sentence and y is the similar sentence used as its target during training. The square brackets mark the pair and the comma separates its members. The generator is being adapted to produce related wording given an input. The pairs are selected using cosine similarity, which measures how closely the directions of two vectors align. This is the numerical test the authors use for semantic similarity at this stage.

0.75 ≤ cosine score < 0.99

cosine score is the cosine similarity of the sentence representations being compared. The first comparison, ≤, includes a score of 0.75. The second, <, excludes 0.99 and scores above it. The accepted pairs occupy a band intended to capture related sentences while screening out both distant and nearly identical representations. The authors also impose a word-count condition.

word length > 5

word length is the length in words, and > requires it to exceed 5. The resulting collection contains 4961 sentence pairs. The authors adapt Ada over 4 epochs, with an epoch meaning a pass through the training material. This is the paper’s use of fine-tuning. The adapted generator can then supply variants of examples selected for the test.

Placing the topics on a timeline

For the test, the researchers take Factiva sentences from clusters concerning climate change, Kevin Rudd, and Indigenous people. The topic examples are drawn near the centers of their clusters, using Euclidean distance, the ordinary distance between points in the representation space. Noise examples come from other clusters and are taken far from their centers. The authors acknowledge that some of the original clusters can overlap. They expect limited interference because the noise examples are drawn from groups other than the designated topic groups.

These examples are used to generate similar sentences. Paraphrase mining then screens the resulting material with the same cosine bounds used for training. The check ties the variation introduced by generation to similarity with the intended content. The topic assignment used in the test comes from the chosen source groups. Noise in this setup is additional material outside the designated series, so it has a role in the evaluation even though it has no target narrative curve in the main temporal comparison.

The authors create a recurring pulse, a recurring spike, and a series with irregular increases and decreases. They randomly pair these temporal signatures with the topics. At a given time, the height of the signature specifies the number of sentences, N, drawn for the assigned cluster, C. Each original curve is thus an instruction for assembling the input corpus. A peak means that more sentences bearing its assigned topic label are inserted at that time.

The generated sentences are collated into random documents. Their lengths in sentences are distributed to resemble the Factiva documents. The paper describes the noise added at the document level as varying randomly between 0.1 to 0.3% of the sentence count. It also distinguishes a reference-resolved version of the synthetic material from a version without that preparation. The latter is constructed with Relatio in mind because Relatio has no coreference stage of its own. This difference in how the test sentences are prepared is separate from the experiment that switches CANarEx’s coreference stage on or off.

Experiments and results

The two corpus applications

The paper first shows what CANarEx produces on material that researchers might actually want to study. The applications concern accounts of disadvantage in Australia with a focus on Aboriginal and Torres Strait Islander people. Hansard represents parliamentary debates, where policymakers take part in the discourse. Dow Jones Factiva supplies media reporting and editorials. The corpora give the authors two perspectives on the same broad area of public discussion.

The Hansard selection uses keyword fragments that target references to First Nations and Traditional Owners and to Indigenous, Aboriginal, and Torres Strait Islander people. It contains 7781 documents with 440,169 sentences. The Factiva selection contains 10,554 articles with 461,180 sentences. The authors supply the Hansard selection as supplementary material. Factiva’s licensing prevents them from redistributing that collection. The paper also identifies the CANarEx code repository.

A large share of sentences are changed during reference resolution. The authors report 69% for Factiva and 79% for Hansard. Among the sentences counted after that stage, the Factiva table records 313,734 changed sentences and 142,228 unchanged ones. The Hansard table records 340,795 changed and 92,322 unchanged. These are measures of how extensively the resolver modifies the input to the next step. They show how frequently the decision to resolve references can change the text available for extraction.

After reference resolution, the role labeler produces frames in over 90% of the sentences. The corpus table records 418,101 Factiva sentences with a frame and 37,861 without one. In Hansard it records 423,784 with a frame and 9333 without one. The paper then reports 389,429 micro-narratives for Factiva and 404,237 for Hansard from frames with at least two entities. These counts mark different units. The frame coverage concerns sentences, while the micro-narrative totals concern the extracted relationships after the eligibility rule.

The authors say that stopword removal and exclusion of the specified verb forms reduce the number of micro-narratives by about 25%. The resulting collection can be restricted further by the optional filters. These operations explain how a large set of input documents can yield a still substantial inventory of extractable relationships before the material is condensed for a particular illustration.

One Hansard illustration uses TextRank on material concerning young families. The output shows family as a participant in a relationship involving the use of child care. The connection receives emphasis because this is a frequent extracted relation for the participant pair. The reading a researcher can make from that graph is specific: the discussion repeatedly assigns families the role of users in that relationship. The predicate makes that interpretation possible.

The Factiva appendix illustrates a similar display on criminal justice material. One recurring record connects mandatory sentencing to producing a result. Here the verb expresses a kind of relationship different from the use of a service in the Hansard example. The figures demonstrate how an analyst can read the types of claims that recur around an entity pair and inspect the expressions from which the representation is built. Their link weights refer to counts of the extracted material in the examples.

What goes into the synthetic comparison

For the controlled test, the data table gives the original sentence counts and the sampled counts for each category. Kevin Rudd, cluster 1, has 992 true sentences, 2987 sampled sentences in the version without coreference resolution, and 2681 in the reference-resolved version. Climate change, cluster 2, has 982 true sentences and sampled counts of 2606 and 2449 in those respective versions.

The Indigenous people topic, cluster 3, has 936 true sentences and sampled counts of 2841 and 2654. The noise row, cluster 4, gives 4938 true sentences and 8434 and 8192 sampled sentences. These are counts of the material used in test construction. They characterize the comparison before either of the extraction systems has decided which sentences belong together.

Relatio is the main comparator. The researchers start from its default configuration and examine entity cluster counts of 5, 10, 20, 30, 40, 50 and 100. The paper reports the setting with 40 entity clusters, which yielded the best entity mappings in a manual audit, and the default setting of 100. The cluster count here controls how finely the entity vocabulary is grouped. An additional clustering pass on the narratives after this reduction produces the groups that are compared with the original time series.

The null comparison assigns cluster labels to sentences randomly. Results are reported for random assignment with and without reference resolution. This comparison shows how close the scoring procedure can come to the input patterns using randomly formed groups. Relatio provides a more substantive test because it first uses the language in the sentences to extract relationships and organize them.

What the recovery scores measure

The authors ask whether high and low activity occur in the recovered groups at the same times as in the input. They allow the recovered groups to operate on different count scales and to have different baseline levels. To do that, they regress each recovered group’s counts on the known counts of an input series. This regression uses the count of sentences linked to the recovered group at each time point as its response variable. The predictor is the corresponding number of input sentences assigned to the original topic.

The fitted relationship described in the paper can be written as follows.

ŷₜ = α + βxₜ

The subscript ₜ marks a time point. xₜ is the known input count there, and ŷₜ, with the hat marking a fitted value, is the fitted count for the recovered group. α is the intercept, which sets the fitted baseline when the input count vanishes. β is the regression coefficient, which controls how the fit scales as the input changes. Writing β next to xₜ indicates multiplication. The addition sign joins the baseline and scaled input, and the equality gives the fitted value.

The error concerns the distance between the fitted values and the observed recovered counts. The paper prioritizes mean squared error, or MSE. In notation, that calculation is:

MSE = ∑ₜ (yₜ − ŷₜ)² / T

Here yₜ is the observed recovered count at time t, and ŷₜ is the fitted count at that time. The subtraction gives their difference, the parentheses enclose that difference, and ² squares it. ∑ₜ adds the squared differences over the time observations. Division by T, the number of those observations, gives the mean on the left side of the equality. Under this calculation, a large error around a spike has a greater influence on the mean than smaller errors scattered elsewhere in the series.

The appendix also reports R_sq, the paper’s label for R-squared, which assesses the fit relative to variation in the response. The authors emphasize MSE because they care about sharp movements of the original series as well as broad agreement. The reported MSE for a topic is that of the recovered group with the smallest error in this comparison. The output labels can be assigned arbitrarily during clustering, so the scoring procedure uses the known original series to find a match.

A separate comparison measures membership at the sentence level. Precision is the share of the recovered group carrying the corresponding input label. Recall is the share of the sentences with that input label recovered in the group. F1 summarizes precision and recall together. These scores add information about which sentences generated the counts. A group can reproduce the rise and fall of an input series even if some outside sentences replace missing ones at similar times.

How well the series are recovered

The main unfiltered comparison gives CANarEx an MSE of 46.6 for Kevin Rudd, 79.4 for climate change, and 155.4 for Indigenous people. Relatio with 40 entity clusters has errors of 378.2, 6818, and 555.5 for those topics in that order. At 100 entity clusters, the matching errors are 471.8, 1444.9, and 580.7. The preferred Relatio setting depends on the topic. The 40-cluster configuration yields smaller errors on the Kevin Rudd and Indigenous people series, while the default is closer on climate change. CANarEx has the smallest errors of the reported systems on all three.

Temporal fit for the synthetic climate change group

The group recovered by CANarEx follows the input pattern more closely under the regression score.

Temporal fit for the synthetic climate change groupRandom assignment without coreference: 7664.6Random assignment without coreference7664.6Random assignment with coreference: 8600.6Random assignment with coreference8600.6Relatio with 40 entity clusters: 6818Relatio with 40 entity clusters6818Relatio with 100 entity clusters: 1444.9Relatio with 100 entity clusters1444.9CANarEx (this paper): 79.4CANarEx (this paper)79.4
The numbers
System or settingMSE
Random assignment without coreference7664.6
Random assignment with coreference8600.6
Relatio with 40 entity clusters6818
Relatio with 100 entity clusters1444.9
CANarEx (this paper)79.4

The remaining random-assignment errors are 5422.7 for Kevin Rudd and 9943.7 for Indigenous people in the version with coreference. They are 4792.7 and 8785.6 for the same respective topics in the version without coreference. The errors from random assignment are higher than the corresponding CANarEx and Relatio results throughout the comparison. The chance baseline establishes that some apparent fit can be produced by arbitrary groups while leaving substantial room for improvement through the extraction methods.

There is a reporting discrepancy for the Kevin Rudd series. The main comparison and main ablation table both give 46.6 for the CANarEx configuration with reference resolution and splitting. The corresponding expanded tables give 46.8. The headline comparison here uses the value in the main results table. Both values preserve the rank of that configuration against Relatio and against the other unfiltered CANarEx settings for that series.

The appendix’s fit statistics illustrate the difference between the two regression metrics. The climate change fit for CANarEx has R_sq of 0.998, while the version of Relatio with 100 entity clusters reaches 0.968 for the same series. The MSE scores distinguish those recovered profiles much more strongly. For the Kevin Rudd series, Relatio with 40 entity clusters obtains R_sq of 0.982 even though its MSE of 378.2 is larger than the CANarEx error. A high fit statistic can therefore occur alongside sizable departures in the counts under the paper’s chosen scoring rule.

CANarEx recovers 4 groups. Relatio yields 9 downstream narrative clusters at the setting with 40 entity clusters and 6 at the setting with 100. These downstream counts describe the groups available for matching to the original series. A topic’s material can end up in several groups, so the number also helps explain why a best-match comparison and a sentence membership comparison are useful together. The membership results show how much of the input label the selected group gathers.

Which sentences reach the matched groups

For Kevin Rudd, CANarEx achieves 0.94 precision, 0.89 recall, and 0.91 F1. The Relatio setting with 40 entity clusters gives 0.85 precision, 0.62 recall, and 0.71 F1 on that label. At 100 entity clusters, its scores are 0.7, 0.53, and 0.6, respectively. The higher recall for CANarEx shows that its selected group gathers a larger share of the topic sentences. Its higher precision shows that a larger share of that group also carries the expected label.

For climate change, CANarEx records precision of 0.97, recall of 0.83, and F1 of 0.89. The setting of 40 entity clusters in Relatio gives 0.31 precision, 0.62 recall, and 0.41 F1. At 100 entity clusters, Relatio gives 0.28 precision, 0.39 recall, and 0.33 F1. The low precision in both Relatio settings points to a substantial presence of material with other labels in the climate change group. Their recall scores show that the collection of the intended sentences is incomplete as well.

For Indigenous people, CANarEx obtains precision of 0.97, recall of 0.85, and F1 of 0.9. The Relatio setting with 40 entity clusters scores 0.96, 0.84, and 0.9 on those measures. At 100 entity clusters, Relatio scores 0.94, 0.74, and 0.83. The more competitive Relatio result here gives the same reported F1 as CANarEx. The MSE comparison still favors CANarEx. Aggregate membership scores allow for different distributions of the errors over time, which the temporal test can distinguish.

On noise, CANarEx achieves precision of 0.71, recall of 0.94, and F1 of 0.81. Relatio’s 40-cluster setting gives precision of 0.41, recall of 0.42, and F1 of 0.41. Its 100-cluster setting gives 0.28, 0.31, and 0.3. The high recall for CANarEx supports the authors’ observation that most of the noise goes into a separate group. The precision value also shows some contamination of that group by sentences with a topic label. In this comparison, treating noise as its own class makes both effects visible.

Sentence membership for noise in the constructed Factiva test

The CANarEx noise group achieves the highest combined precision and recall score.

Sentence membership for noise in the constructed Factiva testRelatio with 100 entity clusters: 0.3Relatio with 100 entity clusters0.3Relatio with 40 entity clusters: 0.41Relatio with 40 entity clusters0.41CANarEx (this paper): 0.81CANarEx (this paper)0.81
The numbers
System or settingF1
Relatio with 100 entity clusters0.3
Relatio with 40 entity clusters0.41
CANarEx (this paper)0.81

The authors also report a one-sided t-test comparing the percentage of sentences recovered across clusters. They give a test statistic of +6.943 and a p-value of 0.001. Their reported 95% statement is that CANarEx recovers at least 26.8% more sentences than Relatio. The quantity in this statement comes from their analysis of recovery percentages. The temporal errors describe the shape of the counts, and the membership scores show the balance between including the intended sentences and admitting other ones.

What the ablations show

Reference resolution accounts for a consistent gain

The main ablation switches reference resolution and splitting independently within CANarEx. It uses the full extracted collection without sentence selection. This makes it possible to compare reference-resolved and unresolved inputs under each splitting condition, and to compare split and unsplit outputs under each reference condition. The scores are again taken for the output groups that best match the known input series.

With both stages active, the main ablation reports MSEs of 46.6 for Kevin Rudd, 79.4 for climate change, and 155.4 for Indigenous people. With reference resolution active and splitting off, it reports 45, 74.7, and 151.4. When the records are split but coreference is off, the errors are 181.3, 135.3, and 312.8. With both operations off, they are 152.9, 126, and 302.4.

Component settings for the synthetic Kevin Rudd time series

Resolving references improves the fit in both splitting conditions, with the lowest error for intact records.

Component settings for the synthetic Kevin Rudd time seriesBoth components disabled: 152.9Both components disabled152.9Splitting enabled alone: 181.3Splitting enabled alone181.3Reference resolution and splitting enabled: 46.6Reference resolution and splittingenabled46.6Reference resolution enabled alone (this paper): 45Reference resolution enabled alone (thispaper)45
The numbers
System or settingMSE
Both components disabled152.9
Splitting enabled alone181.3
Reference resolution and splitting enabled46.6
Reference resolution enabled alone (this paper)45

The gain from reference resolution holds across the unfiltered comparisons. With splitting enabled, the comparison is between the full pipeline and the one that separates relationships without first rewriting mentions. Without splitting, it is between the reference-resolved intact records and the records produced when both options are disabled. The same direction of change across topics and splitting conditions gives the authors a direct basis for attributing part of the recovery gain to reference resolution.

The proposed explanation concerns the words available in each record. A phrase that makes the identity of a participant explicit can connect an extraction to accounts in other sentences. Without that substitution, the record may provide only a pronoun or a less informative expression to the grouping stage. Coreference can also change which sentence looks representative to a filter, since selection is applied to the processed material. The unfiltered results show the benefit even in the absence of that route.

Splitting makes smaller accounts visible

Within the unfiltered experiment, leaving the records intact gives lower MSE in either reference condition. The smallest error for each topic comes from the version that resolves references and leaves the records intact. Splitting adds a modest cost when reference resolution is active. The authors still value the option because a smaller extraction can make an embedded predicate and its participants easier to examine.

The paper gives two possible reasons for the increase in error. Splitting can introduce unwanted units into the output. A larger frame may contain material that resembles a self-contained relation under the rule for splitting, and the resulting phrase may be an awkward or noisy item to cluster. The same mechanism also produces readable relationships that were hard to distinguish within the larger frame. Aggregate recovery error measures the result of both kinds of change.

The other explanation concerns the design of the test. Each input sentence carries a single cluster label. CANarEx can extract several relationships from such a sentence, and those relationships can land in different clusters. The second relationship may make sense to a reader, while its contribution to another group’s count increases the error against the assigned input series. The benchmark asks whether sentences recover their designated pattern. A split extraction also raises the distinct question of which relationships the sentence expresses.

The paper compares low-dimensional pictures of the representation space with and without splitting. The authors judge that the thematic concepts are still visible in the variant with micro-narratives. The visual check supports their account of why retaining the option can be worthwhile. For a researcher examining the output phrases, it provides smaller units to read. For a researcher optimizing the reported temporal score, the intact reference-resolved records are the better setting on this test.

Sentence selection changes the balance again

In the filtering experiments, the full CANarEx configuration with TextRank returns MSEs of 345.1 for Kevin Rudd, 444.1 for climate change, and 677.4 for Indigenous people. The corresponding TopN scores are 782.4, 1530.6, and 2359.2. Both filters increase error compared with the full unfiltered configuration, and TextRank gives lower error than TopN on these runs. The authors relate TopN’s larger errors to the amount of narrative material it cuts.

CANarEx still has lower MSE than Relatio in the corresponding filtered comparisons. In the TextRank comparison, the 40-cluster Relatio condition yields 468.5, 1952.6, and 759.6 for the three topics in the same order. The 100-cluster values are 1564, 2829.4, and 1428.2. In the TopN comparison, the 40-cluster Relatio values are 2837.2, 8218.8, and 2393.2, and the 100-cluster values are 2482.5, 9196.4, and 2454.1. The filtered results quantify both the advantage against a baseline in those comparisons and the price CANarEx pays for reducing its own input.

The TextRank component experiment shows the same direction of effect as the main ablation. With reference resolution and intact records, the errors are 313.2, 389.7, and 618.6 for the original topics. With splitting enabled but coreference disabled, they are 2454.9, 2093.3, and 3511.2. With both operations disabled, they are 1977, 1916.8, and 3188. Hence, for TextRank, using references helps under either splitting condition, and the version with reference resolution and intact records gives the lowest error throughout.

TopN produces a more variable comparison. With coreference and intact records, the errors are 775.6, 1529.2, and 2422.4. Splitting under the same reference condition raises the error for Kevin Rudd and climate change and lowers it for Indigenous people. When TopN uses neither operation, the Indigenous people error is 2324.3, the smallest for that topic among the TopN component settings. With splitting and no coreference, that topic’s error is 2413.9. The authors describe the filtered studies as broadly consistent with the main ablation. The individual TopN results show that the contribution of each stage can vary when the document filter determines which sentences are available.

The authors report that TextRank improves as the retained ratio increases. This accords with the direction of the comparison to the unfiltered experiment. If a sentence contains a relation important to a time series, it contributes to recovery only when the selection rule lets the relation reach extraction. A filter can reduce repetition and make a collection manageable while also suppressing a signal that the task is trying to measure.

What the qualitative comparisons add

The authors inspect the synthetic Indigenous people material through relationships involving the Indigenous voice. The TopN illustration presents different things the discourse says about that entity, including a need for a voice, references to a legislative voice, and a proposal to enshrine it in the constitution. Verbs such as need, provide, and enshrine let an analyst see how the subject appears in distinct accounts. The examples show why it is useful to retain the predicate and its associated phrases once sentences have been selected.

The appendix offers views of the same subject using TextRank and using the unfiltered collection. In the unfiltered view, the many micro-narratives create a more diffuse set of links. After selection the associations among the remaining entities are easier to follow. This gives a concrete sense of the gain a researcher might see from filtering even though the unfiltered set better reproduces the curves. Graph readability depends on the concentration of the displayed relationships. Temporal recovery benefits from material whose individual contribution may be hard to see in a crowded graph.

Close inspection also shows how an apparently relevant record can convey only part of an account. In one extraction about the kind of institution the Indigenous voice would be, the pipeline retains body where the authors judge that standalone body is the relevant span. The short version omits a feature that matters to the identity of what is proposed. Grouping that record with its intended topic could still count as a membership success. The qualitative view exposes a different question: whether the representation preserves the content a researcher needs to read.

Limitations

Limits identified by the authors

The authors emphasize the dependence of CANarEx on its reference resolver and role labeler. Their pipeline can substitute improved components as they become available. The published results reflect the particular components, order of operations, and settings used. Reference resolution can affect which participant appears in an extraction, while role labeling can affect which words are attributed to a predicate and which span becomes an argument. An error at either stage can alter the records the analyst ultimately groups and counts.

The authors call for direct evaluation of role labeling on sentences that have already undergone reference resolution. Rewriting may help the labeler locate and describe the right participant or may give it an awkward expression to interpret. The magnitude of the rewriting in the two corpora shows how frequently its output enters this stage. The recovery comparisons measure the net result for the whole pipeline. An accuracy study on individual roles in rewritten text would address the behavior of the component itself. The paper raises the possibility of performing reference resolution and role labeling jointly.

The authors also acknowledge that a valid predicate frame can generate a triple of little use as a narrative, and that splitting introduces some noise. Cleanup and filtering remove some of this material. The remaining issues invite examination of the output phrases, including the span boundaries that determine how much of each participant’s description survives. The Indigenous voice example gives one instance in which relevance at the level of the topic coexists with lost meaning at the level of the argument.

Filtering is another limit the authors state explicitly. A selection criterion based on the main material of a document can remove valid relationships. This is evident in the temporal penalty and in the better performance of TextRank than TopN in the reported full configurations. The choice of filter and retained ratio depends on the aim of the analysis. A concise view of the dominant connections can be valuable for inspection. A time series that is meant to capture activity across the source collection depends on coverage of the material contributing to it.

Limits of the benchmark and of its interpretation

The quantitative test measures recovery under controlled conditions built around Factiva examples. Topic sentences are chosen near group centroids and generated variants pass a similarity screen. These choices offer a way to construct a corpus with recognizable categories and prescribed timing. They also shape the kind of variation seen in the test. It remains an open question how the gains would carry over to accounts whose connection is hard to capture through the sentence similarity used for selection, or to categories established independently by readers examining naturally occurring documents.

Sentence representations contribute to the task at both ends. They help define the examples and screen the generated sentences, and the CANarEx grouping stage uses an embedding of the extracted relationship. That shared emphasis can matter when comparing a method that groups whole expressions with one originally designed to reduce entity phrases. A comparison using independently labeled narrative relationships would test whether the same advantage holds when the test categories arise from a different form of judgment. The corpus illustrations show recognizable output on real sources and leave this quantitative question open.

The labels apply to sentences as members of a topic or noise class. That makes them suitable for prescribing the number of topic sentences at a time point. The validity of each extracted relation is a finer-grained question. A sentence may support several readings at the level of its individual predicates. An evaluation that marked those relations separately could distinguish cases in which CANarEx finds a legitimate embedded account from cases in which it introduces a spurious record. The authors’ explanation of the splitting penalty points to exactly this ambiguity.

Random document assembly also matters for interpreting the contribution of coreference. The synthetic documents resemble the news collection in their distribution of sentence counts. The test gives the researchers precise control over topic activity and a way to compare reference conditions. A naturally composed article or speech can develop a referent through a connected sequence of sentences. That continuity is a separate property from the number of sentences in a document. The applications to the original corpora provide examples of what the resolver changes in that setting, while the benchmark supplies an assessment tied to planted series.

The regression score estimates how closely a recovered group follows the timing of an original series after fitting its baseline and scale. The result is strongest as evidence about shape. Accurate estimates of absolute counts would need a criterion that also rewards matching baselines and amplitudes. Similarly, the best-match procedure has access to the original topic series as it selects an output group. In exploratory research, a person has to identify the relevant group by its contents or by other evidence. The paper’s readable triples help show what might be inspected for that purpose. How reliably a researcher could identify the desired group is a separate empirical question.

The comparisons against Relatio also cover several changes at once. CANarEx changes how mentions are handled, how relationships can be subdivided, and which expressions are embedded for grouping. The ablation provides specific evidence about the first two operations and about sentence selection within CANarEx. A comparison changing only entity-level versus whole-record grouping under otherwise identical conditions would give a more direct measure of the contribution of that design choice. The paper’s full-system advantage establishes the performance of the combination it evaluates.

Finally, the paper’s social science motivation includes using structured text measurements in research on public discourse and decision making. Its experiments establish what can be recovered from text given known patterns of occurrence and show how selected extracts can be read. Relating trends in similar records to political or social outcomes would require an additional study. Such a study would also have to account for how the sources produce and select the accounts on which the measure depends.

What came after

DiNO: Disinformation Narrative Observer (2026) cites CANarEx in work concerned with observing narratives about disinformation. Its title identifies a further application area for narrative analysis. The citation establishes the connection to CANarEx. Whether DiNO adopts its participant–predicate records, its grouping of complete expressions, or its approach to measuring change over time remains open.

Cite

Cite as Nandini Anantharama, Simon Angus and Lachlan O'Neill. 2022. CANarEx: Contextually Aware Narrative Extraction for Semantically Rich Text-as-data Applications. Findings of the Association for Computational Linguistics: EMNLP 2022.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2022.findings-emnlp.260

@inproceedings{anantharama2022canarex,
  title = {{CANarEx: Contextually Aware Narrative Extraction for Semantically Rich Text-as-data Applications}},
  author = {Nandini Anantharama, Simon Angus and Lachlan O'Neill},
  booktitle = {Findings of the Association for Computational Linguistics: EMNLP 2022},
  year = {2022},
  doi = {10.18653/v1/2022.findings-emnlp.260},
  url = {https://doi.org/10.18653/v1/2022.findings-emnlp.260}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/anantharama-2022-canarex-contextually-aware-narrative-extraction/