Elamur Research

Sentence Ambiguity, Grammaticality and Complexity Probes

Paper · 2022 · Sunit Bhattacharya, Vilém Zouhar and Ondrej Bojar

Summary

A system can handle a sentence without making every property of that sentence easy to read from its internal representations. This matters in translation, where a system may have to choose between interpretations and may also correct or simplify the wording along the way. The authors ask whether a small classifier can recover three properties from a sentence vector: whether the sentence is ambiguous, whether it is grammatically acceptable, and whether people judge it complex. They compare representations from different depths in GPT-2 and the English and multilingual versions of BERT.

The experiment turns each property into a choice between two labels. Captions containing ambiguous verbs are compared with captions randomly drawn from the same collection. English and Italian sentences receive complexity labels derived from human ratings. Acceptability is tested with human judgments in CoLA and with generated sentence pairs in BLiMP. For each layer, the authors reduce the token representations to a sentence vector and train a shallow classifier to predict the corresponding label. They also train a classifier on TF-IDF features, which describe the words in a sentence using their frequencies within and across texts. This comparison tests how far a classifier can get using readily available lexical cues.

Complexity is the clearest positive result. With multilingual BERT, the complexity probes generally outperform TF-IDF across layers, and the authors report the same performance pattern for English and Italian. The complex sentences are also longer on average in both corpora, leaving length as a possible explanation for the signal. Ambiguity probes regularly exceed the 50% accuracy of a majority-class prediction, yet TF-IDF performs similarly or better. The grammaticality experiments expose a different problem. Many generated BLiMP contrasts can be classified from surface cues, weakening their value as tests of grammatical information. Where depth matters, middle layers can yield better probes than upper layers. BERT’s designated sentence-start representation outperforms the mean of its token vectors in only a few cases.

The authors also test a common visual shortcut. A t-SNE plot projects sentence vectors into a space that is easy to inspect, but visible clusters can diverge from what a classifier recovers. In one ambiguity example, the authors obtain clearer class clusters simply by selecting which vectors to display. The full set gives 58% accuracy with the BERT probe and 66% with TF-IDF. Together, the experiments show how a score or a plot can reflect the construction of a dataset, the choice of baseline, or the selection of examples as much as the linguistic property under study.

Deep dive: Sentence Ambiguity, Grammaticality and Complexity Probes

Sentence-level probes test where ambiguity, grammatical acceptability, and complexity can be recovered from BERT and GPT-2 representations. · about 32 minutes to read

The problem and its context

Processing a sentence and recovering a property

A sentence carries several kinds of information at once. Its wording can support alternative interpretations, its parts can fit together according to grammatical conventions, and its structure can place demands on a reader. A numerical representation built while processing that sentence may preserve information about any of these properties. The paper asks whether that information is accessible to a classifier and whether its accessibility changes as the sentence passes through successive layers. This is an interpretability question about the connection between an internal representation and a property with an independent label.

Translation gives the question a practical setting. An ambiguous expression may require the translator to commit to an interpretation. A translation system may also change how complicated a sentence is or correct its grammar while producing the output. Those decisions can occur as part of generation, without a separate operation that a user can inspect or direct. The authors are interested in whether general-purpose sentence representations preserve distinctions that would matter to systems designed specifically for simplification or correction. They use translation to motivate the question and study it through separate classification experiments rather than through translated outputs. The relevant application is machine translation.

Ambiguity, acceptability, and complexity have separate definitions in the study. Ambiguity concerns possible readings. Acceptability concerns the judgment attached to a sentence or the contrast between a correct form and a form containing an error. Complexity concerns human assessments of how difficult a sentence is. The authors leave the relationships among the properties open. An ambiguous sentence might also be judged complex, for example, but an experiment that classifies ambiguity on one corpus and complexity on another cannot establish how those judgments covary on the same sentences.

The paper treats each property as observable through a specific dataset. That choice matters because an abstract property is broader than any procedure for labeling it. Ambiguity in the caption experiment comes from a collection built around ambiguous verbs. Acceptability means one thing in a corpus with human annotations and something more controlled in a benchmark assembled from paired examples. Complexity is measured through ratings that are subsequently divided into categories. The experiments ask what the representations reveal about those particular distinctions.

How earlier work framed each property

The authors describe a substantial body of work on identifying the intended sense of a word. Some of the studies they cite use numerical word representations to classify words associated with multiple meanings. Translation research also examines other sources of uncertainty, including ambiguity arising from sentence structure and ambiguity in meaning. These lines of work help explain why the task here assigns a label to an entire sentence even though the selected captions contain ambiguous verbs. The relevant lexical research area is word sense disambiguation.

The paper situates its caption experiment alongside earlier studies that already considered full sentences. It describes work that used a structural probe to examine the geometry of representations for ambiguous sentences. It also discusses work that combined images and text, using visual information to ground a textual representation and study disambiguation. The underlying questions differ. A geometric analysis asks how examples are arranged in representation space, while a visually grounded task can ask whether an image supplies information that the words leave open. The caption probe in this paper asks what can be inferred from a sentence alone.

The authors also cite work that approached ambiguity through human processing. Researchers had examined how resolving ambiguity affects cognitive load, including in settings motivated by translation. Another study investigated ambiguity through translations produced by human annotators. These approaches provide different ways of observing the consequences of ambiguity. The present study instead uses the source of a caption as its operational label and asks whether a sentence vector predicts that label. The human-processing tradition forms part of the paper’s background in psycholinguistics.

Grammatical acceptability has a longer history in studies of sentence processing and in practical efforts to score language. The paper describes work on human judgments, automatic essay assessment, and translation fluency. It also mentions a probability-based approach in which perplexity is used to assess acceptability. Perplexity reflects how expected a sequence is under a predictor. The experiment here uses a supervised approach: a classifier learns from labeled sentences and is evaluated on its ability to recover their labels. Earlier structural probing work also studied whether syntactic structure could be recovered from contextual word vectors. The paper cites A Structural Probe for Finding Syntax in Word Representations.

The background to complexity includes research on human comprehension and work on automatic readability assessment. The paper cites a crowdsourced study of English sentence complexity that examined agreement among raters and what they perceive as difficult. It also describes computational approaches based on a parser or on recurring sequences of words, as well as studies comparing automatic assessments with human judgments. Readability gives the problem an educational use. The distinct question in this paper is where in a pretrained system the complexity signal becomes accessible and which way of constructing a sentence vector makes it easiest to recover.

Why inspect more than the final layer?

Earlier probes had associated different depths with different kinds of linguistic information. The authors describe one study as finding phrase-level information earlier in BERT and a tendency towards longer-distance dependencies at later layers. They describe another as finding syntax more strongly represented towards the lower part of BERT and semantic information better represented higher up. These reported patterns motivate inspecting layers individually. A reader who sees only a score from the final layer would have no evidence about where a distinction first became easy to classify or whether it was stronger earlier. The studies the paper discusses include What Does BERT Learn about the Structure of Language? and BERT Rediscovers the Classical NLP Pipeline.

Auxiliary prediction tasks had already been used to study sentence embeddings, and earlier work had tested contextual representations on tasks such as labeling tokens, segmenting text, and extracting relations between items. A probe uses that general pattern by putting a new prediction task on top of an existing representation. The choice of what to predict, and at what level, determines what the result can address. A token label concerns a position within a sentence. An ambiguity or acceptability label in this paper concerns the entire sentence. The earlier work includes Fine-grained Analysis of Sentence Embeddings Using Auxiliary Prediction Tasks and Linguistic Knowledge and Transferability of Contextual Representations.

