WorksComputer Science
CART: Clustering-based Analysis of Recurring narratives for Taxonomy construction
Abstract
We present CART, a computational pipeline for extracting political narratives from parliamentary discourse and organizing them into a data-driven taxonomy without relying on predefined narrative categories. It encodes parliamentary discourse using semantic representations, filters relevant and reliable content through unsupervised confidence estimation, extracts narrative statements using LLMs, and uses narrative clustering and cluster analysis to construct a narrative taxonomy. Applied to Greek Parliament proceedings surrounding the 2023 Tempi train crash, it identifies ten recurring narrative families concerning responsibility attribution, institutional failure, railway safety, accountability, privatization, and the political interpretation of the tragedy. Our results demonstrate how combining unsupervised learning with LLM narrative extraction enables large parliamentary corpora to be transformed into interpretable, data-driven taxonomies of political narratives.
Introduction
On February 28, 2023, a passenger train collided head-on with a freight train near Tempi, Greece, causing 57 deaths. The disaster prompted sustained public and parliamentary debate over its causes, institutional responsibility, and the subsequent investigation.1 These developments generated a large body of parliamentary discourse in which political actors framed the causes of the crash, assigned responsibility, and interpreted the investigation.
From a computational perspective, this setting poses a challenging narrative analysis problem. Parliamentary discourse is large, heterogeneous, and only partly relevant to the event, while no annotated relevance labels or predefined narrative categories are available. Political narratives must therefore be inferred from recurring interpretive claims. Manual coding is difficult at scale, making it necessary to identify relevant discourse, extract narratives, and organize them into interpretable families.
Political narratives shape policy [10], provide causal interpretations and attribute responsibility [32], function as persuasive mechanisms [14], and enable emotional engagement [18]. Drawing on Nikolaidis et al. [19] and Patterson and Monroe [22], we define political narratives as recurring, overt or implicit claims that promote a particular interpretation of an ongoing political issue. In this study, a narrative statement is a concise claim about the Tempi crash, its causes, responsibility, the investigation, or its broader political interpretation, while a narrative family is a group of semantically related statements expressing a recurring interpretation.
Advances in Natural Language Processing (NLP), Machine Learning (ML), and Large Language Models (LLMs) have supported growing interest in the analysis of narratives and political discourse [3, 5, 16]. However, existing approaches typically address thematic analysis, narrative extraction, or taxonomy construction separately, providing limited support for settings in which relevant discourse must first be isolated from a much larger corpus and narrative categories are not known in advance. This motivates the need for a workflow that combines thematic filtering, narrative extraction, and taxonomy construction.
To address this challenge, we propose CART (Clustering-based Analysis of Recurring narratives for Taxonomy construction), a computational pipeline that combines semantic text representations for paragraph encoding, unsupervised confidence-guided filtering to retain relevant and reliable content, LLM-assisted narrative extraction validated through manual annotation, and narrative clustering followed by cluster analysis to construct a data-driven taxonomy (illustrated in Figure 1). Our study investigates political narratives surrounding the Tempi train crash through a computational analysis of Greek parliamentary discourse. Specifically, we address two research questions: () how political narratives can be systematically extracted and organized from large-scale discourse using computational methods, and () which narrative families characterize parliamentary debate surrounding the Tempi train crash.

