Three Inference Passes Before a Hybrid System States a Holding
Published hybrid legal reasoners typically execute three distinct passes before they produce an opinion-like paragraph: rule-firing, argument-construction and language-realisation. The separation is methodological. It keeps an error in one stage from disappearing inside a fluent final answer.
The first pass applies compiled doctrine to grounded facts. The second turns the resulting claims into structured arguments, including attacks, support relations and burden assignments. Only the third pass converts accepted arguments into prose.
Reported execution latency, based on the figures given, runs from roughly 150 to about 400 milliseconds per inference pass. That figure matters less as a speed benchmark than as an operational clue. Each pass can be logged, rerun and tested independently without imposing an obviously impractical delay on the full pipeline.
What the separation protects
- Reliability of the holding: the realised conclusion must correspond to an argument that survived symbolic evaluation.
- Explainability of the path: a reviewer can recover the attacks and supporting premises behind the conclusion.
- Doctrinal consistency: every inference remains tied to the frozen authority set selected for the matter.
A replicable coupling protocol can be extracted from hybrid legal-inference research, so that a chambers team or laboratory can assemble, constrain and audit the same stack.
Holding Boundary
The language model receives conclusions after acceptance has been computed. It does not decide which conclusion wins.
How the Review Bounded Hybrid Legal-Inference Papers
The review window ran from early 2018 through late 2023. Within that period, inclusion depended on architecture rather than a paper’s use of the label legal AI.
A qualifying system had to couple at least one neural component, typically a transformer, to at least one symbolic component used for legal inference. The symbolic component could take the form of production rules, a formal logic program or a structured argumentation framework. It had to affect what the system could conclude.
What fell outside the boundary
Pure retrieval systems were excluded. So were ungrounded judgment-prediction leaderboards and drafting tools whose decoders remained free to state conclusions without reference to rules or argument status. A system that retrieves authorities and asks a transformer to summarise them may be useful, but it does not implement the inference protocol examined here.
The papers were compared across three axes:
- Legal task: statutory subsumption, analogical use of precedent or application of a proof standard.
- Coupling direction: symbolic-first pipelines against neural-first pipelines.
- Veto power: whether the symbolic layer could prevent the generated holding from asserting a rejected claim.
Veto power proved the sharpest dividing line. A symbolic component used only to decorate an answer with a graph leaves the decisive inference inside the transformer. A component that blocks an inapplicable rule or rejected argument changes the system’s legal output.
Coupling Transformers to Rules, Argument Graphs and Logic
The cleanest hybrid stack runs through four layers in a fixed order. Doctrine is frozen and compiled first. Arguments are then constructed from grounded facts and compiled rules. The argumentation layer evaluates acceptance. Finally, a decoder realises accepted claims in natural language.
The four-layer run order
- Doctrine layer: statutes, precedents, exceptions and temporal conditions become executable rules or logic programs.
- Argument-construction layer: rules and facts produce structured arguments, often following an ASPIC+-style pattern.
- Acceptance layer: attacks, defeats, burdens and preferences determine which arguments survive.
- Realisation layer: the decoder expresses only the accepted claims and their authorised qualifications.
A typical consumer claim shows why ownership boundaries matter. Suppose the neural extractor identifies a purchase, a defect report, a repair attempt and the date of supply. It maps those observations into a controlled vocabulary. The rule base decides whether the statutory conditions and any exceptions apply. The argumentation layer weighs a trader’s contrary account and allocates the relevant burden. The decoder writes the result.
Each layer owns a different variable. Applicability and exceptions belong to the rule base. The argumentation layer owns attack, support and burden. The decoder owns wording only.
Three coupling patterns
Neural-first extraction works well where files contain varied correspondence, witness accounts and informal descriptions. The transformer converts that language into bounded predicates before symbolic inference begins. Symbolic-first systems suit matters where the decisive facts already arrive in structured form and rules can immediately narrow the permissible conclusions.
At the output boundary, constrained decoding and post-hoc verification serve related purposes. Constrained decoding limits the claims available during generation. Verification checks completed text against the accepted graph and rejects any sentence that exceeds it. The first offers tighter control; the second can accommodate more natural drafting, provided a failed verification stops publication.
Graph Limit
Prakken’s abstract framework supplies argument status and defeat relations, but it cannot perform statutory interpretation independently. Interpretation must enter through the compiled rules, authority choices and preference structure.
Freezing Jurisdiction, Time and the Standard of Proof
Jurisdiction, applicable date and standard of proof must be bound before any model call. Leaving them as adjectives in a prompt gives the decoder room to reinterpret the scope while it writes.
The authority snapshot should record the statute as in force, binding precedent and any persuasive material deliberately excluded from the run. Temporal predicates then carry those decisions into the rule base. A cut-off can be fixed to the day of enactment, such as October 12, 2021, rather than represented through loose terms such as “current law” or “the law at the time.”
Building the frozen authority set
- Identify the governing jurisdiction and any choice-of-law assumption.
- Set the temporal boundary for facts, enactments and precedents.
- List binding authorities admitted to the snapshot.
- Record persuasive authorities separately, including whether the run may use them.
- Compile commencement, repeal and transition provisions as explicit predicates.
The frozen authority set temporal boundary should appear in both machine-readable metadata and the reviewer’s run sheet. That duplication helps a reviewer distinguish a bad inference from a run conducted against the wrong body of law.
Encoding proof rather than describing it
Standards such as balance of probabilities, beyond reasonable doubt and reasonable suspicion belong in the argument model. They can be represented as labelled premises, argumentation roles or acceptance conditions. Prompt language alone cannot reliably enforce their effect.
For example, a consumer’s account and a trader’s repair record may support competing propositions about when a defect emerged. The graph should identify who bears the burden and what acceptance condition applies. The final prose may then state that a proposition was established under the encoded standard. It cannot silently substitute a more demanding threshold because the wording sounds judicial.
What Each Engine Can Veto
Implementation becomes clearer when tools are classified by what they can stop. Logic-programming and production-rule engines block inferences whose legal conditions fail. Argumentation compilers block claims that lose through attack, preference or burden. Constrained and verified decoders block text that introduces a conclusion outside the accepted set.
These controls address different failure domains. Substituting one for another weakens the chain.
From rules to authorised prose
- Write doctrine in a form the selected engine can fire, including exceptions and temporal conditions.
- Ground file facts in the controlled vocabulary used by those rules.
- Compile arguments from the rules and grounded facts.
- Compute accepted, rejected and undecided arguments.
- Pass a whitelist of accepted claims and permitted qualifications to the decoder.
- Verify the realised holding against that whitelist before release.
One implementation pattern began with an undocumented mega-prompt intended to hold the facts, rules, exceptions and drafting instructions together. Engineers rejected it because reviewers could not audit doctrinal drift. A thin, inspectable rule base replaced the hidden logic, while the prompt retained the narrower job of language-realisation.
The difference appears quickly in a statutory exception. A rule engine can prevent the main provision from firing when an exception applies. An argumentation layer can reject an inference whose supporting premise has been defeated. A decoder constraint can prevent decoder-injected ratio smuggling, where polished prose introduces a broader legal proposition than any accepted argument supports.
Checking Contradiction, Citations and Proof Standards
Three reliability checks should run after language-realisation. First, accepted arguments must remain mutually coherent under the chosen argumentation semantics. Second, every cited authority must exist in the frozen set and support the attached proposition. Third, the holding must state the same proof standard encoded in the graph.
Test the holding against acceptance
The generated text should be decomposed into claims and matched to persisted argument identifiers. If a sentence asserts a rejected argument, an argument that was never constructed or a stronger proposition than the accepted claim, the run fails. Editing the sentence for fluency does not cure the underlying mismatch.
Contradiction checking must also examine combinations. Two sentences may each map to accepted nodes while expressing incompatible outcomes when read together. That problem can arise where separate branches of a graph resolve different issues but the realisation stage merges them without their conditions.
Treat citations as a join
Citation fidelity is a database-style join against the authority snapshot. The check asks whether the cited item exists, falls within the temporal and jurisdictional scope, and supports the proposition linked to it. Surface features such as citation format and confident phrasing come later.
A fabricated citation fails the existence join. A genuine case outside the frozen set fails the scope join. A real, admitted authority attached to a proposition it does not support fails the entailment check. The categories should remain separate in the fail log because they point to different repairs.
Release Gate
Fail the run whenever the realised holding asserts a rejected or unconstructed argument.
Turning an Attack Graph into a Traceable Holding
Explainability here has a concrete meaning: each sentence in the holding leads back to an accepted argument, its premises and the attacking arguments that failed. A persuasive narrative without that recoverable path offers little help during review.
Argument identifiers therefore need to survive decoding. The client-facing memo may omit them, but the audit log should retain the association between text spans and graph nodes. Stripping identifiers too early severs the most useful link in the evidence chain.
The minimum trace
- Claim: the proposition expressed in the holding.
- Supporting authorities: the frozen statutes or precedents used to derive it.
- Grounded premises: the file facts mapped into the controlled vocabulary.
- Defeated counterarguments: the contrary arguments considered by the graph.
- Defeat basis: the rule, precedent, preference or burden allocation that resolved the attack.
Consider a holding that states a consumer claim succeeds because the supplied item failed a statutory condition. The audit record should expose the predicate representing supply, the evidence supporting the defect, the applicable statutory rule and any trader argument based on misuse. If misuse failed because its factual premise lacked support under the encoded burden, that route should remain visible.
This trace changes review from broad scepticism to a series of answerable questions. Was the fact extracted correctly? Did the rule apply on the relevant date? Was the counterargument constructed? Did the selected semantics defeat it for the recorded reason?
Swapping the Authority Set While Holding Facts Still
Doctrinal consistency can be tested by keeping the file facts fixed and changing the frozen authority set. The substitute set might represent a sister jurisdiction, a later restatement or an alternative statutory construction.
The protocol reruns the entire symbolic chain: recompile the rules, rebuild the argument graph, recompute acceptance and realise the new holding. Reusing the old graph after changing doctrine would conceal the very effect the test seeks to measure.
Argument diffing versus prose diffing
Two comparison methods are available. A prose diff highlights altered words and sentence order. An accepted-argument diff identifies claims that entered or left the legally authorised set.
Prose diffing wins when editors need to inspect drafting consistency after the reasoning has been validated. Argument diffing wins when researchers need to determine whether the authority change altered the legal outcome or its supporting route. For doctrinal analysis, the second comparison carries the signal.
A material change in accepted arguments indicates a doctrinal effect. A shift only in wording is a decoder artefact and should be ignored for outcome evaluation. This distinction also prevents a more fluent second answer from being mistaken for a more legally coherent one.
When the Graph Is Sparse or the Decoder Is Too Free
A hybrid label cannot compensate for an underbuilt symbolic layer. The practical test for graph sparsity is whether known contrary authorities from the frozen set appear as attackers. If a reviewer can identify a directly relevant counter-authority that never enters the graph, the acceptance result rests on an incomplete contest.
Signals of symbolic sparsity
- Arguments contain supporting rules but few or no attacks.
- Exceptions exist in the authority snapshot yet never appear in compiled form.
- Burden assignments are described in prose without affecting acceptance.
- Contrary authorities are retrieved but remain disconnected from the graph.
The repair belongs upstream. Expand the rule compilation, map the missing authority into an attack relation and rerun acceptance. Asking the decoder to mention “possible counterarguments” merely produces unscored prose.
The opposite failure occurs when the graph is sound but the decoder remains too free. Watch for new ratios, broadened holdings and qualifications that reverse the accepted claim. A decoder may also collapse an undecided argument into a definite conclusion because ordinary prose rewards closure.
Constrained generation is preferable where the claim vocabulary is narrow and the output format is stable. Post-hoc verification suits longer memoranda where natural expression matters, provided failed claims trigger rejection rather than a warning. A graph can expose derivation; it cannot settle contested interpretation by itself.
Standards and Research That Inform the Controls
The supporting materials serve different purposes and should not be treated as interchangeable test harnesses.
- Prakken’s 2010 work on structured argumentation informs the representation of arguments, attacks and defeat relations.
- The 2017 paper Predicting judicial decisions of the European Court of Human Rights provides context for neural legal prediction, while the present protocol applies a stricter requirement: symbolic inference must constrain the holding.
- The 2023 NIST Artificial Intelligence Risk Management Framework informs process controls and measurement of residual risk. It does not supply a legal-reasoning benchmark.
The publication sequence also marks a useful methodological progression: formal argument structures, neural prediction challenges and broader AI risk controls. The hybrid protocol draws from all three areas while keeping legal validity tied to the selected authority set.
Run a Three-Layer Audit on One Closed File
A closed file offers a controlled starting point because the facts, authorities and eventual disposition are already available for inspection. The aim is to test the pipeline’s internal discipline rather than reward agreement with the historical outcome.
Prepare the audit packet
- Choose one file with a bounded legal issue and a settled authority date.
- Write the jurisdiction, temporal cut-off and proof standard at the top of the run sheet.
- Freeze the admitted authority set and record excluded persuasive material.
- Map the material facts into a controlled vocabulary without adding inferred conclusions.
- Compile the rules, exceptions and temporal predicates.
- Build the attack-and-support graph, including every known contrary authority from the freeze.
- Compute acceptance and give the decoder a whitelist of accepted claims.
- Join every citation and realised claim back to the snapshot and argument identifiers.
The audit should produce three review layers. Rule-level records show which provisions fired and which exceptions blocked them. Attacks, support, burdens and acceptance status belong to the argument layer. At the realisation layer, the record captures the exact claims the decoder expressed.
Maintain a written fail log for every decoder-added claim that bypasses graph acceptance. Record the text span, the nearest accepted argument and the control that should have blocked the addition. That log turns a polished but unsupported sentence into a reproducible engineering defect.
Start now by selecting one closed consumer claim, fixing its authority snapshot to a specific day and compiling the first rule before sending any facts to the decoder.


