Argumentation, Stance, and Persuasion
Separate argument structure, stance, quality, and persuasion. Learn claim-evidence graphs, target-conditioned stance metrics, and causal effect designs.
Language AI HandbookAll chapters Argumentation, Stance, and Persuasion
In this fictional case, the Riverton Public Library board is considering closing the Central branch at 6pm instead of 9pm and using the savings to fund a mobile library van. The van would visit two neighborhoods more than a mile from any branch. Forty-one people submitted public comments. A staff analyst is asked to summarize "what the comments say."
That request hides four different questions.
- What is each comment arguing, and how do the parts fit together? Which sentence is the claim, which sentences are reasons, which reasons does the commenter attack, and which pieces of evidence are being cited?
- Where does each commenter stand on each proposal? The two targets are closing Central at 6pm and funding the van.
- How good are the arguments and the facts? Is the evidence relevant? Is the premise true? Is the reasoning complete?
- Would reading these comments change anyone's mind? This asks about the effect of exposure on a reader.
Each question calls for its own evidence and scoring choices. The same comments can supply both an argument map and stance annotations if each task has its own labels. A sentiment score can register the criticism in "The van is a good idea, and we should fund it, though its cost estimates are fiction." A stance annotation records the author's support for funding. An argument map can show what the objection challenges.
The chapter works through a claim-and-evidence graph, a stance classifier on synthetic examples, and a simulated study of persuasive effect. The quality section explains how to design a rubric, assess agreement among judges, and verify factual premises.
A note on scope before we start. This chapter is framed around argument analysis and consensual assessment, that is, understanding what people said, how they said it, and how good the reasoning is. Estimating whether a message changes a reader's mind is a separate activity with its own ethical weight, and we treat it as a measurement problem with human subjects rather than a text classification problem. Disclosure, agency, privacy, and factual accuracy each get evaluated on their own terms, not folded into a single "quality" score.
A board report can present the argument map, target-specific stance counts, quality assessments, and a causal estimate when the available evidence supports each result. The worked examples show how to report the assumptions and limitations that affect those results.
Four Questions That Look Like One
Here is the same request, decomposed.
| Question | Output | Headline metric | Characteristic failure |
|---|---|---|---|
| Argument structure | Spans plus typed, directed edges | Labelled edge F1 | A one-token boundary shift destroys the edge |
| Stance | One label per (text, target) pair | Macro-F1 with a stated label set and target grouping | The target is implied |
| Quality | Rubric scores per argument | Judge agreement | Annotators apply different standards |
| Persuasion | A causal effect estimate | Difference in means, with interval | Confounding and selection |
The structure task recovers components and links, while the stance task recovers the author's position on a specified target. A quality protocol states what judges assess and how their ratings are evaluated. A persuasion study specifies exposure, the outcome and the comparison used to estimate its effect.
You can build an excellent stance classifier and a terrible argument analyzer, and vice versa. You can build both and learn nothing about persuasiveness, because persuasiveness is a property of an interaction between a message and a reader, not a property of the message alone.
There is a further asymmetry hidden in the table. The first three rows describe properties of the text and its author: what was argued, where the author stands, how well the reasoning holds up. The fourth row describes a property of a reader's response, which means the same text can have different persuasive effects on different people and no persuasive effect at all on a reader who never sees it. Report the text annotations separately from the measured reader response.
Given a text and a target , stance detection assigns the author's position toward . An annotation scheme can distinguish favor, against, neutrality and insufficient evidence. The target may be an entity, a policy, or a proposition, and it may be implied.
What Makes Argumentation Hard for NLP
Start by deciding what the graph must represent. The library’s joint proposal exposes both claims people state and reasons you have to infer.
Arguments Are Relations, Not Sentences
A claim on its own is an assertion, not an argument. "We should fund the mobile van" states a position. It becomes an argument when a reason is attached: "...because the van reaches two neighborhoods that no branch serves." The inferential link is where the argumentative work happens.
This is why argument mining is not a tagging problem with extra labels. A tagger can tell you that a span is a premise; it cannot tell you what the premise is a premise for. The "for" is the argument. If you only extract spans, you have a bag of assertions that happen to be argument-shaped, and you have lost the structure that makes the text persuasive or defective.
Three consequences follow, and they shape everything downstream.
- Links can cross sentences and documents when the annotation policy permits it. In the library example, one comment names the circulation logs as the source for the attendance figure given in another comment.
- Evaluation needs edge metrics, not just span metrics. Reporting that your system found 88% of premises tells the reader nothing about whether it connected them to the right claims.
- Errors compound. A span boundary that is off by one token means the edge that starts at that span is a different object, and it will not match gold under strict evaluation. That compounding is measurable, and we will measure it.
Suppose a gold edge can be recovered only if both endpoints are found and the linker then predicts the correct direction and label. If both endpoints are recovered for a fraction of gold edges, and a fraction of those eligible edges are linked correctly, the overall gold-edge recall is . A worked instance uses and , so the resulting recall is 0.72. Here is conditional on exact endpoint recovery, and the plotted sweep below uses over endpoint recovery from 0.55 to 1.00.
This synthetic calculation varies the fraction of gold edges with both endpoints recovered, keeping conditional linking recall at 0.80.
PythonIn [3]Expand
endpoint_recovery = [0.55, 0.65, 0.75, 0.85, 0.95, 1.00]
conditional_link_recall = 0.80
end_to_end_recall = [
value * conditional_link_recall for value in endpoint_recovery
]VisualizationOut [4]Expand