Figure 1. Overview of the CART framework (Pseudocode in Appendix Alg. 1).
The study makes two contributions. Empirically, it identifies and organizes recurring political narratives surrounding the Tempi train crash into a data-driven taxonomy, providing a structured account of responsibility attribution, institutional failure, railway safety, accountability, privatization, and the political interpretation of the tragedy. Methodologically, it introduces CART, a computational workflow for extracting narrative statements and deriving interpretable narrative families without relying on predefined narrative categories. To facilitate reproducibility, both the implementation and the processed dataset are publicly available at https://github.com/semoglou/cart.
Related Work
Most approaches to narrative extraction focus on identifying structural elements such as actors, actions, and events. Traditional NLP methods use tools such as Semantic Role Labeling, Abstract Meaning Representation, and Named Entity Recognition to extract core narrative elements, entity–verb–entity triples, semantic graphs, or specific actors from text [2, 12, 26, 1].
More recently, LLM-based approaches have enabled the extraction of character roles, interpretive frames, and broader narrative structures with less domain-specific training data [21, 31]. However, they may still rely on predefined categories, carefully designed prompts, or exhaustive processing of large corpora, particularly when only part of the corpus is relevant.
For taxonomy construction, traditional approaches often rely on expert-driven manual coding to identify domain-specific narratives and construct narrative codebooks [11, 16]. Recent work has also developed hierarchical taxonomies that capture both broad narrative categories and finer-grained themes [6, 19]. Although interpretable, these approaches can be difficult to scale to large parliamentary corpora and often require predefined categories.
The present study integrates these directions into a unified, largely unsupervised workflow. Existing approaches typically address narrative extraction or taxonomy construction as separate tasks [2, 21, 6, 19]. In contrast, our approach combines unsupervised thematic filtering, LLM-assisted extraction of concise narrative statements, and narrative-level clustering to derive narrative families without relying on predefined narrative categories Figure 1.
Dataset
The dataset used in this study is based on the Greek Parliament Proceedings, which have been increasingly explored in computational linguistics and political analysis [4, 17] (Gavrili-dou et al. 2024). A major resource in this area is the Greek Parliament Proceedings Dataset for Computational Linguistics and Political Analysis by Dritsa et al. [7].2 The Greek Parliament was selected because it constitutes a central institutional arena for political discourse: beyond its legislative and representative functions, it also contributes to the shaping of public opinion and political debate [23, 33]. The dataset spans July 1989 to July 2020 and therefore does not cover the Tempi train crash. To analyze parliamentary discourse after the event, we extended the corpus with more recent Parliament Proceedings, following the data collection and formatting procedures of Dritsa et al. [7]. This ensured consistency with the original dataset and extended the available corpus by five years, from July 2020 to August 2025.
The extended dataset contains 185,857 speech fragments from 907 parliamentary sitting sessions, stored in a CSV file of approximately 534 MB with 11 metadata fields, including speaker name, sitting date, political party, parliamentary session information, government, electoral region, parliamentary role, and gender. Since the study focuses on the Tempi train crash, we constructed a sub-corpus covering March 7, 2023, the first relevant parliamentary entry after the crash, to August 28, 2025. This sub-corpus contains 88,058 speeches, which were segmented into 216,396 original paragraphs for paragraph-level thematic filtering. Speech ID and paragraph ID fields were added to preserve traceability between paragraphs and source speeches.
The paragraph-level corpus was then cleaned by removing procedural or audience-rendered paragraphs, corrupted rows, and paragraphs shorter than 100 characters. Unused metadata fields were dropped, sitting dates were aggregated by month, political party names were standardized in English, and variants of the same party were unified. The cleaned paragraph text was created by lowercasing, punctuation removal, and stress-mark removal. The final analytical dataset contains 117,716 paragraphs with metadata for member name, member gender, sitting date, political party, speech ID, paragraph ID, and cleaned paragraph text. Figure 2 presents monthly paragraph activity across parties; additional political party and gender distribution statistics are provided in Appendix § 9.
Figure 2. Percentage distribution of paragraph activity across political parties by month.
Computational Pipeline
The CART framework consists of three stages that move from parliamentary paragraphs to a narrative taxonomy. First, paragraph-level thematic filtering is used to identify candidate event-related discourse within the larger corpus. Second, LLM-assisted extraction converts relevant paragraphs into concise narrative statements, while excluding paragraphs that do not express a Tempi-specific narrative. Third, narrative-level clustering groups the extracted statements into broader narrative families. This design separates the main analytical units of the study: paragraphs are used for discourse filtering, narrative statements are the product of the extraction, and narrative families form the final taxonomy. Because no predefined narrative categories or relevance labels were available, the pipeline relies primarily on unsupervised methods that exploit the structure of semantic embedding spaces.
Paragraph-Level Thematic Filtering
The first stage aims to reduce the full parliamentary corpus to candidate discourse regions that are likely to contain Tempi-related content. Because no paragraph-level relevance labels were available, we used clustering as an exploratory filtering strategy for grouping semantically related parliamentary paragraphs. Data clustering seeks to identify natural groupings in multidimensional data according to a similarity measure ([20]). In text clustering, however, obtaining clusters that are both semantically coherent and geometrically well separated remains challenging, especially in large, heterogeneous corpora ([25]).
Paragraphs were represented using contextual embeddings generated with the Qwen3-Embedding-8B model ((Zhang et al., 2025)). Contextual embeddings provide dense semantic representations whose values depend on the surrounding linguistic context, allowing them to capture meaning shifts more effectively than static representations ([15]). Since such embeddings are high-dimensional, we applied Principal Component Analysis ([13]) before clustering; a dimensionality analysis assessing retained variance and nearest-neighbor preservation is provided in Appendix § 13.
To group the parliamentary paragraphs into coherent thematic units, we used centroid-based clustering with -means over the PCA-reduced contextual embeddings. This choice provides a scalable and transparent baseline for partitioning a large embedding space. Let denote a paragraph embedding assigned to cluster . For each paragraph, the Silhouette coefficient Rousseeuw, [27] is defined as:
where is the average distance of from the other paragraphs in its assigned cluster, and is the minimum average distance of from the paragraphs of any other cluster. The coefficient captures the balance between cohesion and separation: values close to 1 indicate that a paragraph is well matched to its cluster and well separated from competing clusters, values around 0 indicate boundary cases, and negative values suggest that the paragraph may be better placed in a different cluster [8]. Since the exact Silhouette coefficient requires pairwise distance computations between all paragraphs, direct evaluation is computationally demanding for large corpora. We therefore used a centroid-based approximation (Wang et al., 2017), replacing and with distances to cluster centroids:
where is the centroid of the assigned cluster and is the centroid of cluster . This approximation preserves the intuition of contrasting within-cluster cohesion with separation from the nearest competing cluster, while substantially reducing computational cost.
To determine the number of clusters, we evaluated candidate solutions for . This range was specified in advance as an exploratory search interval, broad enough to allow both general parliamentary themes and more specific event-related subthemes to emerge, while avoiding very small values of that would merge distinct topics and very large values that would produce highly fragmented clusters. For each candidate value, we monitored two complementary aggregate versions of the Silhouette score. The first was the micro-averaged Silhouette score, computed as:
where is the total number of paragraphs. This aggregation gives equal weight to individual paragraphs and therefore reflects the overall geometric quality of the partition. However, because every paragraph contributes equally, the resulting score is naturally influenced more strongly by large clusters [8]. The second was the macro-averaged Silhouette, computed as:
where is the number of clusters and is the size of cluster . Here, Silhouette values are first averaged within each cluster and then across clusters, so that each cluster contributes equally regardless of its size. This makes the criterion more sensitive to smaller and potentially more specialized thematic groups [24].
Both aggregation views were important for the present corpus. Parliamentary discourse is highly uneven: some themes are broad and recurrent, while others appear in smaller but substantively meaningful concentrations. Optimizing only the micro-averaged Silhouette would privilege high-volume clusters, whereas optimizing only the macro-averaged Silhouette could overemphasize small or less stable groups (Yuan et al., 2022). For this reason, among candidate solutions with positive aggregate scores, we selected the value of that maximized the harmonic mean of the two criteria:
The harmonic mean was used as a conservative combination rule because it penalizes candidate solutions when either the micro- or macro-averaged score is low, favoring partitions that perform reasonably well under both perspectives. As an internal validation criterion, this score is not treated as ground-truth evidence of topical relevance; rather, it is used to select a geometrically coherent candidate partition for subsequent relevance screening and narrative extraction. Using this criterion, the initial paragraph-level partition was set to (the corresponding selection curve is provided in Appendix § 11; Figure 5).

