INQUIRING LINE

Do language models actually learn grammar rules, or just get really good at faking them?

Do language models learn grammar the same way video models learn physics?

This explores whether language models pick up grammar as real underlying rules or as surface patterns, and whether that resembles how video models are hoped to learn the physics behind what they see.


This explores whether language models absorb grammar as real underlying rules or as surface patterns that look like rules, and whether that matches how video models are thought to learn physics. One caveat first: this collection doesn't yet have notes on how video models learn physics, so it can't make that comparison directly. What it does have is a detailed picture of the language side, plus a close parallel from speech models, which raises a sharper version of your question.

Some of the evidence says language models really do learn structure. Models trained on about as many words as a child hears (100 million or fewer) score within a few points of humans on judging whether sentences are grammatical, and the makeup of the training data mattered more than its size Can language models learn grammar from child-scale data?. Inside the model, the relations between words are stored in an organized geometry. Both the distance and the angle between word representations encode what kind of grammatical link two words have and which way it runs How do language models encode syntactic relations geometrically?. When reasoning models are asked to show their steps, they can draw sentence trees and work out sound rules Can language models actually analyze language structure?.

Other evidence says much of this is shortcut-taking. Models can pass grammar tests by leaning on sentence length, word choice and spelling instead of structure, and standard benchmarks can't tell the difference Can models pass tests while missing the actual grammar?. The giveaway is depth. Accuracy holds up on simple sentences and then falls off steadily as clauses nest inside clauses, even in very large models Why do large language models fail at complex linguistic tasks? Does LLM grammatical performance decline with structural complexity?. A rule doesn't get weaker when it's applied more times; a habit picked up from statistics does. You can even predict where models will stumble by asking which correct answers are rare in the training text Can we predict where language models will fail?.

The surprising part comes from speech. Self-supervised speech models (trained on raw audio without labels) don't mainly learn the sound categories of particular languages. They learn how the vocal tract physically produces sound, the process that generates the audio. That explains why they transfer across languages so well Do speech models learn language-specific sounds or universal physics?. This is the outcome people hope video models reach: learning the process that produces the pixels, not just how pixels usually change. Text is a different case. It's a human abstraction that has already lost the physics, geometry and cause-and-effect of the world Are text-only language models fundamentally limited by abstraction?. Grammar, though, lives entirely inside text as a set of relations between words, which may be why text models can learn it from text alone Can language models learn meaning without engaging the world?.

So the useful question isn't "grammar vs. physics." It's whether a model works out the process that generated its data or only learns what that data usually looks like. The collection suggests the answer depends on what the data contains: audio carries the physics of the vocal tract, while text carries grammar but not the world it describes. It also offers a test you can reuse. Push the model past the complexity it usually sees, such as more deeply nested sentences or, for a video model, a longer sequence of events, and watch whether it holds steady or slowly falls apart.


Sources 10 notes

Can language models learn grammar from child-scale data?

Models trained on ≤100 million words performed within a few percentage points of humans on grammatical acceptability tasks, suggesting syntactic competence doesn't require massive datasets. Data composition and curation mattered more than raw volume.

How do language models encode syntactic relations geometrically?

The Polar Probe shows LLMs represent syntactic type and direction through both distance and angular position between embeddings, nearly doubling accuracy over distance-only methods. This demonstrates neural networks spontaneously learn structured, symbolic-compatible geometry.

Can language models actually analyze language structure?

OpenAI's o1 model successfully constructs syntactic trees and phonological generalizations through explicit step-by-step reasoning, revealing that LLM linguistic capability extends far beyond behavioral language tasks to genuine language analysis.

Can models pass tests while missing the actual grammar?

BabyLM evaluations showed models can produce correct outputs by relying on sentence length, word choice, and orthography rather than grammatical structure. Standard benchmarks cannot distinguish these two generalization types without tests specifically designed to rule out surface heuristics.

Why do large language models fail at complex linguistic tasks?

Top-tier LLMs like Llama3-70b consistently misidentify embedded clauses, verb phrases, and complex nominals. Performance degrades predictably as syntactic depth increases, revealing that statistical learning captures surface patterns but not deep grammatical rules.

Show all 10 sources
Does LLM grammatical performance decline with structural complexity?

LLMs show systematic performance decline as syntactic depth and embedding increase. Simple sentences are handled well while complex structures with recursion and embedding fail consistently, suggesting LLMs learned surface heuristics rather than structural grammar rules.

Can we predict where language models will fail?

By framing LLMs as autoregressive probability machines, researchers predicted tasks with low-probability target responses would be systematically harder, even when logically simple. Experiments confirmed predictions like backwards alphabet and letter counting.

Do speech models learn language-specific sounds or universal physics?

Self-supervised speech models learn the language-agnostic physics of how the vocal tract produces acoustics, not language-specific phonetic categories. This explains their multilingual transfer and predicts their downstream task performance better than phonetic probing.

Are text-only language models fundamentally limited by abstraction?

Text strips the physics, geometry, and causality that ground understanding. Language models trained solely on text can manipulate symbols without accessing the dynamics they describe, creating persistent failures in physical and causal reasoning that vision-grounded training could address.

Can language models learn meaning without engaging the world?

Research shows LLMs learn culturally situated discourse patterns by compressing relational structure from text, demonstrating that fluent language generation requires no external referents or embodied grounding.

Papers this line draws on 8

The research behind the notes this line reads — ranked by how closely each paper relates.