Toulmin's Model as a Working Vocabulary
Stephen Toulmin’s layout of arguments gives us a vocabulary for the parts a reader might want a system to recover.
- Claim: the conclusion being advanced. The library should close Central at 6pm and fund a mobile van.
- Grounds (also called data or premises) are the reasons offered. Late-evening checkout counts average 11 visitors per hour. A closing shift costs $180 per hour.
- Warrant is the principle connecting grounds to a claim. One possible warrant favors serving more patrons per dollar while preserving adequate access. Applying it to this joint proposal requires estimates of achievable savings, the van's costs and expected use, and which patrons would gain or lose access.
- Backing: support for the warrant itself, for example a board policy that says exactly that.
- Qualifier. The strength with which the writer advances the claim, as in on balance, this is probably the better allocation.
- Rebuttal: conditions under which the claim would not hold. Unless study-room use turns out to be substantial.
Each element answers a different question. Claims and grounds identify the conclusion and its reasons. The warrant explains the inference, its backing supports that principle, the qualifier sets the strength of the conclusion, and the rebuttal specifies when it might fail. Recovering only the claims and grounds can leave the warrant and its backing unrepresented, whether they are stated or inferred.
Stab and Gurevych’s persuasive-essay scheme uses three component labels, major claim, claim and premise. Individual arguments use directed support and attack relations. This schema leaves the warrant implicit and suits a different annotation purpose from Toulmin’s full layout.
The essay study reports annotator agreement for its own scheme. A project that adds warrants or backing should first agree on what evidence a reader needs to reconstruct those implicit or explicit elements.
The simplification has costs. Warrants, backing, qualifiers, and rebuttals are not annotated. The graph you can extract is a graph of claims and premises, not a full Toulmin layout. A system built on the standard scheme can tell you that a premise supports a claim, but it cannot tell you whether the warrant that licenses the support is acceptable, and it cannot tell you whether the claim was asserted tentatively or absolutely. Both omissions matter for the board, which cares about whether the reasoning is sound, not only about whether it is present.
Defeasibility: Rebutting, Undercutting, Undermining
A conclusion drawn by a defeasible inference can lose support when further information becomes available. In ASPIC+, the categories below describe what an attack targets. A defeat is an attack that succeeds under the framework's rules. Toulmin's rebuttal slot describes conditions that limit a claim. Modgil and Prakken’s ASPIC+ tutorial
- Rebutting attack. Argue for a conclusion contrary to one reached by a defeasible rule. The van would cost more than the savings, so the savings would not cover it.
- Undercutting attack. Challenge whether a defeasible inference applies here. The checkout count excludes people who use the study rooms without borrowing, so it is an incomplete measure of evening demand.
- Undermining attack. Argue against an ordinary premise. An audit found that the same logs record 18 checkout visitors per hour, rather than 11.
The appropriate response depends on the target. A rebuttal invites a comparison of the competing conclusions and their support. An undercut calls for defending the inference or using a better measure. An attack on a premise calls for checking the source for that premise. A generic attack label leaves these targets unresolved.
In the Riverton thread, d4 accepts the reported checkout count for the sake of argument and challenges its use as a measure of evening demand.
A graph whose edges only join component nodes needs an explicit representation for attacks on inference. It can give an inference its own node or annotate a separate link-attack relation. A plain premise attack would conflate two questions: whether a premise should be accepted and whether the inference is warranted.
A node-only evaluation can score an attack edge while leaving open whether the attack challenges a premise or the inference that uses it. An analysis of undercuts needs annotations that make the distinction visible.
The Unstated Warrant
One possible warrant favors serving more patrons per dollar while preserving adequate access. The checkout rate and staffing rate bear on the existing hours. The joint proposal also needs an estimate of what closing earlier would actually save, what the van would cost, and the use and access each option would provide. A reader who gives greater weight to evening access can challenge the criterion while accepting the checkout count.
This is why warrant recovery is a different kind of task from span extraction. The text contains no warrant span to find. The warrant is inferred from the relationship between the grounds and the claim, and different readers can infer different warrants from the same text. A system that produces a candidate warrant is making an interpretive proposal, not reporting an observation.
For an implicit warrant, a system can generate alternatives or select among candidates. A benchmark can use human-validated references. For open-ended assessment, ask whether the arguer plausibly assumes the proposed warrant and whether it licenses the inference from grounds to claim. More than one reconstruction may meet those criteria.
A board summary can distinguish a dispute about the counts from a dispute about which criterion to apply. New evidence can show how a policy fares under each criterion. The choice of criterion also calls for a judgment about what to prioritize.
Stance Is a Relation Between an Author and a Target
A stance label records an author's position toward a specified target as expressed in a text.
In a multi-target task, store a separate label for each annotated author, text, and target combination. The same text may occur in several rows. A single label per document is sufficient when the task supplies one target for that document.
Sentiment Is Not Stance
Sentiment analysis describes the polarity of an expression. Stance detection asks what position the author takes toward a target. For a policy proposal, that position can include whether the author supports adopting it.
"Closing at 6pm is a painful cut that I support, because the building is falling apart."
The author uses negative evaluation (painful cut) and takes a favorable stance toward closing. For example, a rule that marks any sentence containing “painful” as against would miss this author's stance toward closing.
"The van is a good idea, and we should fund it, though its cost estimates are fiction."
The author explicitly supports funding and challenges the credibility of the cost estimates. The two judgments can coexist. Stance scoring tests whether the system identifies support for funding, while structure scoring tests whether it identifies what the objection challenges.
"Closing Central at 6pm is a mistake, and we should fund the mobile van because it is exactly the outreach the neighborhood needs."
The author opposes closing Central at 6pm and favors funding the van. A single unqualified label would lose one of those positions.
Sentiment words are evidence about stance, not stance itself. A negative word near a target can signal opposition, but it can also signal that the author dislikes a cost, regrets a necessity, or is quoting an opponent. The stance label is the author's position on whether the target should be adopted, and that position has to be inferred from the whole comment, not read off the nearest adjective.
A stance label is always indexed by a target. The correct output format is a set of pairs, one per (text, target) combination, not a label per document.
Target Mentions, Implied Targets, and Attribution
Four issues can complicate target-conditioned stance detection.
Explicit versus implied targets. "Save the late hours" never mentions "close Central at 6pm." It is unambiguously against the closure to a human reader. A system that requires a lexical match on the target string will call it off-topic.
Bridging and coreference. "The plan is short-sighted." Which plan does the author mean, the closure, the van or both? To label stance, first identify what the plan refers to. If it names the combined proposal, the annotation instructions must say whether a single judgment applies to both individual targets.
Attribution. "The board claims the van is too expensive." The quoted attitude belongs to the board. The writer might agree, disagree or leave their own position unstated. Irony can also reverse the apparent sentiment, as in "Great news, the board is cutting evening hours, so now nobody can study at night."
Multi-target sentences. One sentence can carry several target-specific positions. Annotating it for more than one target produces multiple rows for that sentence. A dataset may also omit sentences outside the chosen targets.
A target can be implicit, and a target named in the text can still belong to someone else's quoted position. A lexical matcher can propose a target near a polarity cue. Interpreting harder cases can require resolving a reference, identifying the stance holder, or assigning separate stances to the targets in one sentence.
Annotation Policy: Neutrality Versus Insufficient Evidence
Specify how the task handles text with insufficient evidence of the author's position.
Consider three comments and the target fund the mobile van.
- "I don't have a view on the van either way." The target is addressed, and the author explicitly expresses no position.
- "The van serves the Eastside and Northgate neighborhoods, both over a mile from a branch." The author describes the route. In this fixture, the annotation treats the sentence as neutral toward funding. Additional context could make the route description a reason to support funding.
- "The 2023 consultant report was withdrawn." The target is not addressed at all.
Are all three "neutral"? Two policies are defensible.
Policy A, three labels. Assign favor, against or neutral to every pair. Neutral includes explicit indifference, balanced views, nondirectional descriptions and unaddressed pairs. A constant neutral prediction can therefore achieve high neutral recall regardless of how well it finds directional positions.
Policy B, separate insufficient evidence. Neutral covers addressed pairs with no directional position. The reference uses no-evidence for unaddressed pairs. The system may also abstain. Score stance on the gold-addressed subset and report prediction coverage and abstention quality separately.
Policy A tells annotators to label off-topic text neutral. That label does not preserve the reason for the decision. Policy B records whether the target is addressed, adding a distinction whose reliability can be evaluated through agreement between annotators.
Policy A maps unaddressed pairs to neutral in the reference and offers no separate abstention label. Under Policy B, a system can route a predicted abstention to a human or to a different analysis. For a board counting positions on the van, keeping unaddressed comments separate shows how many commenters expressed no directional position after addressing the proposal.
SemEval-2016 Task 6 used FAVOR, AGAINST and NONE (neither favor nor against). Task A included Atheism, Climate Change is a Real Concern, Feminist Movement, Hillary Clinton and Legalization of Abortion. The shared-task score averaged FAVOR and AGAINST F1 over predictions pooled across targets. A gold NONE example predicted as FAVOR still contributes a false positive to FAVOR.
Task B used Donald Trump as a separate target. The organizers supplied an unlabeled domain corpus but no stance-labeled training set for that target. A target-held-out evaluation tests whether cues learned on earlier targets still work on a new one.
How Stance Is Scored, and Why the Convention Matters
Per-label precision, recall, and F1 are standard, and the averaging convention is where comparisons go wrong. For a set of labels :
Micro-F1 pools true positives, false positives and false negatives across the included labels before computing one F1. With every row assigned one gold label and one prediction from the same complete label set, micro-F1 equals accuracy. Macro-F1 averages the individual label scores with equal weight.
The SemEval-2016 official measure averages two per-label F1 scores.
Different averaging conventions can produce different results for the same predictions.
A fixed synthetic stance confusion matrix shows how far apart the three conventions can land on identical predictions. The counts are deterministic, and no sampling or evaluation split is used.
PythonIn [5]Expand
stance_labels = ["favor", "against", "neutral"]
confusion_counts = [
[14, 2, 4],
[1, 9, 5],
[2, 3, 20],
]
def label_scores(matrix, labels):
scores = {}
total = sum(sum(row) for row in matrix)
for i, label in enumerate(labels):
tp = matrix[i][i]
pred_pos = sum(matrix[row][i] for row in range(len(labels)))
gold_pos = sum(matrix[i])
precision = tp / pred_pos if pred_pos else 0.0
recall = tp / gold_pos if gold_pos else 0.0
f1 = (
2 * precision * recall / (precision + recall)
if (precision + recall)
else 0.0
)
scores[label] = {"precision": precision, "recall": recall, "f1": f1}
correct = sum(matrix[i][i] for i in range(len(labels)))
macro_f1 = sum(scores[label]["f1"] for label in labels) / len(labels)
# With one included gold and predicted label per row, micro-F1 equals accuracy.
micro_f1 = correct / total
official = (scores["favor"]["f1"] + scores["against"]["f1"]) / 2
return {"macro": macro_f1, "micro": micro_f1, "official": official}
metric_values = label_scores(confusion_counts, stance_labels)
convention_names = ["Macro-F1", "Micro-F1", "Favor/against"]
convention_values = [
metric_values["macro"],
metric_values["micro"],
metric_values["official"],
]VisualizationOut [6]Expand