Figure 5. Selection of the number of clusters using the harmonic mean (Eq. (5)) of (Eq. (3)) and (Eq. (4)).
After obtaining the initial thematic partition, we applied a confidence diagnostic for paragraph cluster assignments, implemented using the CAKE Python package.3 Additional details on the confidence-scoring procedure are provided in Appendix § 12. Paragraphs in the lower quartile of the confidence score distribution were removed. This threshold was used as a conservative heuristic to exclude the least stable assignments while retaining most of the corpus for refinement. The corresponding score distribution is reported in Appendix § 12, Figure 6. This confidence-based filtering reduced the influence of ambiguous paragraph assignments before the refined thematic partition was constructed.

Figure 6. Distribution of CAKE confidence scores across parliamentary paragraphs.
Using this confidence-filtered subset, we repeated the same cluster-count selection procedure, again using the harmonic mean of the micro- and macro-averaged Silhouette scores. This second pass selected . The refined paragraph-level thematic partition was then produced using -means++ initialization to reduce sensitivity to the initial centroid selection.
Narrative Extraction
Before extracting narrative statements, it was first necessary to identify which of the refined paragraph-level clusters were substantively related to the Tempi train crash. To support this screening step, we constructed cluster-level metadata for each of the 41 refined clusters; the metadata fields are listed in Table 2 in Appendix § 10. Specifically, for each cluster, we recorded its total paragraph count, retrieved the five paragraphs with the highest CAKE scores, and extracted the top 20 TF-IDF terms by concatenating all paragraphs assigned to that cluster. The high-score paragraphs served as representative cluster examples, while the TF-IDF terms provided a compact lexical summary.
| Column | Description |
| Cluster_ID | Index of each cluster. |
| Cluster_title | LLM-generated title based on the representative paragraphs and the TF-IDF terms. |
| Doc_Count | Number of paragraphs in each cluster. |
| Top_TFIDF_terms | Top 20 TF-IDF terms of each cluster. |
| Top_Paragraphs | Top 5 paragraphs of each cluster based on CAKE score. |
| Top_CAKE_Scores | CAKE scores of the top paragraphs. |
Table 2. Description of cluster-level metadata columns
These metadata were then provided to the DeepSeek-R1 model through the Amazon Bedrock API. The model received the representative paragraphs together with the top TF-IDF terms and was instructed to generate a concise descriptive title for each cluster while identifying clusters directly or plausibly related to the Tempi train crash. In this step, the LLM was used as an interpretive aid for cluster screening, rather than as the source of the final narrative taxonomy.4 Five clusters were identified as directly related to the Tempi train crash or as broader themes likely to contain Tempi-related paragraphs. The LLM-generated titles were: Railway Safety and Infrastructure Reform, Government Accountability and Distrust, Cover-up and Accountability Investigations, Tempi Train Crash Accountability Investigation, Parliamentary Investigative Committee Formation. Together, these clusters contained 10,229 paragraphs, forming the sub-dataset for narrative analysis. The top five TF-IDF terms in each relevant cluster are presented in Appendix § 14, Figure 7.

