Consensus Cores: Pruning Predicted Parses Before a Syntax-Aware Model Sees Them

Many language-understanding models take a dependency tree as extra input. A dependency tree is a parse that links each word to the word it modifies. At test time that tree comes from an automatic parser, and the downstream model treats its mistakes as fact. On semantic role labeling, the task of finding who did what to whom, the best syntax-aware system in the file scores 89.8 F1 with predicted trees and 90.5 F1 with gold trees (A Unified Syntax-aware Framework for Semantic Role Labeling). On out-of-domain text it falls to 79.8. The usual defenses are soft: learned gates that down-weight individual edges, and residual connections that let the model ignore syntax altogether. Neither defense ever asks which edges deserve trust before encoding begins.

We propose a different approach. Run several parsers, or several samples from one parser, and treat each parse as a group of edges that votes on the others. We then keep only the edges that survive an iterative peeling procedure, in which a parse whose edges get peeled away also loses its right to vote for its remaining edges. The procedure is core decomposition, a linear-time peeling method for finding cohesive substructure. Here it runs on a hypergraph with one node per candidate edge and one hyperedge per parse. The surviving "consensus core" is repaired into a valid one-head-per-word structure and passed to a standard gated graph encoder. The claim is narrow and testable. When parser errors are correlated within a parse, and they usually are because one wrong attachment rearranges many others, cascade-aware peeling should separate reliable from unreliable arcs better than per-arc vote counting or learned gates. The benefit should be largest out of domain, where most of the gap to gold syntax lies.

Core Claim

Per-arc confidence treats each edge independently. Parser failures are structured: a parse that misreads one clause tends to misread its neighbors. Peeling captures this. At level $k$, an arc survives only if at least $k$ still-credible parses contain it. A parse stays credible only if at least a fraction $\tau$ of its arcs survive. Removing a parse lowers the support of every arc it proposed, which can remove more arcs and more parses. That cascade is exactly what distinguishes a core from a vote threshold. The claim fails if a vote threshold tuned to retain the same number of arcs performs as well. We treat that outcome as a real possibility and test for it directly.

Two further ingredients connect the other directions. The first is semantic pruning, understood here as removing edges that are irrelevant to the query. Pure consensus can peel an arc that is the only syntactic bridge between a predicate and its argument. Borrowing the look-ahead idea of GenPeel from The Generalized Mean Densest Subgraph Problem, we deprotect an arc only after checking whether its removal would disconnect the current predicate from candidate argument heads within two hops. GenPeel scores two-hop damage to a degree-based objective, but it was only evaluated on social and communication networks. We replace its objective with predicate-to-argument reachability. The second ingredient is sharpness, a methodological lens taken from the anti-factor literature. Antifactors of regular bipartite graphs proves that every $k$-regular bipartite graph with $k\ge 3$ contains a 1-anti-factor. A 1-anti-factor is a subgraph in which one side has degree exactly 1 and the other side avoids degree 1. The same paper shows the bound is tight: the 2-regular cycle $C_{4m+2}$ has none. The proof works by casting the problem as a degree-prescribed subgraph ("$H$-factor") and counting how far a graph is from having one.

Our repair step poses an analogous question. Each word must keep exactly one head. Each head's number of dependents may be restricted to a prescribed set, for example to rule out a lone function word governing a single dependent in some label classes. We ask how much candidate redundancy per word guarantees that such a selection exists after pruning. We borrow the deficiency-counting technique to prove a feasibility guarantee for the repair step. We also borrow the habit of building extremal counterexamples, which serve as stress tests. We are not claiming that linguistic structures are regular bipartite graphs. The transfer is a hypothesis that the experiments can reject.

Research Program

The first component is the candidate structure. For each sentence we collect $K$ parses: from three to five different parsers, or from $K$ dropout samples or the $K$-best list of a single parser as a cheap variant. We form the incidence hypergraph with one node per distinct labeled arc and one hyperedge per parse. Core decomposition then runs with the retention rule above, following the hypergraph peeling scheme of Bu et al., which removes vertices that fail group-retention constraints in time linear in total interaction size. This formulation also sidesteps a known obstacle. Plain $k$-core peeling on a single dependency tree collapses for any $k\ge 2$, because trees have leaves (Core Decomposition in Graphs: Concepts, Algorithms and Applications). The multi-parse hypergraph has no such problem.