Report the F1 averaging rule, the label definitions, and a confusion matrix or per-label true-positive, false-positive, and false-negative counts. These counts let a reader reproduce the averaging conventions.
The matrix gives macro-F1 over all three labels of about 0.71 and pooled micro-F1 of about 0.72. The SemEval-style average over favor and against is about 0.69. The confusion matrix shows which multiclass errors affect these values. A tally of gold or predicted labels alone leaves out the off-diagonal counts.
Parsing Argument Structure
An argument parser has to recover text boundaries and link the resulting components. The evaluation can measure these steps separately.
Components and Relations
A standard pipeline has four stages.
- Segmentation. Find the text spans that function as argument components. With nonoverlapping components, a token tagger can mark the beginning and interior of each span and label other tokens as outside.
- Classification: assign each span a role (major claim, claim, premise) using features from the span and its context.
- Relation identification: for each ordered pair of components, decide whether a support or attack relation holds.
- Global constraint satisfaction: repair the local decisions so the result is a well-formed argument.
A boundary error can lose exact-match credit even when the component's role is right. An incorrect role changes the information available to the linker. An incorrect edge can misrepresent which claim a reason supports even when both nodes are correct.
Stab and Gurevych’s essay parser detects spans first. It uses component type and binary link predictions in an integer linear program to generate one or more trees within a paragraph. A separate stance-recognition stage differentiates support and attack. The annotation scheme allows restatements of the essay’s major claim.
The constraint stage is also where a system can appear better than it is. If the constraints enforce connectedness, a graph that would otherwise have isolated nodes will be repaired into a connected one, and the repaired edges may match gold by accident. Reporting the constrained score without reporting the unconstrained one hides how much of the performance comes from the constraint and how much from the classifier. Both are legitimate sources of improvement, but a reader needs to know which contributes.
Evaluating Structure: Spans First, Then Edges
Argument structure evaluation needs at least three numbers, reported separately.
- Span identification: do the predicted spans match the gold spans? Exact match means identical document, identical start offset, identical end offset.
- Relation identification given gold spans and roles supplies the reference components and scores the edges predicted from them. This is an oracle comparison for the linker.
- End-to-end: predicted spans and predicted relations together. An edge counts as correct only if both endpoints align exactly with gold components and the label matches.
The oracle relation score omits component extraction errors. The end-to-end score includes them. Report both, plus exact span identification and the span ceiling, the fraction of gold edges whose two endpoints were recovered exactly. That ceiling bounds end-to-end recall with the predicted spans held fixed.
The span score measures component boundary recovery. The oracle tests how the linker works with reference boundaries and component roles, and the end-to-end score tests the full pipeline. Compare the end-to-end recall with the ceiling to see how much recall remains possible with the current boundaries. Inspect errors on eligible edges to see what the linker missed.
Why Exact Span Alignment
Under exact matching, changing a span's offsets changes its identity as an endpoint. An overlap criterion can credit the same underlying proposition when its predicted boundary differs. State the matching rule so readers know what the score credits.
In d2 below, the reference span is a closing shift costs $180 per hour. A prediction from the same sentence could omit the initial "a" and start at closing shift costs $180 per hour. Its start offset is two characters later, while its end offset is the same. An exact scorer rejects the shifted span and any incident edge. An overlap scorer may accept it, depending on its matching rule and threshold.
An exact span score depends on the reference boundaries. Annotators can differ about the subject, modal and terminal punctuation. Report disagreement with the evaluation scores and state whether the agreement statistic jointly measures unit boundaries and labels. An annotator-agreement statistic and exact-match model F1 measure different quantities.
Relaxed matching is legitimate as a secondary number, for example token-level span F1 or an overlap threshold. Just name it, and never compare a relaxed number to someone else's exact number.
Specify the exact-match convention and report human boundary agreement as context. If you also report an overlap-based score, specify the alignment algorithm and threshold so readers can reproduce it.
Quality Is Not Stance and Not Persuasion
Three assessments get confused constantly. Keep them apart.
Argumentative quality concerns the relation between grounds and claim: is the evidence relevant, is it sufficient, is the inference licensed, is the warrant acceptable. These are rubric dimensions, scored by judges, with anchors for each point on the scale.
Factual quality concerns the accuracy of the premises. To check the claim that a closing shift costs $180 per hour, look for payroll records covering the same branch and time period. A false premise can still appear in an argument whose structure you can recover.
Persuasive effect concerns the change in a reader's outcome attributable to exposure. A classifier can predict an observed proxy outcome. Causal interpretation depends on the study design.
An argument can be clearly structured and factually wrong, factually correct and poorly structured, or sound and unpersuasive to a particular reader. Report the reasoning, factual accuracy, and differences in reader outcomes as separate measurements so the board can see where each result comes from.
Fallacy Detection and Its Limits
Fallacy classification depends on the taxonomy, the surrounding argument and the consistency of the annotation.
- The taxonomies disagree. Ad hominem, straw man, false dilemma, whataboutism, and appeal to authority are defined differently across textbooks, and many real moves fit several categories at once.
- Context. A heuristic that flags every appeal to authority also flags arguments that cite a relevant expert.
- Annotation. The same passage can invite several readings of what inference was made and whether it was appropriate. Document the judgments that annotators need to make.
The responsible approach is to publish the taxonomy, publish the annotator pool and instructions, report agreement, and treat disagreement as a finding rather than noise to be averaged away. If agreement on a category is near chance, that category should not be in the headline metric.
There is a deeper issue that the three problems above point toward. Fallacy detection is often framed as classification, but the interesting question is not "does this text contain a named fallacy?" It is "does this inference fail, and why?" The named fallacy is a shorthand for a family of failures, and the shorthand is useful only when the family is well defined and the context is known. A system that can say "this appeal to authority is weak because the cited expert is a consultant with a financial interest" is more useful than a system that says "appeal to authority," even though the second is easier to build and easier to score.
Consensual Assessment, Disclosure, Agency, Privacy
Quality scoring is a human measurement, and it deserves the same rigor as any other measurement.
- Consensual assessment uses multiple independent judges, a published rubric, a reported agreement statistic and a documented adjudication procedure. Agreement cannot be estimated from a single judge’s rating.
- Disclosure: who funded the rubric, who the judges are, what instructions they received, and what the arguments were drawn from. A rubric written by the library board's communications office is not a neutral instrument.
- Agency: analyzing the public statements of elected officials is different from building attitudinal profiles of private individuals. The first is accountability. The second requires consent, or at minimum aggregation and minimization.
- Privacy: stance inference on personal posts produces records of political and social attitudes. Aggregate where possible, retain no more than you need, honor platform terms, and remember that a "public" post was not published with automated profiling in mind.
Factual quality gets its own column in any report, checked against sources with dates. Folding fact-checking into an argument-quality score makes both numbers uninterpretable: readers cannot tell whether a low score means "poorly argued" or "wrong."
Judge selection and instructions can influence how a rubric is applied. Document the source of the arguments, the selection procedure and the conditions under which ratings were produced.
Measuring Persuasion
The question does this argument persuade is causal. The estimand here is the change in a reader's attitude attributable to exposure. The next sections compare an observational proxy design and a randomized exposure design.
A reader's attitude can change during the study for many reasons, including a conversation with a friend, a news report or time to reflect. Random assignment supports a comparison of the assigned exposures under common measurement conditions. A causal interpretation of an observational comparison requires its own identifying assumptions.
Observational Proxies
Tan et al. (2016) studied r/ChangeMyView, where an original poster can award a delta to acknowledge a change of view. The authors analyze interaction patterns and compare paired reply paths that challenge the same original post. Their pairwise classifier uses argument language and its relationship to the original post to distinguish paths with and without a delta.
The reported patterns are associations in the observed ChangeMyView discussions. The data do not generally establish whether the original poster read a reply that earned no award. Four features of that design matter for interpretation.
- Selection into the sample. Reply-level analyses use replies people chose to write, with activity criteria specific to each analysis. Replies with quantified evidence may occur in threads that were already more engaged.
- Discretionary outcome. The original poster decides whether to award a delta, and that decision can reflect gratitude, effort, politeness, or the first reply arriving early, not only a change of view.
- Binary, self-reported outcome. A delta records that the poster says their view changed. It does not record by how much, on what dimension, or for how long.
- Entanglement. Features of the reply are correlated with features of the thread, the topic, and the poster. Adjusting for measured confounders helps; it does not turn the study into a randomized trial.
A prediction of a delta under this design concerns the platform outcome. Argument quality and the causal effect of a change in wording require separate evidence.
Repurposing a delta predictor to estimate whether a particular argument would change a particular commenter's mind would require evidence about that target population and exposure. Accuracy on the award prediction does not establish such an effect.
Randomized Exposure
Salvi and colleagues (2025) randomly assigned people to short debates with a human or GPT-4 opponent. They varied access to participant sociodemographic information for both opponent types and randomized topic strength. They asked participants about agreement before and after the debates.
The personalized GPT-4 condition had estimated odds of higher post-debate agreement with the opposing stance 81.2 percent above those in the unpersonalized human comparison condition. The paper used an ordinal model accounting for pre-debate agreement. Its estimate concerns short, structured debates and their immediate survey outcome.
The fictional study that follows uses a difference in mean changes on a numeric agreement scale. Here and denote treatment and control assignment, and each barred outcome is the arm mean at its indicated measurement time.
With random assignment and comparable measurement, the contrast estimates the effect of assignment on the measured change under the study conditions. This contrasts the two arms at the group level.
The first term measures the treatment arm's observed change. The second measures the control arm's change. Subtraction cancels a common drift shared by both arms. Individual untreated changes can differ, and random assignment balances them in expectation. In a finite sample, estimate uncertainty using the study design.
What Each Design Can and Cannot Support
| Design | Outcome | Supports | Does not support |
|---|---|---|---|
| Observational proxy (delta, upvote) | Binary award, conditional on participation | Feature associations; hypotheses to test | Causal effect of a style or a message |
| Randomized exposure with pre/post | Change on a stated scale | Average causal effect under study conditions | Durability, other populations, other topics |
An average can conceal variation across participants. Estimates for prespecified subgroups need uncertainty intervals and enough observations to support them. For studies with human participants, make the consent procedure, oversight and protection of participant information part of the protocol.
An average effect of five points could come from a uniform five-point shift, a ten-point shift in half the sample and no shift in the other half, or a twenty-five-point increase in one third and a five-point decrease in two thirds. In the last case, the weighted mean is . The average alone does not distinguish these patterns. Prespecified subgroup estimates can show how average effects vary across the measured groups when the sample supports those estimates. People in the same group can respond differently, and its average leaves those individual effects undetermined.
Worked Example: The Riverton Public Library
The six fictional comments below supply the graph spans and edges. A separate synthetic set in the same Riverton scenario supplies the stance examples.
The Thread
Six comments from the public thread, simplified and fictional.
| id | Comment |
|---|---|
| d1 | We should close Central at 6pm and move the savings to a mobile van. |
| d2 | Late-evening checkout counts at Central average 11 visitors per hour, and a closing shift costs $180 per hour. |
| d3 | The checkout counts come from the circulation desk logs for January through March 2025. |
| d4 | The 11-visitor figure counts only people who check out materials, so it understates use of the study rooms. |
| d5 | The van would serve two neighborhoods that are more than a mile from any branch. |
| d6 | The board should not trust the van cost projections, since the same consultant produced the 2023 figures that were withdrawn. |
The six comments let you check every graph span and edge by hand. The first comment states the joint proposal. The second contributes two premises, and the third cites the logs. The fourth challenges how the count is used. The final two introduce the access benefit and the objection to cost estimates.
The Gold Graph
Seven components, six typed directed edges.
- n1 (claim, d1): the proposal itself.
- n2 (premise, d2) gives the recorded rate of evening visitors who check out materials.
- n3 (premise, d2): the shift cost.
- n4 (evidence, d3): the source of the attendance figure.
- n5 (premise, d4) challenges the use of the recorded rate to infer demand.
- n6 (premise, d5): the access argument for the van.
- n7 (premise, d6): the attack on the van's cost projections.
The support edges run from n2, n3 and n6 to n1 and from n4 to n2. The attack edges run from n5 to n2 and from n7 to n1. Every node has a path to n1, and the six edges on seven nodes form a tree directed toward n1. The edge labels capture both support and disagreement within that tree.
The edge from n4 to n2 names the reported source of the checkout rate. The n5 edge encodes a challenge to using that rate as a measure of evening demand. The n7 edge encodes a challenge to the van's cost projections, which the graph leaves implicit.
The proposed unstated warrant favors serving more patrons per dollar while preserving adequate access. It explains why n2 and n3 bear on n1. Funding the van additionally depends on avoidable savings from closing earlier, expected van costs and use, and how both options affect access. The graph records the premises and stated support. It leaves this inferred warrant and the missing comparisons implicit.
In the node-only graph, n5 is represented as an attack on n2. The commenter challenges the checkout rate's use as a proxy for evening demand. Evaluating that inference calls for a measure that also includes relevant uses such as studying in the branch.
Stance in the Same Scenario
Two targets: T1 = close Central at 6pm, T2 = fund the mobile van.
- "Closing Central at 6pm is a mistake, and we should fund the mobile van because it is exactly the outreach the neighborhood needs." Against T1, favor T2.
- "I don't have a view on the van either way, but I'd rather the library kept its evening hours." Neutral toward T2 because the author says so, against T1. This is a genuine neutral under both annotation policies.
- "The 2023 consultant report was withdrawn." Under Policy A this becomes neutral for both targets. Under Policy B it is no-evidence: neither target is addressed.
- "Closing at 6pm is a painful cut that I support, because the building is falling apart." Negative sentiment, favorable stance.
Policy A and Policy B treat the absence of evidence differently. The stance notebook scores both policies on the separate synthetic set below.
The comment "The van is a good idea, and we should fund it, though its cost estimates are fiction." illustrates how a favorable stance toward T2 can coexist with an objection to the cost projections used to support it.
Implementation
Everything below is deterministic, CPU-sized, and built on small synthetic data. The goal is to make each metric and each reporting convention concrete enough to reproduce by hand.
Setup
The book's plotting helpers and a few shared utilities. This cell is hidden because it contains no teaching content.
The Gold Argument Graph
We store each component as a character span. Offsets are computed from the surface string so the data stays readable.
PythonIn [8]Expand
DOCS = {
"d1": "We should close Central at 6pm and move the savings to a mobile van.",
"d2": "Late-evening checkout counts at Central average 11 visitors per hour, and a closing shift costs $180 per hour.",
"d3": "The checkout counts come from the circulation desk logs for January through March 2025.",
"d4": "The 11-visitor figure counts only people who check out materials, so it understates use of the study rooms.",
"d5": "The van would serve two neighborhoods that are more than a mile from any branch.",
"d6": "The board should not trust the van cost projections, since the same consultant produced the 2023 figures that were withdrawn.",
}
GOLD = [
(
"n1",
"d1",
"We should close Central at 6pm and move the savings to a mobile van",
"claim",
),
(
"n2",
"d2",
"Late-evening checkout counts at Central average 11 visitors per hour",
"premise",
),
("n3", "d2", "a closing shift costs $180 per hour", "premise"),
(
"n4",
"d3",
"the circulation desk logs for January through March 2025",
"evidence",
),
("n5", "d4", "counts only people who check out materials", "premise"),
(
"n6",
"d5",
"The van would serve two neighborhoods that are more than a mile from any branch",
"premise",
),
(
"n7",
"d6",
"the same consultant produced the 2023 figures that were withdrawn",
"premise",
),
]
GOLD_NODES = {}
for node_id, doc_id, surface, role in GOLD:
start = DOCS[doc_id].index(surface)
GOLD_NODES[node_id] = {
"id": node_id,
"doc": doc_id,
"start": start,
"end": start + len(surface),
"role": role,
"text": surface,
}
GOLD_EDGES = {
("n2", "n1", "support"),
("n3", "n1", "support"),
("n6", "n1", "support"),
("n4", "n2", "support"),
("n5", "n2", "attack"),
("n7", "n1", "attack"),
}ConsoleOut [9]Expand
n1 d1 [claim ] We should close Central at 6pm and move the savings to a mobile van n2 d2 [premise ] Late-evening checkout counts at Central average 11 visitors per hour n3 d2 [premise ] a closing shift costs $180 per hour n4 d3 [evidence] the circulation desk logs for January through March 2025 n5 d4 [premise ] counts only people who check out materials n6 d5 [premise ] The van would serve two neighborhoods that are more than a mile from any branch n7 d6 [premise ] the same consultant produced the 2023 figures that were withdrawn n2 --support--> n1 n3 --support--> n1 n4 --support--> n2 n5 --attack--> n2 n6 --support--> n1 n7 --attack--> n1
Seven components across six comments yield four support edges and two attack edges. The edges all point toward the same root, directly or through n2.
The Gold Graph, Drawn
VisualizationOut [10]Expand

