QUDsim: Quantifying Discourse Similarities in LLM-Generated Text

Paper · arXiv 2504.09373 · Published April 12, 2025
Dialog Topics and Modeling

As large language models become increasingly capable at various writing tasks, their weakness at generating unique and creative content becomes a major liability. Although LLMs have the ability to generate text covering diverse topics, there is an overall sense of repetitiveness across texts that we aim to formalize and quantify via a similarity metric. The familiarity between documents arises from the persistence of underlying discourse structures. However, existing similarity metrics dependent on lexical overlap and syntactic patterns largely capture content overlap, thus making them unsuitable for detecting structural similarities. We introduce an abstraction based on linguistic theories in Questions Under Discussion (QUD) and question semantics to help quantify differences in discourse progression. We then use this framework to build QUDsim, a similarity metric that can detect discursive parallels between documents. Using QUDsim, we find that LLMs often reuse discourse structures (more so than humans) across samples, even when content differs. Furthermore, LLMs are not only repetitive and structurally uniform, but are also divergent from human authors in the types of structures they use.1

Introduction. Despite modern LLMs’ multitude of capabilities, the prose they produce tends to feel artificial and repetitive. Indeed, recent work evaluating LLMs’ creative writing showed that they are not, after all, creative — as deemed by expert standards (Chakrabarty et al., 2024), creativity tests (Wenger & Kenett, 2025), with respect to its training data (Lu et al., 2025), or its generation of story continuations (Xu et al., 2024). This lack of creativity is concretely manifested in the templatic nature of LLM-generated texts (Spangher et al., 2024; Tian et al., 2024; Zhao et al., 2025). Recent work showed that generated texts follow syntactic templates — long POS tag sequences — in various forms of summarization (Shaib et al., 2024). However, the repetitiveness of LLM prose goes beyond syntactic and semantic patterns within sentences. LLM-generated stories feature a similar discourse flow, causing them to feel repetitive even when the specific content of the storylines differ.

This paper introduces an abstraction to quantify this sense of discourse-level familiarity. Rather than methods like lexical overlap and embeddings that capture lexical or semantic concepts, our abstraction must distinguish between (1) texts that are distinctly written despite sharing similar content and intentions (2) texts that do not explicitly share content, but share the same structure such that the discourse becomes predictable.

We build our solution upon two linguistic theories. First, Questions Under Discussion (QUD) (Roberts 1996; 2012; Ginzburg et al. 1996; Van Kuppevelt 1995; 1996, i.a.) provides a model of discourse that views the progression of a narrative as answers to a series of implicit questions (or QUDs). This is illustrated in Figure 1, where the flow of the plot is

Related work. While LLMs perform well on creativity tests such as the Alternative Uses Test (Stevenson et al. 2022; Summers-Stay et al. 2023), their responses lack originality (Zhao et al. 2025; Evstafev 2025) and diversity (Wenger & Kenett 2025). Spangher et al. (2024) show that LLMs are less creative than humans in selecting angles and sources for news articles. Tian et al. (2024) find that LLMs struggle to generate diverse and emotionally engaging stories. Hua & Artzi (2024) demonstrate that MLLMs also fail to communicate as efficiently as humans in a conversational setting without prompt engineering. Chakrabarty et al. (2024) demonstrate that LLM-generated stories are not performant on creative writing tests.

Xu et al. (2024) propose metrics to assess LLM creativity by measuring overlap between LLMand human-generated continuations across varied prompts but do not directly address text similarity among LLM outputs. Shaib et al. (2024) show that LLM outputs follow part-of-speech templates, yet these are limited to the lexical and sentence level. At the discourse level, Kim et al. (2024) demonstrate that higher-level discourse structure in RST effectively differentiates human from LLM-generated texts, underscoring the role of discourse in analyzing machine-generated content. Liu et al. (2024) measure discourse divergence between pairs of documents using discourse roles.

Traditional methods to measure text similarity include semantic distance metrics such as n-gram overlap, TF-IDF, and embeddings (Jobanputra & Mart ́ın Rodr ́ıguez, 2022; Nath et al., 2024). Other approaches incorporate schema-based, stylistic, and narrative-theoretic features (Chen et al., 2022; Levi et al., 2022). Recent work showed that LLM-as-judge aligns more closely with human judgments than traditional metrics (Aynetdinov & Akbik, 2024). Ravfogel et al. (2024) introduces description-based similarity for retrieval, which uses abstract natural language description to describe text similarity. We adopt a linguistic approach where the abstraction is grounded in semantic theories, with an algorithm to quantify discourse homogeneity within models and derive discourse templates.

Method. 2 Discourse similarity framework with QUDs Consider two pairs of structurally aligned segments in the middle of Figure 1. Both segments provide a reason for deceiving the public, although these explanations are slightly different and thus have low lexical overlap. The first segments also share similarity about the background on the deception, but cosine similarity does not find these alignments. Broadly, lexical overlap metrics like Jaccard similarity and content overlap metrics like embedding cosine similarity are ill-suited for aligning documents at a broad, thematic level.

Backed by two linguistic theories, we posit that the pair of documents are similar if they answer the same set of QUDs at the same level of granularity. Since each document independently produces a set of QUDs, similar documents must be able to answer each other’s QUDs. This section lays out the specifics to concretely define how documents are represented through segments and QUDs (§2.1), and how it helps measure structural similarity (§2.2) and structurally aligning discourses (§2.2).

Theoretical Foundation Questions Under Discussion (QUDs) (Roberts 1996; 2012; Ginzburg et al. 1996; Van Kuppevelt 1995; 1996 i.a.) is a linguistic framework originally developed to explain discourse progression through a process of posing and resolving questions (Hamblin 1957; 1970; Stalnaker 1978). Thus, we represent the discourse as a series of QUDs; doing so enhances interpretability by clarifying what is (dis)similar with the natural language questions.

