Elamur Research

Large Language Models Share Representations of Latent Grammatical Concepts Across Typologically Diverse Languages

Paper · 2025 · Jannik Brinkmann, Chris Wendler, Christian Bartelt et al.

Summary

A plural subject can change the form of a verb in several languages, even when the words and endings have little in common. When a language model handles those sentences, does it use a shared representation of plurality, or has it learned a separate representation for each language? Brinkmann and colleagues investigate that question in Llama-3-8B, whose pretraining was predominantly in English, and Aya-23-8B, which was developed with multilingual coverage in mind. They focus on grammatical properties such as number, gender, and tense, and ask whether the same internal signals help identify those properties across languages. Large language models

The authors train a sparse autoencoder for each system. It describes an internal state as a mixture of learned directions, with relatively few directions active for any given token. The authors then train classifiers to read grammatical information from annotated sentences in 23 languages and use interventions to identify which directions influence those classifiers. The strongest directions for a grammatical category overlap by up to 50% across languages. One direction, identified as feature 22,860, ranks among the most influential for all 15 languages included in the grammatical gender comparison. The overall pattern of overlap is similar in the two systems, with exceptions for categories such as negative polarity.

Removing shared directions makes the grammatical properties harder for the classifiers to detect. In Llama 3, average classifier performance falls to 64% when the authors remove only the most widely shared quarter of the multilingual features. Removing all multilingual features brings it to 61%. The authors also test whether the directions matter for generation. During translation, changing a single selected feature can induce a switch in the target grammar, such as a different pronoun gender or verb tense. Other grammatical properties tracked by the classifiers typically keep their labels, though some target switches seldom work and more natural translation inputs sometimes produce failures or incoherent text.

The findings show that an English-heavy pretraining corpus can coexist with internal grammatical representations that work across languages. The experiments establish this for particular directions, grammatical distinctions, and tasks. The authors argue that the common internal representation may operate at the level of concepts, while allowing that the concepts could still reflect the way English uses grammar. The translation tests also show why detecting a grammatical distinction and reliably controlling it are separate questions.

Deep dive: Large Language Models Share Representations of Latent Grammatical Concepts Across Typologically Diverse Languages

Brinkmann and colleagues trace how language models represent grammar across languages and test whether shared features can change translations. · about 36 minutes to read

The problem and its context

What could be shared across languages?

Grammatical number gives a concrete way to ask what a multilingual system has learned. A singular and a plural subject can call for different verb forms. The same distinction can matter across languages that use different words for the subjects, different endings on their verbs, and different surrounding sentence patterns. To complete the sentences appropriately, a system must be sensitive to some part of that variation. Its successful answers alone leave open how it organizes the information. There could be an internal signal that tracks plurality across languages. There could also be separate signals that happen to support similar answers. The paper studies the organization of these signals where word forms and sentence structure meet. Morphology · Syntax & grammar formalisms

The distinction matters even if separate representations and a shared representation produce equally good answers on a benchmark. Sharing gives a system a way to reuse part of what it has learned. If a direction already distinguishes singular from plural in one language, it could serve a similar role in another without requiring an entirely separate encoding of the same distinction. That possibility motivates the authors’ interest in parameter efficiency and in cross-lingual transfer, where information available in one language can benefit processing in another. They present reuse as a reason to investigate internal structure. Measuring how much training data or how many parameters reuse saves would require a different experiment. Multilingual & cross-lingual NLP

The paper introduces the question through research on bilingual humans. Work discussed by the authors suggests that processing syntax in a first and a second language can involve overlapping brain regions, with the degree of overlap depending in part on proficiency and age of acquisition. The comparison motivates asking whether a system trained on several languages also does some of its work in common. The computational investigation gives “in common” a particular meaning. It looks for directions in vectors produced inside a network and asks what happens when the researchers alter those directions. The bilingual analogy supplies the question, and the intervention supplies a way to examine it.

Cross-language comparison also requires care about what counts as the same property. A grammatical concept is a category such as number, and a value of that concept is a possibility such as singular. A pair of languages can both mark number while marking it on different words. They can both have grammatical gender and assign different genders to the same referent. They can both mark case and differ in the distinctions their case systems make. A shared direction could carry information relevant to comparable distinctions while language-specific information determines how those distinctions appear in actual text. That makes sharing a matter of degree and function.

Why the training mixture enters the question

One route to multilingual systems has been to deliberately balance the languages represented in pretraining. As the paper describes it, approaches such as XLM-R and mT5 give many languages a substantial place in the training mixture, with cross-lingual transfer among the motivations. From this perspective, a model gets opportunities to learn patterns in numerous languages directly, and its internal representations may come to reflect similarities among them. Unsupervised cross-lingual representation learning at scale · mT5

Strong multilingual behavior in systems with English-heavy pretraining raises a related question. The paper reports that over 90% of the Llama 3 pretraining corpus is English text. Why should a system exposed to a distribution that uneven develop grammatical machinery usable in other languages? The authors consider the possibility that learning a dominant language in depth encourages abstractions that can extend beyond it. They also cite a study of smaller systems in a low-data regime, where an imbalanced training mixture improved sample efficiency and performance for English and a synthetic counterpart made by duplicating it at the token level. That experiment motivates a hypothesis about where reusable representations might come from. The natural languages in Brinkmann and colleagues’ investigation pose a broader test of whether reuse can be observed at all. The Llama 3 Herd of Models