Both support and attack edges lead toward the joint claim. The attack from n5 points to n2 in this node-only representation, standing in for an objection to the inference from checkout counts to evening demand.
Span Metrics
Three numbers per condition: precision, recall, and F1. Keep them in a dictionary so the reporting code stays uniform.
PythonIn [11]Expand
def prf(n_correct, n_pred, n_gold):
precision = n_correct / n_pred if n_pred else 0.0
recall = n_correct / n_gold if n_gold else 0.0
f1 = (
2 * precision * recall / (precision + recall)
if (precision + recall)
else 0.0
)
return {
"precision": precision,
"recall": recall,
"f1": f1,
"n_correct": n_correct,
"n_pred": n_pred,
"n_gold": n_gold,
}
def span_key(node):
return (node["doc"], node["start"], node["end"])
def score_spans(pred_nodes, gold_nodes):
gold_keys = {span_key(n) for n in gold_nodes}
pred_keys = {span_key(n) for n in pred_nodes}
correct = len(pred_keys & gold_keys)
return prf(correct, len(pred_keys), len(gold_keys))Spans are compared on (document, start, end) triples. Two spans that cover the same words but start one character later are different objects, which is the strict convention we discussed.
A Heuristic Extractor
The baseline uses regular expressions for claims and clause splitting for premises and evidence. Its errors illustrate what these rules can miss on this fixture.
PythonIn [12]Expand
CLAIM_RE = re.compile(
r"\b(?:we|i|the board|they)\s+should\b[^.,;]*", re.IGNORECASE
)
EVIDENCE_RE = re.compile(
r"\b(?:logs?|records?|reports?|data|survey)\b", re.IGNORECASE
)
NUMERIC_RE = re.compile(r"\$\s?\d+|\b\d+\b")
UNDERCUT_RE = re.compile(
r"\b(?:only|not|never|withdrawn|unknown|understates?|excludes?)\b",
re.IGNORECASE,
)
CONNECTORS = (
", so ",
", and ",
", but ",
", since ",
", because ",
" and ",
" but ",
" so ",
" since ",
" because ",
)
def split_clauses(text):
"""Split on connectives, returning (start, end, surface) with offsets intact."""
cuts = []
for con in CONNECTORS:
start = 0
while True:
i = text.find(con, start)
if i == -1:
break
cuts.append((i, i + len(con)))
start = i + len(con)
pieces, prev = [], 0
for a, b in sorted(cuts):
if a < prev:
continue
pieces.append((prev, a))
prev = b
pieces.append((prev, len(text)))
out = []
for a, b in pieces:
while b > a and text[b - 1] in " .,;":
b -= 1
while a < b and text[a] == " ":
a += 1
if b > a:
out.append((a, b, text[a:b]))
return out
def extract_spans(docs):
predicted = []
for doc_id, text in docs.items():
taken = []
for m in CLAIM_RE.finditer(text):
predicted.append(
{
"id": None,
"doc": doc_id,
"start": m.start(),
"end": m.end(),
"role": "claim",
"text": m.group(0),
}
)
taken.append((m.start(), m.end()))
for a, b, seg in split_clauses(text):
if any(a < e and s < b for s, e in taken):
continue
if EVIDENCE_RE.search(seg):
role = "evidence"
elif NUMERIC_RE.search(seg) or re.match(
r"(?:since|because)\b", seg, re.IGNORECASE
):
role = "premise"
else:
continue
predicted.append(
{
"id": None,
"doc": doc_id,
"start": a,
"end": b,
"role": role,
"text": seg,
}
)
for i, node in enumerate(predicted, start=1):
node["id"] = f"p{i}"
return predictedConsoleOut [13]Expand
p1 d1 [claim ] We should close Central at 6pm and move the savings to a mobile van p2 d2 [premise ] Late-evening checkout counts at Central average 11 visitors per hour p3 d2 [premise ] a closing shift costs $180 per hour p4 d3 [evidence] The checkout counts come from the circulation desk logs for January through March 2025 p5 d4 [premise ] The 11-visitor figure counts only people who check out materials p6 d6 [claim ] The board should not trust the van cost projections p7 d6 [premise ] the same consultant produced the 2023 figures that were withdrawn
Four of the seven predicted spans match exactly. They are the claim in d1, both premises in d2 and the consultant premise in d6. The d3 and d4 predictions expand the annotated boundaries, the extractor misses the d5 premise, and the board-trust clause in d6 is an extra predicted claim.
The d3 and d4 errors affect boundaries. Missing the premise in d5 reduces recall, while the extra claim span in d6 also changes the last claim available to the linker.
Relation Metrics
For a node without an attack cue, the linker tries to attach it to the latest claim. With an attack cue, it first tries the latest preceding span from the same document, then a preceding non-claim, then the latest claim. It emits no edge when it cannot choose a target.
PythonIn [14]Expand
DOC_ORDER = {doc_id: i for i, doc_id in enumerate(DOCS)}
def node_order(node):
return (DOC_ORDER[node["doc"]], node["start"])
def predict_relations(nodes):
"""Link each non-claim node to a target using shallow thread-level cues."""
ordered = sorted(nodes, key=node_order)
edges, claim_anchor, previous = set(), None, []
for node in ordered:
if node["role"] == "claim":
claim_anchor = node["id"]
previous.append(node)
continue
target = None
if UNDERCUT_RE.search(node["text"]):
same_doc = [n for n in previous if n["doc"] == node["doc"]]
non_claim = [n for n in previous if n["role"] != "claim"]
if same_doc:
target = same_doc[-1]["id"]
elif non_claim:
target = non_claim[-1]["id"]
elif claim_anchor:
target = claim_anchor
label = "attack"
else:
target = claim_anchor
label = "support"
if target is not None:
edges.add((node["id"], target, label))
previous.append(node)
return edges
def score_edges(pred_edges, gold_edges, pred_to_gold=None):
"""Strict edge scoring: precision counts every predicted edge."""
if pred_to_gold is None:
ids = {e[0] for e in pred_edges} | {e[1] for e in pred_edges}
pred_to_gold = {i: i for i in ids}
mapped = set()
for src, dst, rel in pred_edges:
g_src, g_dst = pred_to_gold.get(src), pred_to_gold.get(dst)
if g_src is None or g_dst is None:
continue
mapped.add((g_src, g_dst, rel))
correct = mapped & gold_edges
return prf(len(correct), len(pred_edges), len(gold_edges)), correct, mappedUnder the gold-component comparison, the mapping is the identity. End-to-end evaluation maps each predicted span to an exactly matching gold ID or to None.
Three Conditions, Three Numbers
PythonIn [15]Expand
# Condition A: relation identification with gold spans and roles supplied
gold_span_edges = predict_relations(list(GOLD_NODES.values()))
gold_span_score, gold_span_correct, gold_span_mapped = score_edges(
gold_span_edges, GOLD_EDGES
)
# Condition B: end-to-end, predicted spans and predicted relations
pred_edges = predict_relations(pred_nodes)
gold_lookup = {span_key(n): n["id"] for n in GOLD_NODES.values()}
pred_to_gold = {n["id"]: gold_lookup.get(span_key(n)) for n in pred_nodes}
end_to_end_score, end_to_end_correct, end_to_end_mapped = score_edges(
pred_edges, GOLD_EDGES, pred_to_gold
)
# Span identification on its own
span_score = score_spans(pred_nodes, list(GOLD_NODES.values()))
# Ceiling on end-to-end recall imposed by span errors alone
recovered = {g for g in pred_to_gold.values() if g is not None}
reachable_gold = {
e for e in GOLD_EDGES if e[0] in recovered and e[1] in recovered
}
span_ceiling = len(reachable_gold) / len(GOLD_EDGES)ConsoleOut [16]Expand
condition P R F1 span identification (exact) 0.571 0.571 0.571 relations, gold components 0.500 0.500 0.500 relations, end-to-end 0.400 0.333 0.364 gold edges whose endpoints were both recovered: 3 of 6 span ceiling on end-to-end recall: 0.500
Exact span identification has F1 of 0.571. The linker achieves F1 of 0.500 with gold spans and gold component roles and 0.364 with predicted spans and roles. The two relation rows use the same scoring rule, with different inputs to the linker.
Three of six gold edges have exactly recovered endpoints. The end-to-end linker recovers two of those three, leaving one eligible edge it could recover with the current spans. Raising recall beyond 0.500 also requires recovering more endpoints. The oracle changes both boundaries and roles, so the gap between the two relation F1 scores is not a span-only estimate.
Per-Type Metrics and the Averaging Convention
This graph has four support edges and two attack edges. Report both label scores so the reader can see how each contributes to the average.
PythonIn [17]Expand
def edge_prf_by_label(pred_edges, gold_edges, pred_to_gold=None):
labels = sorted({e[2] for e in gold_edges} | {e[2] for e in pred_edges})
rows = {}
for label in labels:
p = {e for e in pred_edges if e[2] == label}
g = {e for e in gold_edges if e[2] == label}
_, _, mapped = score_edges(p, g, pred_to_gold)
correct = mapped & g
rows[label] = prf(len(correct), len(p), len(g))
return rowsConsoleOut [18]Expand
relation identification with gold spans and roles label P R F1 tp pred gold attack 0.000 0.000 0.000 0 2 2 support 0.750 0.750 0.750 3 4 4 macro-F1 over 2 relation types: 0.375 micro-F1 (all relations pooled): 0.500
With gold inputs, the linker recovers three support edges and neither of the two attacks. It attaches n5 to n4 instead of n2 and n7 to n6 instead of n1. Both errors persist even when the linker receives the correct spans and component roles.
Support F1 is 0.750 and attack F1 is 0.000. The macro average gives the two types equal weight and comes to 0.375. Pooling all edge counts gives micro-F1 of 0.500, which reflects the greater number of support edges in this example.
What the Numbers Say
VisualizationOut [19]Expand