Figure 7. Clustered term map of the five Tempi-related parliamentary themes. Terms were selected from the highest-ranking Tempi-relevant TF-IDF features of each cluster and translated into English for readability. Color grouping indicates cluster membership, while larger terms correspond to higher relative TF-IDF relevance within their respective cluster.
To ensure that the final taxonomy was built from topically relevant material, narrative statement extraction was restricted to this Tempi-focused subset. The same LLM was then used for paragraph-level extraction. For each isolated paragraph, the model was instructed either to generate a single concise narrative statement or to mark the paragraph as irrelevant if it was not substantively focused on the Tempi train crash.5 In addition to the paragraph text, the model was provided with the narrative definition established in § 1, together with the sitting date and the party of the speaker.
Ultimately, 4,537 narrative statements were generated, accounting for 44.35% of the 10,229 paragraphs processed by the model, while the remaining 5,692 paragraphs (55.65%) were classified as irrelevant to the crash. The narrative yield varied substantially across the five Tempi-related clusters: the two most focused clusters produced narrative statements for 95.25% and 77.63% of their paragraphs, while a third cluster yielded narrative statements for 66.67% of its paragraphs. The remaining two clusters were broader thematic clusters with lower narrative yields, producing narrative statements for 18.26% and 7.63% of their paragraphs. This variation indicates that the selected clusters differed in their degree of direct relevance to the Tempi case, justifying the additional paragraph-level relevance filtering performed during extraction.
To assess the LLM-assisted extraction step, we conducted a manual annotation study on a sample of retained paragraphs and generated narrative statements. Across five annotators, the extracted narrative statement was selected as the best-fitting option in 84.6% of annotations, with an annotator-level standard error of 1.21 percentage points. Details are provided in Appendix § 15.6
Narrative Clustering
After the extraction stage, the resulting narrative statements were encoded as embeddings, following the same representation procedure as in the paragraph-level stage, and grouped into broader narrative families to construct the taxonomy. At this stage, each point in the embedding space represented a semantically condensed narrative statement rather than a raw parliamentary paragraph. This made the narrative-level space smaller, less heterogeneous, and more suitable for finer-grained unsupervised analysis.
This difference motivated the use of different clustering procedures. The paragraph-level stage was designed as a large-scale exploratory filtering step, where scalability, transparency, and robustness were prioritized. For that reason, standard -means was used to identify broad thematic regions in the parliamentary corpus. In contrast, the narrative-level stage served as the basis for the final taxonomy, where preserving finer distinctions between semantically related narrative groups was more important. A more specialized silhouette-driven procedure was therefore used at this stage.
To determine the appropriate number of narrative clusters, we employed the Composite Silhouette method.7 Additional details on the cluster-selection procedure are provided in Appendix § 16. This validation procedure was computationally feasible because the extracted narrative corpus was substantially smaller than the paragraph corpus used during thematic filtering, making it practical to assess the stability of candidate solutions across repeated data perturbations. Using this criterion, the selected number of clusters was set to .
Having fixed the number of clusters, we partitioned the narrative embeddings using a silhouette-driven variant of -means designed to produce more reliable centroid updates in semantically fine-grained representation spaces, K-SIL ([28]). Additional details are provided in Appendix § 17. Under identical experimental conditions, standard -means produced an overall Silhouette score of approximately 0.16, whereas the K-SIL partition reached approximately 0.20. This indicates improved cohesion and separation, and we therefore retained the K-SIL solution at as the final partition used to construct the narrative taxonomy (Table 1). Cluster summaries for both solutions are provided in Appendix § 18, including prevalence and mean cluster-level Silhouette.
| Cluster | Narrative family | Representative narrative |
| 0 (13.82%) | Judicial and procedural obstacles to accountability | Forming investigative committees obstructs judicial accountability processes. |
| 1 (23.32%) | Government cover-up of Tempi accountability | Government-led cover-up obstructs Tempi crash accountability. |
| 2 (13.29%) | Systemic governance failures caused preventable disaster | Systemic governance failures caused preventable disaster. |
| 3 (5.20%) | Tempi crash resulted from systemic criminal failure | Tempi crash constitutes criminal systemic failure. |
| 4 (8.42%) | Government obstructs crash investigation to evade accountability | Government obstructs crash investigation to evade accountability. |
| 5 (7.98%) | Negligence caused the preventable Tempi train crash | Infrastructure negligence caused preventable Tempi train crash. |
| 6 (18.45%) | Railway safety remains neglected and unsecured | Railway safety remains unsecured due to governmental failure. |
| 7 (3.13%) | Legal framework shields ministers from accountability | Legal framework shields ministers from Tempi crash accountability. |
| 8 (3.75%) | Opposition exploits the tragedy for political gain | Opposition exploits tragedy for political gain. |
| 9 (2.64%) | Railway privatization caused systemic safety failures | Railway privatization caused systemic safety failures. |
Table 1. Final narrative taxonomy produced from the K-SIL clustering solution (Appendix Fig. 9). The narrative-family labels paraphrase recurring claims expressed by parliamentary speakers and should not be interpreted as factual claims by the authors. Percentages in parentheses indicate each cluster’s share of the extracted narrative corpus, while the final column reports the highest-silhouette representative statement for each cluster. Additional representative narratives for each cluster are provided in Appendix Fig. 10.
Resulting Narrative Taxonomy
The final taxonomy was constructed from the K-SIL partition of the 4,537 extracted narrative statements (Appendix § 18, Figure 9). Each narrative cluster was interpreted using high-silhouette narrative statements together with contrastive terms derived from comparisons with the nearest neighboring clusters. This resulted in ten narrative families, presented in Table 1. The taxonomy organizes recurring parliamentary interpretations concerning the crash itself, accountability, investigation procedures, institutional responsibility, railway safety, privatization, and political exploitation. The cluster labels summarize claims expressed in parliamentary discourse rather than making factual assertions about the events. Figure 3 illustrates the temporal evolution of the discovered narrative families (see Appendix Figs. 11 and 12 for complementary party-level analyses).

Figure 3. Temporal distribution of parliamentary narrative families (3-month centered rolling mean). The stacked area chart shows the monthly prevalence of the narrative clusters across the parliamentary corpus. Each colored band corresponds to one narrative family, and its vertical thickness at a given point indicates the number of narrative statements assigned to that family.

Figure 9. Cluster prevalence and mean cluster-level Silhouette for the ten narrative clusters produced by the K-SIL partition at . Blue bars show the corpus share (%) of each cluster, while red bars show the mean Silhouette score (Eqs. (1), (2)) of each cluster.
The largest narrative family is Cluster 1, Government cover-up of Tempi accountability, accounting for 23.32% of the extracted narrative corpus. It frames the investigation as being obstructed through concealment, institutional manipulation, or interference with accountability processes, expressing a government-led cover-up interpretation of the Tempi crash. The second-largest family is Cluster 6, Railway safety remains neglected and unsecured (18.45%). It shifts attention from the investigation to the condition of the railway system, emphasizing neglected safety mechanisms, non-operational infrastructure, and insufficient reform.
Clusters 0, 2, and 5 form a broader group of accountability and causality narratives. Cluster 0, Judicial and procedural obstacles to accountability, focuses on the institutional and legal processes through which responsibility is investigated, emphasizing judicial evidence, investigative committees, criminal accountability, and procedural constraints. Cluster 2, Systemic governance failures caused preventable disaster, presents the crash as the outcome of broader governance failures rather than an isolated event. Cluster 5, Negligence caused the preventable Tempi train crash, links infrastructure negligence, governmental incompetence, and preventability directly to the crash.
A second set of clusters captures more specific responsibility-oriented narratives. Cluster 3, Tempi crash resulted from systemic criminal failure, frames the disaster as the result of unresolved systemic and potentially criminal failures. Cluster 7, Legal framework shields ministers from accountability, focuses on ministerial responsibility and legal or constitutional mechanisms presented as limiting criminal liability. Cluster 9, Railway privatization caused systemic safety failures, attributes railway safety failures to privatization, fragmentation, and insufficient investment guarantees. Cluster 8, Opposition exploits the tragedy for political gain, differs from the other families by framing the tragedy as politically instrumentalized by opposition parties rather than assigning responsibility for the crash or its investigation. It also has the highest mean Silhouette score, making it the most geometrically distinct narrative family. Because several clusters were semantically close, we examined their semantic proximity using centroid cosine similarity (Figure 4), complemented by contrastive TF-IDF terms to distinguish closely related narrative families. The closest pair was Clusters 6 and 9 (cosine similarity 0.590). Although both concern railway safety failures, Cluster 6 emphasizes ongoing safety neglect, whereas Cluster 9 attributes these failures specifically to privatization and railway fragmentation. Likewise, Cluster 1 captures a broader cover-up narrative, while Cluster 4 focuses on obstruction of the investigation. Cluster 2 expresses a systemic-governance interpretation, whereas Cluster 5 directly attributes the Tempi crash to negligence.