The paper places supervised probes alongside information-theoretic approaches and visual inspection. It discusses mutual information as an alternative to conventional probes that require optimization and mentions a subsequent formulation concerned with information usable by a predictor. It also describes t-SNE as a common way to look for groups in high-dimensional vector data. The existence of these approaches gives a probe score a useful point of comparison: extracting a label with a trained classifier, measuring usable information, and seeing colored groups on a plot are different operations. An earlier contribution cited in this discussion is Information-Theoretic Probing for Linguistic Structure.

The method, step by step

Turn each property into a prediction task

The authors start with a sentence and a label that applies to the whole sentence. The classifier receives the sentence as its input and predicts one category from the relevant pair. An ambiguity probe chooses between ambiguous and unambiguous. A complexity probe chooses between complex and simple. A grammaticality probe chooses between acceptable and unacceptable. Each property has its own examples and its own classification experiment. The shared format is text classification.

This format is narrower than the tasks that motivated it. An ambiguity decision can be correct without giving either interpretation. A grammaticality decision supplies no corrected version and no location for the error. A complexity decision gives no rating on the original scale and no explanation of what made the sentence difficult. The tasks give the authors a common measurement procedure while allowing each label to keep the meaning assigned by its corpus.

How the sentence probes are built and evaluated

The steps in order.

How the sentence probes are built and evaluatedStep 1: Assign a binary label to each sentence1. Assign a binary label to each sentenceStep 2: Extract token vectors from the selected layer2. Extract token vectors from the selected layerStep 3: Form a single vector for each sentence3. Form a single vector for each sentenceStep 4: Train the shallow classifier on labeled vectors4. Train the shallow classifier on labeled vectorsStep 5: Measure accuracy on held-out sentences5. Measure accuracy on held-out sentencesStep 6: Repeat across layers and cross-validation folds6. Repeat across layers and cross-validation foldsStep 7: Compare against classification using TF-IDF features7. Compare against classification using TF-IDF features

Build the ambiguity labels from captions

The starting point is an image-caption collection. A set of captions containing ambiguous verbs, associated with 461 images, supplies the positive class. The authors use the Ambiguous COCO selection for this purpose. For the comparison class they sample 461 captions at random from MS COCO and assign those captions the unambiguous label. This draws both groups from the broad domain of image descriptions while relying on different selection procedures for the two classes. The source collection is Microsoft COCO.

The association with images is important to the origin of the dataset. Ambiguous COCO was assembled to test multimodal translation, a setting where a system can use an image along with a caption. The current experiment passes in the caption text. Its target is membership in the ambiguity class, and a prediction can match that target without identifying what in the image would resolve the caption. The design therefore tests how well caption text alone supports the distinction the authors constructed. The background is research on vision and language.

The ambiguity label is attached to a full sentence even though selection of the positive examples starts from an ambiguous verb. Other parts of the caption can still help in classification. For example, a word that identifies a person can clarify a reference, or the vocabulary can differ across the two caption selections. This matters because the probe may respond to evidence anywhere in the input. The setup supplies no separate supervision that would direct the classifier toward the verb, a referent, or competing readings.

Convert human complexity ratings into categories

The complexity experiment uses human-rated sentences in English and Italian. The English examples come from the section of the Penn Treebank drawn from the Wall Street Journal. The Italian examples are drawn from PACCSS-IT and appear in the Italian Universal Dependency Treebank’s newspaper section. The paper describes the corpora as containing 20 human ratings on a scale from 1 for low complexity to 7 for high complexity. A treebank is a collection of sentences annotated with grammatical structure. The study uses the sentences as input and derives its target labels from the ratings. Treebanks

The authors divide the rated sentences at the average. Sentences below that threshold are simple, and the remaining sentences are complex. Ratings on the same side of the boundary now count as the same class, even if they differ on the original scale. This makes the resulting task compatible with the ambiguity and grammaticality probes. It also means that the classifier is evaluated on which side of a cutoff it predicts, with no additional credit for estimating a sentence’s position within a category.

The split produces 592 sentences per class in English and 551 per class in Italian. Each language has its own classification task, using multilingual BERT in both cases. Choosing the same pretrained system for the corpora gives the study a common way to extract layer representations in the two languages. The inputs still differ in language and corpus source, and the labels are relative to ratings in their respective data. The design places the comparison within multilingual and cross-lingual NLP.

The experiment takes the complexity judgments as its target even when a simpler observable property might predict them. Sentence length is the paper’s main example. If the sentences in the complex class are generally longer, a classifier might predict human labels from a signal that tracks length. Measuring accuracy on the binary task and determining what accounts for that accuracy are consequently separate issues. The first is built into the experiment. The second depends on comparisons that can distinguish length from other properties of the sentences.

Keep the two kinds of grammaticality evidence distinct

BLiMP supplies minimal pairs. The members of a pair differ in a targeted way, with a correct sentence paired with a sentence containing an error involving syntax, morphology, or meaning. The benchmark covers 67 conditions grouped under 12 phenomena. The authors describe the broader categories as syntax, morphology, phenomena at the intersection of syntax and semantics, and semantics. Here morphology concerns the forms of words, while semantics concerns meaning.

Determiner–noun agreement makes the intended contrast concrete. The conditions discussed in the paper focus on number agreement between a demonstrative, such as this or these, and the associated noun. The relevant change can turn a matching combination into a mismatch. The pair construction gives the benchmark an explicit reason for treating one sentence as correct and its counterpart as erroneous. It also creates a testable question about the benchmark itself: which cues would let a classifier separate the generated examples?

The probe receives an individual sentence with a sentence-level label. The paired origin of the sentences defines the available labels, while the prediction task asks the classifier to decide whether an individual input belongs to the acceptable class. This distinction matters because a classifier that saw both members together could use their contrast directly. In the task the paper describes, any reliable feature of the input sentence can contribute to the decision, including a word that recurs disproportionately in one class.

CoLA uses a different source of evidence. Its acceptability labels are human annotations, and its construction does not require a paired grammatical counterpart for every unacceptable item. The authors include both resources in the grammaticality setup, so the meaning of an acceptability label depends on which collection is being discussed. The BLiMP conditions support comparisons by phenomenon and provide examples whose construction can be scrutinized. CoLA represents a judgment-based way to label sentences. The shared operation is linguistic annotation.

Extract a sentence representation from each depth

The pretrained systems turn a sentence into vectors. A vector is an ordered collection of numerical values. A contextual token vector can change with the surrounding words, so taking token representations from a particular layer gives the probe a view of the sentence at that stage of processing. A layer is a successive stage of the system. Using the same sentence at several stages lets the authors compare how accessible a label is as the representation changes. The underlying architecture is the Transformer.

The study uses BERT base, multilingual BERT base, and GPT-2. The architectures in the comparison have 12 layers, and the vectors used by the probes have 768 dimensions. Matching layer counts makes it convenient to compare depth profiles. The same layer number in two architectures can still correspond to different ways of organizing the available information. The authors run their probes separately for each pretrained system and obtain the layer representations through Hugging Face’s Transformers software. Transformers

The output of a layer includes a vector for each token, while the classifier needs one input vector per sentence. Mean aggregation takes the average at each coordinate across the token vectors. This produces a vector of the same width as the individual inputs, whatever the number of tokens. The other token aggregation named in the setup is the Hadamard product, which multiplies corresponding coordinates across vectors. Its result has the same width as well. The reported comparisons chiefly discuss the mean and the special-token representation, so the inclusion of the product in the setup establishes it as an option without establishing a quantitative ranking across all forms of aggregation.