Only three gold edges have both endpoints recovered, so end-to-end recall can reach at most 0.500 with these spans. The plot reports F1, which combines precision and recall. The per-type table separately shows the zero attack F1 even with gold inputs.
A Target-Conditioned Stance Dataset
The 18 hand-authored (text, target) pairs use different comments from the six graph documents. They share the fictional Riverton scenario and the same two policy targets. Each row has a hand-labeled indicator of whether that text addresses its target. Both annotation policies use this indicator.
PythonIn [20]Expand
T1 = "close Central at 6pm"
T2 = "fund the mobile van"
STANCE_ROWS = [
(
"r01",
"Closing Central at 6pm is a mistake, and we should fund the mobile van because it is exactly the outreach the neighborhood needs.",
T1,
"against",
True,
),
(
"r02",
"Closing Central at 6pm is a mistake, and we should fund the mobile van because it is exactly the outreach the neighborhood needs.",
T2,
"favor",
True,
),
(
"r03",
"I can't support the van until we see the cost projections.",
T2,
"against",
True,
),
(
"r04",
"Late hours are the only time I can visit, so cutting them would shut me out.",
T1,
"against",
True,
),
(
"r05",
"I don't have a view on the van either way, but I'd rather the library kept its evening hours.",
T1,
"against",
True,
),
(
"r06",
"I don't have a view on the van either way, but I'd rather the library kept its evening hours.",
T2,
"neutral",
True,
),
(
"r07",
"The van serves the Eastside and Northgate neighborhoods, both over a mile from a branch.",
T2,
"neutral",
True,
),
(
"r08",
"Closing at 6pm would save $180 an hour, and that money buys a lot of van miles.",
T1,
"favor",
True,
),
(
"r09",
"Closing at 6pm would save $180 an hour, and that money buys a lot of van miles.",
T2,
"favor",
True,
),
(
"r10",
"I'm not against saving money, but not at the cost of the study rooms.",
T1,
"against",
True,
),
(
"r11",
"Anyone who thinks the van will fix access hasn't looked at the route map.",
T2,
"against",
True,
),
("r12", "Save the late hours.", T1, "against", True),
("r13", "The 2023 consultant report was withdrawn.", T1, "neutral", False),
(
"r14",
"The van's operating costs are unknown, so the proposal is premature.",
T2,
"against",
True,
),
(
"r15",
"Closing at 6pm is a painful cut that I support, because the building is falling apart.",
T1,
"favor",
True,
),
(
"r16",
"Great news, the board is cutting evening hours; now nobody can study at night.",
T1,
"against",
True,
),
(
"r17",
"The van is a good idea, and we should fund it, though its cost estimates are fiction.",
T2,
"favor",
True,
),
(
"r18",
"Why is no one asking about the staffing plan?",
T1,
"neutral",
False,
),
]Rows r01 and r02 are the same sentence annotated against two targets, with opposite labels. Rows r05 and r06 are the same sentence again, one target with a position and one explicitly without. Rows r13 and r18 are the two cases where the target is not addressed at all, and they are the rows whose treatment differs between policies.
A Target-Conditioned Baseline
The baseline matches target keywords, collects stance cues within a six-token window, and flips each cue's polarity when it finds a preceding negator within two tokens. A keyword match is the rule’s proxy for whether the text addresses that target.
PythonIn [21]Expand
TARGET_KEYWORDS = {
T1: [
"central",
"6pm",
"closing",
"close",
"evening",
"hours",
"late",
"cutting",
],
T2: [
"van",
"mobile",
"outreach",
"route",
"neighborhood",
"access",
"costs",
],
}
POSITIVE_CUES = {
"support",
"exactly",
"need",
"needs",
"good",
"worth",
"keep",
"save",
"yes",
"idea",
"right",
"great",
}
NEGATIVE_CUES = {
"mistake",
"oppose",
"wrong",
"premature",
"unknown",
"withdrawn",
"nobody",
"fiction",
"shut",
"painful",
"against",
}
NEGATORS = {
"not",
"no",
"never",
"cannot",
"can't",
"don't",
"doesn't",
"isn't",
"hasn't",
"without",
}
WINDOW = 6
TOKEN_RE = re.compile(r"[A-Za-z0-9$']+")
def tokenize_with_offsets(text):
return [
(m.group(0).lower(), m.start(), m.end())
for m in TOKEN_RE.finditer(text)
]
def target_hits(tokens, target):
keywords = TARGET_KEYWORDS[target]
return [
i
for i, (tok, _, _) in enumerate(tokens)
if any(kw in tok for kw in keywords)
]
def score_stance(text, target):
"""Return the integer cue score and whether a target keyword matched."""
tokens = tokenize_with_offsets(text)
hits = target_hits(tokens, target)
if not hits:
return 0, False
score = 0
for i, (tok, _, _) in enumerate(tokens):
if min(abs(i - h) for h in hits) > WINDOW:
continue
polarity = 0
if tok in POSITIVE_CUES:
polarity = 1
elif tok in NEGATIVE_CUES:
polarity = -1
if polarity == 0:
continue
preceding = [t for t, _, _ in tokens[max(0, i - 2) : i]]
if any(w in NEGATORS for w in preceding):
polarity = -polarity
score += polarity
return score, True
def predict_label(text, target):
score, has_target_hit = score_stance(text, target)
if not has_target_hit:
return "neutral", "no-evidence", score
if score > 0:
return "favor", "favor", score
if score < 0:
return "against", "against", score
return "neutral", "neutral", scoreConsoleOut [22]Expand
id target score gold pred text r01 close Central at 6pm -1 against against Closing Central at 6pm is a mistake, and we should f r02 fund the mobile van 1 favor favor Closing Central at 6pm is a mistake, and we should f r03 fund the mobile van -1 against against I can't support the van until we see the cost projec r04 close Central at 6pm -1 against against Late hours are the only time I can visit, so cutting r05 close Central at 6pm 0 against neutral x I don't have a view on the van either way, but I'd r r06 fund the mobile van 0 neutral neutral I don't have a view on the van either way, but I'd r r07 fund the mobile van 0 neutral neutral The van serves the Eastside and Northgate neighborho r08 close Central at 6pm 1 favor favor Closing at 6pm would save $180 an hour, and that mon r09 fund the mobile van 0 favor neutral x Closing at 6pm would save $180 an hour, and that mon r10 close Central at 6pm 0 against neutral x I'm not against saving money, but not at the cost of r11 fund the mobile van 0 against neutral x Anyone who thinks the van will fix access hasn't loo r12 close Central at 6pm 1 against favor x Save the late hours. r13 close Central at 6pm 0 neutral neutral The 2023 consultant report was withdrawn. r14 fund the mobile van -1 against against The van's operating costs are unknown, so the propos r15 close Central at 6pm -1 favor against x Closing at 6pm is a painful cut that I support, beca r16 close Central at 6pm 0 against neutral x Great news, the board is cutting evening hours; now r17 fund the mobile van 2 favor favor The van is a good idea, and we should fund it, thoug r18 close Central at 6pm 0 neutral neutral Why is no one asking about the staffing plan?
Read the x rows carefully, because each one is a lesson rather than a bug.
- r05 ("I'd rather the library kept its evening hours") is predicted neutral. The stance is expressed by a comparative construction, not by a cue word, so the window never sees a polarity.
- r09 is predicted neutral. The cue save is ten or more tokens from the target van and therefore outside the six-token window. The relation between the savings and the van depends on interpreting that money.
- r10 is predicted neutral because no keyword matches T1. The target is implied by the study rooms, and the scorer has no bridging.
- r11 is predicted neutral. The target keyword is present, but the selected window does not yield a nonzero cue score. The intended opposition depends on the implication of the challenge about the route map.
- r12 ("Save the late hours") is predicted favor because save is positive. The cue is positive, but it applies to preserving the hours, which is a stance against closing. The target framing, not the word, determines the sign.
- r15 is predicted against. The selected window includes painful. The word support is seven tokens away from the nearest target hit and falls beyond the six-token window.
- r16 is predicted neutral because great and nobody cancel.
The errors on this fixed set illustrate missing target keywords, cues beyond the window, polarity that depends on target framing, and irony.
Label-Wise Metrics and Two Averaging Conventions
PythonIn [23]Expand
def label_metrics(gold, pred, labels):
rows = {}
for label in labels:
tp = sum(1 for g, p in zip(gold, pred) if g == label and p == label)
n_pred = sum(1 for p in pred if p == label)
n_gold = sum(1 for g in gold if g == label)
rows[label] = prf(tp, n_pred, n_gold)
return rows
def print_stance_report(rows, gold_key, pred_key, labels, title):
gold = [r[gold_key] for r in rows]
pred = [r[pred_key] for r in rows]
metrics = label_metrics(gold, pred, labels)
print(title)
print(
f"{'label':10s} {'P':>6s} {'R':>6s} {'F1':>6s} {'tp':>5s} {'gold':>5s} {'pred':>5s}"
)
for label in labels:
m = metrics[label]
print(
f"{label:10s} {m['precision']:6.3f} {m['recall']:6.3f} {m['f1']:6.3f} "
f"{m['n_correct']:5d} {m['n_gold']:5d} {m['n_pred']:5d}"
)
macro = float(np.mean([metrics[l]["f1"] for l in labels]))
official = float(
np.mean([metrics["favor"]["f1"], metrics["against"]["f1"]])
)
acc = sum(1 for g, p in zip(gold, pred) if g == p) / len(gold)
print(
f"accuracy {acc:.3f} | macro-F1 over {len(labels)} labels {macro:.3f} "
f"| favor/against average {official:.3f}\n"
)
return metrics, macro, officialConsoleOut [24]Expand
Policy A: three labels, both targets pooled (n=18) label P R F1 tp gold pred favor 0.750 0.600 0.667 3 5 4 against 0.800 0.444 0.571 4 9 5 neutral 0.444 1.000 0.615 4 4 9 accuracy 0.611 | macro-F1 over 3 labels 0.618 | favor/against average 0.619 Policy B: gold-addressed rows, both targets pooled (n=16) label P R F1 tp gold pred favor 0.750 0.600 0.667 3 5 4 against 0.800 0.444 0.571 4 9 5 neutral 0.333 1.000 0.500 2 2 6 accuracy 0.562 | macro-F1 over 3 labels 0.579 | favor/against average 0.619 addressed prevalence 0.889 | prediction coverage 0.833 | abstentions 3 | abstention precision 0.667
The reports share a cue scorer. Policy A maps the two unaddressed rows into the gold neutral class. Policy B excludes those rows from its stance table and keeps any false abstention on a gold-addressed row as a miss. Of the 18 input pairs, the system issues 15 predictions and abstains on three. Two of those three abstentions match gold NO-EVIDENCE.
Both reports pool the two targets. The Policy B table uses all 16 gold-addressed pairs, including false abstentions, so its F1 describes performance on the addressed reference subset. Coverage measures how often the system issues a stance label across all 18 inputs. If an evaluation scores only issued predictions instead, report that denominator and the coverage separately.
The three-label and two-label averages happen to be close under Policy A. The two-label average leaves out a standalone neutral F1. Any neutral row predicted as favor or against can still lower the corresponding label’s precision.
VisualizationOut [26]Expand