Figure 4. Centroid cosine similarity matrix for the ten narrative families. Higher values indicate greater semantic proximity between cluster centroids.
The temporal distribution in Figure 3 suggests that the salience of the narrative families changed over the course of the parliamentary debate. Activity in March 2023 appears to reflect the immediate framing of the crash, with responsibility, preventability, and railway safety already prominent. The renewed increase in late 2023 coincides with greater visibility of institutional and procedural narratives concerning the investigation, accountability mechanisms, and legal responsibility.
A stronger peak around the first anniversary in March 2024 indicates renewed parliamentary attention to accountability and railway safety. The largest increase in early 2025 reflects a broader intensification of the debate: governmental responsibility and railway safety remain prominent, while ministerial accountability, privatization, and political exploitation become more visible. Overall, the pattern is consistent with a shift from immediate interpretations of the crash toward a debate over institutional responsibility, legal accountability, and its broader political meaning.
Taken together, the results show that parliamentary discourse surrounding the Tempi train crash is organized around multiple recurring narrative families that capture distinct yet overlapping interpretations of responsibility, institutional failure, accountability, and political meaning.
Conclusion
This study investigated recurring political narratives surrounding the Tempi train crash through a computational analysis of Greek Parliament proceedings. To this end, we introduced CART, a computational pipeline for extracting narrative statements and organizing them into a data-driven taxonomy without relying on predefined narrative categories. The taxonomy identified ten narrative families spanning accountability, safety, systemic governance failures, negligence, privatization, and the political interpretation of the tragedy. Their prominence also evolved over time, reflecting changes in parliamentary debate. Together, these findings provide a structured account of the recurring political interpretations surrounding the Tempi crash and illustrate how CART supports their systematic extraction and organization. Methodologically, the analysis highlights the complementary roles of confidence-informed filtering, balanced cluster selection, and silhouette-driven clustering in constructing the resulting narrative taxonomy.
More broadly, CART is designed for text collections containing recurring interpretations of a target issue. Its application requires appropriate text preprocessing and sufficient recurring interpretive content, while contextual metadata can support extraction and subsequent analyses where available. By deriving narrative families directly from textual data rather than predefined categories, CART provides a flexible framework for systematically identifying and organizing recurring narratives across diverse textual corpora.
Limitations
As with other unsupervised approaches, the outcomes of CART depend partly on the semantic representations and clustering configurations employed. The framework addresses these methodological considerations through systematic cluster selection, confidence-informed refinement, and clustering diagnostics. Nevertheless, alternative embedding models or parameter configurations may yield different levels of narrative granularity.
The LLM-assisted extraction stage also involves modeling choices, particularly regarding the language model and prompting strategy. Although the extracted narrative statements were assessed through manual annotation, further comparisons across model configurations could provide additional evidence of their consistency.
Acknowledgments
This work has been partially supported by project MIS 5154714 of the National Recovery and Resilience Plan Greece 2.0 funded by the European Union under the NextGenerationEU Program.
Author Contributions. AS: Methodology; Formal Analysis; Software; Writing (Original Draft); Validation; Visualization. TT: Methodology; Software; Writing (Original Draft); Investigation. JP: Conceptualization; Methodology; Writing (Review/Editing); Supervision.
Dataset Statistics
The corpus is unevenly distributed across political parties. Nea Dimokratia accounts for the largest share of paragraphs (36.87%), followed by SYRIZA-PS (12.04%), PASOK-KINAL (11.63%), KKE (8.08%), Plefsi Eleftherias (7.94%), and Elliniki Lysi (7.37%). The remaining political parties have smaller shares: Nea Aristera (5.16%), Niki (4.63%), Spartiates (3.52%), Independents (2.44%), and MeRA25 (0.31%). The corpus is also gender-imbalanced, with male speakers accounting for 77.43% of the paragraphs and female speakers for 22.57%.
Cluster Metadata Columns
Table 2 lists the cluster-level metadata fields used during the Tempi-related cluster screening step described in § 4.2. These fields were constructed for each of the 41 refined paragraph-level clusters and were provided to the LLM to support cluster titling and relevance screening before narrative statement extraction.
Cluster Count Selection
Figure 5 reports the cluster-count selection curve used for the initial paragraph-level thematic filtering stage described in § 4.1. Candidate partitions were evaluated over using the harmonic-mean criterion defined in Eq. (5), which combines the micro- and macro-averaged Silhouette scores (Eqs. (3)–(4)). This criterion selected for the initial thematic partition before confidence-based refinement.
CAKE Confidence Scoring
To assess the reliability of paragraph-level cluster assignments in § 4.1, we employed CAKE (Semoglou and Pavlopoulos, [30]), implemented using the CAKE package.8 The method jointly estimates how consistently each paragraph is assigned and how well it is supported by the learned clustering structure across repeated clustering runs. In the present study, confidence scores were computed from an ensemble of 30 -means runs. The resulting confidence scores were used as a post-clustering filtering criterion. Paragraphs in the lower quartile of the confidence score distribution were removed before constructing the refined thematic partition. Figure 6 reports the distribution of CAKE confidence scores obtained for the parliamentary paragraphs during the initial thematic clustering stage. The distribution illustrates the confidence values used to identify uncertain paragraph assignments prior to the refinement step.
PCA Dimensionality Analysis
Table 3 reports a PCA dimensionality analysis for the paragraph embeddings used in the paragraph-level thematic filtering stage described in Section § 4.1. Rather than evaluating PCA as a clustering-score optimization step, this analysis evaluates it as a representation-preservation step. We report the proportion of retained variance and nearest-neighbor preservation relative to the original embedding space, computed as Recall@10 on a random subsample of 10,000 paragraphs. We retained PCA-200 in the main analysis as a conservative intermediate representation: it preserves 71.60% of the embedding variance and 81.08% of original-space nearest neighbors, while avoiding the additional cost of PCA-300 and PCA-400.
| Rep. | Var. | NN R@10 | Time (s) |
| PCA-25 | 0.3117 | 0.3438 | 5.70 |
| PCA-50 | 0.4337 | 0.5166 | 5.10 |
| PCA-100 | 0.5726 | 0.6741 | 9.25 |
| PCA-150 | 0.6574 | 0.7588 | 8.02 |
| PCA-200 | 0.7160 | 0.8108 | 11.31 |
| PCA-250 | 0.7592 | 0.8452 | 13.14 |
| PCA-300 | 0.7924 | 0.8719 | 15.46 |
| PCA-400 | 0.8403 | 0.9071 | 18.57 |
Table 3. PCA dimensionality analysis for paragraph embeddings. NN Recall@10 measures nearest-neighbor preservation relative to the original embedding space on a random subsample of 10,000 paragraphs.
Paragraph-Cluster Terms
Figure 7 presents the top TF-IDF terms for the five paragraph-level clusters identified as directly or plausibly related to the Tempi train crash during the narrative extraction stage described in § 4.2. These clusters were produced by the refined paragraph-level thematic partition before narrative extraction. The figure therefore summarizes the lexical content of the paragraph clusters used to select the Tempi-focused subset of 10,229 paragraphs.
Annotation Study
To assess the narrative extraction procedure described in § 4.2, we conducted a forced-choice validation study on a sample of 100 paragraphs. For each paragraph, annotators were shown the original parliamentary paragraph together with four options: the extracted narrative statement, a randomly sampled narrative statement from another paragraph, an intentionally false LLM-generated narrative statement, and a “None of the above” option. Annotators were asked to select the option that best captured the narrative expressed in the paragraph.9
Five native Greek-speaking annotators (three with academic backgrounds in the humanities or social sciences and two with computational backgrounds) completed the task, yielding 500 total annotations. Since each annotator evaluated 100 paragraphs, the annotator-level means in Table 4 correspond directly to percentages. Overall, the extracted narrative statement was selected in 84.6% of annotations. At the annotator level, the mean extracted-selection rate was 84.6%, with a standard deviation of 2.70 percentage points and a standard error of the mean of 1.21 percentage points.
| Option | Mean (%) | SD | SEM |
| Extracted narrative | 84.60 | 2.70 | 1.21 |
| Random narrative | 4.40 | 2.07 | 0.93 |
| False narrative | 4.80 | 1.30 | 0.58 |
| None of the above | 6.20 | 1.30 | 0.58 |
Table 4. Annotation results for the narrative validation task. Mean, Standard Deviation (SD), and Standard Error of the Mean (SEM) are computed across the five annotators.
The same pattern was observed under majority-vote aggregation over the 100 annotated paragraphs. The extracted narrative was selected as the majority label for 86 paragraphs, while the random, false, and “None of the above” options were selected for 4, 4, and 6 paragraphs, respectively.
As a secondary diagnostic, mean pairwise raw agreement among annotators was 89.5%, and mean pairwise Cohen’s was 0.616. These values are reported only as supplementary evidence, since the primary purpose of the study was to evaluate
whether annotators selected the extracted narrative statement over the alternatives.
These results suggest that, under a constrained forced-choice validation design, the extracted narrative statements were usually selected as the best-fitting option. The lower selection rates for the random, false, and “None of the above” options indicate that the task retained meaningful distractors and ambiguous cases, while the extracted statements were selected substantially more often than the alternatives.
A supplementary analysis identified annotator disagreement in 26 of the 100 paragraphs. Non-extracted selections included all distractor categories (31 “None of the above”, 24 false narratives, and 22 random narratives). Extracted–random narrative TF-IDF similarity was higher in paragraphs with disagreement (0.0293 vs. 0.0119), with a moderate positive association between similarity and disagreement (Spearman’s ).
Composite Silhouette Cluster Selection
To determine the number of narrative clusters, as described in § 4.3, we employed Composite Silhouette (Semoglou et al., [29]), implemented using the Composite Silhouette package.10 The method extends the balancing strategy adopted during paragraph-level clustering by jointly considering the micro- and macro-averaged Silhouette scores. The former reflects the overall geometric quality of the partition, whereas the latter gives equal weight to smaller clusters that may correspond to less frequent but analytically meaningful narratives. Rather than combining these complementary perspectives through a fixed harmonic mean, Composite Silhouette evaluates and adaptively combines them across repeated clustering runs on subsampled data, reducing sensitivity to any single sample or aggregation strategy.
In the present study, this validation procedure selected as the final number of clusters.
Silhouette-Weighted Clustering
To construct the final narrative taxonomy (§ 4.3), we employed K-SIL (Semoglou et al., [28]), a silhouette-driven instance-weighted variant of -means. Unlike standard -means, which updates cluster centroids as unweighted means of all assigned instances, K-SIL reweights each instance according to a silhouette-based confidence signal. In K-SIL, centroid updates are computed as softmax-weighted means of the assigned instances with an adaptive temperature parameter that controls the sharpness of the weighting distribution. Embeddings that are more clearly associated with their assigned cluster therefore exert greater influence on centroid updates, whereas embeddings located in more ambiguous boundary regions contribute less. This weighting scheme is well suited to narrative data, where some statements express a distinctive interpretation while others lie near the boundary between related themes.
Narrative Cluster Summaries
Figure 8 presents the cluster-level summary for the standard -means baseline at , while Figure 9 presents the corresponding summary for the final K-SIL partition. The comparison provides additional context for the aggregate Silhouette improvement reported in the main text, showing differences in both cluster prevalence and mean cluster-level Silhouette.