For BERT, the authors can instead extract the vector at the position occupied by the special classification token, written [CLS]. A vector at that position becomes specific to the sentence after the token interacts with the input through attention. Before that interaction, its position alone supplies no sentence-specific content. The study also lists BERT’s pooling layer as a source of a single vector. Pooling and raw extraction from the special-token position are distinct choices in the setup, and the authors restrict both to BERT.

Averaging and selecting the special position give the classifier different access to a layer. With a mean, the input contains a coordinate-wise contribution from the token vectors across the sentence. With [CLS], everything available to the probe has to pass through the representation at that designated position. Both are sentence-level vectors, but the fact that they have the same dimensions does not make them interchangeable. Comparing their scores at the same depth helps show whether the method for reading out the layer affects the result.

Train the probe and establish a lexical comparison

The authors leave the pretrained representations fixed and train a shallow multilayer perceptron, or MLP, on top of them. The MLP is an auxiliary neural classifier. It learns from labeled sentence vectors which patterns tend to indicate the positive or negative class. In this setup, learning takes place in the probe, so a successful prediction reflects what the classifier can extract from the selected input representation. The feature extractor is not adapted through fine-tuning.

The implementation uses MLPClassifier from scikit-learn 1.1.0 with most defaults retained. The paper reports 10-fold cross-validation with 10 MLP runs. Cross-validation rotates which portion of the data serves as held-out examples, allowing the classifier to be assessed on sentences outside its training portion. Repeated runs are relevant because fitting the classifier can yield different outcomes across runs. The paper identifies its open-source experiment repository as ambiguity-grammaticality-complexity.

For the lexical comparison, the authors replace the contextual feature extractor with a TF-IDF vectorizer. TF-IDF assigns weights to terms using how often they occur in a text and how widely they occur across texts. This represents word usage directly, without taking a vector from a pretrained layer. The authors vary the maximum number of features available to the vectorizer. The baseline can capture differences in vocabulary between the classes, including differences that arise because the sentences in one class tend to describe different topics or use different constructions.

The majority-class prediction provides a separate point of reference. On a balanced task it has 50% accuracy. Performance above that level establishes an association between the input features and the class labels in the evaluation. The comparison to TF-IDF asks a stronger question about the contextual representation. If a representation-based probe gives an accuracy similar to a lexical classifier, the contextual probe score alone supplies little reason to attribute success to information beyond the easy cues. The paper uses this distinction to interpret evaluation and benchmarks for sentence properties.

Relate classification to what a plot can show

The authors use t-SNE to project high-dimensional vectors into a display with fewer dimensions. The points in the display are colored by their sentence labels. A plot can make it easy to see whether similarly labeled points gather together, but positions in the display are the outcome of a projection. A classifier, by contrast, is trained on the sentence vectors before that projection. It can use distinctions that need not appear as compact, clearly separated groups in the display.

The paper expresses its reasoning through directional implications. In the first, the clusters are groups in the representation space used by the classifier, and the reasoning assumes a suitable classifier and successful optimization.

C ⇒ A

C means that the labeled classes form clearly separable clusters in the original vector space. ⇒ indicates an implication in the direction shown. A means that the classifier obtains high accuracy. The intended inference runs from separation the classifier can exploit to successful prediction. A visual impression from t-SNE alone leaves the premise unverified because the display is a different space.

The second implication concerns how to interpret successful prediction after accounting for surface-level cues.

A ⇒ F

A again means high classifier accuracy, here under the paper’s additional condition that surface artifacts do not account for that accuracy. ⇒ indicates the direction of the inference. F means that the feature being tested is represented in the vectors in a way the probe can recover. The condition about artifacts is essential. A classifier can perform well at reproducing benchmark labels by recovering an incidental feature correlated with those labels.

The authors then perform a separate demonstration with the ambiguity vectors. They choose a seed from each class by looking for widely separated vectors across the classes. Starting from these seeds, they select vectors by closeness to the seed of their own class or distance from the other class’s seed. They keep half of the vectors and run t-SNE on that selection. This is a deliberate, label-aware change to the examples that enter the visualization. The labels and the vectors originate in the same ambiguity experiment as before, while the plotted subset favors clearer separation.

Experiments and results

What the accuracy comparisons measure

The primary metric is accuracy, the share of evaluated sentences assigned the correct binary label. The layer-wise figures for ambiguity, complexity, and the highlighted agreement condition report development accuracy. In the agreement figure, each point is a mean across 10 runs and includes a 95% confidence interval. The BLiMP overview presents accuracy across conditions using the best representation results for BERT and GPT-2 alongside TF-IDF. The overview shows how well each feature source can do in the comparison, while the layer plots show where a change in accuracy occurs.

The dataset therefore matters as much as the metric. Accuracy on captions measures recovery of the authors’ caption labels. Accuracy on a complexity corpus measures recovery of categories derived from human ratings. Accuracy on a BLiMP condition measures recovery of labels created within that condition’s sentence contrasts. The definition of a correct prediction is clear in each setting. The linguistic interpretation of a correct prediction depends on which alternative cues the corresponding experiment makes available.

Ambiguity is difficult to distinguish from lexical cues

For ambiguity, the MLP on contextual sentence vectors scores systematically above the 50% majority-class reference. Its performance therefore shows that the vectors give the classifier some basis for separating the two caption sets. TF-IDF yields similar accuracy, however, and in the ambiguity case reported alongside the visualization it does better. This narrows the finding. The study finds evidence that the representations support some classification of the benchmark labels, with little evidence in this comparison that they offer a stronger usable signal than the captions’ lexical features.

The specific case below uses the BERT [CLS] vector at layer 1. The comparison is especially useful because both representation choices are evaluated on the same ambiguity distinction. The 50% row shows what a majority label achieves on the balanced task. The other rows give the accuracy reported for the contextual probe and the lexical baseline in the ambiguity visualization example.

Accuracy on the Ambiguous COCO and MS COCO caption task

The lexical baseline outperforms the layer-specific BERT probe in this example.

Accuracy on the Ambiguous COCO and MS COCO caption taskMajority-class prediction: 50Majority-class prediction50BERT layer 1 CLS probe: 58BERT layer 1 CLS probe58TF-IDF baseline (this paper): 66TF-IDF baseline (this paper)66
The numbers
System or settingaccuracy %
Majority-class prediction50
BERT layer 1 CLS probe58
TF-IDF baseline (this paper)66

The authors also inspect lexical evidence using coefficients from logistic regression. Words such as man and woman appear among the terms most associated with the negative class. The authors suggest that words specifying gender can clarify a reference that might otherwise be unclear. This example helps explain why a vocabulary-based classifier can be informative. A caption can offer a clue about its label through a word that helps resolve uncertainty, without asking a classifier to enumerate meanings or produce an interpretation. The coefficient inspection identifies associated terms. It leaves open which cues the contextual MLP actually relies on.

There are two relevant comparisons here. The first asks whether the sentence vector supports any reliable discrimination on the particular task. Above-majority accuracy gives a positive answer. The second asks whether the contextual vector gives an advantage over a straightforward lexical alternative. The baseline closes or reverses that advantage in the reported comparison. This is why the paper describes ambiguity as weakly accessible: the verdict comes from the relationship between the probe and the baseline, as well as from the absolute level of accuracy.