There is also a question about what an English-heavy system’s intermediate states are closer to. Work by Wendler and colleagues, as described by the paper, finds that these states occupy a conceptual space closer to English than to other languages. Brinkmann and colleagues distinguish two possible senses of that proximity. Intermediate computation could track English words, or it could track properties more abstract than a word while still reflecting the distribution of English. A grammatical direction provides something concrete to examine under the latter account. A plural ending or pronoun might look different in each language while having a common relationship to an internal number signal. Do Llamas Work in English?

What earlier tests could establish

The paper describes behavioral benchmarks, comparisons of representations, and studies of individual neurons. A multilingual benchmark can show whether a system succeeds on a particular task in several languages. Studies of representational similarity can ask whether languages with similar linguistic properties are processed in similar ways. The paper also discusses evidence that exposure to a related language does not always improve a system’s grammatical knowledge of the target language. Such findings make it worthwhile to ask what transfers at the level of a specific property, where a comparison can distinguish grammatical number from tense or agreement from other aspects of sentence processing. Evaluation & benchmarks

Other researchers had already studied whether classifiers reading different languages draw on the same neurons. The paper describes such findings for smaller masked language systems, including multilingual BERT and XLM-R, and work examining individual neurons’ responses to syntactic phenomena across languages. It also discusses an earlier comparison of subject–verb agreement mechanisms that found consistency across languages. These studies suggest that internal reuse can be investigated directly. The remaining question is how to identify a unit of computation whose alteration yields an interpretable result. BERT

A neuron, in the usage of this paper, is a single coordinate of a hidden state. A grammatical property can be distributed over multiple coordinates, and a coordinate can respond to several unrelated properties. The paper’s background gives the example of an earlier study in which a neuron responded to inputs as different as academic citations and Korean text. Suppressing such a coordinate could alter multiple behaviors at once. A drop in a grammatical score after that intervention would give a reason to examine the neuron, with the source of the drop still open to several explanations. Sparse autoencoders offer a different unit to test. They construct directions from combinations of coordinates, so an intervention can follow a direction that appears to track a more specific property. The study brings that method of interpretability to the question of multilingual grammar.

The paper also builds on work with probes. A probe is a classifier trained on a system’s internal states to answer a question for which labeled examples are available. A grammatical probe can ask whether an intermediate representation contains information that separates sentences by tense or another property. When a simple classifier succeeds, the distinction is readable from the representation in a simple form. The system that produces the representation can still use that information differently from the classifier. The authors therefore frame their investigation around both a probe, which makes localization and comparison possible, and a translation intervention, which tests whether selected directions can affect generated words. A Structural Probe for Finding Syntax in Word Representations · Probing Classifiers

The method, step by step

Choose a layer and build a grammatical readout

At each token position, the network carries a vector forward through its layers. The residual stream is the sequence of vectors that the layers read from and update. The study takes these vectors at the end of the middle layer, identified as layer 16, in both Llama-3-8B and Aya-23-8B. The authors choose an intermediate location because previous work gives them reason to expect relatively abstract, interpretable features there. Using that location for both the probes and the autoencoders also lets them connect the classifier’s input to the directions they later modify. Transformer and attention · Aya 23

The source of grammatical labels is Universal Dependencies 2.1. Its treebanks contain sentences annotated for relationships between words, parts of speech, and grammatical properties. The study takes the 23 languages supported by Aya-23 and retains a concept for the cross-language analysis if annotations for it are available in at least six languages. Which languages enter a particular comparison can therefore change with the concept. The paper describes the morphological labels through the UniMorph schema. Universal Dependencies · UniMorph 2.0

For each language and concept, the authors fit a logistic regression to the residual stream. They take the vectors from the non-padding tokens and add them to produce a single sentence representation. Padding positions are positions introduced for arranging sequences and are excluded from the sum. The resulting vector has the same width as a token vector, but it combines information from the sentence. The classifier learns weights that use that vector to predict the grammatical label. Training updates the classifier while the language system that supplies its inputs stays fixed.

A classifier’s logit is its score before conversion to a probability. The logit gives the authors a target whose response they can differentiate when they change an internal activation. They can therefore ask both what label the probe predicts and how strongly a particular feature contributes to its score. A separate classifier for each language lets the study compare which underlying directions contribute to different readouts. A shared feature is identified through that comparison, even if the language-specific classifiers use it with different strengths.

From middle-layer activations to cross-language interventions

The steps in order.

From middle-layer activations to cross-language interventionsStep 1: Collect residual-stream vectors from the middle layer1. Collect residual-stream vectors from the middle layerStep 2: Fit grammatical probes to summed sentence vectors2. Fit grammatical probes to summed sentence vectorsStep 3: Learn sparse directions from unlabeled activations3. Learn sparse directions from unlabeled activationsStep 4: Rank directions by their influence on each probe4. Rank directions by their influence on each probeStep 5: Compare influential directions across languages5. Compare influential directions across languagesStep 6: Remove shared directions and retest probes6. Remove shared directions and retest probesStep 7: Change selected directions during translation7. Change selected directions during translationStep 8: Check the target property and other tracked properties8. Check the target property and other tracked properties

Learn the directions without grammatical labels

The sparse autoencoder is trained on a different stream of inputs. The authors collect residual-stream activations over 250 million tokens from The Pile, a predominantly English collection. The autoencoder sees internal vectors and tries to reconstruct them. Its training objective encourages a reconstruction that uses relatively few learned directions at a time. Grammatical annotations enter later, when the authors link those directions with probe behavior. The dictionary is learned separately for each system, so the multilingual comparison uses a common dictionary across languages within each system. The Pile