Of the nine gold-against examples, four receive a neutral prediction, one receives a favor prediction and four receive the correct label. The against recall is four ninths.
Observational Persuasion: What a Delta Can and Cannot Tell You
Now the fourth question. Suppose we scrape a ChangeMyView-style forum, label each reply by whether it contains a quantified piece of evidence, and compare delta rates. This is a simulation of the observational design, with a deliberate confound built in: evidence-bearing replies are more common in busy threads, and busy threads award deltas at a higher rate for reasons unrelated to the reply's content.
PythonIn [27]Expand
rng = np.random.default_rng(RNG_SEED)
N_REPLIES = 120
active_thread = rng.integers(0, 2, size=N_REPLIES)
has_evidence = rng.binomial(1, np.where(active_thread == 1, 0.65, 0.35))
base_rate = np.where(active_thread == 1, 0.30, 0.12)
delta = rng.binomial(1, base_rate + 0.10 * has_evidence)
replies = {
"active_thread": active_thread,
"has_evidence": has_evidence,
"delta": delta,
}ConsoleOut [28]Expand
pooled | evidence 0.397 | no evidence 0.212 | difference +0.186 quiet thread| evidence 0.333 | no evidence 0.074 | difference +0.259 busy thread | evidence 0.439 | no evidence 0.360 | difference +0.079 pooled difference +0.186 standardized difference +0.160
The pooled gap is 0.186 and the standardized gap is 0.160 in this sample. In the simulation, the evidence-bearing replies are more likely to occur in the busier stratum. Equalizing the stratum weights addresses that composition difference. The observed stratum-specific gaps still vary around the simulator’s fixed 0.10 contrast because the sample is finite.
The simulated sample illustrates how conditioning on thread type changes a comparison of awards. A delta is a platform outcome. Inferring attitude change after adding evidence to a real reply would require a design that can identify that effect.
VisualizationOut [29]Expand

