Labeled Attachment Score (LAS) is the standard evaluation metric that measures the percentage of tokens in a test set for which a dependency parser correctly predicts both the syntactic head and the specific dependency relation label. It is a strict, combined metric that penalizes a parser if it identifies the correct head but assigns the wrong grammatical relationship, such as confusing a nominal subject (nsubj) with a direct object (dobj).
Glossary
Labeled Attachment Score (LAS)

What is Labeled Attachment Score (LAS)?
The primary quantitative metric for evaluating the accuracy of a dependency parser by measuring the exact match of both syntactic structure and grammatical relation labels.
LAS is calculated by dividing the number of tokens with perfectly predicted head-label pairs by the total number of tokens, excluding the root node. It is typically reported alongside Unlabeled Attachment Score (UAS), which only evaluates head prediction accuracy. The difference between UAS and LAS highlights the parser's specific difficulty with relation classification, making LAS the definitive metric for assessing a parser's holistic syntactic competence on treebanks like Universal Dependencies.
Key Characteristics of LAS
Labeled Attachment Score (LAS) is the definitive metric for evaluating dependency parsers, measuring the percentage of tokens assigned both the correct syntactic head and the correct dependency relation label.
Core Definition and Formula
LAS is calculated as the ratio of tokens with both correct head and label to the total number of tokens, excluding the root.
- Formula:
LAS = (Correct Head & Label Tokens) / (Total Tokens) - Strictness: Requires exact match on both head index and relation type
- Range: 0% to 100%, with state-of-the-art parsers achieving >95% on English newswire
- Contrast: More stringent than Unlabeled Attachment Score (UAS), which only checks head correctness
LAS vs. UAS: The Labeling Dimension
The distinction between LAS and UAS isolates the parser's ability to assign correct grammatical relations.
- UAS: Measures only structural correctness—is the head token correct?
- LAS: Adds the semantic layer—is the dependency type (e.g.,
nsubj,dobj,amod) correct? - Label Accuracy: Can be derived as
LAS / UAS, revealing how often correct heads receive correct labels - Diagnostic Value: A high UAS but low LAS indicates strong structure learning but poor relation classification
Evaluation Protocol and Token Exclusion
Standard evaluation follows the CoNLL shared task conventions to ensure fair comparison across parsers.
- Punctuation Exclusion: Punctuation tokens are typically excluded from scoring to prevent inflating results
- Root Handling: The artificial ROOT token (index 0) is not scored
- Multiword Tokens: In UD treebanks, only syntactic words are scored, not orthographic tokens
- Gold Segmentation: Evaluation assumes gold-standard tokenization; errors in token boundaries are not penalized
State-of-the-Art Performance Benchmarks
Modern neural parsers achieve high LAS scores, with performance varying significantly by language and genre.
- English Penn Treebank: Deep biaffine parsers with BERT embeddings reach ~96% LAS
- Universal Dependencies: Multilingual parsers like Stanza achieve 85-95% LAS depending on language
- Morphologically Rich Languages: Finnish, Turkish, and Korean typically score lower due to complex morphology
- Out-of-Domain Drop: Parsers trained on newswire can drop 5-10% LAS on social media or clinical text
Practical Significance in NLP Pipelines
LAS directly impacts downstream tasks that depend on accurate syntactic analysis.
- Relation Extraction: Incorrect dependency labels cause false semantic triples in knowledge base construction
- Coreference Resolution: Syntactic paths between mentions rely on correct head identification
- Sentiment Analysis: Negation scope detection depends on accurate
negdependency arcs - Machine Translation: Syntactic reordering models degrade with attachment errors
- Error Propagation: A 2% LAS improvement can yield measurable gains in end-task accuracy
Common Error Patterns and Diagnostics
Analyzing LAS errors reveals systematic weaknesses in parser design and training data.
- Prepositional Phrase Attachment: The classic ambiguity—does "with a telescope" modify the verb or noun?
- Coordination Scope: Determining which conjuncts share a common head in "apples and oranges from Florida"
- Long-Distance Dependencies: Relative clauses and wh-movement create non-local arcs that are harder to predict
- Label Confusion: Frequent confusion between
nsubjandnsubj:pass, oradvmodandobl
LAS vs. UAS: Key Differences
A comparison of the two primary evaluation metrics for dependency parsers, distinguishing between structural accuracy and full grammatical precision.
| Feature | Labeled Attachment Score (LAS) | Unlabeled Attachment Score (UAS) | Label Accuracy (LA) |
|---|---|---|---|
Definition | Percentage of tokens assigned both the correct head and the correct dependency relation label | Percentage of tokens assigned the correct syntactic head, ignoring the relation label | Percentage of tokens assigned the correct dependency relation label, given the correct head |
Evaluates | Full grammatical structure and relation types | Syntactic tree topology only | Relation classification accuracy |
Formula | (# tokens with correct head AND correct label) / (total # tokens) * 100 | (# tokens with correct head) / (total # tokens) * 100 | (# tokens with correct label | correct head) / (# tokens with correct head) * 100 |
Punctuation Included | |||
Sensitivity to Label Set Size | |||
Primary Use Case | Final parser evaluation and state-of-the-art benchmarking | Ablation studies and isolating head-finding errors | Diagnosing relation classifier performance |
Typical State-of-the-Art (English) | 94-96% | 96-98% | 96-98% |
Relationship | LAS = UAS * LA (approximately) | UAS is the upper bound for LAS | LA bridges UAS and LAS |
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Frequently Asked Questions
Clear, technical answers to the most common questions about the Labeled Attachment Score (LAS), the definitive metric for evaluating dependency parser accuracy.
The Labeled Attachment Score (LAS) is the primary evaluation metric for dependency parsers, measuring the percentage of tokens in a test set that are assigned both the correct syntactic head and the correct dependency relation label. It is calculated by dividing the number of tokens with a perfectly correct head and label by the total number of tokens, excluding punctuation in standard evaluations. Formally, LAS = (Number of Correctly Attached and Labeled Tokens) / (Total Number of Tokens). A token is only counted as correct if both conditions are met simultaneously: the directed arc points to the right parent word, and the arc is tagged with the exact grammatical relation (e.g., nsubj, dobj, amod). This dual requirement makes LAS a stricter and more informative metric than the Unlabeled Attachment Score (UAS), which only checks for the correct head. For example, if a parser correctly identifies that 'dog' is the subject of 'barked' but mislabels the relation as csubj instead of nsubj, it scores a point for UAS but zero for LAS. LAS is the standard metric reported in CoNLL Shared Tasks and is essential for evaluating parsers on Universal Dependencies (UD) treebanks.
Related Terms
Understanding Labeled Attachment Score requires familiarity with the core parsing algorithms, evaluation frameworks, and syntactic formalisms that define the dependency parsing landscape.
Unlabeled Attachment Score (UAS)
The complementary metric to LAS that measures only the syntactic head assignment accuracy, ignoring relation labels. A token is correct if its head is correctly identified, regardless of the dependency type.
- Formula: (Correct Heads) / (Total Tokens)
- Relationship: LAS ≤ UAS always, since LAS adds the label constraint
- Diagnostic Value: A high UAS but low LAS indicates the parser finds the right structure but struggles with fine-grained relation classification
Universal Dependencies (UD)
A cross-linguistically consistent framework that standardizes the dependency relation labels used in LAS calculation. UD defines 37 universal syntactic relations organized into a hierarchy.
- Core Arguments:
nsubj,obj,iobjfor subject and object relations - Nominal Modifiers:
nmod,amod,nummodfor noun phrase structure - Clausal Modifiers:
acl,advclfor subordinate clauses - Function Words:
case,det,auxfor grammatical markers
LAS evaluation typically uses the UD v2 relation inventory as the gold standard label set.
CoNLL-U Format
The standard tab-separated format for annotated data used in LAS evaluation. Each token occupies one line with 10 fields, where field 7 (HEAD) and field 8 (DEPREL) directly define the gold standard for LAS calculation.
- HEAD column: The zero-indexed ID of the syntactic governor (0 for root)
- DEPREL column: The Universal Dependencies relation label
- Evaluation Scripts: The official
conll18_ud_eval.pyscript computes LAS by comparing predicted and gold HEAD+DEPREL pairs - Token Alignment: Multi-word tokens and empty nodes require special handling during scoring
Deep Biaffine Parser
The neural architecture by Dozat & Manning (2017) that achieves state-of-the-art LAS scores across many languages. It uses deep biaffine attention to jointly predict heads and labels.
- Architecture: BiLSTM encoder → four MLPs → biaffine classifiers
- Arc Scoring: A biaffine transformation over head and dependent representations computes pairwise attachment scores
- Label Prediction: A separate biaffine classifier predicts the relation type for each candidate arc
- Typical LAS: 90%+ on English Penn Treebank, 85-95% on UD treebanks depending on language complexity
Transition-Based Parsing
A deterministic parsing paradigm that builds dependency trees incrementally through a sequence of shift-reduce actions. LAS evaluation applies identically to both transition-based and graph-based parsers.
- Arc-Eager Strategy: Attaches dependents as soon as they are complete, enabling early relation labeling
- Error Propagation: Greedy action selection can cascade errors, reducing LAS on long sentences
- Dynamic Oracles: Training technique that improves LAS by exposing the parser to non-gold states during learning
- Speed Advantage: Linear time complexity makes transition-based parsers suitable for production where LAS trade-offs are acceptable
Non-Projective Parsing
The handling of crossing dependency arcs that occur in languages with free word order. Standard LAS evaluation does not penalize non-projectivity, but achieving high LAS on non-projective structures requires specialized algorithms.
- Chu-Liu/Edmonds Algorithm: Finds the maximum spanning tree in directed graphs, enabling non-projective decoding
- Pseudo-Projective Parsing: Converts non-projective trees to projective ones with augmented labels, then restores crossings post-hoc
- Language Impact: Czech, Dutch, and Latin show significant non-projectivity; LAS on these languages benefits from non-projective algorithms
- Evaluation Note: LAS is computed on the original non-projective gold standard regardless of parsing strategy

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us