The decomposition used throughout the study is:

x = x̂ + ϵ(x) = b + ∑ᵢ fᵢ(x)vᵢ + ϵ(x)

Here x is an original residual-stream vector and x̂ is its autoencoder reconstruction. The vector b is a decoder bias, a fixed offset. The index i ranges over learned features, vᵢ is the unit vector giving the direction of feature i, and fᵢ(x) is that feature’s scalar activation for input x. The summation ∑ᵢ adds the directions after scaling each one by its activation. The vector ϵ(x) is the reconstruction error, the portion left after subtracting x̂ from x. The original vector, reconstructed vector, bias, feature directions, and error all live in the same residual-stream space.

Sparsity concerns the coefficients for a given input. The dictionary can contain many directions while a token’s reconstruction draws on a small subset of them. Since each direction is a vector across residual-stream coordinates, it can combine signals spread across several neurons. This allows the authors to study the coefficient on a candidate grammatical direction as a component in its own right. They can also keep the error term when inserting the decomposition into a forward pass. With the error included, the decomposition initially supplies the original vector. The researchers can then change a chosen coefficient without discarding everything that the autoencoder failed to reconstruct.

Separate feature selection from activation size

The paper contrasts the autoencoder it uses with an ordinary sparse autoencoder. In the ordinary version, the encoder applies a learned transformation to a centered input and keeps its positive components.

f(x) = ReLU(Wₑ(x − b_d) + bₑ)

In this expression, x is the input vector, b_d is the decoder bias subtracted to center it, Wₑ is the encoder weight matrix, and bₑ is the encoder bias. The function ReLU takes the positive part of each component, setting negative components to zero. The vector f(x) holds the resulting feature activations. The subscript e denotes the encoder, and the subscript d denotes the decoder.

x̂ = W_d f(x) + b_d

Here x̂ is the reconstructed input, W_d is the decoder weight matrix, and f(x) is the vector of feature activations for input x. The vector b_d is the decoder bias. Multiplying by W_d forms a weighted sum of its columns, which are constrained to unit length and supply the feature directions in the decomposition.

L_standard = 𝔼ₓ∼D_train [∥x − x̂∥₂ + λ∥f(x)∥₁]

Here L_standard is the ordinary training objective and 𝔼ₓ∼D_train denotes the expectation over inputs x drawn from the training distribution D_train. The expression ∥x − x̂∥₂ measures the reconstruction error using the L2 norm. The expression ∥f(x)∥₁ is the L1 norm, the sum of absolute feature activations. The weight λ is a positive training setting that controls the strength of the sparsity penalty. The subscripts on the norms name the two ways of measuring vector size.

The penalty can also push down the activation of a feature that belongs in the reconstruction. In the ordinary design, assigning a smaller coefficient reduces the penalty even if the correct reconstruction calls for a stronger contribution. The Gated SAE used in the paper separates the decision to include a feature from the estimate of its size. The gate starts with a vector of scores.

π_gate(x) = W_gate(x − b_d) + b_gate

The input is x, and b_d is the decoder bias used to center it. The matrix W_gate and the bias b_gate define the transformation for the gate. The output π_gate(x) is a vector with one score for each candidate direction. A positive score admits the corresponding direction to the reconstruction.

f̃(x) = 𝕀[π_gate(x) > 0] ⊙ ReLU(W_mag(x − b_d) + b_mag)

Here f̃(x) is the vector of gated activations. The indicator 𝕀[π_gate(x) > 0] gives an on or off value for each direction based on whether its gate score is greater than 0. The symbol ⊙ means multiplication component by component. The matrix W_mag and bias b_mag supply the magnitude calculation from the input x centered by b_d. The ReLU function keeps its positive part. An admitted feature therefore uses the magnitude supplied by this branch, while a closed gate sets its coefficient to zero.

x̂(f̃(x)) = W_d f̃(x) + b_d

Here x̂(f̃(x)) is the vector reconstructed from the gated activations f̃(x) for the input x. The matrix W_d holds the decoder directions, and b_d is the offset added after they are combined.

L_gated = 𝔼ₓ∼D_train [∥x − x̂(f̃(x))∥₂² + λ∥ReLU(π_gate(x))∥₁ + ∥x − x̂_frozen(ReLU(π_gate(x)))∥₂²]

In this objective, L_gated is the gated training loss, and 𝔼ₓ∼D_train averages over training inputs x from D_train. The first term is the squared L2 distance from x to the reconstruction x̂(f̃(x)) based on the gated activations. The middle term penalizes the L1 norm of the positive part of the gate scores π_gate(x), with strength λ. The final term is another squared L2 reconstruction error. In that term, x̂_frozen is a frozen copy of the decoder, and its input is the positive part of the gate scores. The last term gives the gate a reconstruction objective of its own using a decoder whose parameters are held fixed for that calculation.

The autoencoders for both language systems use Adam, with a learning rate of 0.001 and a sparsity coefficient of 0.505. The dictionary has an expansion factor of 8 relative to the residual-stream width. The training batch size is 512, and the schedule has 1,000 warmup steps. According to the paper, the authors trained the autoencoders with the dictionary-learning implementation, used the nnsight library to collect and modify activations, and fitted the classifiers with the scikit-learn library. The authors release the study’s code, data, and trained autoencoders.

Check what reconstruction preserves