Complexity remains accessible over much of the depth

The complexity probes give a stronger result against TF-IDF. For multilingual BERT, the paper reports that probe accuracy is systematically higher than the lexical baseline. With minor exceptions, it remains high across layers. The authors describe the performance for Italian PACCSS-IT as identical to that for English and discuss the Italian result without presenting a separate layer plot for it. This is a reported similarity in the experiment with the two complexity corpora, rather than an independent measure of how well the representation transfers between languages.

One useful reference point occurs before contextual processing. In the ambiguity and complexity discussion, the authors report 50% for the layer 0 [CLS] representation and attribute it to its position before self-attention has incorporated the sentence. A classifier can be trained on a vector of the right dimensions at that stage, but the special token then supplies no content that varies with the sentence. The result helps distinguish the effect of using a designated position from the effect of allowing that position to receive contextual information.

The corpora also show a substantial association between the categories and sentence length. For the English dataset, the paper gives mean lengths of 24.84 for complex sentences and 13.95 for simple sentences. In Italian, the corresponding means are 21.61 and 12.26. These are class averages for sentence length in the data, separate from the accuracy figures. The authors raise the possibility that length alone could account for the accessible complexity signal. The comparison with TF-IDF shows an advantage over that lexical baseline, while the length figures identify another possible explanation that the baseline comparison does not resolve.

The two results belong together. A classifier can recover the human-derived complexity categories consistently across much of the system, and those categories are associated with a readily observable property. The strength of the result concerns prediction of the categories. Its interpretation as evidence for a richer representation of sentence difficulty depends on how much performance would survive a comparison that isolates length. The paper gives the class averages as grounds for taking that question seriously.

Grammaticality scores depend on the condition and baseline

The grammaticality results reported in detail concern BLiMP. In many of its conditions, TF-IDF classifies the sentences accurately using lexical features. The authors describe near-perfect TF-IDF performance on most of the semantics tasks. This is an important result about the measurement procedure. The benchmark’s categories can mark the linguistic reason a sentence pair was created, while an individual-sentence classifier can recover the label through simpler regularities in the generated examples. High scores in those conditions have limited power to distinguish contextual representations from the lexical baseline.

Some BLiMP conditions leave more room for that distinction. BERT probe performance rises sharply with depth on the 7 of 26 syntactic tasks for which TF-IDF was inaccurate. The rise appears from the 2nd layer for mean token representations and the 3rd layer for [CLS]. GPT-2 does not show the same pattern. This result is conditional on the chosen subset of syntactic tasks and distinguishes the layer profile of the two architectures. It does not depend on assuming that all syntactic conditions have the same amount of surface evidence.

For the morphology tasks in which TF-IDF performs poorly, the authors report that mean token representations outperform [CLS] systematically. The comparison indicates that information useful to the probe can be more accessible through the token vectors than through the designated sentence position. This pattern matters when deciding how to extract a representation for probing. A weak result from one sentence vector may coexist with a stronger result from a different readout of the same underlying layer.

The determiner–noun agreement experiment illustrates a more localized effect. In the BLiMP condition labeled determiner–noun agreement irregular 1, the BERT [CLS] probe shows a sudden decline at the 5th layer. An unusually low average vector norm occurs at the same layer. A norm measures the magnitude of a vector. The authors suggest that the small magnitude may make classifier optimization harder, while leaving the cause of the drop unresolved. The correspondence is an observation about this condition and representation, instead of an experimental manipulation of vector magnitude.

The discussion also reports declining accuracy in upper layers for BLiMP tasks involving morphology and the intersection of syntax and semantics. The authors suggest increasing abstraction as an explanation. Across the reported comparisons, they read the middle layers as particularly useful for the features under study. The complexity profile is an important qualification because its scores remain high across most layers. The appropriate description of depth depends on the trait, the condition within a benchmark, and the way the sentence vector is constructed.

CoLA appears in the experimental setup as the human-annotated acceptability resource. The detailed findings about easy lexical classification, the agreement drop, and the upper-layer declines are BLiMP findings. The paper gives no corresponding numerical CoLA result in its account of these experiments. There is consequently no accuracy comparison here that can establish how the human-judgment task and the generated-pair task differ under the same probe.

What the ablations show

What changes when the representation changes

The paper offers no formal component-removal ablation. Its controlled comparisons change the layer, the sentence readout, or the feature source, and it also inspects lexical coefficients, vector norms, and the composition of a t-SNE plot. Each comparison addresses a different possible reason for a strong or weak result. The layer comparison asks where the classifier can retrieve the label. The readout comparison asks how to obtain the most informative sentence vector from a given layer. The lexical comparison asks how much the benchmark already reveals through word usage.

Mean aggregation and [CLS] offer a particularly direct comparison. Both take information from a BERT layer, but the mean uses the token vectors across the input while [CLS] uses one designated position. Across the experiments, the paper finds few cases in which [CLS] is stronger. The morphology conditions where TF-IDF performs poorly make the pattern more specific: the mean does better systematically there. The authors relate the broader result to the pretraining role of the special token in next-sentence classification and to the absence of task-specific fine-tuning in their own experiment. That explanation remains an interpretation of the comparison.

The layer 0 special-token result supplies a control on that explanation. Before attention has mixed in information from the input, the designated token has no sentence context for the classifier to use. At later layers, a change in [CLS] accuracy can reflect a change in the accessible properties of that position. The growth of accuracy for the mean can follow a different profile because it draws from positions throughout the sentence. The separate onsets in the selected BLiMP syntax tasks illustrate the practical consequence: changing the readout affects the depth at which a reader first sees a strong result.

Comparing BERT and GPT-2 adds another distinction. The selected syntax conditions give both architectures the same general kind of label to predict, yet the steep improvement reported for BERT does not appear in GPT-2. The finding supports comparing full layer profiles rather than assuming that equal layer counts imply equal locations for grammatical information. The study retrieves fixed vectors from each architecture, so the profile is specific to what those representations offer this probe.

What the lexical baseline controls for

The majority-class rule gives a reference for prediction without sentence features. Replacing the contextual vector with TF-IDF provides a reference for prediction with lexical features. The second comparison is what alters the interpretation of the ambiguity results. A classifier can exceed majority accuracy and still give about the same result as a vocabulary-based representation. The logistic-regression inspection provides a concrete example of the available cues by pointing to words that can make a referent clearer.

The same comparison serves a different diagnostic purpose for BLiMP. Strong TF-IDF performance in a generated condition shows that its labels are highly accessible through the words in the individual sentences. The minimal-pair design may specify a precise grammatical contrast, but a classifier can solve the category task using whichever correlates are most predictive. The study’s aggregate BLiMP analysis reveals many conditions where that possibility matters. Its closer analysis of the conditions with weaker TF-IDF scores then shows where layer and readout differences can be examined with less interference from an already strong lexical baseline.

There is also a case where the comparison favors the contextual representation consistently. For complexity, the multilingual BERT probes generally outperform TF-IDF. This establishes an advantage over the particular lexical representation the paper tests. It leaves several candidate sources for that advantage, including sentence length. The value of the baseline comparison is that it answers a tractable question about an alternative feature representation. It does not substitute for a targeted comparison against every measurable property of the input.

The norm analysis illustrates the difference between observing a possible mechanism and isolating it. The authors observe that the sharp drop in the agreement probe coincides with small [CLS] vectors at the affected depth. A difficulty in fitting the classifier is therefore plausible. The comparison does not establish what accuracy would be if the vectors were rescaled, nor does it establish whether a differently fitted classifier would recover the same distinction. The observation gives the layer-specific dip a concrete alternative explanation to a disappearance of agreement information.

