Abstract
Large language models (LLMs) are the foundation of many AI applications today. However, despite their remarkable proficiency in generating coherent text, questions linger regarding their ability to perform fine-grained linguistic annotation tasks, such as detecting nouns or verbs, or identifying more complex syntactic structures like clauses in input texts. These tasks require precise syntactic and semantic understanding of input text, and when LLMs underperform on specific linguistic structures, it raises concerns about their reliability for detailed linguistic analysis and whether their (even correct) outputs truly reflect an understanding of the inputs. In this paper, we empirically study the performance of recent LLMs on fine-grained linguistic annotation tasks. Through a series of experiments, we find that recent LLMs show limited efficacy in addressing linguistic queries and often struggle with linguistically complex inputs. We show that the most capable LLM (Llama3-70b) makes notable errors in detecting linguistic structures, such as misidentifying embedded clauses, failing to recognize verb phrases, and confusing complex nominals with clauses. Our results provide insights to inform future advancements in LLM design and development.
Introduction
The fluency of Large Language Models (LLMs) often masks a potential lack of deep structural understanding. While these models can generate sophisticated prose, their ability to identify the fundamental "building blocks" of language—such as parts of speech, phrases, and clauses—remains under-scrutinized. Traditional benchmarks like the Penn Treebank or CoNLL 2000 are often used for evaluation, but these datasets are heavily skewed toward linguistically simple or medium-complexity examples. This skew can artificially inflate performance scores, hiding significant "blind spots" that emerge as sentence complexity increases. This study investigates whether LLMs possess a true compositional understanding of language or if they merely rely on surface-level pattern matching.
Methodology
To rigorously evaluate LLM performance, the researchers developed a framework centered on linguistic complexity. The methodology involved four key components:
- Quantifying Complexity: Lexical and syntactic complexity were measured using established analyzers, focusing on metrics like clauses per T-unit and vocabulary sophistication.
- Uniform Sampling: To counter the skew in existing datasets, the researchers divided the data into eight complexity tiers and sampled equally from each. This "Uniform" strategy ensures that failures on difficult examples are not masked by successes on easy ones.
- Multi-Level Evaluation: Models were tested at three levels of granularity: word-level (POS tagging), phrase-level (NP/VP identification), and sentence-level (clause and T-unit detection).
- Zero-Shot Prompting: The primary evaluation used zero-shot prompts to assess the models' inherent linguistic knowledge.
Results and Key Insights
The experiments revealed several critical weaknesses in current LLMs:
The Compositionality Wall
While LLMs perform reasonably well on word-level tasks, such as identifying individual nouns, their performance collapses at the phrase and sentence levels. This suggests a lack of compositional understanding; models struggle to see how smaller units combine to form complex structures. For instance, GPT-3.5 achieved an average F1 score of only 4.2 at the phrase level and 0.0 at the sentence level.
Complexity Bias and Performance Decay
Performance is not just lower on complex sentences; it often vanishes entirely. As linguistic complexity increases, metrics like Precision, Recall, and F1 score show significant declines across most grammatical categories. This indicates that LLMs rely heavily on simple patterns that break down in more sophisticated syntactic contexts.
Frequency Hallucinations and Scale Limitations
Models frequently over-predict common linguistic categories (e.g., pronouns) based on training priors rather than the actual input text. Furthermore, increasing model size does not provide a straightforward fix. Moving from Llama3-8b to Llama3-70b—a nearly tenfold increase in parameters—resulted in only a modest 5-6 point improvement in F1 score, suggesting that these blind spots are fundamental to current architectures.
Discussion
A notable finding was the "Gemini Safety Paradox," where Gemini-Pro 1.0 refused thousands of neutral linguistic prompts, misinterpreting them as harmful content. This highlights the unintended consequences of overly broad safety filters. Additionally, smaller models like Mistral-7b often failed to follow basic instructions, simply echoing input text instead of providing annotations.
Conclusion
This research demonstrates that even the most advanced LLMs struggle with fine-grained linguistic analysis, particularly as complexity grows. To address these blind spots, future development should consider "Linguist-in-the-loop" training and curriculum learning strategies that prioritize diverse and challenging syntactic structures. Bridging the gap between textual fluency and structural understanding remains a key challenge for the next generation of language models.
Summary updated