A reconstruction could look close to the original in vector space while altering its usefulness to the layers that follow. The authors therefore measure how well the Llama autoencoder preserves next-token prediction on multilingual mC4 text. They carry out separate runs with the original residual stream, with that stream zeroed at the relevant site, and with the reconstruction used in place of the original. This check deliberately leaves the reconstruction error out of the replacement so that it measures what the learned dictionary itself retains. mC4 is the multilingual extension of C4 named in the paper. Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer

L_recovered = (L_reconstructed − L_zero) / (L_original − L_zero)

The quantity L_recovered is the fraction of the loss recovered by the reconstruction, and / denotes division. Each loss on the right is cross-entropy, which measures how much probability the system assigns to the actual continuation, expressed as a loss. L_original is measured on the unchanged forward pass. L_zero is measured after zeroing the relevant activation. L_reconstructed is measured with the autoencoder reconstruction at that site. The numerator and denominator use the same zeroed condition as a reference. The reconstruction is better on this measure when its loss moves farther toward the original loss from that reference.

This quality check addresses the fact that the autoencoder was fitted on activations from mainly English text. A dictionary that failed to preserve predictive information for other languages would be a poor basis for interpreting their activations. Loss recovery gives a check on the usefulness of the reconstructed vectors in each evaluated language. The measure covers the reconstruction as a whole, so the authors use the probes and interventions to assess particular directions.

Rank directions by their effect on a probe

A feature can activate on grammatical examples and still be incidental to the prediction. The authors want to prioritize features whose activation values influence the probe’s score. The underlying comparison is activation patching. It starts with a clean input that exhibits the behavior of interest and a patch input that provides a comparison activation. The researcher runs the clean example, substitutes the patch example’s value for the component at the selected site, and observes the change in the target score. For an agreement experiment, paired inputs could call for verbs of opposite number. For the multilingual feature search, the target score is the trained grammatical probe’s logit.

An exact patch tests a replacement directly. Repeating that procedure for every candidate component would require a forward pass per component. The paper presents attribution patching as a way to estimate scores for many candidates together. In its simplest form it measures the gradient at the clean activation and scales that gradient by the proposed change.

ÎE_atp(m; a; x_clean, x_patch) = (∇ₐm)|ₐ₌ₐ_clean · (a_patch − a_clean)

Here ÎE_atp is the attribution-patching estimate of the indirect effect and m is the scalar score of interest. The component’s activation is written a. The inputs x_clean and x_patch supply the clean and patch activations a_clean and a_patch, respectively. The operator ∇ₐ differentiates the score with respect to a, and the vertical bar tells the reader to evaluate that derivative at a_clean. The midpoint dot · combines the gradient with the activation change by multiplication for a scalar or a dot product for a vector. The punctuation in the argument list groups the score, component, and input pair.

The first-order estimate uses the slope at one end of the proposed intervention. If the score changes its slope between the clean and patch values, that estimate can be poor. The experiments use an integrated-gradients version that samples gradients along a path between them. The paper writes the estimator in summed form.

ÎE_ig(m; a_clean, a_patch) = [∑ₐₗₚₕₐ (∇ₐm)|ₐ₌αa_clean₊₍₁₋α₎a_patch] · (a_patch − a_clean)

Here ÎE_ig is the indirect-effect estimate using integrated gradients. The score m, activation a, gradient ∇ₐm, and endpoint activations a_clean and a_patch play the same roles as above. The subscript alpha on the sum denotes its index α. The point of evaluation after the vertical bar is a mixture of the two endpoint activations, with weights α for the clean activation and 1 − α for the patch activation. The sum collects the gradients at the sampled points, and · combines them with the patch-minus-clean change. The paper uses K = 10, where K is the number of equally spaced samples. The samples begin at 0 and advance by 1/K through (K − 1)/K.

Evaluating gradients along the path costs more than using the clean gradient alone. The authors point out that the calculations can still be performed together for components that do not depend on one another. Their application is to the autoencoder directions at the selected site. The output of this stage is a ranking according to estimated influence on a grammatical classifier. The later ablations and steering runs change actual activations, providing direct tests beyond the estimates used to choose what to change.

Compare feature sets and test the leading candidates

For each concept and language, the authors retain the top 32 features by influence on the probe. They chose a short list because a small group contributed much more strongly than the many features farther down the ranking. To measure similarity between languages, they use intersection over union. The intersection counts the feature identities found in both sets. The union counts identities appearing in either set, counting a shared identity once. Dividing the former by the latter expresses the amount of agreement relative to the total set of candidates under comparison.

This matching uses the identity of a learned direction. It does not depend on manually giving a French feature and a Turkish feature the same name. If the directions occupy separate entries in the same dictionary, they count separately even if a human would describe both as related to number. In the comparison between Llama and Aya, the dictionaries are different. The paper compares how much sharing each system displays, instead of matching feature identifiers across the two systems.

The authors also count how many languages place each feature on a top list for the same concept. A feature is called multilingual when it appears for at least two languages. The most broadly multilingual group is the upper quartile of a ranking that uses both the number of languages for which a feature is influential and its average effect strength. The ablation tests suppress different groups of features and rerun the probes. The comparison asks whether classifier performance depends on shared directions and how much of that dependence is concentrated in the highest-ranked group.

Change a feature during translation

Translation gives the authors an output they can inspect independently of the original sentence classification task. They construct pairs that call for different values of a grammatical property, such as singular versus plural agreement, and keep the surrounding context as similar as the contrast allows. The templates adapt material from CausalGym, including examples translated or adapted for the different languages. The authors check that Llama-3-8B assigns higher probability to the grammatically correct sequence and retain examples on which it does so. The paper says that the correct sequence almost always wins this check. This gives the intervention an expected starting behavior to change.