What changes when the plotted examples change

The visualization analysis considers several combinations of appearance and accuracy. Some projections display clear class groups and accompany strong classification. Others have strong classification even though the projected points do not form obvious class groups. Still others show weak classification and little visual class separation. One plot even contains visible groups whose membership does not correspond to the class colors. The last example clarifies what a reader would need to inspect: the existence of groups in the plot is a different observation from their alignment with the labels.

The selection experiment goes further because the authors start with the same ambiguity representation and change the subset displayed. With all the vectors, the plot does not visibly separate the classes. The authors then keep half by choosing points in relation to distant seeds from the two classes. The new projection shows clearer class groupings. They distinguish this targeted selection from random sub-sampling, which they say would not produce the same effect. The change in appearance can thus be produced through selection from existing vectors.

This is particularly revealing alongside the classifier comparison. The full ambiguity example uses a representation whose probe scores 58%, while TF-IDF scores 66%. Apparent separation in the selected plot would give an incomplete view of that result. The selection favors examples whose geometry already makes them good candidates for the desired visual contrast. The figure demonstrates the behavior of the projection on those selected points. The classifier accuracy still describes the broader task on which it was evaluated.

The authors’ general point is directional. A genuine separation that a properly optimized classifier can use supports high accuracy. High accuracy, after accounting for shortcuts, supports accessibility of the feature. Neither step requires a class to look like a single compact group on a low-dimensional plot. The paper’s examples show why visual inspection is best interpreted alongside classifier results and baseline evidence, especially when a plot has been made from a selected portion of the data.

Limitations

Limits the authors identify

The authors give their ambiguity conclusion in terms of accessibility. They find comparatively weak recovery of the ambiguity labels from the layer representations and note that Ambiguous COCO was created for a multimodal translation setting. The positive captions are meaningful as inputs that may benefit from visual context. The sentence-only probe addresses a narrower question about what can be inferred from text in that collection. The paper treats the result as evidence that ambiguity, as tested here, is harder to extract than complexity.

For complexity, the authors expressly identify length as a possible explanation. The means differ between simple and complex sentences in both languages, and they raise the possibility that the distinction could be encoded solely through length. Good prediction of the binary categories is compatible with that explanation. A comparison against a length-only predictor, or an evaluation that holds length roughly constant across the classes, would address a different question from the reported TF-IDF comparison.

For grammaticality, the authors identify surface regularities in BLiMP as a limitation of the benchmark for probing. Many conditions give high accuracy with a simple lexical feature extractor. That makes it difficult to interpret success as evidence that a contextual representation preserves the grammatical relation the benchmark was designed around. Their methodological concern is about using such examples to diagnose linguistic information in a representation. The experiments leave other uses of minimal pairs, including uses that keep the comparison within each pair, outside their evaluation.

The authors also observe that an accuracy threshold cannot settle the question of whether a feature is represented. Accuracy has meaning in relation to the data, the classifier, and the alternative sources of evidence. Their examples give reasons to be cautious at both ends. High accuracy can reflect artifacts, and weak accuracy can reflect difficulty extracting a distinction or fitting the probe. Visual separation has its own limitations, since projection and selection can change what a reader sees.

Translation remains a motivation and a proposed setting for replication. The experiments use general-purpose pretrained systems and sentence-level labels, leaving open how systems used for translation represent the same properties and whether they rely on them when producing output. The paper calls for stronger methods for assessing whether a representation contains a feature. It also proposes applying the probes in machine translation systems, where the behavioral questions that motivated the work could be investigated directly.

Limits that follow from the setup

The ambiguity labels identify how the caption sets were assembled. The positive examples were selected for containing ambiguous verbs, whereas the comparison captions were sampled at random. Random sampling gives a comparison drawn from the same broad collection, with ambiguity status assigned by sampling rather than by individual verification. Some comparison captions could contain ambiguity, and topic or vocabulary could differ between the groups. The lexical baseline makes such differences visible as a source of predictive power. It cannot identify the interpretation of every individual caption or determine which kind of ambiguity the probe recognized.

The experiment also leaves the scope of the ambiguity judgment narrow. Sentences can admit multiple readings for reasons other than an ambiguous verb. The corpus selection gives this study a practical route to labeled examples, and it leaves broader sentence ambiguity untested. In particular, the classification scores give no direct evidence about whether either architecture could distinguish competing readings, identify an ambiguity’s source, or resolve a reading if given an accompanying image.

The complexity labels depend on a threshold over human ratings. The probe is asked to reproduce the categories after the ratings have been reduced to two classes. The design therefore leaves open whether the representations encode the ordering of examples within each category, how they behave near the boundary, and whether their predictions reflect differences among raters. The similar English and Italian findings provide evidence in two newspaper-derived collections. They give no direct test of training on one language and classifying in the other, or of applying the same distinction to a different domain.

The grammaticality evidence also depends on the prediction format. A BLiMP pair specifies a local contrast, but the reported classification task assigns a label one sentence at a time. This gives the classifier access to whole-sentence cues that may fall outside the intended contrast. It also leaves open whether success would transfer across templates or lexical choices. A separate split organized by templates or vocabulary could help determine how much the probe generalizes across the generation patterns. The paper’s repeated cross-validation establishes the evaluation procedure it used, without providing results for those additional controls.

The probes test accessibility under chosen readouts. The mean, the product, the BERT special-token vector, and the BERT pooled vector each compress a sentence to a fixed-size input. Information distributed across distinct token positions can become easier or harder to recover after that compression. A result at one layer is consequently a result for that layer, that readout, and the classifier trained on it. If an upper layer gives lower accuracy than a middle layer, the direct observation is a decrease in accessible information under the tested setup. Whether the relevant distinction could be recovered through another representation or another classifier remains open.

This point also limits the claim about upper-layer loss after fine-tuning. The paper compares its findings with a study that fine-tuned systems on tasks from GLUE. It describes the earlier work as finding changes mainly in higher layers and reports that fine-tuning led to modest gains. The present experiment uses fixed pretrained representations. Its own layer profiles can support a claim about where its probes perform best before task-specific adaptation. They cannot establish what happens under fine-tuning on these sentence traits.

A probe’s success and the pretrained system’s behavior are distinct observations. The MLP can learn to exploit an association in a sentence vector even if the original system does not use that association in a translation or another task. Establishing behavioral use would require evidence from the system performing the task, with the relevant information linked to its decision. The paper’s classifier scores locate information that is available to a separate predictor, which is the quantity the experiments are designed to measure.

Finally, the projection demonstration shows how easily the visual answer can change when the plotted sample is chosen with reference to the labels. Its force comes from the contrast between the original display and the deliberately selected one. It leaves open whether a particular unselected projection is faithful to separations useful to the classifier. In this study, the quantitative probe and the lexical baseline supply the evidence needed to interpret the ambiguity example without relying on that visual judgment.

What came after

The follow-up described by the authors is prospective. They propose two lines of work: develop stronger ways to determine whether a feature is accessible in a representation, and repeat the probes in systems used for machine translation. The first responds to a measurement problem exposed by the experiments. A fixed accuracy cutoff would have treated the ambiguity probe as successful against majority prediction even where lexical features gave the stronger result. A visually convincing projection could also have suggested more separation than the full classification task supported. A follow-up method would need to account for both the competing cues in the data and the way the representation is read.

