AF-XRAY Logo

AF-XRAY

Argumentation Framework eXplanation, Reasoning, and AnalYsis

Input Options

Framework Actions

Evaluation

No framework loaded. Please upload a file, generate a random framework, or select an example.

Argument Graph

What is an Argumentation Framework?

An argumentation framework (AF) is a directed graph where nodes represent abstract arguments and edges represent attacks between them. AFs provide formal approaches for representing and reasoning about conflict, with applications in case law, medical decision making, and multi-agent systems.

When argument B attacks argument A (written B→A), accepting B gives us reason to reject A. The goal is to find sets of arguments that are conflict-free (don't attack each other) and defend each other against outside attacks.

Let's explore this with the Wild Animals case, modeling the famous 1805 legal dispute Pierson v. Post: if you're chasing a fox and someone else captures it, who owns the fox? This example is from Bench-Capon's work on representing case law as argumentation frameworks.

The core dispute: argument A claims "Pursuer had right to animal", but B counters "Pursuer not in possession":

B (Not in possession) attacks A (Had right to animal)

But the debate doesn't stop there. K ("Animal was mortally wounded") and L ("Bodily seizure not necessary") both attack I ("Pursuit not enough"), which in turn attacks B:

K and L attack I, which attacks B, which attacks A

Select "wild_animals" from the examples dropdown above to load the full framework with all 24 arguments.

How Do We Decide Which Arguments Win?

Given an AF, the main reasoning task is to determine which arguments to accept. This is where semantics come in — rules that define what it means for arguments to be "rationally acceptable" together.

After selecting a semantics, arguments are labeled by status:

IN
Accepted
OUT
Defeated
UND
Undecided

Grounded Semantics (Skeptical)

The most cautious approach. An argument is accepted if all its attackers are defeated. An argument is defeated if it has an accepted attacker. Arguments that are neither are undecided. This yields a unique 3-valued solution.

K.0 and L.0 are accepted (length 0, no attackers). I.1 is defeated (length 1).

The number after each argument is its length — the number of argumentation rounds needed to determine its status.

When Arguments Form Cycles: Ambiguity

In the Wild Animals case, M ("Mere pursuit not enough") and O ("Bodily seizure not necessary") attack each other. Under grounded semantics, both remain undecided — the AF is ambiguous:

M and O attack each other — both undecided under grounded semantics

Stable Semantics (Credulous)

Resolves ambiguity by requiring every argument to be either accepted or defeated. This often produces multiple extensions, each representing a coherent position:

S1: M accepted, O defeated
S2: O accepted, M defeated

These represent the two opposing legal positions in Pierson v. Post!

Preferred & Complete Semantics

Preferred finds the largest defensible sets. Complete shows all positions from minimal (grounded) to maximal (preferred).

Try switching between semantics in the tool above to see how the Wild Animals framework changes.

Understanding Why: Provenance and Length

Knowing that an argument is accepted or defeated is useful, but understanding why is even more valuable. Provenance traces the reasoning chain that determines an argument's status. The grounded semantics is "self-explanatory" — each argument's status can be derived from the arguments below it.

AF-XRAY uses a layered visualization based on argument length — the number of argumentation rounds needed to determine status:

Layered by length: K.0 (no attackers) → I.1 (defeated by K) → B.2 (survives) → A.3 (defeated by B)

Arguments at length 0 have no attackers. Each subsequent layer depends on the layers below. This makes the derivation structure explicit and "self-explanatory."

AF-XRAY also classifies attack types by their semantic role:

Primary Attack (solid blue)

A winning attack that is part of the shortest path to defeat — the essential attack.

Secondary Attack (dashed blue)

A winning attack that is redundant — the target was already defeated by a shorter path.

Blunder (dotted gray)

An irrelevant attack — it doesn't affect the argument's status (e.g., a defeated argument attacking an accepted one).

Click on any argument in the tool above to see its provenance highlighted.

Critical Attacks: Explaining Stable Solutions

How can we explain why a stable solution chose one resolution over another? The key insight is that stable solutions involve choices — assumptions about which arguments to accept when the grounded semantics leaves them undecided.

A critical attack set is a minimal set of edges that, if temporarily suspended (ignored), would make the stable solution derivable as a grounded solution. These attacks pinpoint the exact choices made.

S1: Critical attack O→M (red dashed). Suspending it makes M accepted via grounded semantics.

In the Wild Animals case, the mutual attack between M ("Mere pursuit not enough") and O ("Bodily seizure not necessary") creates ambiguity. The two stable solutions have critical attack sets:

Solution S1: M accepted

Critical attack: {O→M}

Suspending O→M lets M be accepted (no attackers), defeating O.

Solution S2: O accepted

Critical attack: {M→O}

Suspending M→O lets O be accepted (no attackers), defeating M.

This supports teleological legal reasoning: different assumptions lead to different legally justified conclusions. In Pierson v. Post, accepting M (mere pursuit not enough) or O (bodily seizure not necessary) reflects opposing legal positions about property rights.

Select Stable semantics and click on an argument to see critical attacks highlighted in red.

Interactive Features

AF-XRAY is designed for exploration. Here are the key ways you can interact with the visualization:

  1. 1.Hover over nodes to see argument details and any associated hyperlinks.
  2. 2.Click a node to select it and view its provenance — how its status is determined.
  3. 3.Right-click a node to edit its properties or add/remove attacks.
  4. 4.Drag nodes to rearrange the graph layout.
  5. 5.Use the Edit Framework button to modify arguments and attacks via JSON.
  6. 6.Download your modified framework to save your work.

Start Exploring

You now have the tools to analyze argumentation frameworks: load or create frameworks, evaluate them under different semantics, trace provenance to understand outcomes, and identify critical attacks. Scroll back up to experiment with the Wild Animals case, or load other examples to see how these concepts apply across different domains.