---
title: "Characterizing Intrinsic Compositionality in Transformers with"
description: "Tree projections test whether Transformers build sentence representations like a tree and whether that structure predicts generalization."
canonical: "https://research.elamur.ai/free/en/papers/murty-2022-characterizing-intrinsic-compositionality-transformers-tree/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/murty-2022-characterizing-intrinsic-compositionality-transformers-tree/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2022](https://md.research.elamur.ai/free/en/papers/2022/) / Characterizing Intrinsic Compositionality in Transformers with Tree Projections

# Characterizing Intrinsic Compositionality in Transformers with Tree Projections

Paper · 2022 · Shikhar Murty, Pratyusha Sharma, Jacob Andreas et al.

**Authors:** [Shikhar Murty](https://md.research.elamur.ai/free/en/authors/shikhar-murty/), [Pratyusha Sharma](https://md.research.elamur.ai/free/en/authors/pratyusha-sharma/), [Jacob Andreas](https://md.research.elamur.ai/free/en/authors/jacob-andreas/) and [Christopher D. Manning](https://md.research.elamur.ai/free/en/authors/christopher-d-manning/) · **Year:** 2022 · **Venue:** arXiv (Cornell University) · **Licence:** [CC BY 4.0 (arXiv)](https://creativecommons.org/licenses/by/4.0/)

[**13** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W4308168008) · [arXiv (Cornell University)](https://openalex.org/S4306400194) · [licence](https://creativecommons.org/licenses/by/4.0/)

- [PDF](https://arxiv.org/pdf/2211.01288)
- [arXiv 2211.01288](https://arxiv.org/abs/2211.01288)
- [OpenAlex](https://openalex.org/W4308168008)

Citations: OpenAlex, 2026-10-14.

## Summary

A sentence can be new even when all its words are familiar. One explanation for our ability to understand such sentences is that we build their meanings from smaller pieces. If a phrase can be interpreted before it is combined with the rest of the sentence, some of the work can carry over when the phrase appears in a new setting. A [Transformer](https://md.research.elamur.ai/free/en/concepts/transformer/) has the freedom to mix information across the sentence from the start. This paper asks whether training nonetheless leads it to build representations that resemble the result of combining phrases from the bottom up.

The authors investigate this question with tree projections. For each stretch of consecutive words, they compare the representation produced with full access to the sentence against the representation produced when attention to outside words is blocked. A small change suggests that the stretch could be processed as a unit. The authors use these comparisons to find a binary bracketing, a tree in which each larger phrase is assembled from a pair of smaller pieces. They also score how much the selected tree improves on a random bracketing. The procedure uses the encoder’s own representations and can propose a tree without fitting a new network or supplying a reference parse. The paper gives a bound connecting the span comparisons to the error of a bottom-up approximation.

Across COGS, M-PCFGSET and GeoQuery, the tree score increased during supervised training for 7/8 encoders. On COGS and M-PCFGSET, the induced brackets also moved closer to the reference syntax at every encoder depth examined. A separately trained syntax probe became less informative about this gradual change once its own parsing performance leveled off. A comparison using masked-word prediction on COGS and GeoQuery produced a weaker pattern under the small-data conditions studied. The distinction matters because a tree can explain some of the encoder’s behavior even when its brackets differ from those in a reference parse.

The induced brackets also helped predict where a small change to an input word would have a larger effect. For 6/8 encoders, changing a word inside an induced constituent moved another word’s representation more than a distance-matched change outside it. On COGS and GeoQuery, both the tree score and agreement with reference syntax tracked exact-match accuracy on challenging new combinations better than in-domain accuracy did. These results connect the organization of intermediate representations to generalization, while leaving open whether changing that organization would improve it. The tree describes what a bottom-up computation could reproduce in the encoder’s representations, while the encoder retains its ordinary attention connections.

## Deep dive: Characterizing Intrinsic Compositionality in Transformers with Tree Projections

Tree projections test whether Transformers build sentence representations like a tree and whether that structure predicts generalization. · about 39 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### Familiar pieces in unfamiliar sentences

Compositional generalization concerns what a system can do when parts it encountered during training occur together in a new arrangement. In the paper’s linguistic motivation, a reader can understand a new comparison by interpreting the phrases on each side and determining how the comparison relates them. The reader need never have encountered that particular pairing. The reuse happens at the level of phrases and relationships as well as individual words.

The hypothesis explored in the paper gives that reuse a computational form. Suppose the words in a phrase first contribute to a representation of the phrase itself. That representation can then be passed upward and combined with another one. Each step needs the information its children supply. The same piece can participate in a larger expression without having to be worked out again from scratch using all the surrounding words. A tree records the order of combination. Its leaves are the words, its interior nodes are larger units, and its root covers the sentence.

This idea brings together [syntax](https://md.research.elamur.ai/free/en/topics/syntax-grammar/) and [semantics](https://md.research.elamur.ai/free/en/concepts/semantics/). Syntax supplies the organization of an expression, and a compositional account explains how that organization guides the construction of meaning. The authors draw on a formulation in which a rule for combining the meanings of parts corresponds to the way those parts combine syntactically. The account is central to the paper’s motivation because it tells the authors what to look for in an intermediate vector. If the vector acts like a constituent meaning in a bottom-up computation, information available only outside that constituent should play a limited role in producing it.

The paper also identifies familiar reasons to expect context to matter. A pronoun may refer back to something elsewhere in the sentence or discourse. An expression can have more than one interpretation until surrounding words help resolve it. An idiom may need to be understood as a whole. Such cases put pressure on a strict demand that every intermediate representation be determined by the words it covers. The experimental question is how well a restricted account approximates the representations that the encoder actually builds on the sentences under study.

#### An architecture with room to do something else

A recursive neural network can make the bottom-up order explicit. Given a tree, it builds each parent representation from the vectors of its children. The possible routes by which information reaches an intermediate node follow from the design. The paper situates this kind of construction alongside earlier work on [recursive representations for sentiment](https://md.research.elamur.ai/free/en/papers/socher-2013-recursive-deep-models-semantic-compositionality/), [tree-structured long short-term memory](https://md.research.elamur.ai/free/en/papers/tai-2015-improved-semantic-representations-tree-structured/) and [neural module networks](https://md.research.elamur.ai/free/en/papers/andreas-2015-neural-module-networks/). These are examples of attempts to make structure part of the neural computation.

The attention architecture introduced in [Attention Is All You Need](https://md.research.elamur.ai/free/en/papers/vaswani-2017-attention-all-need/) permits a different order of operations. A word’s representation can draw on information from positions elsewhere in the sentence, including positions that belong to a different phrase in a conventional parse. Representations updated this way can share information again at later layers. A phrase could therefore end up with a vector that depends on the rest of the input even at a stage where a tree-based account would have treated the phrase as a self-contained intermediate unit.

Freedom to exchange information also leaves room to learn a computation that behaves like bottom-up composition. Available connections and actual dependencies are different properties. Information may pass along many attention links and still produce a span vector that could have been obtained from within the span. The authors approach the problem through that vector. Their question concerns whether a bottom-up calculation could account for what the encoder produces, including in a case where the visible network connections suggest a more elaborate route.

This is an [interpretability](https://md.research.elamur.ai/free/en/topics/interpretability/) problem because the authors need an observable consequence of a hypothesized computation. Looking at a diagram of the architecture establishes which exchanges are possible. Measuring how the vectors respond when access to outside context is restricted establishes something about how the connections matter to those vectors. The paper’s method begins with the latter kind of evidence.

#### Why correct answers leave a question open

Earlier work often used behavioral tests. An investigator selects inputs that make a particular linguistic distinction relevant and checks whether the system gives the expected answers. The paper places [tests of syntax-sensitive dependencies](https://md.research.elamur.ai/free/en/papers/linzen-2016-assessing-ability-lstms-learn-syntax/) and [CheckList](https://md.research.elamur.ai/free/en/papers/ribeiro-2020-beyond-accuracy-behavioral-testing-nlp/) in this broader tradition. Compositional benchmarks likewise use carefully chosen differences between training and evaluation, so that good test performance requires handling cases that are unfamiliar in a specified way. The paper discusses this tradition in connection with [work on systematic generalization](https://md.research.elamur.ai/free/en/papers/bahdanau-2018-systematic-generalization-required-learned/) and [work that separates dimensions of compositionality](https://md.research.elamur.ai/free/en/papers/hupkes-2019-compositionality-decomposed-neural-networks-generalise/).

A behavioral test answers a question about the relation between inputs and answers on the examples it covers. Even if the test rewards the same answers a tree-structured system would produce, there can be other ways of arriving at them. The authors note that properties of a dataset unrelated to the hypothesized computation can affect measured generalization. An encoder can take advantage of those properties while using the same open-ended information routes it uses on ordinary examples. Conversely, a low score on a challenging split leaves the source of error unresolved. The intermediate representations and the final answers therefore need different forms of examination.

The earlier intrinsic approaches the paper discusses move the analysis inside the system. They compare representations with what a separate structured computation can produce. In the paper’s account, these approaches typically require a chosen reference parse and an expensive fitting procedure. A reference tree makes the comparison precise, but it also determines which organization the analysis can recognize. If a system works with an alternative bracketing, a poor fit to the reference tree confounds two possibilities. Its computation may be difficult to describe with a tree, or it may be well described by a tree whose spans differ from the supplied ones. Where a domain offers several plausible analyses, picking a tree in advance makes the distinction especially consequential.

Tree projections treat the choice of brackets as part of the inference. The authors want to know whether there is a tree that describes the way the encoder builds representations. Agreement with a standard analysis can then be assessed separately when annotations are available. The method also takes inspiration from work on invariant representations under changes of domain. Here the change of interest is the setting in which a span appears. If the same span keeps a similar representation when its surroundings vary, it is a candidate for the kind of reusable intermediate unit that motivates the paper.

### The method, step by step

#### From word spans to possible trees

The object being analyzed is a sentence paired with the encoder that processes it. The authors call any uninterrupted stretch of words a *span*. A span can be a single word, a possible phrase, or the entire sentence. At the start, a span need only be consecutive. It earns a place in the induced tree if the bracketing procedure selects it. In a binary tree, each span above a leaf divides into adjacent left and right children, and those children partition their parent without overlap.

```
T(S) = ⟨T(S₁,ⱼ), T(Sⱼ₊₁,ₙ)⟩
```

Here `S` is the sentence, `n` is its length in words, and `T` returns a binary tree. A pair of subscripts on `S` gives the first and last word positions of a span. The position `j` is the break between the children, `j+1` is the first position on the right, and the angle brackets hold the ordered pair of child trees. Each nonleaf child can be split by the same rule. A leaf is already a complete subtree.

A sentence such as *green pears ripen slowly* illustrates the choice. An analysis can combine *green* with *pears* and *ripen* with *slowly*, then join the resulting phrases. A different legal tree can join words in a different order. The method starts from all candidate spans, including some a reader would have little reason to choose. It asks how the encoder treats each candidate before deciding which of them belong together in a tree.

An idealized compositional interpretation gives a representation to a parent by combining the representations of its children. The paper expresses the idea as follows.

```
m(s) = φ(m(sₗ), m(sᵣ))
```

The symbol `s` denotes an expression, with `sₗ` and `sᵣ` as its left and right parts. The function `m` assigns an interpretation, so `m(s)` is the parent’s interpretation. The function `φ` combines the interpretations associated with the children. In this equation `φ` names the semantic operation. In the neural formulation below it names a parameter collection.

The paper puts the same idea into vector form. A bottom-up network starts from word vectors and repeatedly uses a shared composition function on pairs of child vectors. The vector at a given node is built from what is available within that node. An outside word can contribute to a higher node once they share an ancestor.

```
gφ(s, T(s)) = hθ(gφ(sₗ, T(sₗ)), gφ(sᵣ, T(sᵣ)))
```

The function `gφ` is the tree-structured network with parameter collection `φ`. Its arguments are a span `s` and that span’s subtree `T(s)`. The spans `sₗ` and `sᵣ` are the left and right children. The function `hθ` is a feedforward network with weights `θ`. It maps a pair of vectors to a vector of the same dimensionality as each child. The parameter collection `φ` includes `θ` and the leaf embeddings, the stored vectors for the words.

```
gφ(wᵢ, T(wᵢ)) = ηwᵢ
```

Here `wᵢ` is the word at position `i`, `T(wᵢ)` is its leaf subtree, and `ηwᵢ` is the embedding for that word. The left side is the output of the tree network `gφ` at the leaf. Together, the leaf rule and the parent rule define the reference class of bottom-up computations. Once the span and its internal tree are fixed, the recursive calculation has no input through which to receive the remainder of the sentence.

#### Watching a span with and without access to its neighbors

The first actual calculation uses the trained Transformer and the complete sentence. Each word receives a contextual vector, a numerical representation built while the encoder can exchange information across the input. To measure a span, the authors pool the vectors of its words. This makes the span the unit of comparison even though the encoder emits vectors at individual word positions.

```
vˢ(s) = ∑[i in s] vˢ(wᵢ)
```

The superscript `S`, shown as `ˢ`, denotes processing in the full sentence. The symbol `s` denotes the selected span, `i` ranges over its word positions, and `wᵢ` is the word at position `i`. Each `vˢ(wᵢ)` is a contextual word vector. The summation pools those vectors to produce `vˢ(s)`, the contextual span representation. The formal definition uses a sum. The overview figure describes average pooling, which gives the same directions for cosine comparison when the vectors are non-zero.

The authors then run the encoder with an attention restriction for the span being studied. The sentence stays in place, with the same sequence of words. At the layers where the restriction applies, positions inside the span can attend to one another, and their attention to outside positions is blocked. The authors depict this as a T-shaped mask on the attention computation. Pooling the final vectors from the restricted span gives the second span representation.

Keeping the span in the sentence fixes which words and positions are being compared. The quantity of interest is the effect of removing a route by which other words can influence them. The authors can start the restriction at the beginning or after a threshold layer. A threshold of `0` removes access to outside content from the start. With a later threshold, the lower layers can already have carried external information into the span. Masked attention then blocks new exchanges of the specified kind without erasing the information already present in earlier vectors.

For example, consider measuring *green pears*. In the unrestricted run, the vectors for those words can draw on *ripen slowly*. In a run with the mask active from the beginning, they have access to one another throughout the computation. If the pooled vectors point in similar directions in the two runs, a representation built with the smaller information supply closely resembles the unrestricted one according to the chosen distance. If they point in substantially different directions, the restriction has changed something that survives into the pooled vector.

The paper calls the comparison span contextual invariance, abbreviated SCI. SCI is expressed as a distance, so a smaller value corresponds to stronger invariance. The experiments use cosine distance. The measure compares vector directions and gives the same result after positive rescaling of either vector. This makes the agreement of the directions, rather than the lengths of the vectors, the quantity that enters tree construction.

```
d(x, y) = 1 − (xᵀy)/(‖x‖‖y‖)
```

The symbols `x` and `y` are the vectors being compared. The superscript `ᵀ` denotes a transpose, so `xᵀy` is the dot product of the vectors. The symbols `‖x‖` and `‖y‖` denote their Euclidean lengths. Dividing the dot product by the product of those lengths gives cosine similarity for non-zero vectors. Subtracting that similarity from `1` gives the distance `d`.

```
SCI(S, s) = d(vˢ(s), ṽₛ)
```

The first argument `S` is the full sentence, and the second argument `s` is a span in it. The vector `vˢ(s)` comes from the ordinary run on `S`. The vector `ṽₛ` is the pooled representation from the masked run, which the paper calls context-free with the threshold qualification above. The function `d` is the vector distance. This comparison is made for every candidate span in a sentence.

The pool is important to the interpretation. A low SCI value describes the aggregate across the words in the span. It says that the aggregate is similar after the intervention. A constituent vector of this kind can be useful for comparing trees even when individual word vectors within it have changed. The authors later use a separate perturbation experiment to ask about effects on individual words.

#### Choosing compatible spans

A candidate tree selects a collection of spans that can coexist in one recursive bracketing. The authors assign a tree the sum of the distances at its spans. This aggregates the evidence about contextual invariance over the leaves, intermediate nodes and root of the tree. Terms at positions that all candidates share, such as the complete sentence, have the same value whatever the intermediate grouping. It is the choice of intermediate spans that can make one bracketing less costly than another.

```
SCI(S, T(S)) = ∑[s ∈ T(S)] d(vˢ(s), ṽₛ)
```

Here `S` is the sentence, and `T(S)` is its candidate tree. The expression `s ∈ T(S)` means that the span `s` appears as a node in this tree. The sum aggregates the distances `d` between the contextual vector `vˢ(s)` and the masked vector `ṽₛ` for those nodes. The left side uses SCI for a whole tree, extending its use for an individual span.

```
T̂proj(S) = arg min[T(S)] SCI(S, T(S))
```

The symbol `T̂proj(S)` denotes the approximate tree projection of `S` defined by the span objective. The hat marks a projection obtained by the surrogate criterion. The operator `arg min` selects a tree that gives the smallest objective value, with `T(S)` ranging over binary bracketings of `S`. The objective `SCI(S, T(S))` is the cumulative span distance. Approximation here refers to using span distances as a substitute for the joint search over trees and network weights. The implementation makes a further approximation in how it searches for the tree.

The authors first fill a chart, a data structure indexed by span boundaries. A contiguous span is specified by its beginning and end, giving `O(|S|²)` candidates, where `|S|` is the sentence length. The additive costs make it possible to minimize the tree objective exactly in polynomial time through chart [parsing](https://md.research.elamur.ai/free/en/concepts/parsing/). For a longer span, a parser can compare split points using the costs attainable by the subtrees on either side. A subtree’s minimum can be reused wherever its span occurs in a larger candidate. This avoids enumerating all full bracketings.

In the experiments, the authors use a greedy top-down parser similar to the one in the [minimal span-based constituency parser](https://md.research.elamur.ai/free/en/papers/stern-2017-minimal-span-based-neural-constituency/). The parser starts at the whole sentence and uses the chart to pick a split before handling the resulting child spans. It recurses until the entire tree has been assembled. Since a locally favorable split can constrain which spans may appear below it, the routine can miss a bracketing with a lower total cost. The theory concerns the minimum of the objective, while the reported procedure uses an inexpensive search for a favorable tree.

From an encoder's span representations to a tree projection The steps in order.

#### What is being approximated

The exact projection in the paper is defined in terms of a separate bottom-up network. Given a collection of sentences, the authors consider a tree for each sentence and a shared set of parameters for the bottom-up network. They compare the network’s output at each constituent with the pooled full-context representation from the Transformer. A good exact projection needs both a collection of trees and parameters that yield low cumulative error over those comparisons.

```
Err(f, gφ, T) = ∑[S ∈ 𝒟] ∑[s ∈ T(S)] d(gφ(s, T(s)), vˢ(s))
```

The function `Err` measures the representation error. The symbol `f` is the Transformer that supplies the full-context vectors `vˢ(s)`, and `gφ` is the tree network with parameters `φ`. The collection `𝒟` contains the sentences `S`. The tree assignment `T` returns `T(S)` for each sentence, and the inner sum ranges over its nodes `s`. The notation `T(s)` denotes the subtree used to produce the vector for `s`. The distance `d` compares that tree network output with the Transformer’s pooled output. The outer sum accumulates the error across sentences.

```
(φproj, Tproj) = arg min[φ, T] Err(f, gφ, T)
```

Here `φproj` is a minimizing parameter collection and `Tproj` is a minimizing tree assignment. The operator `arg min` searches over the parameters `φ` and the assignments `T` jointly. The fixed `f` provides the representations that `gφ` is meant to approximate. The error is the cumulative quantity just defined. If several parameter and tree choices attain the same minimum, each is a solution to the objective.

This formulation explains the attraction of the span comparison. Direct optimization would require searching over discrete tree choices along with continuous weights. The span method evaluates possible constituents by using the Transformer itself to propose a context-restricted vector. A tree network of sufficient capacity could reproduce those proposed vectors on the finite collection in the proof, provided that the representation assigned to a span can be determined from within it. That gives a candidate bottom-up network with an error equal to the span cost for a fixed tree assignment. The best bottom-up network for that assignment can do at least as well as the candidate.

```
min[φ, T] Err(f, gφ, T) ≤ ∑[S ∈ 𝒟] min[T(S)] SCI(S, T(S))
```

The left side is the least cumulative representation error over parameters `φ` and tree assignments `T`, for a comparison between `f` and `gφ`. The right side sums over sentences `S` in the collection `𝒟`. For each sentence it takes the minimum cumulative SCI attainable by a binary tree `T(S)`. The symbol `≤` gives the direction of the bound. The best achievable representation error is at most the minimized span cost.

The logic proceeds in two stages. With the trees fixed, the candidate network that returns the masked vectors is a witness to an achievable error. The optimum over weights can be smaller. Then the trees can vary as well. Because the span objective adds costs sentence by sentence, its minimum under arbitrary tree assignments is obtained by choosing a minimum-cost tree separately for each sentence. The proof uses the existence of a sufficiently expressive network to establish the inequality. Running the analysis does not require the weights of that network.

The paper’s stronger statement uses a condition on the masked vector of each span. It asks whether that vector is already a best shared representative for the contextual vectors of the span across the sentences in which it occurs. If it is, another context-independent vector cannot lower the summed distance just by taking a different position in representation space.

```
min[u] ∑[S ∈ 𝒮ₛ] d(vˢ(s), u) = ∑[S ∈ 𝒮ₛ] d(vˢ(s), ṽₛ)
```

The collection `𝒮ₛ` contains the sentences `S` in which the span `s` occurs. The vectors `vˢ(s)` are the contextual representations for those occurrences. The vector `u` is free to vary in the minimization, while `ṽₛ` is the proposed context-free representation. The function `d` is the distance used on both sides. The equality says that `ṽₛ` attains the best cumulative distance available to any shared vector.

```
min[φ, T] Err(f, gφ, T) = ∑[S ∈ 𝒟] min[T(S)] SCI(S, T(S))
```

Under the stated condition, the paper identifies the least error `Err` over `φ` and `T` with the sum of the minimum SCI costs for sentences `S` in `𝒟`. The two networks being compared are `f` and `gφ`. The minimum on the right ranges over the candidate trees `T(S)` for the given sentence. In the paper’s argument, this makes a tree chosen by exact SCI minimization an exact projection in the representation-matching objective.

For the cosine distance used in the experiments, the authors describe the direction a best shared vector should have. First normalize each contextual vector to have unit length. Then combine those directions. This gives occurrences with shorter and longer original vectors equal influence over the preferred direction.

```
u*ₛ = k ∑[S ∈ 𝒮ₛ] vˢ(s)/‖vˢ(s)‖, with k > 0
```

The symbol `u*ₛ` denotes a minimizing shared vector for span `s`. The collection `𝒮ₛ` indexes its occurrences in sentences `S`. Each `vˢ(s)` is divided by its own Euclidean length `‖vˢ(s)‖` before being summed. The scalar `k` is any positive multiplier, as indicated by `k > 0`. Multiplying a non-zero vector by a positive scalar preserves its cosine comparisons. When the summed direction is non-zero, it is the direction that maximizes the summed dot products with the normalized occurrence vectors.

The paper also gives a Euclidean illustration of what it means for a masked vector to be central. Its appendix writes the arithmetic mean of the contextual vectors as the proposed optimum. That formula describes the minimum for a sum of squared Euclidean distances. The appendix writes the unsquared norm, for which the mean need not minimize the sum. The experiments use cosine distance for tree induction, and the empirical test of the shared-vector condition uses the cosine construction.

#### Giving the tree two separate evaluations

Summed span distance can be low even when the choice of a tree tells us very little. If the encoder keeps every span almost unchanged under masking, favorable costs will be available to many incompatible trees. The authors want a high tree score to identify a bracketing that picks out especially invariant spans. They therefore compare the induced tree with the expected cost of a uniformly random binary tree for the same sentence.

```
Ctree = (∑[S ∈ 𝒟] (𝔼ₜ[SCI(S, t)] − SCI(S, T̂proj(S)))) / |𝒟|
```

The quantity `Ctree` is the paper’s tree-structuredness score. The collection `𝒟` contains the sentences `S`, and `|𝒟|` is their number. The operator `𝔼ₜ` averages over trees `t` drawn uniformly for the given sentence. The first SCI term is the cost of a sampled bracketing, and the second is the cost of the induced bracketing `T̂proj(S)`. Subtracting the induced cost measures its advantage over the random expectation, and division by `|𝒟|` averages that advantage across sentences. The experimental implementation estimates the expectation by sampling.

This baseline lets the paper distinguish a preference for some groupings from a general tendency toward context independence. When costs are similar for all trees, the difference will be small even if all of them fit the encoder well in absolute terms. When the selected spans are much more stable than those that populate a typical random tree, the difference will be larger. One is evidence about the absolute span distances, while the other is evidence about how those distances are distributed among possible bracketings.

When reference trees exist, the authors use a second evaluation. Here the question is how closely the spans in the induced tree match the spans in the annotated analysis. PARSEVAL bracketing F1 combines precision, the share of induced brackets that match reference brackets, and recall, the share of reference brackets recovered by the induced parse.

```
Cparse = PARSEVAL(T̂proj, Tg, 𝒟)
```

The quantity `Cparse` is the reference bracketing score. The function `PARSEVAL` evaluates the induced tree assignment `T̂proj` against the gold tree assignment `Tg` over the sentences in `𝒟`. The result is an F1 score over the bracket comparison. This evaluation can rise when a specific syntax is recovered more accurately, even if a different bracketing would have very similar cumulative SCI.

#### Where training and supervision enter

The tree search is applied to an encoder that has already reached a given point in training. In the main experiments, an encoder and a decoder learn a sequence transduction task together. The encoder turns input words into vectors and the decoder produces a target sequence from them. The targets represent a logical form or the result of executing a list expression, depending on the dataset. At saved training checkpoints, the authors use the encoder to generate full and masked representations, induce trees, and measure the two scores.

The method estimates span distances with the weights already present in that encoder. It introduces no learned parser into the induction procedure. Reference brackets enter when the authors measure parsing F1 and when they choose the masking threshold for the sequence-to-sequence experiments. This distinction matters when describing the method as unsupervised. The search can operate without knowing a sentence’s reference tree, and the score against random trees can be computed without syntactic annotations. Selecting the threshold in the reported supervised transduction experiments uses reference agreement as a criterion.

### Experiments and results

#### Three tasks with different kinds of novelty

COGS pairs sentences generated by a [context-free grammar](https://md.research.elamur.ai/free/en/concepts/context-free-grammar/) with logical forms, explicit representations of their meaning. This is a [semantic parsing](https://md.research.elamur.ai/free/en/concepts/semantic-parsing/) task. The encoder-decoder has to map the input sentence to the target expression. The authors use the standard training and validation splits, with validation drawn from the same distribution as training. They use the split called `gen` as their test set. The split changes the compositional demands on the system, so its exact-match result measures a different kind of success from exact match on validation.

M-PCFGSET concerns expressions that specify list operations. An input can contain a unary operation over one argument or a binary operation over two arguments, and expressions can be nested. The correct target is the final list produced by carrying out the operations. The authors measure generalization on the systematicity split. This task gives a concrete interpretation to intermediate structure. A bracketing specifies which pieces form the arguments to operations, and those operations can be evaluated from the inside outward.

The authors adapt the original PCFGSET data in ways that make this structure relevant to the experiment. They remove commas so that punctuation no longer supplies the argument boundaries. They constrain the input lists to exactly 2 elements to retain a unique parse despite removing those markers. For example, in the paper’s modified append example, the operator is followed by the symbols A, B, E and F, which belong to the lists A B and E F. The fixed list length tells an interpreter where the first argument ends. By construction the result follows from that partition and the operator, so the data offer reference constituents whose role can be explained by evaluating the expression.

The other change to PCFGSET concerns which intermediate results reach the target. The authors replace the operations `remove_first` and `remove_second` with `interleave_first` and `interleave_second`. Both A C B D and C A D B are possible interleavings of the inputs A B and C D, and each retains material from both inputs. This makes the organization of the full expression relevant to the final result. The authors motivate the change by comparison with the way intermediate constituents usually contribute to natural language utterances.

GeoQuery uses natural language questions about geography in the United States, paired with logical forms. It traces back to [work on parsing database queries](https://md.research.elamur.ai/free/en/papers/zelle-1996-learning-parse-database-queries-using/). The authors use the preprocessed files for the query split from [Improving Text-to-SQL Evaluation Methodology](https://md.research.elamur.ai/free/en/papers/dollak-2018-improving-text-sql-evaluation-methodology/). This is the split on which they measure compositional generalization. They make an 80/20 division of the original training data to obtain an in-domain validation set. The validation and generalization sets thus play different roles, as they do on COGS.

The tasks let the authors see whether tree-like organization appears with more than one kind of input and target. COGS uses generated language with logical-form outputs. M-PCFGSET uses a small expression language with a well-defined execution procedure. GeoQuery uses natural language questions with logical-form outputs. Their reference brackets and generalization splits reflect the particular demands of each task, so agreement across tasks is informative, and differences need to be interpreted in light of the setup.

#### Encoders, checkpoints and comparisons

The authors train encoders of depths 2, 4 and 6, paired with a decoder of depth 2. Their reason for keeping the decoder shallow is to concentrate sentence processing on the encoder side, where the tree analysis takes place. Each Transformer layer has a 512-dimensional hidden representation and eight attention heads. The authors use AdamW, with the learning rate warmed up linearly from 0 to 1e-4 over 5k steps.

They train on COGS for 100k iterations and save a checkpoint every 1000 gradient updates. M-PCFGSET has a training run of 300k iterations with checkpoints every 2000 updates. GeoQuery has a run of 50k iterations with checkpoints every 500 updates. The 6-layer GeoQuery encoder rapidly overfit and failed to generalize, so the authors omit it from the reported GeoQuery results. They suggest the small size of the dataset as a possible reason.

The accuracy of a transduction output is measured by exact match against the reference sequence. A response whose target form differs anywhere does not count as a match. In-domain accuracy measures this quantity on a validation distribution like the training distribution. Compositional generalization accuracy measures it on the appropriate challenging split. PARSEVAL, in contrast, looks at the spans belonging to a tree. It is possible for output accuracy and parse agreement to change independently as training proceeds.

The paper uses several baselines because each answers a different question. The random-tree expectation sets the scale of the tree score. A supervised probe tests how easily syntax can be recovered from an encoder when reference parses are available for teaching a separate reader of its representations. Fixed left-branching and right-branching trees and random binary trees give reference points for bracketing F1. In-domain accuracy serves as the baseline predictor in the correlation analysis. The word perturbation experiment uses random trees as a control for whether any arbitrary division into spans would give the same effect.

#### How the inferred structure changes during training

The authors analyze the saved encoders throughout supervised transduction training. The normalized tree score rises over the course of training for 7/8 encoders. The exception is GeoQuery with a 4-layer encoder. This comparison refers to whether each encoder’s induced tree gains an advantage relative to random trees as training progresses. It does not require that the most stable brackets coincide with those in the reference analysis.

The reference comparison shows a strong pattern on COGS and M-PCFGSET. At every encoder depth examined on those datasets, the induced trees increase in bracketing F1 during training. The encoder is trained to produce the task’s output sequence, and its spans become more consistent with the reference syntax in the process. GeoQuery does not show the same across-depth pattern of alignment. That distinction is part of the evidence for keeping reference agreement separate from tree-structuredness.

For an additional parsing comparison, the authors choose the checkpoint with the highest training-split bracketing F1 for each dataset and measure its induced parse on the corresponding in-domain validation set. They compare those parses with fully left-branching trees, fully right-branching trees and random binary trees. The COGS projections outperform right branching on this validation comparison. The paper regards right branching as a competitive constituency baseline for English. Its role is to test whether data-dependent span decisions offer something beyond a fixed preference for a direction of attachment.

The chart compares how frequently an increase in the normalized tree score was reported for the two training objectives. It uses counts of encoders, with the denominators shown in the labels because the sets of runs differ. The masked-word count follows the paper’s caption for that experiment.

Encoders with a rising tree score across the transduction and masked-word benchmarks The paper reports more increases among the supervised transduction encoders.

**The numbers**

| System or setting | encoders with a rising tree score |
| --- | --- |
| Masked-word prediction on COGS and GeoQuery (2/5) | 2 |
| Supervised transduction on COGS, M-PCFGSET and GeoQuery (7/8) (this paper) | 7 |

The supervised probe supplies a different view of training. It is a 1-layer Transformer decoder trained to generate a linearized reference parse from an encoder’s output, predicting the tree sequence autoregressively. The probe is evaluated by PARSEVAL on held-out sentences. A rise in its F1 shows that the representations support more accurate recovery with that supervised reader. A rise in projection F1 shows that the bracketing preferred by the contextual invariance calculation increasingly matches the reference.

For the 4-layer encoder on COGS, the paper describes the probe scores as similar across checkpoints after 4000 training iterations. For the corresponding M-PCFGSET encoder, it describes a similar plateau after 50,000 iterations. The projections continue to show gradual changes in syntax alignment. The rank correlations of the projection F1 scores with training step are stronger than the corresponding correlations for probe F1 on both datasets. On M-PCFGSET the authors also report that the induced parses achieve better F1 than the supervised probe’s parses. These findings concern the particular probe and experimental setup used to read out syntax.

#### Does the bracketing predict sensitivity to input changes?

To test an implication of the tree account, the authors randomly draw 500 inputs apiece from COGS, M-PCFGSET, and GeoQuery. They take a constituent in the induced tree and select a word in it whose representation will be monitored. They then perturb another word within the constituent and, in a separate run, a word outside it. Both perturbed positions are the same distance from the monitored word in the input sequence. The perturbation adds Gaussian noise at layer 0 to the vector of the selected word.

The measurement in these runs is the change in the final contextual vector of the monitored word. The authors use mean L₂ distance to quantify that change. The change due to an inside perturbation is denoted by `Δᵢ꜀`, and `Δₒ꜀` denotes the change due to an outside perturbation. The perturbation figure specifies noise drawn from `𝒩(0, 0.01)`, the Gaussian distribution given in the experimental illustration. It is applied to the vector of one other word in each intervention, which allows the authors to compare how effects propagate from those positions.

For 6/8 encoders the within-constituent change is larger than the outside change. The paper’s results text reports significance under a two-sided t-test with `p < 10⁻⁴`. The corresponding figure caption gives `p < 10⁻⁵` for the comparisons it marks significant. With the control constituents drawn from random trees, the inside and outside changes are similar. The measured effect thus follows boundaries selected by the projection more closely than it follows boundaries picked independently of the encoder’s span representations.

#### How the scores relate to compositional accuracy

For the generalization analysis, the authors train the 4-layer encoder on COGS and GeoQuery with 5 random seeds per dataset. They collect checkpoints every 1000 iterations on COGS and every 500 iterations on GeoQuery. At each checkpoint they record in-domain validation accuracy, exact-match accuracy on the compositional split, normalized tree score and reference bracketing F1. M-PCFGSET is omitted from this analysis because in-domain accuracy already perfectly predicts generalization in the reported setup.

The comparison uses Spearman correlation, which measures the extent to which the rank order of one quantity agrees with the rank order of another. The authors ask how similarly the checkpoints are ordered by generalization accuracy and by each of the three possible predictors. A predictor can be informative even if a change of a given size in its value has no fixed interpretation in accuracy points. For this experiment, the important comparison is whether a checkpoint that ranks higher by the structural measure also tends to rank higher on compositional exact match.

Both structural measures correlate more strongly with compositional exact-match accuracy than in-domain exact match does on COGS and GeoQuery. The figure caption reports significance for the correlations at `p < 10⁻³`. The result compares predictors within the checkpoint collections for these datasets. It shows that the scores capture variation relevant to generalization in these runs. The authors accordingly propose that when checkpoints have similar in-domain accuracy, tree score could help select one for compositional generalization, with parse F1 available as another criterion where reference syntax exists.

### What the ablations show

#### Changing the training objective

The clearest changed condition in the paper is the comparison with masked-word prediction. For COGS and GeoQuery, the authors train the encoder to identify missing input words in a setup inspired by [BERT](https://md.research.elamur.ai/free/en/papers/devlin-2019-bert-pre-training-deep-bidirectional/). For each sentence 15% of input tokens are masked. A 1-layer feedforward network learns with the encoder to predict the identities of the missing words from contextual representations. This removes the logical-form target from the training task and replaces it with a target derived from the input itself.

Both structural scores are measured over training as before. The paper reports no improvement in reference bracketing F1 for any of the masked-word encoders. Its prose names the 2-layer COGS encoder as the COGS case with a rising tree score, and describes increases on GeoQuery. Its figure caption gives an aggregate of 2/5 encoders becoming more tree-structured. The aggregate is the count used in the chart. The description in the body and the count in the caption leave some uncertainty about the breakdown by depth, while the lack of improvement in reference agreement is consistent across the descriptions.

What this comparison isolates is the change from a task that produces a structured target representation for the sentence to a task that recovers masked words. A logical-form target can reward the encoder for making the sentence’s organization accessible to the decoder. Recovering a masked word can reward the use of cues from across the sentence. The experiment shows that the same pattern of induced syntax did not appear under the latter objective in the low-data setting tested. The two tasks also differ in what the prediction head must produce, so the comparison leaves open which features of supervision account for the difference.

The results make a distinction between a structural tendency and agreement with grammar especially useful. Some tree scores can increase even where parsing F1 does not. That can happen when the span distances start to prefer particular boundaries, but the boundaries with the strongest stability fail to match the reference brackets. The objective comparison is therefore more informative when both measurements are retained than when training is described by a single judgment about whether syntax emerged.

#### Changing how syntax is read out

The supervised probe is a controlled comparison between two ways of examining the same sequence of encoders. A probe learns which vector patterns can be used to reconstruct a reference parse. The projection uses the behavior of the encoder under a restriction on information flow to choose a bracketing. The former can exploit information decodable by a trained auxiliary network, while the latter requires the selected spans to score well on a specific test of contextual dependence.

The plateaus reveal why the two approaches can give different pictures of development. Once a probe extracts enough information to recover a given set of brackets, subsequent changes in the strength or distribution of that information may leave its decisions unchanged. A projection recomputes the competition among spans at each checkpoint. Later changes in how tightly an encoder represents phrases can alter its best bracketing even while probe F1 is almost constant. The paper’s comparison on COGS and M-PCFGSET shows that the readout chosen by an investigator can shape the apparent timing of syntactic development.

The validation comparison with fixed trees addresses a simpler alternative explanation. Some brackets can be recovered by applying a uniform branching direction, with no access to the encoder. A gain over right branching on COGS shows that the projected spans do more in that comparison than select a commonly successful branching bias. The training-split selection of the checkpoint is part of this result. It makes the validation comparison an evaluation of a selected encoder, rather than a guarantee that projections beat that baseline at arbitrary training steps.

#### Changing the boundary while retaining linear distance

The perturbation experiment tests whether projected trees have explanatory value beyond the masking calculation that generated them. It measures changes under a different operation, adding noise to one input vector while leaving the span attention restriction out of that intervention. The response is measured at one word, whereas SCI pools across a span. This difference gives the comparison a way to check whether a boundary extracted from a pooled masking effect also corresponds to sensitivity between individual words.

Distance matching keeps a local effect from explaining the comparison by itself. Words inside a constituent may frequently be near each other, and a nearby word could be more influential simply because of its position. The authors compare positions at the same distance from the monitored word, with their location on opposite sides of the inside versus outside distinction. The random-tree control asks whether the same matching procedure would show a similar contrast with other boundaries. The larger effects for induced constituents in most encoders support the interpretation that the learned span boundaries track a meaningful aspect of their dependencies.

The results allow dependencies to cross brackets. The experiment compares means, and an outside perturbation can still move the monitored vector. The pattern it identifies is that the projected boundary helps sort effects by strength. That is consistent with the larger aim of finding an approximation to a computation that still runs in a flexible architecture.

#### Checking the vector behind the bound

The appendix tests the condition used to argue for exactness by comparing the masked vector with a best shared vector computed from contextual occurrences. The authors sample spans at different points during training. For each sampled span they compare the distance from the masked vector to the optimal direction with a control distance involving the contextual vector of a random span. This asks whether the mask yields a vector close to the location specified by the minimization assumption.

On COGS and GeoQuery, the distance to the optimum eventually becomes less than 0.05 in the reported analysis. The paper interprets the check as approximate support for the assumption on 2/3 datasets. M-PCFGSET is outside that reported pattern, even though its induced trees get closer to the reference syntax during supervised training. The two observations concern different questions. Parsing F1 can improve when the relative costs of candidate constituent spans lead to better brackets. Exactness requires a much more specific property of the masked vectors across occurrences.

Approximate agreement in this check helps explain why the authors use the span criterion as a surrogate for the harder representation-fitting objective. It gives the candidate masked vector an empirical comparison with a theoretically preferred direction. The check uses sampled spans and distances between vectors. It does not directly measure the minimum error of a separately fitted bottom-up network or how far a particular greedy parse is from the global tree objective.

### Limitations

#### Limits the authors identify

The authors describe the projection as functional. It matches a bottom-up account to vectors produced by the Transformer. Whether the Transformer’s attention topology has the shape of a tree is a separate matter. The appendix illustrates how an attention computation with routes that extend across prospective constituents can still yield vectors well approximated by a tree. A good projection supports a statement about what can reproduce the representations under study. It leaves the architecture’s detailed route for producing them open.

The authors qualify the term context-free when they describe the masking threshold. With the threshold set to 0, the masked span receives no outside content through attention from the start. Applying the mask later can improve the induced parses, but also allows early layers to incorporate context. This matters when interpreting a strong result as evidence that span content alone is sufficient. The experimental setting can instead be testing whether access to outside context in the later part of the encoder makes a difference after earlier exchanges have already occurred.

The masked-word experiment is explicitly limited to the low-data conditions studied on COGS and GeoQuery. It tests self-supervision in a setting much narrower than large-corpus pretraining. The six-layer GeoQuery result is also absent from the reported comparisons after rapid overfitting and poor generalization. The authors attribute most sentence processing to the encoder as a design aim supported by the shallow decoder. The analysis directly tests the encoder and its vectors, and the decoder’s contribution to task behavior lies outside that measurement.

The authors also delimit the linguistic hypothesis. Context-dependent interpretation can be necessary for pronouns, ambiguous words, idiomatic expressions and indexicals. A metric that rewards invariance evaluates one property that might help with reuse in new combinations. The usefulness of a language understanding system also depends on drawing context in when a case calls for it. The existence of such cases motivates treating tree fit as a graded account of the examples being studied.

#### Further limits of what the setup establishes

The mathematical result, the ideal span optimizer and the experimental algorithm support different conclusions. The upper bound comes from the existence of a sufficiently expressive bottom-up network that can reproduce the proposed span vectors on a finite collection. It places a ceiling on the best fitting error for the representations in the objective. It gives no prediction of the capacity needed by a small fitted network or of how that network would perform on sentences outside the collection. Exact minimization of SCI searches over trees under the span objective. The greedy procedure used in the experiments supplies a tree without certifying that it reaches that minimum.

The stronger equality claim depends on how occurrences are grouped in the proof. The minimum over a shared vector applies to a collection of occurrences for which that vector is shared. In a tree assignment, some occurrences of a word sequence may be constituents while others are absent from the selected brackets. A given span can also have different internal bracketings, and the bottom-up network takes the internal subtree as an argument. To use the lower-bound reasoning directly, the shared-vector condition needs to apply to the relevant groups of constituent occurrences. The appendix’s comparison with an optimum computed across occurrences supplies an empirical check on the intended assumption, with the grouping issue particularly important when moving from approximate evidence to exact equality.

The representation metric has its own scope. Pooling word vectors can conceal changes in individual words when the changes cancel in the sum. Cosine distance responds to directions and is indifferent to positive rescaling. These choices define what counts as a close fit. A span with a small masking distance can retain important dependencies that appear in vector magnitudes, in differences between its word vectors, or through information already present before a late mask. The word perturbation results add a complementary check on one of these issues, and the pooled comparison remains an aggregate measure.

Random-tree normalization also places a specific meaning on a high score. It rewards a large improvement relative to a typical bracketing of the same input. An encoder that is context-independent throughout can be easy to approximate with many trees and earn little normalized advantage. Conversely, a large relative improvement can occur even if the chosen tree has some sizable span distances. Absolute approximation error, relative bracketing preference and reference F1 should be interpreted as distinct quantities when comparing encoders or checkpoints.

A similar separation applies to parser supervision. The structural search needs no supplied gold brackets to propose a tree. In the sequence transduction experiments, the choice of threshold is guided by parse F1. The absolute agreement reached by the induced trees therefore reflects a mask setting selected with reference syntax. The reported comparison establishes how the procedure behaves with this selection rule. It leaves the choice of mask threshold in a completely unannotated domain undetermined.

The tree projections restrict the candidate structures to binary bracketings of contiguous spans. This is well suited to checking whether whole stretches can be represented as units and to making the chart search tractable. Other organizations of an input, including units that would require joining disjoint stretches, fall outside that search. The induced tree has also been chosen to make pooled encoder vectors stable. Its linguistic interpretation depends on subsequent comparisons with reference brackets or input sensitivity. A low span cost by itself does not identify the rule used to combine the children into a meaning.

Finally, the correlation analysis compares saved states of encoders during training at the reported depth. Training can improve several properties at once, including both structural scores and exact-match performance. A stronger rank correlation with generalization therefore supports the scores as indicators in the studied runs. It does not establish a causal effect of forcing the encoder into a particular tree or demonstrate the outcome of using the scores to select checkpoints prospectively in another setting. The authors’ proposal about inductive biases arises from the observed link. Testing whether a bias produces better generalization would require changing how the system learns and measuring the resulting behavior.

### What came after

The later citing work spans three questions that tree projections bring into contact. One is how to identify the computation responsible for a system’s behavior. Another is how hierarchy can emerge during training. A third is how to decide whether evidence of syntax explains performance. The titles establish the direction each work takes, while the citation relationship connects them to the paper’s distinction between an internal account and a test of final answers.

[Interpretability at Scale](https://md.research.elamur.ai/free/en/papers/wu-2023-interpretability-scale-identifying-causal-mechanisms/) shifts attention toward identifying causal mechanisms in Alpaca. Its point of contact with tree projections is the effort to explain behavior through internal computation. Here the projection supplies a structured account of the representations and the perturbation test checks a consequence of that account. The later work’s stated focus is the more direct question of which mechanisms causally contribute in the system it examines.

[Physics of Language Models, Part 1](https://md.research.elamur.ai/free/en/papers/allen-zhu-2023-physics-language-models-part-1/) takes up the learning of hierarchical language structures. The connection is to the paper’s use of checkpoints to follow a hierarchy as it develops. Tree projections operationalize one sign of that development through increasingly stable constituent groupings. The later work places learning hierarchical structure at the center of its own investigation.

[How to Plant Trees](https://md.research.elamur.ai/free/en/papers/mueller-2023-plant-trees-language-models-data/) focuses on the effects of training data and architecture on the emergence of syntactic inductive biases. This is close to the question raised by the different results under transduction and masked-word prediction. In the tree projection study, changing the objective changes the evidence for emergent syntax under the conditions tested. The later work’s stated subject puts the conditions that favor syntactic organization, including the architecture itself, at the center of the question.

[Language Models as Models of Language](https://md.research.elamur.ai/free/en/papers/milliere-2024-language-models-models-language/) puts the relationship between trained language systems and accounts of language in the foreground. The tree projection paper is relevant to that question because it distinguishes matching linguistic behavior from supporting a particular description of the computation. It also shows why agreement with a reference grammar and resemblance to some tree are separate properties. Those distinctions help specify what kind of claim a successful linguistic analysis of a trained encoder can support.

[Mechanisms vs. Outcomes](https://md.research.elamur.ai/free/en/papers/agarwal-2025-mechanisms-vs-outcomes-probing-syntax/) addresses the gap between syntax recoverable by probing and performance on targeted syntactic evaluations. Its stated conclusion is that probing for syntax fails to explain that performance. This returns to a distinction made concrete by the tree projection experiments. A representation may permit an auxiliary decoder to recover brackets, and the encoder’s own sensitivity to context may change in ways that this recovery score does not reveal. A test of syntactic outcomes adds a further quantity to explain. The connection among the citing works is the demand for evidence that links an internal description to the behavior it is meant to account for.

## Cite

Cite as Shikhar Murty, Pratyusha Sharma, Jacob Andreas and Christopher D. Manning. 2022. Characterizing Intrinsic Compositionality in Transformers with Tree Projections. arXiv (Cornell University).

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.48550/arxiv.2211.01288](https://doi.org/10.48550/arxiv.2211.01288) · [arXiv 2211.01288](https://arxiv.org/abs/2211.01288)

```bibtex
@misc{murty2022characterizing,
  title = {{Characterizing Intrinsic Compositionality in Transformers with Tree Projections}},
  author = {Shikhar Murty, Pratyusha Sharma, Jacob Andreas and Christopher D. Manning},
  year = {2022},
  doi = {10.48550/arxiv.2211.01288},
  eprint = {2211.01288},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.2211.01288}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