For each tested concept, the authors manually inspect activation patterns and select one direction from the multilingual candidates. They record maximum activations for the features across 20M tokens from mC4 and use a multiple of a feature’s observed maximum as the intervention value. They try different multiples and select one according to how well it works empirically. This is a clamp, which means that the new coefficient is set to the chosen value in place of the original one.

During generation, the system computes a residual-stream vector. The authors decompose it, replace the selected coefficient in the autoencoder part, and put the original reconstruction error back before carrying the vector onward. They intervene only at the last token position for each generation step. This condition limits the places where the modification is applied and is intended to avoid degenerate outputs. The comparison is between the same translation setup with the clamp enabled and with ordinary generation.

After producing both translations, the authors pass each completed text back through the system in a fresh run with no intervention. They sum the token representations as they did when training the probes and classify the texts’ grammatical properties. That sequence matters. The evaluation probe reads a representation of the generated words under ordinary computation, so the intervention has to affect what is written to register through this procedure. A change in the target label measures efficacy. Stability of the other tracked labels measures selectivity.

Experiments and results

The scope of the multilingual comparison

The main representation experiment covers 23 languages available in both the Aya-23 selection and Universal Dependencies 2.1. The set includes languages with different scripts and grammatical systems. For example, Arabic, Chinese, Czech, and Turkish all enter the study, with their eligibility varying by annotated concept. The restriction to concepts with annotations in at least six languages ensures a basis for a cross-language comparison for each retained concept. It also means that the overall language list and the language list for a particular grammatical value answer different questions. A language can be part of the study while contributing observations only to some of the results.

The two systems offer a comparison between different multilingual training profiles. Aya-23-8B was developed to serve the 23 selected languages, while Llama-3-8B was pretrained primarily on English. The authors use the same layer position, probe design, and feature discovery procedure in both. This makes the measurements comparable as descriptions of the systems under test. The main comparison concerns the degree of within-system sharing across languages. It does not require that an influential Llama direction have a corresponding Aya direction in the same coordinate system.

Reconstruction on multilingual text

The multilingual reconstruction check uses mC4 subsets and the Llama-3-8B autoencoder. Its baselines are the unchanged residual stream and the zeroed activation, with cross-entropy measured in each condition and with the autoencoder reconstruction in place. The chart compares the recovered fractions across the evaluated language subsets.

Llama-3-8B autoencoder loss recovery across mC4 language subsets

The dictionary retains predictive information across the evaluated languages, with the highest recovery on French.

Llama-3-8B autoencoder loss recovery across mC4 language subsetsChinese: 0.8122Chinese0.8122Dutch: 0.9004Dutch0.9004English: 0.9257English0.9257Finnish: 0.8582Finnish0.8582French (this paper): 0.9285French (this paper)0.9285German: 0.9026German0.9026Indonesian: 0.9205Indonesian0.9205Japanese: 0.8759Japanese0.8759Turkish: 0.8522Turkish0.8522
The numbers
System or settingfraction of loss recovered
Chinese0.8122
Dutch0.9004
English0.9257
Finnish0.8582
French (this paper)0.9285
German0.9026
Indonesian0.9205
Japanese0.8759
Turkish0.8522

French has the highest reported recovery in this comparison, with English and Indonesian also among the strongest. The recovery on Chinese is lower than on the other evaluated subsets, and Finnish, Japanese, and Turkish also show more loss from reconstruction than English. The scores express preservation relative to the original and zeroed conditions for each subset, so the ordering concerns the reconstruction’s effect on predictive loss. Each language’s overall prediction difficulty and the linguistic interpretation of individual features are different matters.

Finnish appears in this reconstruction check. The paper’s language list for the grammatical probes follows the languages supported by Aya-23, whereas the appendix’s reconstruction table names the languages tested on mC4. The checks have distinct roles. One assesses whether the reconstruction retains useful residual-stream information for the selected texts. The other investigates whether particular directions explain grammatical classifications across the selected treebanks.

Overlap in the strongest grammatical directions

The main overlap measure compares short lists of directions with high estimated influence on each language’s grammatical probe. The authors report overlap reaching up to 50% for the same grammatical concept across typologically different languages. This figure is an upper result for the feature-set comparison. It is not the mean across all categories or a measurement of the proportion of all grammatical information that is shared. The relevant population is the top 32 directions selected for each probe.

Feature 22,860 illustrates how widely an individual direction can recur. It is among the leading directions for all 15 languages considered for grammatical gender in that comparison. This result combines a feature identity with a count of the language-specific readouts it influences. It does not require that the languages express gender using equivalent words, or that the direction have equal influence in all of them. The paper also reports greater overlap for categories that more of the languages have in common, including number.

Llama-3-8B and Aya-23-8B show broadly similar patterns of overlap across categories. Negative polarity is among the exceptions the authors identify. The comparison shows that the direction-sharing effect appears in both systems in spite of their different training profiles. It also leaves room for category-specific variation. Looking only at an overall conclusion about multilinguality would hide some of that variation, which is why the authors report comparisons by grammatical concept.

How much the classifiers depend on shared features

The ablation baseline is probe performance with the representation intact. The authors compare it with runs where they remove monolingual features, all multilingual features, or the top quartile of the multilingual ranking. The monolingual group consists of directions that appeared among the leading candidates for just one language for a given concept. The multilingual group is the union of directions that qualified in more than one. The strongest group within it consists of directions with wide coverage and high causal influence by the ranking described above.