Randomized Exposure: Estimating an Effect
The alternative design randomizes who is exposed to what. The study below is fictional: it is constructed for teaching, and it is not a finding about any real library, any real participant, or any real message. Its only purpose is to show what the estimate looks like and what it licenses.
The simulation assigns 240 hypothetical participants to read the board memo alone or to read the memo plus a two-minute structured argument. Both arms use the same 0 to 100 agreement scale. Each participant’s outcome is their immediate post-exposure score minus their pre-exposure score.
PythonIn [30]Expand
N_PARTICIPANTS = 240
rng_study = np.random.default_rng(RNG_SEED + 1)
arm = rng_study.integers(0, 2, size=N_PARTICIPANTS)
pre = np.clip(rng_study.normal(50, 15, size=N_PARTICIPANTS), 0, 100)
noise = rng_study.normal(0, 9, size=N_PARTICIPANTS)
post_memo = np.clip(pre + 1.5 + noise, 0, 100)
post_argument = np.clip(pre + 6.0 + noise, 0, 100)
post = np.where(arm == 1, post_argument, post_memo)
change = post - pre
simulated_sample_effect = (post_argument - post_memo).mean()ConsoleOut [31]Expand
treatment arm n=122 mean pre 46.8 mean change +8.14 control arm n=118 mean pre 49.4 mean change +0.18 difference in mean change: +7.95 points on a 0-100 scale sample effect from both simulated outcomes: +4.46 points
The treatment arm’s pre-exposure mean is about 2.56 points below the control arm’s mean in this draw. The estimate subtracts the group's control mean change from the treatment mean change. The simulator can also compute the unobserved assignment outcome for each individual. It keeps that individual’s noise draw fixed across the two possible assignments and clips each outcome to the agreement scale. The resulting average effect for these 240 simulated individuals differs slightly from the 4.5-point contrast before clipping.
PythonIn [32]Expand
def permutation_test(values, groups, n_perm=10000, seed=RNG_SEED + 2):
gen = np.random.default_rng(seed)
observed = values[groups == 1].mean() - values[groups == 0].mean()
exceed = 0
for _ in range(n_perm):
shuffled = gen.permutation(groups)
stat = values[shuffled == 1].mean() - values[shuffled == 0].mean()
if abs(stat) >= abs(observed):
exceed += 1
return float(observed), (exceed + 1) / (n_perm + 1)
def bootstrap_ci(values, groups, n_boot=5000, seed=RNG_SEED + 3):
gen = np.random.default_rng(seed)
t_idx = np.flatnonzero(groups == 1)
c_idx = np.flatnonzero(groups == 0)
stats = np.empty(n_boot)
for b in range(n_boot):
t_sample = gen.choice(t_idx, size=len(t_idx), replace=True)
c_sample = gen.choice(c_idx, size=len(c_idx), replace=True)
stats[b] = values[t_sample].mean() - values[c_sample].mean()
return np.percentile(stats, [2.5, 97.5])
def mean_ci(values, n_boot=5000, seed=RNG_SEED + 4):
gen = np.random.default_rng(seed)
means = np.array(
[
gen.choice(values, size=len(values), replace=True).mean()
for _ in range(n_boot)
]
)
return np.percentile(means, [2.5, 97.5])ConsoleOut [33]Expand
difference in mean change: +7.95 95% bootstrap interval: [+5.80, +10.15] permutation p-value: 0.0001 control mean change 95% CI: [-1.44, +1.74] treated mean change 95% CI: [+6.65, +9.64]
In this simulated assignment, the contrast is 7.95 points and the within-arm percentile bootstrap interval for the contrast is 5.80 to 10.15 points. This approximate interval resamples observed participants within each arm and does not contain the oracle effect for these 240 simulated participants. Its nominal level does not establish exact coverage over repeated treatment assignments for these fixed participants. The randomization test compares the absolute contrast with reassignments having the observed arm sizes under the sharp null of zero effect for every participant. The 10,000-reassignment test yields 0.0001 after the plus-one adjustment and rounding.
The outcome only describes immediate self-reported agreement in the fictional setup.
There is no follow-up measurement. Generalization would require evidence from other messages, populations and settings. The estimate leaves message quality and individual mechanisms as separate questions.
VisualizationOut [34]Expand