Figure 8. Cluster prevalence and mean cluster-level Silhouette for the ten narrative clusters produced by the standard -means baseline at . Blue bars show the corpus share (%) of each cluster, while red bars show the mean Silhouette score (Eqs. (1), (2)) of each cluster.
Figure 11 illustrates the temporal evolution of narrative production across parliamentary parties, complementing the narrative-family dynamics presented in the main text by showing how overall narrative activity varied across parties over time. Figure 12 further summarizes the dominant narrative family for each parliamentary party by reporting the proportion of narrative statements assigned to its most prevalent narrative family, providing an overview of the principal narrative orientation of each party.

Figure 11. Temporal evolution of narrative production by parliamentary party. The stacked areas represent the monthly number of narrative statements attributed to each party, while the black line indicates the total volume of narrative statements across all parties. Values are smoothed using a three-month centered rolling mean to emphasize broader temporal trends.

Figure 12. Dominant narrative family by parliamentary party. Each horizontal bar represents a parliamentary party, with its length indicating the percentage of the party’s narrative statements assigned to its most prevalent narrative family. Labels identify the dominant narrative family together with its percentage share and the corresponding number of narrative statements.

Figure 10. Representative narratives for the final narrative clusters (Table 1). For each narrative family, three illustrative examples are shown, selected using a combined criterion that rewards both silhouette-based centrality and lexical distinctiveness against all other clusters.
Algorithm 1: The CART Framework
Input: Parliamentary corpus
Output: Narrative taxonomy
Stage I – Thematic Filtering
Encode every parliamentary paragraph using contextual embeddings;
Reduce embedding dimensionality using PCA;
for do
Cluster embeddings with k-means;
Compute the micro-averaged Silhouette score;
Compute the macro-averaged Silhouette score;
Compute
Select the value of maximizing ;
Cluster the complete paragraph corpus;
Estimate assignment confidence using CAKE;
Remove paragraphs belonging to the lowest confidence quartile;
Repeat cluster selection on the confidence-filtered corpus;
Construct the refined thematic partition;
Stage II – Narrative Extraction
For every refined cluster, construct metadata consisting of
cluster size;
five highest-confidence paragraphs;
top TF–IDF terms;
Prompt the LLM to
generate a descriptive cluster title;
identify Tempi-related clusters;
Collect all paragraphs belonging to the selected clusters;
foreach paragraph do
Generate one concise narrative statement;
If the paragraph does not express a Tempi-related narrative,
discard it;
Store the extracted narrative statements;
Stage III – Narrative Cluster Analysis
Encode narrative statements using contextual embeddings;
Determine the optimal number of clusters using Composite Silhouette;
Cluster the narrative embeddings using K-SIL;
foreach cluster do
Retrieve representative high-Silhouette narrative statements;
Compute contrastive TF–IDF terms;
Assign an interpretable narrative-family label;
Return the narrative taxonomy;
References
- [1]Evelin Amorim, Ricardo Campos, Alipio Jorge, Pedro Mota, and Rúben Almeida. 2024. text2story: A python toolkit to extract and visualize story components of narrative text. In Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024), pages 15761–15772, Torino, Italia. ELRA and ICCL.
- [2]Nandini Anantharama, Simon Angus, and Lachlan O’Neill. 2022. CANarEx: Contextually aware narrative extraction for semantically rich text-as-data applications. In Findings of the Association for Computational Linguistics: EMNLP 2022, pages 3551–3564, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics.DOI
- [3]Stephen Paul Anning. 2023. Connecting Peace Studies and Natural Language Processing to Rethink Hate Speech Detection as Hostile Narrative Analysis. Ph.D. thesis, University of Southampton.
- [4]Epameinondas-Konstantinos Barmpounis, John Pavlopoulos, Panos Louridas, and Konstantina Dritsa. 2024. Recognition and analysis of the proceedings of the greek parliament after WWII. DHQ: Digital Humanities Quarterly, 18(1).DOI
- [5]Matteo Berta, Salvatore Greco, Giuseppe Tipaldo, and Tania Cerquiletti. 2024. Decoding Narratives: Towards a Classification Analysis for Stereotypical Patterns in Italian News Headlines. In 2024 IEEE International Conference on Big Data (BigData), pages 5253–5262.DOI
- [6]Travis G. Coan, Constantine Boussalis, John Cook, and Mirjam O. Nanko. 2021. Computer-assisted classification of contrarian claims about climate change. Scientific Reports, 11(1):22320.DOI
- [7]Konstantina Dritsa, Aikaterini Thoma, Ioannis Pavlopoulos, and Panos Louridas. 2022. A Greek Parliament Proceedings Dataset for Computational Linguistics and Political Analysis. In Advances in Neural Information Processing Systems, volume 35, pages 28874–28888. Curran Associates, Inc.
- [8]Andrzej Dudek. 2020. Silhouette index as clustering evaluation tool. In Classification and Data Analysis, pages 19–33, Cham. Springer International Publishing.DOI
- [10]Maarten A. Hajer. 1997. The Politics of Environmental Discourse: Ecological Modernization and the Policy Process. Oxford University Press.DOI
- [11]Brian Hughes, Cynthia Miller-Idriss, Rachael Piltch-Loeb, Beth Goldberg, Kesa White, Meili Criezis, and Elena Savoia. 2021. Development of a codebook of online anti-vaccination rhetoric to manage COVID-19 vaccine misinformation. International Journal of Environmental Research and Public Health, 18(14):7556.DOI
- [12]Elise Jing and Yong-Yeol Ahn. 2021. Characterizing Partisan Political Narrative Frameworks about COVID-19 on Twitter. EPJ Data Science, 10(1):53.
- [13]Ian Jolliffe. 2025. Principal component analysis. In Miodrag Lovric, editor, International Encyclopedia of Statistical Science, pages 1945–1948. Springer Berlin Heidelberg, Berlin, Heidelberg.
- [14]Michael D. Jones, Mark K. McBeth, and Elizabeth A. Shanahan. 2014. Introducing the Narrative Policy Framework, pages 1–25. Palgrave Macmillan US, New York.
- [15]Daniel Jurafsky and James H. Martin. 2026. Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition with Language Models. 3rd edition. Online manuscript released August 19, 2026.
- [16]Bonka Kotseva, Irene Vianini, Nikolaos Nikolaidis, Nicolò Faggiani, Kristina Potapova, Caroline Gasparro, Yaniv Steiner, Jessica Scornavacche, Guillaume Jacquet, Vlad Dragu, Leonida della Rocca, Stefano Bucci, Aldo Podavini, Marco Verile, Charles Macmillan, and Jens P. Linge. 2023. Trend Analysis of COVID-19 Mis/Disinformation Narratives–A 3-year Study. PLOS ONE, 18(11):1–26.DOI
- [17]Vanessa Lislevand, John Pavlopoulos, Panos Louridas, and Konstantina Dritsa. 2024. Estimating the emotion of disgust in Greek parliament records. In Proceedings of the 8th Workshop on Online Abuse and Harms (WOAH 2024), pages 118–135, Mexico City, Mexico. Association for Computational Linguistics.DOI
- [18]Bryan McLaughlin, John A. Velez, and Joshua A. Dunn. 2019. The political world within: How citizens process and experience political narratives. Annals of the International Communication Association, 43(2):156–172.DOI
- [19]Nikolaos Nikolaidis, Nicolas Stefanovitch, Purificação Silvano, Dimitar Iliyanov Dimitrov, Roman Yangarber, Nuno Guimarães, Elisa Sartori, Ion Androutsopoulos, Preslav Nakov, Giovanni Da San Martino, and Jakub Piskorski. 2025. PolyNarrative: A multilingual, multilabel, multi-domain dataset for narrative extraction from news articles. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 31323–31345, Vienna, Austria. Association for Computational Linguistics.
- [20]Mahamed G. H. Omran, Andries P. Engelbrecht, and Ayeed Salman. 2007. An overview of clustering methods. Intelligent Data Analysis, 11(6):583–605.DOI
- [21]Yulia Otmakhova and Lea Fremann. 2025. Narrative Media Framing in Political Discourse. In Findings of the Association for Computational Linguistics: ACL 2025, pages 9167–9196, Vienna, Austria. Association for Computational Linguistics.arxiv.org/abs/2506.00737
- [22]Molly Patterson and Kristen Renwick Monroe. 1998. Narrative in Political Science. Annual Review of Political Science, 1(1):315–331.
- [23]Lukas Pätz, Moritz Beyer, Jannik Späth, Lasse Bohlen, Patrick Zschech, Mathias Kraus, and Julian Rosenberger. 2025. Analyzing German parliamentary speeches: A machine learning approach for topic and sentiment classification. Preprint, arXiv:2508.03181.arxiv.org/abs/2508.03181
- [24]John Pavlopoulos, Georgios Vardakas, and Aristidis Likas. 2025. Revisiting silhouette aggregation. In Discovery Science, pages 354–368, Cham. Springer Nature Switzerland.arxiv.org/abs/2401.05831
- [25]Alina Petukhova, João P Matos-Carvalho, and Nuno Fachada. 2025. Text clustering with large language model embeddings. International Journal of Cognitive Computing in Engineering, 6:100–108.DOI
- [26]Armin Pournaki and Tom Willeart. 2025. Extracting narrative signals from public discourse: a network-based approach. Humanities and Social Sciences Communications, 12(1):1774.arxiv.org/abs/2411.00702
- [27]Peter J. Rousseeuw. 1987. Silhouettes: A graphical aid to the interpretation and validation of cluster analysis. Journal of Computational and Applied Mathematics, 20:53–65.DOI
- [28]Aggelos Semoglou, Aristidis Likas, and John Pavlopoulos. 2026. Silhouette-Driven Instance-Weighted k-means. Preprint, arXiv:2506.12878.arxiv.org/abs/2506.12878
- [29]Aggelos Semoglou, Aristidis Likas, and John Pavlopoulos. 2027. Composite Silhouette. In Machine Learning and Knowledge Discovery in Databases. Research Track, pages 661–678, Cham. Springer Nature Switzerland.DOI
- [30]Aggelos Semoglou and John Pavlopoulos. 2026. CAKE: Confidence in Assignments via K-partition Ensembles. Machine Learning with Applications, 24:100915.DOI
- [31]Dominik Stammbach, Maria Antoniak, and Elliott Ash. 2022. Heroes, Villains, and Victims, and GPT-3: Automated Extraction of Character Roles Without Training Data. In Proceedings of the 4th Workshop of Narrative Understanding (WNU2022), pages 47–56, Seattle, United States. Association for Computational Linguistics.
- [32]Deborah A. Stone. 1989. Causal stories and the formation of policy agendas. Political Science Quarterly, 104(2):281–300.
- [33]Laura Treimane. 2011. Analyzing parliamentary discourse: systemic functional perspective. Kalbotyra, 63:78–94.DOI