The paper reports that removing shared features reduces classifier performance substantially across languages, characterizing the resulting performance as near chance in its overview. For Llama 3, the mean probe performance after ablating the upper quartile is 64%, compared with 61% when the ablation covers all multilingual features. These percentages are post-ablation classifier performance, with the more extensive ablation leaving the lower value.

Llama 3 mean probe performance on Universal Dependencies after multilingual feature ablation

Removing the most widely shared group leaves probe performance close to the level after removing the entire multilingual group.

Llama 3 mean probe performance on Universal Dependencies after multilingual feature ablationUpper quartile of multilingual features removed (this paper): 64Upper quartile of multilingual featuresremoved (this paper)64All multilingual features removed: 61All multilingual features removed61
The numbers
System or settingprobe performance %
Upper quartile of multilingual features removed (this paper)64
All multilingual features removed61

The proximity of the two results is the point of the comparison. The paper reports that ablating the full group removes four times as many features. Most of the loss in probe performance associated with the shared group is already visible after the smaller intervention. The full comparison with monolingual removal gives the authors another reference for interpreting that effect. It tests whether suppression of features that are highly ranked within individual languages has the same consequence as suppression of the shared group.

Targeted changes in translation

The controlled translation study covers tense, gender, and number. It contrasts past with present, masculine with feminine, and singular with plural. English, French, and German are included in the case study. Turkish is included for tense and number because it does not inflect for grammatical gender. The paper reports efficacy over 64 examples per intervention setting. Its main view aggregates translation directions, and the appendix presents the directional results separately. An aggregate can describe a language pair while concealing which direction is easier to steer, so the direction-specific view matters when interpreting the scope of a successful intervention.

The comparison is against translation of the same input without a feature clamp. A target intervention can produce a change such as a masculine pronoun where the ordinary output uses a feminine one. In a tense test, the generated text can move toward the opposite value of the tense contrast. A number intervention can change the expected number of an output form. The results vary with the grammatical concept. The authors report that one direction is often enough to change the target value, while in some conditions a single-feature intervention is frequently insufficient.

The efficacy and selectivity scores describe different outcomes from the same translation pair. Efficacy records whether the target probe flips. Selectivity records whether all the other concept probes retain their predictions. The authors report that interference among the monitored concepts is generally rare. An output can satisfy the selectivity criterion while the target itself stays unchanged. A useful interpretation of the plots therefore takes account of both measurements. A strong result for both supports a narrow intervention that achieves its intended change and leaves the other monitored labels stable.

The paper separately checks ordinary in-context translation in both systems using Flores-101. The prompt supplies 2 ground-truth translation examples before the source sentence, using literal backslashes as separators in the prompt format shown. The authors measure BLEU with SacreBLEU for this baseline, comparing translation output against reference text. That score concerns ordinary translation performance. The probe-based efficacy and selectivity scores instead concern the differences between ordinary and intervened outputs on the controlled dataset. Flores-101

The naturalistic translation check uses examples from Flores-101, a collection with aligned translations across 101 languages. The authors show selected outputs in which a feature changes the expected grammatical property. They also report unsuccessful interventions and degenerate outputs on this material. The examples establish that the procedure can sometimes work outside the templates. The authors use the controlled dataset for success rates and the naturalistic examples to illustrate the range of behavior that a rate on short counterfactual examples cannot capture.

What the ablations show

Shared directions account for much of what the probes read

The overlap experiment and the ablation experiment answer different questions. Overlap describes which features enter the top lists. Ablation tests the consequences of removing their contributions. High overlap alone could arise if similar information were available along numerous directions, leaving the probe able to use other evidence after any selected group was suppressed. The substantial reduction in probe performance shows that the chosen directions carry usable evidence on which the trained readouts depend.

The comparison with monolingual features addresses another possibility. A system may possess both a signal shared across languages and separate signals tailored to their individual grammar. Each can contribute to a classifier. By using the rankings to identify features that matter in just one language or in several, then intervening on those groups, the authors test how consequential each group is for the existing readouts. The reported pattern points to a major role for multilingual features. It establishes that the probe’s ability to detect the grammatical category relies strongly on the shared directions under the study’s ablation conditions.

The upper-quartile test narrows that conclusion. A feature that qualifies as multilingual may be useful in only a couple of the studied languages, while another qualifies across nearly every language with the relevant annotations. Removing the entire multilingual group treats those cases together. The upper-quartile intervention asks how much of the effect is concentrated among the strongest and most widely relevant directions. The similar post-ablation results suggest that this narrower set accounts for much of what the probes normally read from the full multilingual group.

The appendix helps explain that concentration by plotting the number of languages for which different features matter. It shows distributions for masculine gender, past tense, and accusative case in both systems. The authors describe the general shape as roughly following a power law. Many directions have a relatively limited reach, while some are influential for most of the languages that can enter the comparison. What counts as broad reach depends on how many of the languages mark that property and provide labels for it. Accusative case and past tense need not have the same ceiling.

There are accordingly two ways a feature can be prominent in the study. It can have a large estimated influence on a probe for a given language, or it can appear in influential roles across many languages. The ranking for the most multilingual ablation uses both coverage and average effect size. The observed drop therefore supports the importance of the group defined by those criteria. It leaves open how much of the group’s strength comes separately from high average influence and from the breadth of language coverage.

Some grammatical values share features with each other

The authors also compare multilingual feature sets across concept values. A masculine-gender set and a singular-number set, for example, can intersect even though gender and number are separate grammatical concepts. Mean overlap across the pairs of values is 13.9% (± 10.7%). The comparison between masculine and singular has 40.6% overlap. That pair stands out against the reported mean and illustrates how a direction useful for one feature value can also be useful for another.