The translation proposal returns to the reason for studying the traits together. Translation can require a choice among readings, while a translation system may also alter grammaticality or complexity during generation. A sentence classifier can help establish whether a trait is recoverable from an internal state. Assessing its role in translation would take an additional comparison with what the system actually outputs. The paper leaves that connection between recoverability and behavior for further experiments.

Cite

Cite as Sunit Bhattacharya, Vilém Zouhar and Ondrej Bojar. 2022. Sentence Ambiguity, Grammaticality and Complexity Probes. Proceedings of the Fifth BlackboxNLP Workshop on Analyzing and Interpreting Neural Networks for NLP.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2022.blackboxnlp-1.4 · arXiv 2210.06928

@inproceedings{bhattacharya2022sentence,
  title = {{Sentence Ambiguity, Grammaticality and Complexity Probes}},
  author = {Sunit Bhattacharya, Vilém Zouhar and Ondrej Bojar},
  booktitle = {Proceedings of the Fifth BlackboxNLP Workshop on Analyzing and Interpreting Neural Networks for NLP},
  year = {2022},
  doi = {10.18653/v1/2022.blackboxnlp-1.4},
  eprint = {2210.06928},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.18653/v1/2022.blackboxnlp-1.4}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/bhattacharya-2022-sentence-ambiguity-grammaticality-complexity-probes/

References

