Dependency Parsing is More Parameter-Efficient with Normalization

Paolo Gajo, Domenic Rosati, Hassan Sajjad, Alberto Barrón-Cedeño
5/26/2025
cs.CL
transformer-attention

Official code: paolo-gajo/EfficientSDP (3 stars, Python, last commit 2026-01-06).

Abstract

Dependency parsing is the task of inferring natural language structure, often approached by modeling word interactions via attention through biaffine scoring. This mechanism works like self-attention in Transformers, where scores are calculated for every pair of words in a sentence.

Show full abstract

However, unlike Transformer attention, biaffine scoring does not use normalization prior to taking the softmax of the scores. In this paper, we provide theoretical evidence and empirical results revealing that a lack of normalization necessarily results in overparameterized parser models, where the extra parameters compensate for the sharp softmax outputs produced by high variance inputs to the biaffine scoring function. We argue that biaffine scoring can be made substantially more efficient by performing score normalization. We conduct experiments on semantic and syntactic dependency parsing in multiple languages, along with latent graph inference on non-linguistic data, using various settings of a $k$-hop parser. We train $N$-layer stacked BiLSTMs and evaluate the parser's performance with and without normalizing biaffine scores. Normalizing allows us to achieve state-of-the-art performance with fewer samples and trainable parameters. Code: https://github.com/paolo-gajo/EfficientSDP

View on arXivView PDF

Code Implementations(1)

Repo for the NeurIPS 2025 paper "Dependency Parsing is More Parameter-Efficient with Normalization"

31Python, ShellMar 8, 202510 months agoNOASSERTION

Similar Papers

Cite this paper

@article{gajo2025dependency,
  title  = {Dependency Parsing is More Parameter-Efficient with Normalization},
  author = {Paolo Gajo and Domenic Rosati and Hassan Sajjad and Alberto Barrón-Cedeño},
  year   = {2025},
  eprint = {2505.20215},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.20215v2},
  journal = {NEURIPS 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.20215.svg)](https://codeofpaper.com/paper/2505.20215)

Discussion