Parsers for languages like Hebrew and Chinese cannot trust a single upfront split of the text into words. One Hebrew written word can bundle "and", "the" and a noun, and some strings have several valid splits. The best systems keep every candidate split alive in a lattice: a graph whose edges are alternative word pieces and whose paths are complete segmentations. They let the parser choose among them. The cost is that every candidate becomes a token fed to a transformer, whose attention cost grows with the square of sequence length. Most of those candidates are spurious. We propose to learn which candidates can be deleted before the expensive encoder runs. A candidate is kept or dropped as a single decision for all downstream tasks at once (segmentation, part-of-speech tagging and dependency parsing), because a token that enters the encoder costs the same regardless of which task needed it.
This is the structure that joint feature selection was built for. Each task gives every candidate an importance score. Candidates form the rows of an edges-by-tasks matrix, and a row-sparsity penalty removes whole rows. The training signal comes from the idea behind camera-to-LiDAR distillation in sensor fusion: an expensive full-lattice model, used only during training, teaches a cheap pruned model that runs at inference. The claim is that most of the lattice can be removed while keeping the full joint parser's accuracy. The pruning also has to be joint and learned. Pruning by the morphological analyzer's own confidence, or per task, should lose accuracy at the same token budget.
Core Claim
The joint lattice parser of A Truly Joint Neural Architecture for Segmentation and Parsing works as follows:
- a morphological analyzer produces all candidate segments;
- the candidates are flattened into one sequence and encoded by a pretrained Hebrew transformer (AlephBERT);
- a biaffine arc scorer picks dependency arcs, which implicitly picks the winning segmentation.
It reaches 85.45 F1 on dependency parsing and 95.22 F1 on part-of-speech tagging on Hebrew Universal Dependencies, beating the Stanza and Trankit pipelines. The same line of work lists the costs as open problems. Flattening lengthens the sequence, attention cost is quadratic in that length, and noisy or large-vocabulary inputs produce hundreds of spurious edges that can mislead the arc scorer.
Our claim is that a cheap scorer can remove most of these candidates before encoding, with no loss in any task, if two conditions hold. The first is that removal is decided by the combined importance of a candidate across all tasks. The second is that the scorer is trained to imitate what the full-lattice model actually attended to, not the analyzer's prior probabilities. The earlier motivation still applies. The chicken-and-egg problem described by Goldberg et al. and the joint path-and-tree formulation of Cohen et al. show why the lattice cannot simply be replaced by a one-best segmentation. The contribution is to show that deferred commitment can be kept at a fraction of the cost.
Mechanism
A small scorer reads the surface words with a shallow contextual encoder, which is far cheaper than AlephBERT. For every lattice edge $e$ it outputs a vector $a_e \in \mathbb{R}^T$: one importance score per task, over $T$ tasks. The scores are stacked into a matrix $A$ with one row per edge. We apply the group soft-thresholding operator that Efficient Learning using Forward-Backward Splitting derives as the closed-form proximal step for the row-sparsity penalty:
$$\tilde a_e = \max\!\left(0,\ 1 - \frac{\lambda}{\|a_e\|_2}\right) a_e ,$$
where $\lambda$ sets the pruning budget. Edges with $\tilde a_e = 0$ are deleted from the flattened sequence. The operator gives exact zeros, so the kept set is a discrete, per-sentence token list that the encoder can batch normally.
During training the scorer minimizes a distillation loss plus the penalty $\sum_e \|a_e\|_2$. This is the row-sparsity norm used in Efficient and Robust Feature Selection via Joint ℓ2, 1-Norms Minimization, there applied to features of a linear model and here applied to candidate tokens. The per-task targets come from the frozen full-lattice teacher:
- for parsing, the arc-attention mass the teacher assigns to or from edge $e$;
- for tagging and segmentation, the teacher's probability that $e$ lies on the chosen path.
The downstream parser is then fine-tuned on pruned lattices, as a student distilled from the teacher.
We add one structural safeguard. The best-scoring source-to-sink path under the scorer is always kept, so the pruned graph still contains at least one complete segmentation.
The standard objection to row sparsity is that it forces a feature to be relevant to every task or to none. The research file lists this as a known cause of negative transfer. That objection does not apply here. The selected unit is an input token, and a token's compute is paid in full if any task keeps it. So all-or-nothing selection matches the real cost structure. Tasks still keep their own scores inside each row, and a candidate needed only for parsing survives if its parsing score is large.
Research Program
Measuring the redundancy. We first measure how much redundancy exists. On Hebrew UD and in the "uninfused" setting with an incomplete analyzer, we record three things:
- how much longer the flattened lattice is than the gold segment sequence;
- what fraction of encoder time and memory it accounts for;
- how the teacher's attention mass is distributed over non-gold edges.
The research file gives no lattice lengths or latency figures for the joint parser: no reported result found on Lacuna for lattice inflation or runtime of the joint architecture. This step therefore also decides whether the problem is worth solving. If Hebrew lattices turn out to be only modestly longer than gold sequences, Hebrew savings will be small. The burden then shifts to the second setting.
The high-redundancy setting. The second setting is Chinese named entity recognition with a flattened-lattice transformer. Every lexicon-matched word is appended as a candidate token, as in the word cells of Lattice LSTM for Chinese Sentence Representation. We also build an extreme variant in which all frequent character n-grams become edges, following the lattice construction of Oshikiri. This is the edge-explosion regime the file identifies. The tasks are named entity recognition plus segmentation, and part-of-speech tagging where labels exist.
Testing whether analyzer confidence is the wrong signal. Gaussian Image Anomaly Detection with Greedy Eigencomponent Selection shows that in deep features the high-variance directions are often background, and the useful signal sits in low-variance components. Our hypothesis is the lattice analogue: correct analyses are disproportionately low-prior candidates that confidence-based pruning discards. We test it directly. We plot gold-edge recall against pruning rate for prior-ranked pruning and for learned pruning. We then look at which gold edges each method loses, for example rare clitic splits and out-of-lexicon stems.
The sensor-fusion link. In sensor fusion this is the exact move of 2DPASS: an expensive fused representation is used only as a training-time teacher, and a cheaper model runs at inference. 2DPASS raised a LiDAR-only model from 67.4 to 72.9 mIoU on SemanticKITTI with no added runtime. The lattice setting differs in one way. We keep the fused structure at inference, but reduced, rather than dropping a stream entirely. Dense multimodal encoders such as UniTR and BEVGuide likewise process every token or grid cell from every stream. We treat that as the analogous inefficiency, but we do not claim results on driving data.
Baselines
The unpruned model. The main reference is the full joint model of A Truly Joint Neural Architecture for Segmentation and Parsing, retrained in our codebase with the same analyzer, encoder and seeds. The reported targets are 85.45 dependency F1 and 95.22 part-of-speech F1 on Hebrew UD. Beating it means staying within the seed-variance band of both scores, including in the uninfused setting, while cutting encoder FLOPs and wall-clock time by a margin we report at several budgets. Latency always includes the scorer.
The naive pipeline. The do-nothing efficiency reference commits to a single segmentation upfront, as the Stanza and Trankit pipelines do. The joint paper reports beating them, but the file gives no pipeline numbers (no reported result found on Lacuna for Stanza or Trankit on Hebrew UD). We therefore rerun them. Their accuracy is the floor we must stay well above, and their speed is the ceiling we aim to approach.
Analyzer-confidence pruning. This is the strongest cheap competitor. It keeps the top-k analyses per surface word by the analyzer's lexical prior, or by a frequency heuristic for Chinese. It is tuned over k to match our token budget exactly.
Matched random pruning. Random pruning at the same budget, with the same path-preservation safeguard, is a sanity check that shows how much the safeguard alone buys.
Ablations that isolate the key ingredients. The first ablation isolates joint selection. It replaces the row-sparsity penalty either with a scorer trained only on parsing targets, or with independent per-task scorers whose kept sets are merged by union at the same budget. The second ablation removes distillation: the scorer is trained only to recover gold edges. All pruned variants get the same fine-tuning steps and hyperparameter search budget as the full model.
The Chinese reference. In the Chinese setting, the Lattice LSTM result of 73.88 F1 on OntoNotes 4 anchors the scale of lattice benefit. Character and word baselines score 62.47 and 69.52 F1. Our own full flattened-lattice transformer is the direct unpruned competitor.
Why not just…?
Why not just prune by the analyzer's own probabilities? This is the most serious threat, because it is nearly free. If top-k-by-prior matches our gold-edge recall and task F1 at equal budget, the learned scorer is not worth building, and we will say so. We expect it to fail on rare-but-correct analyses and in the uninfused setting, where the analyzer's priors are least reliable. That expectation rests on the pattern in Gaussian Image Anomaly Detection with Greedy Eigencomponent Selection, where the most prominent directions carry the least task signal. The recall-versus-budget curves in the program above settle the question.
Why not just use sparse or windowed attention over the full lattice? Restricting each candidate to attend within its own word and its neighbors reduces cost without deleting anything. However, it keeps every spurious edge in front of the arc scorer, and the file names such edges as a source of error that can mislead attention. It also limits the long-range context that joint parsing depends on. We run a within-word-plus-neighbor window variant of the full model at matched FLOPs. If it matches accuracy, then the cost problem is solved without pruning. The noise argument then has to stand on its own, which we would test on the n-gram lattices.
Why not select per task, or train only for parsing? Parsing carries the arc decisions that implicitly choose the segmentation, so a parsing-only scorer might seem sufficient. The claim that joint selection matters rests entirely on the ablation that isolates it. If the parsing-only scorer ties with ours on part-of-speech and segmentation F1, the joint penalty is decorative. We would then report the method as distillation-based pruning, with no joint-selection contribution. The theory in The Sample Complexity of Meta Sparse Regression suggests that pooling tasks with a shared support improves support recovery when data per task is small. On that basis we expect the joint advantage to be largest in low-resource training subsets, and we test at reduced training sizes.
Why not a diversity prior that removes near-duplicate candidates? A determinantal-point-process prior, as in Priors for Diversity in Generative Latent Variable Models, penalizes redundant items through a Gram determinant. That computation costs cubic time in the number of candidates, which undoes the savings we are after. It also encourages spread, whereas competing lattice edges are meant to be similar alternatives, one of which is correct. We do not include it as a baseline beyond noting this mismatch.
Decisive Checks
The work succeeds if three conditions hold on Hebrew UD and on the Chinese n-gram lattices. First, at a budget that removes at least half of the non-gold edges, the pruned student matches the full joint model's parsing and tagging F1 within seed variance. Second, it beats analyzer-confidence pruning and parsing-only pruning at the same budget. Third, end-to-end latency, including the scorer, drops measurably.
It fails in three identifiable ways:
- the first-stage measurement shows too little inflation for pruning to matter;
- prior-based pruning ties with the learned scorer;
- the joint penalty adds nothing over parsing-only distillation.
Each failure points to a specific, reportable conclusion about where the real cost of deferred commitment lies.
References
- A Truly Joint Neural Architecture for Segmentation and Parsing
- A Single Generative Model for Joint Morphological Segmentation and Syntactic Parsing
- Joint Morphological and Syntactic Disambiguation
- Efficient Learning using Forward-Backward Splitting
- Efficient and Robust Feature Selection via Joint ℓ2, 1-Norms Minimization
- Lattice LSTM for Chinese Sentence Representation
- Segmentation-Free Word Embedding for Unsegmented Languages
- Gaussian Image Anomaly Detection with Greedy Eigencomponent Selection
- 2DPASS: 2D Priors Assisted Semantic Segmentation on LiDAR Point Clouds
- UniTR: A Unified and Efficient Multi-Modal Transformer for Bird's-Eye-View Representation
- BEV-Guided Multi-Modality Fusion for Driving Perception
- The Sample Complexity of Meta Sparse Regression
- Priors for Diversity in Generative Latent Variable Models