Documentation

Studies.Kuhlmann2013

Kuhlmann (2013): Mildly Non-Projective Dependency Grammar #

This file formalizes the structural side of [Kuh13], which reads lexicalized linear context-free rewriting systems as dependency grammars and measures the non-projectivity that parsing them has to pay for. The fan-out of a rule extracted from a treebank is the block-degree of its head, one more than the substrate's gap degree (blockDegree), so projectivity is block-degree one (isProjective_iff_blockDegree_eq_one). Well-nestedness, which makes parsing polynomial through binarization, fails exactly when two sibling nodes have interleaving yields (not_isWellNested_iff_siblings, the paper's Lemma 9 in the substrate's terms). The Dutch and German verb clusters of Figure 1 separate the projective from the non-projective order while keeping the dependencies fixed, and the trees of Figures 10 and 11 witness block-degrees 2 and 3 and the independence of well-nestedness from block-degree.

The treebank counts of Tables 3 and 4 are the rows of Data/Treebank/Coverage/Kuhlmann2013.json, over which the paper's percentages are recomputed: fan-out 1 loses between 11.16% and 23.15% of the trees (treeLoss_projective), allowing fan-out 2 recovers more than 94% of the lost rules and trees (reduction_gapDegreeLe1), and adding well-nestedness still recovers more than 92% of the rules (reduction_wellNested).

Implementation notes #

Positions are zero-based, so node i of a figure is position i - 1. The substrate's Graph.IsWellNested is the paper's definition under the paper's own gloss: yields may overlap only when one node dominates the other. Block-degree is the gap degree plus one, as the paper's footnote on gap-degree observes. Percentages are recomputed from the rows as rounded hundredths of a percent, the precision the paper prints. The lexicalized LCFRS machinery, canonical grammars, the parsing algorithm, and the NP-hardness result are not formalized.

TODO #

Block-degree (§7.1) #

The block-degree of a graph: the maximal number of blocks a node's yield falls into, one more than the gap degree.

Equations
Instances For

    A tree is projective iff its block-degree is 1.

    Well-nestedness (§8.1) #

    theorem Kuhlmann2013.not_isWellNested_iff_siblings {n : ℕ} {g : DependencyGrammar.Graph n} (hT : g.IsTree) :
    ¬g.IsWellNested ↔ ∃ (p : Fin n) (u : Fin n) (v : Fin n), g.Adj p u ∧ g.Adj p v ∧ u ≠ v ∧ g.Interleave u v

    Lemma 9: a tree is ill-nested iff two sibling nodes have interleaving yields.

    Figure 1: nested against cross-serial #

    The German order nests the verb–argument dependencies and is projective; the Dutch order crosses them and is not, at gap degree 1.

    Dutch cross-serial: dat Jan Piet Marie zag helpen lezen.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For

      German nested: dass Jan Piet Marie lesen helfen sah.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For

        The cross-serial order is non-projective and the nested order is projective.

        Block-degree 2 against block-degree 1: the fan-out the extracted rule for zag needs.

        Cross-serial dependencies are well-nested, though not planar.

        Figures 10 and 11: block-degree and well-nestedness #

        An unlabelled position.

        Equations
        Instances For

          Figure 10, D₁: the yield of node 2 falls into the blocks {2, 3} and {6}.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For

            Figure 10, D₂: the yield of node 1 falls into the blocks {1}, {3} and {6}.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For

              Block-degrees 2 and 3 (Example 6).

              Figure 11, D₁: non-projective with no overlapping yields at all.

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For

                Figure 11, D₂: the yields of nodes 1 and 2 overlap, but node 1 dominates node 2.

                Equations
                • One or more equations did not get rendered due to their size.
                Instances For

                  Figure 11, D₃: the yields of the sibling nodes 2 and 3 overlap.

                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For

                    Both well-nested trees of Figure 11 are non-projective (Example 8).

                    In D₂ the overlapping yields belong to a node and its descendant.

                    D₃ is ill-nested, with the siblings of Lemma 9 at positions 1 and 2.

                    Well-nestedness is independent of block-degree beyond 1: D₂ and D₃ both have block-degree 2.

                    Tables 3 and 4: coverage on dependency treebanks (§7.4, §8.4) #

                    @[reducible, inline]

                    The rows of Tables 3 and 4.

                    Equations
                    Instances For

                      The loss under a row's constraint, in hundredths of a percent, rounded as the paper prints it.

                      Equations
                      Instances For

                        The items a treebank loses under a constraint.

                        Equations
                        • One or more equations did not get rendered due to their size.
                        Instances For

                          The reduction in loss under a constraint relative to the fan-out 1 baseline, in hundredths of a percent.

                          Equations
                          • One or more equations did not get rendered due to their size.
                          Instances For

                            Fan-out 1 loses between 11.16% (Arabic) and 23.15% (Czech) of the trees.

                            Fan-out 1 loses between 1.23% (Danish) and 1.75% (Slovene) of the rules, Arabic's printed total aside.

                            Block-degree 2 costs Czech 0.02% of its rules and under 0.5% of its trees.