The authors relate this pattern to the way languages realize grammar on words. A pronoun or adjective can mark number and gender together. Its form may change when either property changes, and the same observed token can provide evidence for both labels. French and Hebrew supply examples in the paper. The overlap is compatible with directions responding to genuine grammatical regularities that include several properties. A direction useful for both values may encode a joint pattern, or the two values may supply overlapping evidence in the data. The set comparison cannot decide which explanation applies to every shared direction. French · Modern Hebrew

This analysis adds a second dimension to the interpretation of sharing. The first is reuse across languages for a grammatical concept. The second is reuse across grammatical values, including values from different categories. The results indicate that directions can be broadly multilingual while their roles still have some specificity among concepts. The larger overlaps also explain why the authors needed to check other properties during generation. A feature’s usefulness for a target probe does not give its intervention an exclusive effect by definition.

Inspecting and steering individual directions

The authors manually inspect selected activation patterns to check whether the prominent directions have a recognizable grammatical interpretation. The Llama-3-8B examples include directions associated with plural nouns and past tense. In each case, activations on text from distinct languages can be examined for a common property. This inspection makes the attribution results more concrete. A reader can see whether a direction responds in places where the proposed distinction actually appears, rather than relying solely on the fact that it influences a classifier.

The inspection is also part of feature selection for translation. The authors choose a prominent direction whose activation pattern is interpretable for the concept they want to change. They then keep the target concept fixed as they test the direction in multiple translation settings. A successful change to generated grammar extends the evidence beyond the original treebank readout. The direction can contribute to classifying a grammatical property and can influence the generated wording under a counterfactual activation.

Ablation and steering put pressure on the representation in different ways. Removing a group tests how much the classifier loses when that group is suppressed. Clamping one direction tests whether a particular change can move generation toward a chosen value. A direction can be important in a group ablation without being sufficient on its own for a reliable target flip. Conversely, a sufficiently strong clamp can demonstrate a route to changing an output even when ordinary translation uses several routes to the same form. The paper finds examples of effective, selective changes, alongside settings where the generative effect is weak. That variation helps delimit the causal claim to the interventions and behaviors actually tested.

Limitations

Limits identified by the authors

Steering strength is the first limitation the authors identify. The values that elicit the desired grammar can exceed those observed naturally in the data used to set the activation scale. At extreme values, the resulting output may make little sense or repeat a token indefinitely. The Flores-101 tests also required tuning by concept and language, and the paper discusses the complications of applying multiple large changes together. These observations leave open how to control grammatical behavior reliably, even when an intervention is informative about a feature’s possible role.

The authors also cite work finding that sparse autoencoders can be outperformed by simpler methods for fine-grained steering. An example is a direction formed by taking the difference between average representations from groups of inputs. The study establishes that chosen sparse features can influence particular behaviors. Its design does not establish which method gives the best control for those behaviors. The score used to choose a feature for a grammatical probe, the normal distribution of its activation, and the value that works best for generation are different quantities.

A second stated limit is the gap between reading a concept and using it in generation. The authors observed cases in which an influential feature for the linear probe had a weaker effect on generated output. A probe has been trained to make a specific distinction from a vector and can exploit any available signal that helps it. The rest of the network can combine that signal with other information, use it at another stage, or give it little weight for a particular continuation. The authors connect this possibility to prior work on differences between what a representation contains and what a language system says. Locating and Editing Factual Associations in GPT

A third stated limit concerns interpretation. The authors assign human grammatical descriptions to patterns found inside a network, whose internal organization can differ from a linguistic analysis of the text. A direction interpreted as tense may respond regularly to past forms in the inspected examples and have activation conditions that the label fails to capture elsewhere. The fact that some grammatical values overlap in the feature analysis makes this possibility concrete. Human inspection can catch conspicuous cases of a misleading interpretation, while a full account of a direction’s activation pattern would require broader evidence.

Finally, the authors point out that the sparse decomposition searches for feature directions that are linearly encoded. A concept may instead be represented by a more complex arrangement. The paper mentions circular structure as an example in which an interpretable variable can extend across several directions. A method based on single directions can then recover only part of the variable or miss the relevant organization. The experiment therefore describes a portion of the system’s grammatical representation that this way of searching can expose.

Limits visible in the experimental design

The comparison of training profiles concerns already-trained systems. The paper shows that language-balanced pretraining is unnecessary for the kind of sharing observed in the English-heavy system it studies. It does not vary corpus balance while holding the rest of a training run fixed. The results therefore cannot isolate the effects of training distribution, corpus size, or other differences between the systems. The hypothesis that concentrating on one language first promotes reusable abstractions remains a possible explanation for the findings. The experiment directly measures properties of the finished systems.

The localization is also specific to the end of layer 16. The probe reads a sum of token states at that point. Accordingly, an influential direction can help identify a property for a sentence without explaining which word supplied the evidence, how the evidence reached the relevant token position, or how it travels onward. The translation clamp targets the final token position during each step, which answers a different question about where an intervention can affect an output. Together the experiments locate useful directions at an intervention site. A full mechanism for agreement or tense would require tracing how those directions are produced, combined, and read across positions and layers.