The plot shows the two arm means and their individual intervals. For uncertainty about the difference, use the separately computed contrast interval of 5.80 to 10.15 points.
Limitations and Impact
Span boundaries determine which edges can match under exact evaluation. In the synthetic example, three of six gold edges are eligible after span detection. The other three remain unavailable to the linker. Node-only annotation compresses the difference between attacks on a premise and attacks on its use as evidence. Evaluate both the graph representation and the extraction procedure before reusing an essay parser on council comments.
When a text leaves an inference step implicit, a span extractor can recover only the written material. Several reconstructed premises can be compatible with the same text, so make proposed implicit premises explicit in a report.
Specify the target, eligible labels and measurement protocol before comparing stance scores. Coverage and abstention precision help interpret addressed-only scores. The SemEval-2016 score averages favor and against F1. A separate neutral or neither F1 answers a different evaluation question. A target-held-out split reveals which mistakes are specific to new targets.
Quality and persuasion are where overreach does the most damage. Argument quality is multidimensional and contested, factual quality requires external verification with dates and provenance, and rhetorical effectiveness is a property of an interaction. Folding them into one score produces a number nobody can interpret. Persuasion, meanwhile, is a causal quantity, and the two available designs support different claims. Observational proxies such as delta awards produce conditional associations among replies that were actually written, shaped by selection, discretion, and thread composition, as our standardization exercise showed. Randomized exposure produces an average causal effect under the study conditions, and only under those conditions: short horizons, self-reported attitudes, specific propositions, volunteer samples. Neither design licenses a general claim that a style of argument "works."
Argument mining can organize public comments by claim and evidence and flag concerns for which no reply was detected in the analyzed collection. With a fixed target definition, stance counts can describe changes in recorded positions across a comment period. Report participation and collection coverage before interpreting such changes as shifts in public attitudes.
Collecting stance predictions linked to individual authors can enable attitudinal profiling. For studies of attitude change, obtain informed consent and disclose how the system and exposure are used. Report factual checks separately and favor aggregate reporting when individual estimates are unnecessary.
Summary
Four questions that sound like one request require four separate analyses.
- Argument structure. Report exact span identification, relations with gold spans and roles, and end-to-end relation scores. Include the endpoint-based recall ceiling, per-type results, and the edge averaging convention.
- Stance is a relation between an author, a text, and a target, not a property of a sentence. One sentence can favor one target while attacking another, and the same sentence can carry opposite labels for two targets.
- Sentiment is not stance. Negative words can accompany a favorable position, and positive words can accompany an attack on a premise.
- Stance evaluation. State the policy for neutrality and insufficient evidence. Report the stance denominator, prediction coverage and abstention quality.
- Averaging. Report included labels, pooling by target, and a confusion matrix or per-label counts. SemEval-2016 averages FAVOR and AGAINST F1 and still counts a gold NONE row predicted as either label as a false positive.
- Quality is not stance and not persuasion. Argumentative quality, factual accuracy, and persuasive effect are assessed separately, with disclosure, consensual judging, and source-checked facts.
- Persuasion is causal. Observational proxies such as delta awards give conditional associations among replies that were written; randomized exposure gives an average effect under the study conditions. Limit causal claims to those conditions, and report intervals.
- The safeguards are design choices. Disclosure, consent, aggregation, privacy, and separate factual reporting are decisions made by builders, not properties that emerge from a model.
The next time a request arrives to "summarize what the comments say," the first move is to ask which of the four questions is actually being asked. The answer determines the data, the metric, and what counts as a mistake.
Quiz
Ready to test your understanding? Take this quick quiz to reinforce what you've learned about argumentation, stance, and persuasion.
Argumentation, Stance, and Persuasion
Join the discussionAsk a question or share what you learned.
Keep exploring
Reference
Citation details
Cite or share this article.


Comments
Add to the conversation
A question, a correction, or an example from your own work.
No comments yet. Be the first to share your thoughts!