QUDs offer flexibility in the size of the information units they cover, since the questions can be hierarchically structured, e.g., Who ate the cake? subsumes the more specific Did Mary eat the cake?. To ensure that our QUDs are answerable across documents and are comparable in scope, we segment the text into units larger than individual sentences but smaller than multiple paragraphs. This segmentation process enables us to operate at a QUD level that is neither too specific nor too abstract.

Definitions We consider a document D as a concatenation of n segments of contiguous text D = (D1, . . . , Dn) such that no segment overlaps with another and no text in the document is omitted. A QUD q produced by segment Di is a string question which is answered by the content of Di. In this way, D can be modeled by a series of QUDs, Q = (q1, ..., qm) such that for all Di ∈D, there exists at least one qx ∈Q that is answerable by Di.2 In the source document DS, QUDs produced by segment DS,i can be denoted as a collection QS,i ⊂QS. Similarly, we denote QUDs in the target document DT for each target segment as QT,i ⊂QT.

Theoretical Foundation Our notion of discourse similarity is based on the alternative semantics account of questions (Hamblin 1973; Karttunen 1977; Groenendijk & Stokhof 1984; Lahiri 2001): we approximate the similarity between two questions by assessing the overlap in their answer space within the same context. Given the QUDs at the desired level of granularity and abstraction from each document, we identify similar pairs of segments by examining the answerability of each set of QUDs.

QUD Answerability For each QUD q ∈QS,i produced by DS,i, we find the collection of sentences Aq = {s1, ..., sa} in the target document DT that directly answer it. The answer sentences may not all be in the same segment, but the presence of an answer sentence indicates that the segment partially answers the question. We are interested in finding the set of all such segments Zq that partially or completely contribute to answering q in DT. More concretely, we want to find the set of target segments Zq ⊆DT such that (1) every segment in Zq contains at least one sentence that helps answer q and (2) every sentence in Aq can be found in one of the segments in Zq. Then, we say that q is answerable by every segment in Zq and only answerable by Zq.

Segment Alignment Using the definition of answerability, we can structurally align pairs of documents at the segment level. Two segments (DS,i, DT,j) are aligned if similarity in both directions is above a threshold that we select.

Discussion. Equipped with QUDSIM, we show that LLMs are highly repetitive and use structures that align more closely with discourses produced by other models than by humans. We derive segment alignments for QUDSIM and the baselines that performed best in each category shown in Table 3. We then calculate the harmonic mean between the fraction of segments in each document that align with the other document. These values are plotted on heatmaps in Figures 4 and 5 to visualize how various models treat discourse structures in different domain and prompt settings. See Table 8 for statistics on how many segments we align.

LLMs do not employ diverse structures when generating documents and follow a template that they fill using the provided prompt. This phenomenon arises when comparing pairs of documents generated using minimally augmented prompts (§3). To better contextualize our findings, we compared human-authored obituaries written for different people. We find that of all LLMs, GPT-4o produces the most structurally similar documents in the Creative Writing and Obituary domains, highlighted by the diagonal values in Figure 4. Meanwhile, Claude is more formulaic than Gemini in the Obituary domain, but more diverse in Creative Writing.

Humans produce more diverse discourse structures than models. The heatmap in Figure 4(a) shows that LLM-generated texts have high discourse similarity even when the obituaries are written for different people. QUDSIM is able to capture the underlying shared structure that is present across model-generated documents despite low content overlap. In Figures 4(a) and 5(a), the dark purple row and column for humans relative to the rest of the matrix shows that LLMs are more structurally similar to other models than with humans.

Discourse structures are sometimes uniform across LLMs. We experiment with document pairs of the form (DS, DT) where DS and DT are generated given the same prompt, but using different models. QUDSIM finds that GPT-4o generates documents that align the most with both Claude and Gemini, shown in Figure 5(a). It is important to note that although Claude and Gemini are structurally very similar to GPT-4o, they are not as similar to each other.

Conclusion. We introduce an abstraction using Questions Under Discussion to model discourse structures and quantify differences between model and human-generated documents. We build a similarity metric, QUDSIM, that aligns documents at the segment level using the notion of bidirectional answerability. We show that QUDSIM is a more suitable metric for finding discourse structure similarities, unlike existing methods, due to its unique ability to generalize to new contexts. QUDSIM finds that LLMs produce structurally formulaic discourses that are more similar to other model-generated structures than with humans, highlighting the lack of model creativity at a level beyond topical features.

Limitations. Theoretically, QUD structures can take the form of stacks (Van Kuppevelt, 1995; Roberts, 2012), trees (De Kuthy et al., 2018), or dependency structures (Ko et al., 2023; Wu et al., 2023). Yet, as a first step towards quantifying similarity with QUDs, we chose a structure-free (“flat”) option, and leave similarities of complex structures to future work.

Lines of inquiry this paper opens 24

Research framings built by reading the notes related to this paper — the questions it feeds into.

Can vector embeddings distinguish task relevance from semantic similarity? Do different language models independently converge on similar outputs? What features distinguish AI-generated writing from authentic human writing? What systematic biases affect LLM judges and their evaluation outcomes? How do LLMs perform reasoning effectively despite gaps between process and output? How reliably can detectors distinguish human from AI-generated text? How much do LLMs rely on surface-level prompt characteristics rather than semantic meaning? Does AI writing assistance preserve or distort authentic author voice? Can systems reliably detect and distinguish LLM-generated text?