90 references, from the paper's own bibliography.

  1. Yossi Adi, Einat Kermany, Yonatan Belinkov, Ofer Lavi, and Yoav Goldberg. 2016. Fine-grained analysis of sentence embeddings using auxiliary prediction tasks. our card
  2. Gerry Altmann. 1985. The resolution of local syntactic ambiguity by the human sentence processing mechanism. In Second Conference of the European Chapter of the Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
  3. Bharat Ram Ambati, Siva Reddy, and Mark Steedman. 2016. Assessing relative sentence complexity using an incremental ccg parser. In HLT-NAACL, pages 1051–1057. our card
  4. Kathryn Baker, Alexander Franz, Pamela Jordan, Teruko Mitamura, and Eric Nyberg. 1994. Coping with ambiguity in a large-scale machine translation system. In COLING 1994 Volume 1: The 15th International Conference on Computational Linguistics. OpenAlex ↗ · Scholar ↗
  5. Yonatan Belinkov. 2021. Probing classifiers: Promises, shortcomings, and alternatives. OpenAlex ↗ · Scholar ↗
  6. Yonatan Belinkov and James Glass. 2019. Analysis methods in neural language processing: A survey. Transactions of the Association for Computational Linguistics, 7:49–72. our card
  7. Sunit Bhattacharya, Věra Kloudová, Vilém Zouhar, and Ondřej Bojar. 2022. EMMT: A simultaneous eye-tracking, 4-electrode eeg and audio corpus for multi-modal reading and translation scenarios. arXiv preprint arXiv:2204.02905. OpenAlex ↗ · Scholar ↗
  8. Patrick Bordes, Eloi Zablocki, Laure Soulier, Benjamin Piwowarski, and Patrick Gallinari. 2019. Incorporating visual semantics into sentence representations within a grounded space. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 696–707. OpenAlex ↗ · Scholar ↗
  9. Forrest David Braze. 2002. Grammaticality, acceptability and sentence processing: A psycholinguistic study. University of Connecticut. OpenAlex ↗ · Scholar ↗
  10. Dominique Brunato, Andrea Cimino, Felice Dell’Orletta, and Giulia Venturi. 2016. Paccss-it: A parallel corpus of complex-simple sentences for automatic text simplification. In Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing, pages 351–361. our card
  11. Dominique Brunato, Lorenzo De Mattei, Felice Dell’Orletta, Benedetta Iavarone, and Giulia Venturi. 2018. Is this sentence difficult? do you agree? In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pages 2690–2699. our card
  12. Niccolò Campolungo, Federico Martelli, Francesco Saina, and Roberto Navigli. 2022. Dibimt: A novel benchmark for measuring word sense disambiguation biases in machine translation. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 4331–4352. our card
  13. Boli Chen, Yao Fu, Guangwei Xu, Pengjun Xie, Chuanqi Tan, Mosha Chen, and Liping Jing. 2020. Probing bert in hyperbolic spaces. In International Conference on Learning Representations. OpenAlex ↗ · Scholar ↗
  14. Ethan A Chi, John Hewitt, and Christopher D Manning. 2020. Finding universal grammatical relations in multilingual bert. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 5564–5577. our card
  15. Wietse de Vries and Malvina Nissim. 2021. As good as new. how to successfully recycle english GPT-2 to make models for other languages. In Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021, pages 836–846. our card
  16. Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. Bert: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pages 4171–4186. our card
  17. Quang-Minh Do, Kungan Zeng, and Incheon Paik. 2020. Resolving lexical ambiguity in english-japanese neural machine translation. In 2020 3rd Artificial Intelligence and Cloud Computing Conference, pages 46–51. OpenAlex ↗ · Scholar ↗
  18. Fei Dong, Yue Zhang, and Jie Yang. 2017. Attention-based recurrent convolutional neural network for automatic essay scoring. In Proceedings of the 21st conference on computational natural language learning (CoNLL 2017), pages 153–162. our card
  19. D. Elliott, S. Frank, K. Sima'an, and L. Specia. 2016. Multi30k: Multilingual english-german image descriptions. In Proceedings of the 5th Workshop on Vision and Language, pages 70–74. our card
  20. Desmond Elliott, Stella Frank, Loïc Barrault, Fethi Bougares, and Lucia Specia. 2017. Findings of the second shared task on multimodal machine translation and multilingual image description. In Proceedings of the Second Conference on Machine Translation, pages 215–233. our card
  21. Daniele Fanelli. 2012. Negative results are disappearing from most disciplines and countries. Scientometrics, 90:891–904. OpenAlex ↗ · Scholar ↗
  22. Peter W Foltz, Darrell Laham, and Thomas K Landauer. 1999. Automated essay scoring: Applications to educational technology. In Edmedia+ innovate learning, pages 939–944. Association for the Advancement of Computing in Education (AACE). OpenAlex ↗ · Scholar ↗
  23. Olivier Hamon and Martin Rajman. 2006. X-score: Automatic evaluation of machine translation grammaticality. In LREC, pages 155–160. OpenAlex ↗ · Scholar ↗
  24. Michael Hanna and Ondřej Bojar. 2021. A fine-grained analysis of bertscore. In Proceedings of the Sixth Conference on Machine Translation, pages 507–517. our card
  25. Michael Heilman, Aoife Cahill, Nitin Madnani, Melissa Lopez, Matthew Mulholland, and Joel R Tetreault. 2014. Predicting grammaticality on an ordinal scale. In ACL (2). OpenAlex ↗ · Scholar ↗
  26. Jeffrey Heinz and William Idsardi. 2011. Sentence and word complexity. Science, 333(6040):295–297. OpenAlex ↗ · Scholar ↗
  27. John Hewitt, Kawin Ethayarajh, Percy Liang, and Christopher D Manning. 2021. Conditional probing: measuring usable information beyond a baseline. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 1626–1639. OpenAlex ↗ · Scholar ↗
  28. John Hewitt and Christopher D Manning. 2019. A structural probe for finding syntax in word representations. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pages 4129–4138. our card
  29. Dan W Higinbotham. 1991. The resolution of lexical ambiguity in machine translation. In Deseret Language and Linguistic Society Symposium, volume 17, page 7. OpenAlex ↗ · Scholar ↗
  30. Christopher R Hoyt and Art B Owen. 2021. Probing neural networks with t-sne, class-specific projections and a guided tour. arXiv preprint arXiv:2107.12547. OpenAlex ↗ · Scholar ↗
  31. Benedetta Iavarone, Dominique Brunato, and Felice Dell’Orletta. 2021. Sentence complexity in context. In Proceedings of the Workshop on Cognitive Modeling and Computational Linguistics, pages 186–199. OpenAlex ↗ · Scholar ↗
  32. Ganesh Jawahar, Benoît Sagot, and Djamé Seddah. 2019. What does BERT learn about the structure of language? In ACL 2019-57th Annual Meeting of the Association for Computational Linguistics. our card
  33. Qiao Jin, Bhuwan Dhingra, William Cohen, and Xinghua Lu. 2019. Probing biomedical embeddings from language models. In Proceedings of the 3rd Workshop on Evaluating Vector Space Representations for NLP, pages 82–89. OpenAlex ↗ · Scholar ↗
  34. Marcel Adam Just, Patricia A Carpenter, Timothy A Keller, William F Eddy, and Keith R Thulborn. 1996. Brain activation modulated by sentence comprehension. Science, 274(5284):114–116. OpenAlex ↗ · Scholar ↗
  35. Nal Kalchbrenner and Phil Blunsom. 2013. Recurrent convolutional neural networks for discourse compositionality. In Proceedings of the Workshop on Continuous Vector Space Models and their Compositionality, pages 119–126. our card
  36. Nora Kassner, Benno Krojer, and Hinrich Schütze. 2020. Are pretrained language models symbolic reasoners over knowledge? In Proceedings of the 24th Conference on Computational Natural Language Learning, pages 552–564. our card
  37. Ilia Kuznetsov and Iryna Gurevych. 2020. A matter of framing: The impact of linguistic formalism on probing results. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 171–182. OpenAlex ↗ · Scholar ↗
  38. Thomas K Landauer. 2003. Automatic essay assessment. Assessment in education: Principles, policy & practice, 10(3):295–308. OpenAlex ↗ · Scholar ↗
  39. Alon Lavie and Michael J Denkowski. 2009. The meteor metric for automatic evaluation of machine translation. Machine translation, 23(2):105–115. our card
  40. Bai Li, Zining Zhu, Guillaume Thomas, Yang Xu, and Frank Rudzicz. 2021. How is BERT surprised? Layerwise detection of linguistic anomalies. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pages 4215–4228. OpenAlex ↗ · Scholar ↗
  41. Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollár, and C Lawrence Zitnick. 2014. Microsoft coco: Common objects in context. In European conference on computer vision, pages 740–755. Springer. our card
  42. Yongjie Lin, Yi Chern Tan, and Robert Frank. 2019. Open sesame: Getting inside bert’s linguistic knowledge. In Proceedings of the 2019 ACL Workshop BlackboxNLP: Analyzing and Interpreting Neural Networks for NLP, pages 241–253. our card
  43. Nelson F Liu, Matt Gardner, Yonatan Belinkov, Matthew E Peters, and Noah A Smith. 2019. Linguistic knowledge and transferability of contextual representations. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pages 1073–1094. our card
  44. Xiao Liu, Yanan Zheng, Zhengxiao Du, Ming Ding, Yujie Qian, Zhilin Yang, and Jie Tang. 2021. GPT understands, too. arXiv preprint arXiv:2103.10385. OpenAlex ↗ · Scholar ↗
  45. Zhibin Lu, Pan Du, and Jian-Yun Nie. 2020. Vgcn-bert: augmenting bert with graph embedding for text classification. In European Conference on Information Retrieval, pages 369–382. Springer. OpenAlex ↗ · Scholar ↗
  46. Xiaofei Ma, Zhiguo Wang, Patrick Ng, Ramesh Nallapati, and Bing Xiang. 2019. Universal text representation from BERT: An empirical study. arXiv preprint arXiv:1910.07973. OpenAlex ↗ · Scholar ↗
  47. Matej Martinc, Senja Pollak, and Marko Robnik-Šikonja. 2021. Supervised and unsupervised neural approaches to text readability. Computational Linguistics, 47(1):141–179. our card
  48. Danielle S McNamara, Max M Louwerse, and Arthur C Graesser. 2002. Coh-metrix: Automated cohesion and coherence scores to predict text readability and facilitate comprehension. Technical report, Technical report, Institute for Intelligent Systems, University of Memphis …. OpenAlex ↗ · Scholar ↗
  49. Clara Meister, Tiago Pimentel, Patrick Haller, Lena Jäger, Ryan Cotterell, and Roger Levy. 2021. Revisiting the uniform information density hypothesis. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 963–980. our card
  50. Francois Meyer and Martha Lewis. 2020. Modelling lexical ambiguity with density matrices. In Proceedings of the 24th Conference on Computational Natural Language Learning, pages 276–290. OpenAlex ↗ · Scholar ↗
  51. Jonathan Mirault and Jonathan Grainger. 2020. On the time it takes to judge grammaticality. Quarterly Journal of Experimental Psychology, 73(9):1460–1465. OpenAlex ↗ · Scholar ↗
  52. Ana Mlinarić, Martina Horvat, and Vesna Šupak Smolčić. 2017. Dealing with the positive publication bias: Why you should really publish your negative results. Biochemia medica, 27(3):447–452. OpenAlex ↗ · Scholar ↗
  53. Marius Mosbach, Anna Khokhlova, Michael A Hedderich, and Dietrich Klakow. 2020. On the interplay between fine-tuning and sentence-level probing for linguistic knowledge in pre-trained transformers. In Proceedings of the Third BlackboxNLP Workshop on Analyzing and Interpreting Neural Networks for NLP, pages 68–82. OpenAlex ↗ · Scholar ↗
  54. Hiroshi Nagata. 1992. Anchoring effects in judging grammaticality of sentences. Perceptual and Motor Skills, 75(1):159–164. OpenAlex ↗ · Scholar ↗
  55. Roberto Navigli. 2009. Word sense disambiguation: A survey. ACM computing surveys (CSUR), 41(2):1–69. OpenAlex ↗ · Scholar ↗
  56. Ryan M Nefdt. 2020. A puzzle concerning compositionality in machines. Minds and Machines, 30(1):47–75. OpenAlex ↗ · Scholar ↗
  57. Amber Nigam, Shikha Tyagi, Kuldeep Tyagi, and Arpan Saxena. 2020. Skillbert:“skilling” the bert to classify skills! OpenAlex ↗ · Scholar ↗
  58. Despina Papadopoulou. 2005. Reading-time studies of second language ambiguity resolution. Second Language Research, 21(2):98–120. OpenAlex ↗ · Scholar ↗
  59. F. Pedregosa, G. Varoquaux, A. Gramfort, V. Michel, B. Thirion, O. Grisel, M. Blondel, P. Prettenhofer, R. Weiss, V. Dubourg, J. Vanderplas, A. Passos, D. Cournapeau, M. Brucher, M. Perrot, and E. Duchesnay. 2011. Scikit-learn: Machine learning in Python. Journal of Machine Learning Research, 12:2825–2830. OpenAlex ↗ · Scholar ↗
  60. Vladimir Pericliev. 1984. Handling syntactical ambiguity in machine translation. In 10th International Conference on Computational Linguistics and 22nd Annual Meeting of the Association for Computational Linguistics, pages 521–524. OpenAlex ↗ · Scholar ↗
  61. Matthew E. Peters, Mark Neumann, Mohit Iyyer, Matt Gardner, Christopher Clark, Kenton Lee, and Luke Zettlemoyer. 2018. Deep contextualized word representations (https://doi.org/10.18653/v1/N18-1202). In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers), pages 2227–2237, New Orleans, Louisiana. Association for Computational Linguistics. our card
  62. Tiago Pimentel, Josef Valvoda, Rowan Hall Maudslay, Ran Zmigrod, Adina Williams, and Ryan Cotterell. 2020. Information-theoretic probing for linguistic structure. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 4609–4622. our card
  63. Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, Ilya Sutskever, et al. 2019. Language models are unsupervised multitask learners. OpenAlex ↗ · Scholar ↗
  64. Margaret A Richek. 1976. Effect of sentence complexity on the reading comprehension of syntactic structures. Journal of Educational Psychology, 68(6):800. OpenAlex ↗ · Scholar ↗
  65. Stefan Riezler and John T Maxwell III. 2006. Grammatical machine translation. In Proceedings of the Human Language Technology Conference of the NAACL, Main Conference, pages 248–255. OpenAlex ↗ · Scholar ↗
  66. Anna Rogers, Olga Kovaleva, and Anna Rumshisky. 2020. A primer in bertology: What we know about how bert works. Transactions of the Association for Computational Linguistics, 8:842–866. our card
  67. Gözde Gül Şahin, Clara Vania, Ilia Kuznetsov, and Iryna Gurevych. 2020. Linspector: Multilingual probing tasks for word representations. Computational Linguistics, 46(2):335–385. our card
  68. Marcus Sammer, Kobi Reiter, Stephen Soderland, Katrin Kirchhoff, and Oren Etzioni. 2006. Ambiguity reduction for machine translation: Human-computer collaboration. In Proceedings of the 7th Conference of the Association for Machine Translation in the Americas: Technical Papers, pages 193–202. OpenAlex ↗ · Scholar ↗
  69. Gabriele Sarti. 2020. Interpreting neural language models for linguistic complexity assessment (https://gsarti.com/msc-thesis/introduction.html). Master's thesis, University of Trieste, dec. OpenAlex ↗ · Scholar ↗
  70. Gabriele Sarti, Dominique Brunato, and Felice Dell’Orletta. 2021. That looks hard: Characterizing linguistic complexity in humans and language models. In Proceedings of the Workshop on Cognitive Modeling and Computational Linguistics, pages 48–60. OpenAlex ↗ · Scholar ↗
  71. Bernard Scott. 2018. Translation, brains and the computer: A neurolinguistic solution to ambiguity and complexity in machine translation, volume 2. Springer. OpenAlex ↗ · Scholar ↗
  72. Felix Stahlberg and Shankar Kumar. 2022. Jam or cream first? modeling ambiguity in neural machine translation with SCONES. arXiv preprint arXiv:2205.00704. OpenAlex ↗ · Scholar ↗
  73. Sanja Štajner, Simone Paolo Ponzetto, and Heiner Stuckenschmidt. 2017. Automatic assessment of absolute sentence complexity. In Proceedings of the 26th International Joint Conference on Artificial Intelligence, IJCAI, volume 17, pages 4096–4102. OpenAlex ↗ · Scholar ↗
  74. Jason Stanley and Zoltan Gendler Szabó. 2000. On quantifier domain restriction. Mind & Language, 15(2-3):219–261. OpenAlex ↗ · Scholar ↗
  75. Sara Stymne and Lars Ahrenberg. 2010. Using a grammar checker for evaluation and postprocessing of statistical machine translation. In Proceedings of the Seventh International Conference on Language Resources and Evaluation (LREC'10). our card
  76. Alvin Subakti, Hendri Murfi, and Nora Hariadi. 2022. The performance of bert as data representation of text clustering. Journal of big Data, 9(1):1–21. OpenAlex ↗ · Scholar ↗
  77. Ian Tenney, Dipanjan Das, and Ellie Pavlick. 2019. Bert rediscovers the classical nlp pipeline. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 4593–4601. our card
  78. John C Trueswell. 1996. The role of lexical frequency in syntactic ambiguity resolution. Journal of memory and language, 35(4):566–585. OpenAlex ↗ · Scholar ↗
  79. Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. 2017. Attention is all you need. In Advances in neural information processing systems, pages 5998–6008. our card
  80. Ivan Vulić, Edoardo Maria Ponti, Robert Litschko, Goran Glavaš, and Anna Korhonen. 2020. Probing pretrained language models for lexical semantics. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 7222–7240. our card
  81. Alex Wang, Amanpreet Singh, Julian Michael, Felix Hill, Omer Levy, and Samuel R Bowman. 2018. GLUE: A multi-task benchmark and analysis platform for natural language understanding. EMNLP 2018, page 353. our card
  82. Alex Warstadt, Alicia Parrish, Haokun Liu, Anhad Mohananey, Wei Peng, Sheng-Fu Wang, and Samuel R Bowman. 2020. BLiMP: The benchmark of linguistic minimal pairs for english. Transactions of the Association for Computational Linguistics, 8:377–392. our card
  83. Alex Warstadt, Amanpreet Singh, and Samuel R Bowman. 2019. Neural network acceptability judgments. Transactions of the Association for Computational Linguistics, 7:625–641. OpenAlex ↗ · Scholar ↗
  84. Orion Weller, Jordan Hildebrandt, Ilya Reznik, Christopher Challis, E Shannon Tass, Quinn Snell, and Kevin Seppi. 2020. You don’t have time to read this: An exploration of document reading time prediction. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 1789–1794. OpenAlex ↗ · Scholar ↗
  85. Thomas Wolf, Lysandre Debut, Victor Sanh, Julien Chaumond, Clement Delangue, Anthony Moi, Pierric Cistac, Tim Rault, Rémi Louf, Morgan Funtowicz, et al. 2019. Huggingface's transformers: State-of-the-art natural language processing. arXiv preprint arXiv:1910.03771. our card
  86. Chien-Sheng Wu, Steven CH Hoi, Richard Socher, and Caiming Xiong. 2020. Tod-bert: Pre-trained natural language understanding for task-oriented dialogue. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 917–929. our card
  87. Chien-Sheng Wu and Caiming Xiong. 2020. Probing task-oriented dialogue representation from language models. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 5036–5051. OpenAlex ↗ · Scholar ↗
  88. Yadollah Yaghoobzadeh, Katharina Kann, Timothy J Hazen, Eneko Agirre, and Hinrich Schütze. 2019. Probing for semantic classes: Diagnosing the meaning content of word embeddings. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 5740–5753. OpenAlex ↗ · Scholar ↗
  89. Xiao-Chen Zhang, Cheng-Kun Wu, Zhi-Jiang Yang, Zhen-Xing Wu, Jia-Cai Yi, Chang-Yu Hsieh, Ting-Jun Hou, and Dong-Sheng Cao. 2021. Mg-bert: leveraging unsupervised atomic representation learning for molecular property prediction. Briefings in bioinformatics, 22(6):bbab152. OpenAlex ↗ · Scholar ↗
  90. Shunpeng Zou and Xiaohui Zou. 2017. Understanding: how to resolve ambiguity. In International Conference on Intelligence Science, pages 333–343. Springer. OpenAlex ↗ · Scholar ↗