The second component is repair and theory. Words left without a surviving head receive one through a maximum spanning selection restricted to surviving arcs, with a fallback to the highest-scoring parser's arc. We will prove a sufficient condition, stated in terms of per-word candidate multiplicity, under which the restricted selection exists with the prescribed head-arity sets. We will then search for the smallest counterexample family at which it fails, in the style of the $C_{4m+2}$ construction.

The third component is integration. The pruned and repaired graph replaces the single predicted tree in the Syn-GCN of the released codebase bcmi220/unified_syn_srl. Edge gating and the residual bypass remain in place, so our contribution is purely what happens before the encoder.

Baselines

The naive reference is the Syn-GCN of Li et al. fed the single best predicted parse, retrained under our pipeline. Li et al. report 89.8 F1 on CoNLL-2009 English WSJ, 79.8 on Brown, 83.0 on Chinese, and 90.5 with gold syntax on WSJ (A Unified Syntax-aware Framework for Semantic Role Labeling). This model is also the strongest existing method on the question. It already combines edge gating with a syntax-agnostic bypass, so it represents the best current soft defense. We add the gated GCN of Encoding Sentences with Graph Convolutional Networks for Semantic Role Labeling, which reports 89.1 F1 on the English test set, as a gate-only reference without the residual bypass.

The key ablation is per-arc vote thresholding. It uses the same $K$ parses, keeps an arc if at least $k$ parses predict it, and applies the same repair step. It is tuned so that the number of retained arcs per sentence matches the consensus core. This isolates the cascade. A second ablation removes the predicate-reachability protection, which isolates the semantic pruning ingredient.

Two further competitors test whether pruning is needed at all. The multi-graph baseline feeds the union of all $K$ parses with a parse-identity edge feature and lets the gates sort them out, in the spirit of the multi-graph gating in TIMERS: Document-level Temporal Relation Extraction. The reparse baseline builds one tree by maximum spanning selection over summed arc votes.

Every system uses the same $K$ parses, the same contextual embeddings, and the same encoder. Each receives an equal hyperparameter search budget of 30 trials, and results are averaged over five seeds. We count the method as beating a baseline if it improves Brown F1 by more than the seed standard deviation over both the vote-threshold ablation and the multi-graph baseline, while matching or exceeding them on WSJ. On WSJ, the ceiling is 90.5 gold versus 89.8 predicted. Recovering half of that 0.7-point gap would be a meaningful result.

Why not just…?

Why not just threshold arcs by how many parsers agree? This is the most serious threat. If parser errors are nearly independent across arcs, the cascade adds nothing, and the core reduces to a vote count. The matched-retention ablation settles the question directly. We also measure within-parse error correlation on gold-annotated data, so that a null result can be explained rather than merely reported. If the two methods tie, we will report vote thresholding plus repair as the contribution and drop the core machinery.

Why not just feed all the parses in and let the gates learn? Gates trained only on the task loss have no signal about syntactic validity. TIMERS shows gates learning to abandon syntax entirely at long range rather than repairing it (TIMERS). The multi-graph baseline tests this head-on. If it matches the core, then discrete pruning is unnecessary.

Why not just ensemble the parsers into one better tree? Reparsing always commits to a full tree, so it still forces a guess where every parser is uncertain. The core instead leaves those positions to the repair step and the residual bypass. The reparse baseline measures whether that difference matters.

Why not just use a soft relevance filter like optimal transport? Multilingual SubEvent Relation Extraction routes weakly linked tokens to a discard slot using a tuned cost threshold. It works from one parse and cannot detect correlated failures across a parse. We compare against it on mSubEvent.

Proposed Experiments

The primary benchmark is CoNLL-2009 SRL, with emphasis on the out-of-domain Brown split. We first measure gold-versus-predicted gaps on Brown. If that gap is not substantially larger than the 0.7-point gap on WSJ, the premise weakens and we say so. Secondary evaluations are on mSubEvent, where the reported relation score falls from 0.96 in English to 0.66 in Turkish (Lai et al.), and on CDR inter-sentence relation extraction, where DHG-BERT reports 54.6 F1 (Document-level Relation Extraction with Dual-tier Heterogeneous Graph).

We will measure arc precision and recall of the core against gold syntax as a function of core level, which gives an intrinsic check independent of downstream F1. Downstream we report SRL F1, bucketed by predicate-argument distance and by parser disagreement rate.

The decisive sharpness check varies the minimum candidate multiplicity per word retained before repair, from one through five. For each setting we record how often repair succeeds and the resulting F1. The anti-factor lens predicts a knee at three with extremal failures at two. If the knee instead falls elsewhere or the curve is smooth, that transfer is rejected, and the method stands or falls on the cascade ablation alone.