Finding the Plea: Evaluating the Ability of LLMs to Identify Rhetorical Structure in Swedish and English Historical Petitions
Paper · 2025 · Ellinor Lindqvist, Eva Pettersson and Joakim Nivre
Summary
A petition can recount a dispute in detail before stating what the writer wants an official to do. For a historian looking through a large collection, finding that request means reading for the function of each passage. The same sentence can supply a reason for intervening and ask for an intervention. The authors ask whether automated linguistic annotation can do some of that work. They focus on the formal address to the recipient, known as the Salutatio, the request itself, known as the Petitio, and the closing, known as the Conclusio. This gives the study a concrete test of information extraction: can a system mark where these passages begin and end in an existing transcription?
The authors assembled test sets of 100 Swedish petitions submitted to the regional administration in Örebro and 100 English petitions drawn from London Lives. Each language also had 10 development documents. Each test petition was marked independently by two annotators, who subsequently resolved disagreements. The team assigned difficulty scores on a scale from 0 to 2 based on how hard those decisions were to reconcile. Human agreement was almost perfect for greetings. The plea was harder, particularly where it flowed directly from the account of events or the argument for granting it. On that section, Cohen’s kappa, an agreement measure that adjusts for chance, was 0.48 on the Swedish test set and 0.68 on the English test set. The work grew out of the Speaking to One’s Superiors project led by Uppsala University’s Gender and Work project, with funding from the Swedish Research Council.
The authors tested GPT-4, Gemini 1.5 Pro, Mixtral 8x22B, Mistral 7B, and the 8B and 70B versions of LLaMA 3. Each received instructions and examples of the expected output, an approach known as few-shot learning. The authors varied the detail and number of examples in the prompt. For Swedish petitions, they also tried giving the instructions in English while keeping the petitions and examples in Swedish. Greetings generally scored very well. In the English test set, for example, LLaMA 70B achieved a token-level F1 of 99.9 on greetings with the long 3-shot prompt. Requests and closings were more difficult, especially in Swedish and for smaller systems. On the English set, several systems had greater difficulty with closings than with requests, even though human annotators agreed more readily on closings. More detailed prompts, extra examples, and switching the instruction language yielded gains in particular settings without producing a consistent improvement across the experiments.
The systems also rated the difficulty of each petition they annotated. They generally gave lower ratings than the human team, and they rarely ordered documents by difficulty in the same way. Tagging performance tended to be weakest on documents the human team placed in its hardest category, although results within difficulty categories varied substantially. The strongest practical case is for using the extracted passages to help historians find material in transcribed archives. The results also show where that help needs scrutiny, especially when a plea merges with its justification or when a closing is missing, fragmentary, or difficult to delimit.
Deep dive: Finding the Plea: Evaluating the Ability of LLMs to Identify Rhetorical Structure in Swedish and English Historical Petitions
Finding the Plea tests how well AI can locate greetings, requests, and closings in historical Swedish and English petitions. · about 32 minutes to read
The problem and its context
What a petition lets historians see
In the societies the paper discusses, a petition gave a person a way to ask someone with authority for help or redress. The recipient might be a court, parliament, landlord, or monarch. A document of this kind can record what people said had happened to them, the outcome they sought, and the way they presented themselves to someone with power over that outcome. Those kinds of evidence give a historian different reasons to read the same document. An account of events can speak to how people made a living. The request can show which remedy they thought it was possible to ask for. The greeting and leave-taking reveal something about the relationship the writer presented to the recipient.
A collection of petitions therefore offers several routes into the past, provided a reader can locate the relevant passages. A historian interested in requests may want to read the plea first and consult the surrounding account for context. A study of how writers positioned themselves socially may give particular attention to forms of address or statements of deference. In each case, it helps to know which words perform the function of interest. A document-level label identifying a text as a petition answers a different question. All the texts in this study are already petitions, and the experiment concerns what happens inside each one.
A project examining how women and men made a living and asserted their rights in early modern Sweden provided the Swedish material. The paper describes the project as having digitised and annotated thousands of documents and made them publicly available. The tagging experiment takes up a particular part of that larger historical effort. It tests whether someone working with a transcription can be directed to a passage with a known rhetorical role. That starting point also locates the work in the sequence of archival research. It begins after transcription, at the point where a reader has text and wants to interpret its organisation.
How a conventional structure can still be hard to mark
Earlier historical scholarship discussed in the paper describes a broad rhetorical pattern in petitions from parts of premodern Europe. A writer addresses the recipient, may appeal to their standing or ability to help, sets out the circumstances, argues a case, states the request, and closes with a conventional expression of courtesy or deference. The paper uses the traditional terms Salutatio, Exordium, Narratio, Argumentatio, Petitio, and Conclusio for these functions. The account and its argument are often treated together, which explains why the paper describes the scheme as having either five or six parts.
The categories describe what passages do. A clause that tells the recipient why a decision was unjust belongs to the case the writer is making. A clause that petitions for a hearing specifies a response the writer wants. Both can appear in a single grammatical sentence. The position of the sentence in the document can help a reader find the general area of the plea, while the boundary within it still calls for a judgment about meaning. This is the aspect of discourse analysis that the study makes measurable.
Some rhetorical functions lend themselves to this treatment more readily than others. The Exordium can be very short, and some petitions have no clearly identifiable passage of that kind. The authors treat its boundaries as relatively subjective. They also leave Narratio and Argumentatio unmarked because a writer can weave an argument into the account of what happened. For the chosen tags, the greeting is a way to isolate the formal address, the Petitio identifies the action or decision being sought, and the Conclusio picks out the closing language and, where appropriate, a signature. Words left outside the tags can still have a clear rhetorical function. Much of that material belongs to the account, the argument, or a mix of the two.
Even a familiar expression can serve different purposes according to where and how it is used. The English annotation examples distinguish the language of asking an authority for a specific action from a conventional closing in which the petitioners undertake to pray for the recipient. The presence of language associated with asking cannot settle the boundary on its own. The reverse problem arises near the start of a petition. The title or description of the addressee belongs to the formal address, while an introduction of the people petitioning may immediately follow it. An opening passage can thus be easy to locate and still be marked too broadly.
Earlier computational work
The paper places the study alongside earlier work on extracting structured answers through prompts. The survey by Sahoo and colleagues describes the difficulty of prompting a general-purpose system to return accurate information in a prescribed format. That issue matters here because a fluent explanation of a petition would be of limited use for scoring its boundaries. The requested output has to identify the same words a reader would point to in the transcription and make those words identifiable as a particular kind of passage. The survey is A Systematic Survey of Prompt Engineering in Large Language Models.
The authors also discuss work by Cheng and colleagues on named entity recognition, where a system identifies spans such as names and assigns categories to them. Cheng and colleagues studied how task definitions, examples, and strict formatting instructions affect the reliability of extraction. The petition task shares the requirement to return typed spans. Its classes are determined by a passage’s role in the document. To identify a Petitio, a system has to decide which words constitute an appeal for action, even when those words look much like the surrounding narrative.
Work by Maekawa and colleagues concerns a broader form of discourse parsing, in which the aim is to recover hierarchical relations among parts of a text. As the paper describes it, that work recast parsing strategies as prompts and adapted the system through parameter-efficient fine-tuning. Fine-tuning changes a system’s parameters for a task. The petition study instead supplies examples in the input and leaves the system’s parameters as they are. Its target is also narrower. Assigning selected spans a rhetorical label can help a reader find them, while a hierarchical analysis would attempt to describe how passages relate to each other throughout the document.
The paper mentions two other uses of automated methods in historical research. Humphries and colleagues examine transcription of handwritten records, addressing the problem of getting archival text into a form that a researcher can search and process. Cohen and colleagues study irony in 19th-century Latin American newspapers, an example of an interpretive task in which historical language and context matter. The petition study occupies a position between those concerns. It starts with existing transcriptions and asks for an interpretation specific enough to locate the words performing a given rhetorical function. The authors present automatic labelling of these petition functions as a gap in the work they surveyed.
The method, step by step
From a transcription to a tagged passage
Each test case begins with the text of a petition. The expected response contains that text with markers inserted around the passages that count as a greeting, a request, or a closing. An opening marker identifies the rhetorical class and the beginning of the span. Its paired closing marker identifies the end. Words outside those spans remain in the transcription, preserving the context for the portions selected. A separate field gives the system’s judgment of how difficult the petition was to tag.
The instructions allow for a rhetorical part to be absent. They also allow a tag to appear more than once, which is particularly relevant to a document with several distinct requests. The annotation task thus includes decisions about whether a section is present and how many passages express it, as well as where a particular span begins and ends. The more detailed prompts instruct the systems to preserve the transcription’s spelling, punctuation, and wording. That condition is central to the output design. If the system modernises a form, drops unreadable material, or supplies a conventional ending from its own expectations, the resulting passage can no longer be taken as a faithful extraction of the original.
From petition transcriptions to scored annotations
The steps in order.
How the reference annotations were made
The Swedish petitions were sent to the regional administration in Örebro and transcribed by a historian. The English documents were selected from the London Lives Petitions Project, a curated subset of the London Lives archive. Their underlying transcription procedure used double rekeying. Two typists independently entered the text, the entries were compared, and discrepancies were checked manually. The researchers drew the English test petitions at random within court strata, meaning that the court was taken into account in the sampling. The English material includes petitions addressed to the Old Bailey, Middlesex Sessions and the City of London.
The authors set aside 10 development petitions for each language alongside the separate test sets. The paper describes development material as supporting work on the experimental code and prompts. The adjudicated tags on the test documents supply the reference for evaluating the outputs. The supervised work in this design is the human annotation and the preparation of demonstrations. There is no task-specific parameter training in the reported experiment.
Three annotators participated, with each petition assigned to two of them. They inserted start and end tags for the selected functions. The work proceeded in batches. After marking a batch, the annotators resolved particular disagreements and agreed on general principles to use in subsequent batches. This process produced a reference annotation, frequently called a gold annotation, against which a prediction could be scored. The separate initial decisions also tell the reader how consistently people applied the scheme before arriving at the reference.
The annotation principles have consequences at the level of individual words. The detailed instructions for Swedish documents distinguish between surrounding background and brief causal connectors that directly introduce or close a request. A connector that does that immediate work can belong to the plea, while the circumstances it refers back to can stay outside the tag. The English instructions also give priority to rhetorical function, including when an appeal and the description of the grievance occupy the same sentence. A grammatical clause or adjacent phrase may be easy to identify as a unit, but the tag follows the extent of the request as defined for the task.
How the annotators handled ambiguous cases
An English example in the paper shows why a disagreement can concern a boundary even when both readers understand the writer’s intended remedy. The petitioners objected to a removal order and asked the court to arrange a hearing and have the people affected attend. The annotators agreed on tagging the explicit request to arrange the hearing. One reader also included an earlier statement declaring the grievance and making the appeal. The practical question is whether the declaration of appeal already starts the action being asked for, or whether that clause prepares the ground for the explicit request that follows. The document received a human difficulty score of 1.
The second English example concerns a petition asking the justices to keep a person in custody. The stated plea and its supporting account can be identified, while the ending contains gaps, fragments, and names. The annotators differed over where the closing began. The document received difficulty 2. This illustrates an important feature of the rating: one disputed portion can drive the score for the whole document. A petition can contain an unmistakable greeting and an identifiable request while still requiring extended adjudication of its ending.
The Swedish example used in the prompts demonstrates the passage from a long narrative to an explicit plea. A widow recounts a dispute over possession, invokes documents and earlier decisions, and then asks to have her share of a holding restored. The marked request covers that appeal. It ends before the closing passage expressing anticipation of a decision and signing off deferentially. The explanation matters to a historian who wants to understand the basis for the claim, but extracting the request calls for a narrower stretch of words. The example gives a system a concrete instance of that distinction and shows the required formatting at the same time.
What the difficulty scores mean
The human team used a scale running from 0 to 2. A score of 0 represents an easy annotation. A score of 1 usually indicates some uncertain phrasing or blending of functions that prompted a minor disagreement, generally settled quickly. A score of 2 identifies cases where resolving the annotators’ differences took extended discussion. The paper associates those cases with such features as historical or irregular spelling, incomplete expressions, and extensive abbreviations. It also singles out the transition from the account or argument to the plea as a frequent source of difficulty.
The human score is grounded in what happened during annotation. It reflects how readily two readers applying the project’s criteria could come to an agreement. The generated score comes from the instructions and is returned alongside the tags. The system is asked to judge the difficulty of making the annotation using the same scale. It does not see the pair of independent readings or their subsequent discussion. Putting the ratings side by side lets the authors ask whether a system can recognise the kinds of complexity that the human procedure revealed.
There is a further distinction between the score a system assigns and the quality of the tags it produces. The paper compares the assigned rating with the human rating and separately groups tagging performance by the human rating. The first analysis asks whether the system recognises documents that humans consider hard. The second asks whether those documents tend to yield poorer predictions. A system can struggle on a document while returning an easy rating. The study’s design lets that discrepancy be seen.
Which instructions and systems were compared
The prompt variants are called short 1-shot, long 1-shot, and long 3-shot. In these names, a shot is a worked example placed in the prompt. The short 1-shot gives a brief task description, names the tags, specifies the output, and includes one completed example. The long 1-shot gives more detail tailored to the data while retaining one example. Its instructions deal explicitly with source fidelity, missing or repeated sections, and how to give functional boundaries priority when they fall inside a larger grammatical unit. The long 3-shot extends the detailed version by giving three annotated examples.
The demonstrations show how to put the tags and the difficulty field into the answer. They also carry substantive guidance. An example in which the formal address is marked and a following introduction remains unmarked shows how far the greeting extends. A marked request amid unmarked narrative shows how narrowly the target can be defined. Increasing the number of demonstrations gives a system more instances of those decisions. Adding explicit instructions gives it more rules for interpreting them. The short-to-long comparison with one example keeps the example count fixed, while the comparison between the long variants keeps the detailed instruction format and varies the number of examples.
For Swedish petitions, the team ran each prompt variant with Swedish instructions and with English instructions. The example petitions remained Swedish in both cases. Thus the cross-language condition changes the language of the directions for producing the annotation while holding the language of the material being annotated fixed. The English corpus has no corresponding experiment with Swedish instructions. Comparing the English and Swedish test sets is consequently a different operation from comparing instruction languages on the Swedish set.
The commercial systems evaluated were GPT-4 and Gemini 1.5 Pro. The paper also tested Mixtral 8x22B and Mistral 7B, as well as LLaMA 3 in its 8B and 70B configurations. The study points to earlier technical reports for GPT-4, Gemini, and the LLaMA family. GPT-4 Technical Report, Gemini 1.5, LLaMA.
Every system was called through an API using consistent prompt formatting and settings across runs. The authors used a temperature of 0 to make generation as deterministic and reproducible as the setting permits. Temperature controls how much variation is introduced when generating text. The instructions request a tagged transcription and a difficulty score in fixed fields. A response that puts both markers after a passage has failed to wrap a span, even if someone reading the raw output could infer which passage the system probably intended. The specified representation therefore makes formatting part of successful annotation.
How the paper measures a match
For each rhetorical class, the authors compare the tokens inside predicted spans with the tokens inside the corresponding human-annotated spans. Precision answers how much of the material selected by the system belongs under that tag. Recall answers how much of the reference material it managed to select. F1 combines the two as a harmonic mean, so a setting can have excellent recall and still lose substantial ground if it selects too much text. These scores are reported as percentages. They reward overlap within a passage, which means a selection can receive partial credit even when its boundaries differ from the reference.
The second span measure is mean token-level edit distance. The procedure uses tokenization at whitespace boundaries for the edit comparison, treating the resulting word-like units as the items to edit. For each predicted span, it finds the minimum normalised Levenshtein distance to a reference span with the same label. Levenshtein distance counts the insertions, deletions, or substitutions needed to turn one sequence into another. The closer the predicted span is to a reference passage of that class, the smaller the reported distance. The authors average distances across predicted spans, include exact matches at distance 0, and count a tag absent from both the prediction and the reference as a perfect match.
The measures give different views of an error. Precision and recall indicate how much text of a particular class was selected correctly across the comparison. Edit distance describes how far a predicted stretch of text is from the closest applicable reference. A punctuation difference can affect a sequence comparison. A missing span can reduce recall. A fabricated closing changes the text being evaluated and also introduces a span that a human reader never marked. The paper’s manual inspection helps distinguish such cases, which could otherwise appear only as changes in aggregate scores.
The difficulty analysis starts with a difference computed for each document.
Error = Model − Human
Error is the signed difference for a petition. Model is the difficulty value returned with the generated tags, and Human is the human-assigned value for the same petition. The equals sign defines the quantity on the left. The minus sign indicates that the human value is subtracted from the generated value. The paper averages these differences for a given system and prompt condition to obtain mean error. A negative mean error indicates a tendency to rate documents easier than the human team did. A positive mean error indicates the opposite tendency. The sign makes this a measure of directional bias, and errors in opposite directions can offset one another.
The authors also use Spearman’s rank correlation coefficient, denoted by ρ, to compare the order of the generated and human ratings. The Greek letter ρ denotes the correlation between those rankings. Positive values indicate some tendency to put the same documents towards the harder end of the scale, while negative values indicate a tendency to order them in opposite directions. This asks a separate question from mean error. Ratings can have a small average difference while still identifying quite different documents as especially hard. The paper reports p-values for the rank correlations alongside the coefficients.
Experiments and results
The test material and the basis for comparison
Each test set contained 100 petitions. The Swedish set contained 24,904 tokens, with a mean and standard deviation of 249 ± 116 tokens per document. The English set contained 28,831 tokens, with 288 ± 172 tokens per document. The English test-set period is given as 1692–1799. The Swedish starting year is reported differently in two places in the paper. The test-set table gives 1709–1800, while the description of the Swedish data gives 1719 and 1800 as the endpoints. Both identify the set as petitions from the Örebro administration.
The human reference supplies the basis for the scores. The study compares the systems and prompt variants with one another and reports how independently produced human annotations agreed. It gives no separate scores for a rules-based or supervised extraction baseline. The short prompt provides a direct comparison for asking whether additional detail improves performance within a system. Inter-annotator agreement supplies evidence about the stability of the reference conventions. It is reported in its own measures and serves a different purpose from a system’s token-level F1.
The human agreement figures already distinguish the tasks within the benchmark. On the Swedish set, exact agreement on Salutatio was 100.0%, and Cohen’s κ was 1.00. On the English set, exact agreement on the same section was 99.0%, and κ was 0.99. Exact agreement in this analysis requires identical selections of tokens. Cohen’s κ adjusts the agreement measure for chance. For Petitio, exact agreement on the Swedish set was 48.0%, with κ of 0.48 and a mean token distance of 16.70. The English Petitio exact agreement was 69.0%, with κ of 0.68 and a mean token distance of 5.84. Here the human token distance is the average number of differing tokens between the annotators, a separate measure from the normalised edit distance applied to generated spans.
Human exact agreement on Conclusio was 98.0% on the Swedish set and 95.0% on the English set. Across the full set of target tags within a document, exact agreement was 48.0% for Swedish petitions and 68.0% for English petitions. These results show why the authors record both complete agreement and the extent of a disagreement. For a document to count as an exact match, its contested boundary has to agree even when the rest of the tagging is identical. The single most difficult category can therefore have a large influence on the document-wide exact result.
English greetings and requests
Most systems tagged English greetings with very high token-level F1 across prompt variants. With the short 1-shot prompt, LLaMA 70B reached 99.8, while Mixtral and Mistral each recorded 99.2 for Salutatio. GPT-4 was the conspicuous exception to this pattern. It scored 81.2 F1 with the same short prompt. Its recall was 100.0 and its precision was 68.4 on that tag, which indicates that it generally covered the intended address and added material beyond the boundary. The paper’s inspection gives a concrete explanation. GPT-4 frequently included a following paragraph that introduced the petitioner.
GPT-4’s English greeting score rose with the other prompt variants, reaching 86.7 F1 with the long 1-shot and 94.6 with the long 3-shot. In the latter condition, LLaMA 70B scored 99.9 and Gemini 99.8 on the same tag. This was a highly regular class in the reference, and most systems could already identify the formal address with the shorter instructions. GPT-4’s progression is useful because even in this regular class the system can benefit from the way the expected end of the span is demonstrated.
The English plea was also extracted well in several settings. With the long 3-shot prompt, LLaMA 70B scored 97.4 F1 for Petitio, with precision of 97.3 and recall of 97.5. GPT-4 scored 96.7 F1 on the same tag and prompt. Under the short 1-shot prompt, GPT-4 and Gemini reached 96.1 and 96.0 respectively. These are overlap scores against the reconciled reference. They can remain high when a system captures the operative request and disagrees about whether a short transition or qualification belongs within it. That tolerance helps explain how performance can be high on a section that caused substantial discussion during manual annotation.
Mistral shows how a system can pick up much of the plea while selecting a wider passage than intended. Under the English long 3-shot prompt, it had Petitio recall of 91.1 and precision of 59.4, yielding an F1 of 71.9. Its token edit distance for the tag in that setting was 0.53. The combination of high recall with much lower precision is consistent with inclusion of reference material inside overly broad or otherwise overinclusive predictions. The paper does not trace those particular cases by hand, so the precision–recall pattern is the evidence for that interpretation.
English closings
The English closing separated the systems much more sharply than the greeting did. The short 1-shot setting makes this easy to see because the comparison holds the prompt variant and test set fixed.
English test set Conclusio F1 with the short 1-shot prompt
GPT-4 leads on closings, while LLaMA 8B retrieves far less of the reference material.
The numbers
| System or setting | Token-level F1 % |
|---|---|
| GPT-4 (this paper) | 97.4 |
| Gemini | 94.5 |
| LLaMA 70B | 90.6 |
| Mixtral | 90.5 |
| Mistral | 79.4 |
| LLaMA 8B | 31.8 |
The strongest GPT-4 closing result in the chart came with precision of 97.2 and recall of 97.6. LLaMA 8B had precision of 64.4 and recall of 21.2 in that condition, with a mean token-level edit distance of 0.68 for Conclusio. Its low recall reflects how little of the reference closing material was captured in recognised spans. In the comparison using long instructions and three examples, LLaMA 8B’s closing recall reached 67.6 and its F1 reached 76.6. Performance still depended substantially on the type of passage. The same system stayed in the high 90s for English greetings across prompt variants.
Inspection of closing errors from Mixtral and both LLaMA configurations found several ways for the generated text to go wrong. Some differed over punctuation. Some omitted the tags. In other cases a system added a phrase absent from the source or supplied an apparent closing when the reference contained none. LLaMA 8B sometimes placed its markers after the relevant words, leaving the evaluator without a correctly enclosed passage. These cases show why a low span score cannot by itself tell a historian whether the system misunderstood the document, modified it, or located the right area and returned it in an unusable format.
Swedish petitions
The Swedish greeting was again the strongest category overall. GPT-4 reached 99.3 F1 on Salutatio for each of the three variants written in Swedish. With the long 3-shot Swedish prompt, Gemini scored 100.0 on the greeting and Mistral achieved 99.5. That result for Mistral sits alongside 60.5 on Petitio and 53.6 on Conclusio under the very same conditions. A system could therefore reproduce the boundary of the formal address closely and still have considerable difficulty with the passages a historian might chiefly want to retrieve.
Results for the Swedish plea depended on the system even when prompt language and format were held fixed. The long 1-shot comparison below shows the clustering of the stronger scores and the lower scores of Mistral and LLaMA 8B.
Swedish test set Petitio F1 with the Swedish long 1-shot prompt
LLaMA 70B leads narrowly, with Gemini and GPT-4 close behind.
The numbers
| System or setting | Token-level F1 % |
|---|---|
| LLaMA 70B (this paper) | 83.7 |
| Gemini | 83.2 |
| GPT-4 | 83.0 |
| Mixtral | 70.5 |
| Mistral | 66.7 |
| LLaMA 8B | 54.0 |
Precision and recall clarify why two systems can both do poorly in such a comparison. Under the Swedish long 1-shot prompt, Mistral achieved a Petitio recall of 89.3 and precision of 53.2. LLaMA 8B had recall of 42.1 and precision of 75.3. Mistral captured much of the annotated material but selected a substantial amount of other text. LLaMA 8B’s selections contained a higher proportion of relevant material and covered much less of what the human reference included. Their mean token-level edit distances for the plea were 0.55 and 0.56 respectively. The similar distances sit alongside quite different balances of coverage and precision.
GPT-4 was strong on Swedish closings. With the short Swedish prompt it scored 92.4 F1, with precision of 92.3 and recall of 92.5. Gemini’s precision across the Swedish-instruction variants was 100.0 for Conclusio, while its recall was 62.1, 68.5, and 71.6 under the short 1-shot, long 1-shot, and long 3-shot conditions respectively. The predictions counted as closings were very precise, and a meaningful share of the reference closing material was missed. In contrast, the same system could attain both 100.0 precision and 100.0 recall for the Swedish greeting under the long 3-shot Swedish instructions.
Some of the strongest Swedish results came with English instructions. In the long 1-shot condition, GPT-4 recorded 85.6 Petitio F1 and 93.9 Conclusio F1 on the Swedish set. Gemini reached 100.0 F1 on Swedish greetings with each of the two long English-instruction variants. Several other results declined when the instruction language changed, with especially large changes for LLaMA 70B in the detailed conditions. The Swedish text remained the same, so these pairs belong to the comparison of prompts rather than to the comparison between national collections.
Ratings and observed tagging difficulty
The paper finds a predominantly negative mean error in the generated ratings. For example, GPT-4’s ratings for Swedish petitions under the short Swedish prompt had a mean error of -0.55. Its ratings under the long 3-shot Swedish prompt had a mean error of -0.03. Both values are averages of signed rating errors on the Swedish set. The latter is much closer to zero, yet the corresponding Spearman correlation was -0.36. Agreement in the average level of difficulty can therefore improve while the two sets of ratings still order the petitions quite differently.
The reported rank correlations across the conditions ranged from -0.45 to +0.27, and most were negative. Weak positive associations occurred in some settings, while many other settings tended to reverse the human ordering. The negative average rating errors and the rank results tell complementary stories. A tendency to call documents easy is a shift in the overall ratings. A weak or negative rank association describes the system’s ability to pick out which documents were relatively difficult for the annotators. The latter matters if the ratings are supposed to guide a reader toward the documents most in need of review.
Tagging performance generally fell in the hardest human category. With GPT-4 and the long 3-shot prompt on English petitions, the paper reports performance of 97.2 ± 04.6 for documents rated difficulty 0, 98.1 ± 2.9 for difficulty 1, and 90.9 ± 12.1 for difficulty 2. These are the performance figures reported for the human difficulty groups, with their standard deviations. They describe a lower average for the hardest group in that setting and substantial variation within it. The authors find a similar tendency across the two languages, while the easy and intermediate groups have no clear overall ordering.
What the ablations show
The paper has no ablation that removes components from a trained tagger. Its controlled comparisons change the instructions given to existing systems, and its further analyses examine human disagreements, generated errors, and difficulty ratings. These comparisons tell the reader which changes helped in particular settings. They also show how much a general statement about prompt quality would conceal.
Extra instructions and extra demonstrations
The short 1-shot and long 1-shot conditions hold the number of demonstrations fixed while changing the detail of the instructions. This makes their comparison informative about the effect of the longer guidance as a package. The extra text covers several issues together, including adherence to the source, optional sections, repeated tags, and functional boundaries. When a result changes, the experiment cannot allocate the change to one of those instructions. A comparison that modifies each rule independently would answer a more specific question.
English Conclusio illustrates how the package can affect different systems in different ways. GPT-4 recorded 97.4 F1 for the short 1-shot and 95.0 for the long 1-shot. Mistral recorded 79.4 and 87.1 for the same pair. Mixtral went from 90.5 to 86.8. These changes occur on the same tag and dataset with one demonstration in each condition. A shared preference for the detailed instructions would have produced a more consistent direction. The responses instead suggest that the value of the added guidance depended on the system receiving it.
The two long conditions turn to the number of examples. LLaMA 8B’s English closing F1 was 59.6 with one example and 76.6 with three, a case in which the additional demonstrations accompanied a clear improvement. Mistral’s result on English closings moved from 87.1 to 72.4 across the same pair, and Gemini’s moved from 93.6 to 91.0. Performance on readily identified greetings often left little scope for an increase in token overlap. The hard categories had more scope for change, but they also showed changes in both directions. Across systems, tags, and datasets, the authors found no general advantage for greater prompt length or more demonstrations.
The difficulty estimates show a somewhat different pattern. The authors observe that the long 3-shot prompts generally brought mean error closer to human ratings. For Swedish petitions with Swedish instructions, Mixtral’s mean difficulty error was -0.56 in the long 1-shot condition and -0.07 in the long 3-shot condition. In those settings the Spearman correlations were -0.33 and -0.22. The extra demonstrations coincided with an improvement in the average level of predicted difficulty, while the ordering of documents still tended to diverge from the human ordering. The improvement in one measure gives no general assurance that the rating can be used to prioritise individual documents.
Instruction language on the same Swedish petitions
The comparison of Swedish and English instructions has the advantage of using the same test documents and retaining examples in Swedish. The paper reports a slight overall edge for English instructions on greetings and a small edge for Swedish instructions on closings. It finds little consistent preference across tasks and systems. A single average description also understates some results for particular configurations, especially LLaMA 70B.
Swedish test set Petitio F1 for LLaMA 70B by prompt variant and instruction language
Swedish instructions lead in each comparison, with the clearest separation under the detailed prompts.
The numbers
| System or setting | Token-level F1 % |
|---|---|
| Swedish short 1-shot | 82.8 |
| English short 1-shot | 78.2 |
| Swedish long 1-shot (this paper) | 83.7 |
| English long 1-shot | 51.2 |
| Swedish long 3-shot | 81.8 |
| English long 3-shot | 43.6 |
The corresponding precision and recall figures show what changed. With the long 3-shot English instructions, LLaMA 70B had Swedish Petitio precision of 77.4 and recall of 30.4. With Swedish instructions in the same variant, its precision was 86.2 and its recall was 77.8. The English-instruction condition especially reduced coverage of the reference plea. Conclusio and Salutatio also declined under the detailed English prompts for this system. That shared pattern across labels makes the prompt condition important for interpreting its scores, while the experiment leaves the underlying reason open.
GPT-4 and Gemini demonstrate why the LLaMA comparison does not settle the general question of instruction language. With the long 1-shot prompt, GPT-4 achieved 85.6 Swedish Petitio F1 with English instructions and 83.0 with Swedish instructions. In the same comparison, Gemini achieved 84.4 and 83.2. The pattern again depends on the combination of system, class, and prompt. The test concerns the language in which the task is explained. Every evaluation of Swedish petitions still requires the system to read Swedish text, apply the categories to it, and reproduce it accurately.
What the error inspection adds
The errors in the English greeting and closing reveal different mechanisms behind low scores. GPT-4’s greeting errors typically extend a span beyond the formal address into an introduction of the petitioner. The high recall and lower precision in the short-prompt condition fit that explanation. In the closing inspection, missing tags, invented words, and markers in the wrong position each affect scoring in their own way. A researcher correcting an overlong greeting would adjust a boundary. A fabricated closing would require removing words that never belonged to the transcription. A formatting failure may require recovering a span that the response did not encode as instructed.
Human agreement helps make sense of these patterns without serving as a ceiling on token-level scores. The annotators found it relatively easy to agree on the closing function, while several systems struggled to return valid closing spans on English material. Human disagreement on the plea frequently concerned a few clauses near the transition from argument to request. A generated span that shares most of the reference can score well even if it crosses that same transition differently. Read together, the human comparison and the error inspection show that annotation ambiguity, textual fidelity, and output formatting can all influence a score.
Grouping predictions by human difficulty supplies another kind of analysis. It shows that the documents requiring extended discussion frequently present challenges for automatic tagging as well. The broad spread of performance within each group prevents the difficulty scale from acting as a precise prediction of the eventual score. A human rating can reflect a dispute over one span, and the reported performance reflects the document annotation more generally. This difference in what the two quantities capture makes variation within a rating group unsurprising.
Limitations
Limits identified by the authors
The authors restrict the task to selected, comparatively identifiable functions. Their reasons for leaving Exordium, Narratio, and Argumentatio unmarked concern the difficulty of defining them reliably. A brief appeal to the recipient’s benevolence can be hard to separate from neighbouring material, and the story and the persuasive case can be entangled. The results consequently apply to the formal address, request, and closing under the study’s conventions. A complete rhetorical analysis would also have to interpret the roles of the unmarked text and show how those roles relate to each other.
The authors are cautious about the prompt comparison. The particular variants may differ too little to produce large or consistent effects. All of them define the same categories, request structured output, and supply an example. The study addresses the extra value of the detail and examples it tested. It leaves open what would happen with a substantially different task formulation or with task-specific training. The authors suggest that fine-tuning could help the harder classes and might improve how difficulty judgments correspond to human assessments. These are proposed experiments.
The language coverage is limited to English and Swedish. The paper treats English as well resourced for these systems and Swedish as moderately resourced. The authors propose extending the experiment to languages with fewer computational resources. That extension would be needed to see whether comparable prompts and sample annotations can produce useful results in such settings. The conclusions about instruction language come from the direction tested here, English directions for Swedish petitions alongside Swedish directions for the same texts.
The authors also leave downstream value for future study. Their evaluation measures the quality of predicted spans and compares difficulty scores. It does not measure how a historian’s search results change when a petition archive is indexed by rhetorical function, or how many relevant entities or social relationships can be recovered using the tags. The proposed downstream tests include retrieval, entity extraction, and reconstruction of social networks. Each involves additional judgments about how to use the spans once they are available.
Limits that follow from the setup
The language comparison also compares distinct collections. The Swedish petitions went to a regional administration and were transcribed by a historian. The English petitions came from a stratified sample of London court material with a different transcription procedure. Differences in the conventions of an institution, the documents included in the sample, and how they were transcribed can accompany the language difference. Lower scores on Swedish requests and closings establish that the Swedish test set was harder in these experiments. The design leaves the separate contributions of language resources and collection characteristics unresolved.
The system comparison has a related constraint. GPT-4, Gemini, the Mistral systems, and LLaMA configurations differ along several dimensions, including their architecture and training. The within-family comparison between LLaMA 8B and LLaMA 70B offers a more focused look at the two named configurations. Even there, the size comparison depends on the prompt. The severe declines for LLaMA 70B under detailed English instructions on Swedish petitions show that an overall advantage for larger systems cannot predict the outcome of every condition. The experiments establish comparative performance under the settings run.
The reference annotations resolve disagreements into boundaries that can be scored. That resolution is necessary for comparing outputs, but an alternative boundary may reflect a defensible reading. The English appeal example shows the issue. A statement that formally lodges an appeal can plausibly belong in the request even when it comes before the words asking the court to set a hearing. Token overlap allows some credit for a near match. The reported tables still evaluate each answer against the selected reference interpretation. They do not assign separate scores for alternative human readings.
The evaluation also couples recognition of rhetorical function to faithful generation of marked-up text. A system that locates the right words but inserts a malformed marker can have its result scored as an unsuccessful extraction. A system that preserves the format can still redraw the boundary or fabricate text. The paper’s manual inspection establishes that each kind of error occurred, without estimating its prevalence across every class and condition. A high token-level F1 establishes substantial agreement on selected words under the reported procedure. It leaves separate questions about complete document fidelity and the proportion of documents whose spans are all ready for direct use.
Likewise, the difficulty judgment has a particular meaning on the human side. It measures how hard disagreements were to resolve in this annotation process. A score generated from one reading may reflect surface features, the system’s apparent ease of giving an answer, or the examples in the instructions. The paper compares the resulting numbers without having access to an independent measure of what made each system uncertain. The weak rank agreement limits the case for routing documents to human review based on these scores alone. Mean error near zero can coexist with poor identification of the specific cases that troubled the annotators.
Finally, the benchmark begins with transcriptions. The study therefore tests how to identify rhetorical passages after that stage of preparation. The English and Swedish datasets incorporate the particular editorial and transcription decisions of their sources. The reported results leave open how the procedure would perform on material with substantially different transcription quality or on manuscript images. Within the transcribed collections, the paper establishes a basis for assisting a reader with passage selection. The time saved, corrections required, and consequences for a historian’s findings remain downstream questions.
What came after
There is no documented follow-up to trace here. The paper itself proposes testing whether improved span annotation makes historical searches or entity extraction more effective, and whether separating a petition’s request, narrative, and language of social position helps in reconstructing relationships. A follow-up on those questions would have to measure the quality of the resulting historical analysis alongside the accuracy of the tags. The reported experiments establish how well the passages could be marked in the two collections and where the proposed uses still depend on further evidence.
Cite
Cite as Ellinor Lindqvist, Eva Pettersson and Joakim Nivre. 2025. Finding the Plea: Evaluating the Ability of LLMs to Identify Rhetorical Structure in Swedish and English Historical Petitions. Proceedings of the First Workshop on Natural Language Processing and Language Models for Digital Humanities.
@inproceedings{lindqvist2025finding,
title = {{Finding the Plea: Evaluating the Ability of LLMs to Identify Rhetorical Structure in Swedish and English Historical Petitions}},
author = {Ellinor Lindqvist, Eva Pettersson and Joakim Nivre},
booktitle = {Proceedings of the First Workshop on Natural Language Processing and Language Models for Digital Humanities},
year = {2025},
doi = {10.26615/978-954-452-106-6-008},
url = {https://doi.org/10.26615/978-954-452-106-6-008}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/lindqvist-2025-finding-plea-evaluating-ability-llms/