Coverage is determined partly by the available annotations and the selection of languages. The full probe study starts with the languages supported by Aya-23, and the denominator for a given concept depends on which languages have suitable labels. A language missing from a particular comparison supplies no evidence either way about the relevant representation. The top-32 rule also makes overlap a property of ranked sets. Directions just outside the cutoff play no role in that number, and distinct directions with related functions count as distinct. These choices make overlap measurable but limit its use as an inventory of everything shared.

The controlled translation examples are selected to have a recognizable grammatical baseline. The authors screen out cases where Llama-3-8B fails to prefer the grammatical sequence, choose features by inspecting their activations, and tune the magnitude empirically. The resulting success rates apply to that selected setup. They do not estimate what would happen if a direction and magnitude were chosen without inspection for an arbitrary translation request. Flores-101 broadens the kinds of text encountered, but the naturalistic examples are presented qualitatively and cannot supply an overall success rate.

The translation metrics also leave some possible changes unmeasured. A target probe flip registers a change in predicted grammatical category, while selectivity checks the remaining grammatical properties for which probes are applied. Neither measurement independently checks that the output preserves all the source meaning, remains fluent, and expresses every unmeasured grammatical property in the same way. The ordinary translation benchmark provides context about the systems’ baseline ability, and the naturalistic examples show some successes and failures. The paper’s strongest functional evidence is consequently that a feature can change the targeted grammatical behavior with limited interference on the monitored labels.

The authors’ discussion leaves room for a common internal concept to reflect English usage, especially in the English-heavy system. The same caution applies to the match between any two languages with a category carrying the same name. Languages can differ in the values a category has, its distribution, and its social or semantic associations. Sharing a direction may support reuse while leaving those differences to other parts of the representation. The experiments show that some shared directions have substantial causal influence under the tested conditions. How much language-specific structure the systems preserve alongside them remains an open question.

What came after

The subsequent citing work spans evaluation, internal representation, intervention, and cross-lingual transfer. Those connections can be described at the level of the works’ stated subjects. The fact that a work cites Brinkmann and colleagues establishes a relationship to the paper. It does not specify which procedures the later authors reused or whether they obtained comparable results.

MultiBLiMP 1.0 develops a multilingual benchmark built around linguistic minimal pairs. A minimal pair makes a focused comparison by holding much of an example constant while changing the property being tested. Brinkmann and colleagues use paired examples to check whether a particular grammatical distinction is available for intervention. MultiBLiMP brings the same general form of comparison to multilingual evaluation. The methodological connection concerns the kind of contrast used to ask a question about grammar, while the two works put that contrast to different uses. MultiBLiMP 1.0

Locate, Steer, and Improve surveys practical mechanistic interpretability. Brinkmann and colleagues’ experiments illustrate the relationship between the first two activities in that title. They locate candidate directions by measuring their influence on a probe, then test selected directions by changing activations and examining the resulting text. The translation failures are relevant to the third activity. An intervention can establish a causal connection even when the same procedure is too sensitive to setting and magnitude to give dependable control. Locate, Steer, and Improve

Localized Cultural Knowledge is Conserved and Controllable takes up localization, conservation, and control for cultural knowledge. That subject extends the question of shared internal structure beyond properties such as number and tense. With grammatical features, the question is whether a direction can matter for the same kind of distinction in different languages. With culturally situated knowledge, shared organization and the distinctions specific to each setting are also questions of interest. The connection is the pairing of a claim about where information is represented with a question about whether it can be controlled. Localized Cultural Knowledge is Conserved and Controllable in Large Language Models

Modality Matching Matters examines the calibration of language distances for cross-lingual transfer in URIEL+. It operates at the level of comparisons among languages, whereas Brinkmann and colleagues measure overlap among directions associated with particular grammatical properties. Together the subjects raise a question about what similarity is meant to predict. The languages that share an influential direction for one property can form a different group from the languages that share it for another. A measure intended to inform transfer must therefore specify the kind of information or behavior for which the comparison is being made. Modality Matching Matters

Causal Localization of the English Pivot in LLaVA investigates an English pivot in a vision–language system and addresses multilingual steering without additional training. Its subject connects directly to the question of what an English-centered internal computation might consist of. Brinkmann and colleagues approached that question through individual grammatical concepts and interventions on translation. The LLaVA study’s stated focus places causal localization and cross-language intervention in a setting where input and output can involve different modalities. Causal Localization of the English Pivot in LLaVA

Multilingual Language Models Encode Script Over Linguistic Structure turns attention to another property that can organize multilingual representations. A script is a property of the written input, whereas grammatical agreement or tense can connect examples whose forms look very different. Brinkmann and colleagues look for specific grammatical directions that recur across languages. The later work’s stated comparison between script and linguistic structure asks what happens at a broader level of organization. Shared directions for some grammatical concepts and a strong role for script in the wider representation address different levels of the same question about what multilingual systems hold in common. Multilingual Language Models Encode Script Over Linguistic Structure

Cite

Cite as Jannik Brinkmann, Chris Wendler, Christian Bartelt and Aaron Mueller. 2025. Large Language Models Share Representations of Latent Grammatical Concepts Across Typologically Diverse Languages. Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers).

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2025.naacl-long.312

@inproceedings{brinkmann2025large,
  title = {{Large Language Models Share Representations of Latent Grammatical Concepts Across Typologically Diverse Languages}},
  author = {Jannik Brinkmann, Chris Wendler, Christian Bartelt and Aaron Mueller},
  booktitle = {Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers)},
  year = {2025},
  doi = {10.18653/v1/2025.naacl-long.312},
  url = {https://doi.org/10.18653/v1/2025.naacl-long.312}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/brinkmann-2025-large-language-models-share-representations/