Elamur Research

Measuring and Improving Consistency in Pretrained Language Models

Paper · 2021 · Yanai Elazar, Nora Kassner, Shauli Ravfogel et al.

Summary

A factual answer should depend on what a question asks, rather than on an accidental choice of wording. If a system identifies the original broadcaster of a television programme, another expression of the same request should lead to the same answer. This paper asks whether pretrained language models meet that expectation. Its central finding is that they frequently do not: changing the phrasing of a factual query can change the predicted entity, even when the intended relationship stays the same. That weakness matters when language systems are treated as stores of knowledge. A natural-language interface promises flexibility, but the promise becomes unreliable if equivalent requests produce incompatible facts.

To study the problem, the authors introduce ParaRel, an expert-curated collection of English sentence patterns with positions for a subject and an object. Its 328 patterns cover 38 relations, with 8.63 patterns per relation on average. The patterns express relations such as a person’s birthplace or an organisation’s ownership in different ways. Factual subject–object pairs come from T-REx, which connects knowledge-base triples with Wikipedia abstracts. The evaluation inserts a subject into each relevant pattern, hides the object, and compares the answers. The initial experiments use the pretrained systems directly, without task-specific training, so the results concern consistency acquired during pretraining.

The study separates agreement from correctness. A system can repeatedly return the same wrong answer, so consistency alone cannot establish factual reliability. Conversely, it may answer one phrasing correctly while failing on another. The authors therefore measure ordinary factual accuracy, agreement across pairs of patterns, and a stricter measure called Consistent-Acc, which requires every pattern for a fact to return its correct object. Across the systems studied, the best overall consistency is 61.1%, in spite of restricting answers to plausible objects for each relation. BERT performs better on this criterion than RoBERTa and ALBERT, although results differ substantially across relations. An analysis of internal representations also finds that sentence patterns frequently organise the representation space more strongly than the entities being queried.

The paper then tests a remedy: continue BERT’s pretraining while encouraging equivalent patterns to produce similar answer distributions. This consistency objective is combined with the existing masked-word prediction objective. Training uses only three relations, while evaluation covers 25 different relations. On that test split, consistency rises from 58.2% for BERT-base to 64.0% after the additional training, and factual accuracy rises from 45.6% to 47.4%. Consistent-Acc also improves. The intervention therefore strengthens factual retrieval across previously unseen relations, but it does not establish complete consistency or a general solution for downstream applications. A separate question-answering experiment finds performance comparable to the baseline, leaving the broader transfer of this improvement unresolved.

Interesting ideas

Separate agreement from truth. Repeatedly producing an answer is different from producing a correct answer. ParaRel makes that distinction measurable by evaluating consistency and accuracy separately, then combining them in a stricter criterion. This approach is useful whenever a system can become more stable by settling on a frequent or convenient response. A document classifier, factual assistant, or structured extractor can all look dependable while repeating the same mistake. Evaluating both properties makes that failure visible.

Test families of equivalent inputs. A single well-written query gives little evidence about whether a system understands the underlying request robustly. ParaRel associates each relation with several expressions and tests them against the same facts. This creates a controlled way to vary language while holding the intended answer fixed. The idea transfers to interfaces that accept natural language: a test case can be a family of equivalent requests, instead of an isolated sentence whose wording happens to work.

Respect the relation’s answer structure. Agreement is a sensible requirement only when the task calls for the same answer. The authors distinguish relations that assign a subject a single relevant object from relations that permit several objects. Different countries bordering Greece need not represent a contradiction. Before building a consistency metric elsewhere, determine which outputs exclude one another, which can coexist, and whether the task expects an individual answer, a set, or an ordering.

Use favourable conditions diagnostically. Restricting the answer space to known objects makes factual retrieval easier. The authors use that simplification to isolate a weakness: inconsistency remains substantial even after many irrelevant completions have been removed. This is a useful experimental strategy when a full task mixes several difficulties. Give a system help with one component, then ask whether the property of interest still fails. The result identifies a limitation under conditions that should have supported success.

Regularise distributions while preserving the original task. Matching the highest-scoring answers directly creates an awkward training objective because the winning choice changes discretely. The paper instead brings complete candidate distributions closer together and retains masked-word prediction during training. The combination matters because agreement can otherwise improve while factual performance deteriorates. Similar interventions should preserve the competence that makes the original predictions useful, instead of rewarding stability in isolation.

Test transfer across categories. The consistency intervention is trained on selected relations and evaluated on different ones. That split asks whether the system has learned something reusable about handling paraphrases, beyond fitting particular factual templates. The principle applies whenever an intervention claims to improve a general behaviour. Hold out the categories through which that behaviour is expressed, and select the intervention with a measure that reflects the intended combination of properties.

Deep dive: Measuring and Improving Consistency in Pretrained Language Models

Why factual answers change with paraphrasing, how ParaRel measures consistency, and what consistency training improves in BERT. · about 36 minutes to read

How Mova uses it

For Mova, the small transparent language system written in Rust, the most direct application would be an evaluation discipline. A factual answer could be tested through several expressions of the same relation, with the resulting answers compared explicitly. This would turn a vague impression that Mova handles paraphrases into a reviewable claim about particular facts, relations, and language variations. It is a possible application of the paper’s method; the research does not establish that such an evaluation is already implemented in Mova.

Transparency could make this test especially informative. When equivalent inputs lead to different answers, Mova could expose the intermediate decisions responsible for the divergence. A reviewer could inspect whether the inputs were assigned different relations, whether an entity was interpreted differently, or whether the final answer selection changed in spite of matching interpretations. These are proposed diagnostic uses. They would require Mova to expose the relevant decisions, and their value would need to be demonstrated through actual cases.

The relation distinction is particularly useful for a small system. Mova could treat a birthplace query differently from a query asking which countries share a border. For the former, incompatible city answers would demand investigation. For the latter, different valid countries could reflect incomplete enumeration rather than contradictory knowledge. The paper provides a reason to make those expectations explicit before assigning a consistency score. Otherwise, a transparent system could still be evaluated with an opaque or misleading criterion.

A ParaRel-style test collection could also separate language handling from factual storage. Equivalent phrases might be expected to resolve to a shared relation before any fact lookup occurs. If that mapping succeeds but the answers diverge, the problem lies further along the processing path. If the mapping already differs, the failure concerns interpretation. This is an engineering proposal inspired by the paper’s controlled variation of prompts, rather than an architectural result demonstrated for Mova.

The training objective is a less direct fit. The authors’ intervention assumes a trainable prediction function that produces distributions over candidate tokens. Applying its two-sided distribution comparison would require Mova to have a corresponding component and a suitable training procedure. Without that structure, the useful lesson remains the behavioural constraint: equivalent factual requests should produce compatible answers, and improving that agreement should preserve correctness. A single numerical loss need not be presumed suitable for all transparent language systems.

Finally, Mova could report agreement and factual success together. A system that always returns its most common object would satisfy a simple stability test while offering little useful knowledge. A practical evaluation could therefore retain the paper’s distinction between getting a fact right under some wording, answering a standard wording correctly, and answering every accepted wording correctly. These would be proposed evaluation features, with implementation and measured performance stated separately once demonstrated.

The problem and its context

Why factual accuracy leaves an important question open

The paper begins from a familiar use of pretraining: learn language representations from a large collection of text, then adapt them to a particular task. In this setting, pretraining is expected to provide broadly useful language capabilities. Later training supplies the task’s format and more specific requirements. The authors ask whether one desirable capability, consistency under equivalent expressions, is actually acquired in that first stage.

Accuracy by itself cannot answer that question. Suppose an evaluation uses a particular sentence pattern for a relationship. A correct prediction shows that the system can retrieve the answer in that context. It does not show that the answer survives a change in wording. A second pattern might retrieve a different object, revealing a conflict that the original evaluation never tested.

That distinction concerns the interpretation of success. If a fact appears accessible only under a narrow expression, the observed behaviour may depend strongly on associations involving that expression. The authors want to distinguish reliable factual retrieval from answers that could arise through pattern-specific correlations. Their experiments do not fully identify the mechanism behind either behaviour, but they show why an isolated correct completion provides incomplete evidence.

The motivating application is the use of pretrained language systems as knowledge bases. In a conventional structured resource, facts are organised through explicit relations. A query addresses that structure. A natural-language interface instead allows a user to express a request in different ways. That flexibility is attractive precisely because the user need not memorise a particular query form.

However, flexibility creates a corresponding requirement. If several expressions represent the same intent, their answers should be compatible. Otherwise the interface transfers a hidden burden to the user: discovering the wording that retrieves the desired fact. The system may appear to know and not know the same information depending on an incidental phrasing choice.

The paper follows the factual-probing setting associated with Language Models as Knowledge Bases?. A query is expressed as a sentence with a missing object, and the predicted completion becomes the answer. Earlier work had already found factual information recoverable in this way. ParaRel asks whether that recoverability is stable across equivalent sentence patterns.

Consistency has several meanings

The authors place factual paraphrase consistency within a broader family of requirements. In question answering, equivalent questions should receive compatible answers. In coreference resolution, decisions about which expressions refer to the same entity should fit together. In summarisation, generated statements should agree with the source document.

These examples share a concern about relationships among outputs, instead of the quality of each output considered alone. A response may look plausible independently while conflicting with another response or with its evidence. Evaluating the relationships can therefore reveal failures that ordinary example-by-example scoring misses.

The paper’s review describes earlier research on inconsistency in structured knowledge bases, including methods for detecting conflicting statements and measuring their extent. That work establishes consistency as a practical requirement for automatically assembled factual resources. ParaRel brings a related concern to knowledge retrieved through language.

The review also describes question-answering studies that generate related questions to test whether answers fit together. Some use additional generated data to improve robustness. Others add constraints involving symmetry or transitivity, or impose a penalty when related predictions conflict. Another approach records answers in an evolving memory and resolves incompatibilities between them.

The authors’ intervention differs in where it acts. Instead of solving consistency only after a system has been adapted to a downstream task, they try to improve the pretrained component itself. The aspiration is that a more consistent starting point might support several later applications. Their results establish an improvement in factual probing, while leaving that wider aspiration only partly tested.

Earlier probing work and the role of language variation

The paper situates its analysis alongside studies of syntax, commonsense, and reasoning in pretrained representations. Work such as A Structural Probe for Finding Syntax in Word Representations asks what structure can be recovered from internal vectors. Other studies examine linguistic capabilities through behavioural tests.

The authors’ question connects representation and behaviour without treating them as interchangeable. A representation might contain information useful for syntax, yet factual predictions could still change when syntax changes. Similarly, a geometric pattern in hidden vectors might be easy to observe without explaining which object the system ultimately predicts.

Prompt research provides another immediate context. How Can We Know What Language Models Know? supplies automatically collected alternative patterns through LPAQA. ParaRel uses selected candidates from that resource but checks their meaning manually. The authors need expressions that preserve the intended relation, because an apparent inconsistency would be uninformative if the request itself had changed.

The discussion also mentions AutoPrompt, which searches for prompts automatically. Better prompt selection can improve factual extraction. However, finding an effective query and establishing invariance across equivalent queries address different properties. A highly successful wording does not by itself make other wordings reliable.

Earlier studies of negation supply a related warning. The paper reports that previous work found systems producing facts and their negations in incompatible ways. ParaRel concentrates on meaning-preserving variation, whereas negation deliberately changes meaning and should frequently change the answer. Together these cases show that consistency cannot mean producing identical outputs regardless of input.

The authors also connect their study to neural brittleness and linguistic perturbation testing. The relevant comparison is particularly close when a perturbation preserves the requested information. In that situation, a changed answer exposes a failure to maintain the intended relationship between meaning and prediction.

The method, step by step

The method has a measurement stage and an improvement stage. The measurement stage builds controlled families of equivalent factual queries and compares their answers. The improvement stage uses those families as a training signal, encouraging answer distributions to agree while continuing the original masked-word task.

Measuring and improving factual consistency

The steps in order.

Measuring and improving factual consistencyStep 1: Collect relation patterns and factual pairs1. Collect relation patterns and factual pairsStep 2: Curate equivalent expressions with expert review2. Curate equivalent expressions with expert reviewStep 3: Insert subjects and mask the objects3. Insert subjects and mask the objectsStep 4: Restrict predictions to relation candidates4. Restrict predictions to relation candidatesStep 5: Measure agreement and factual correctness5. Measure agreement and factual correctnessStep 6: Continue training with paired distribution losses6. Continue training with paired distribution lossesStep 7: Evaluate transfer to unseen relations7. Evaluate transfer to unseen relations

Define the relation and the expected answer

A factual query involves a subject, a relation, and an object. For a broadcaster relation, a television programme is the subject and the relevant network is the object. A sentence pattern describes the relationship while leaving positions for those entities.

For relation rᵢ, the authors use Dᵢ for its collection of factual subject–object pairs and Pᵢ for its collection of sentence patterns. The subscript i identifies the relation. A particular pattern is populated with a subject from Dᵢ, and the object position is replaced by a mask token. The system then predicts what belongs at that position.

The comparison keeps the subject fixed while changing the pattern. This is essential. If both the entity and the wording changed, an altered answer would not isolate sensitivity to expression. Reusing the same factual pair across patterns makes the intended object the shared reference point.

The authors describe the patterns as quasi-paraphrases. This means they use a practical, context-sensitive notion of equivalence rather than insisting on a strict logical definition. The relevant question is whether the expressions ask for the same relation in the intended setting. Their expert review is designed to make that assumption credible.

Not every relation supports an identical-answer requirement. The consistency evaluation concerns N-1 relations, where the setup expects a single object for a given subject. By contrast, an N-M relation can legitimately connect a subject to several objects. A border relation illustrates the issue: different neighbouring countries can both be valid answers.

For those many-answer relations, changing the leading answer across paraphrases is treated as a determinism issue. It does not automatically establish contradictory knowledge. The paper therefore separates their evaluation from the main consistency measurement.

Restrict the completion vocabulary

A masked-word prediction system is trained to complete text, which is broader than answering a knowledge-base query. A completion can be linguistically plausible without identifying the requested entity. The paper gives the general problem of a television-related prompt eliciting a generic word rather than a factual object.

To reduce that mismatch, the authors retain only the candidate objects associated with each relation in the underlying factual data. For a birthplace relation, the comparison considers the available location objects rather than the entire token vocabulary. The predicted answer is the highest-ranked member of that restricted set.

This restriction serves two purposes. It makes the completion behave more like an entity lookup, and it reduces unrelated vocabulary choices that would complicate interpretation. The task remains a prediction task, but the candidate space is supplied with useful structure.

The authors explicitly recognise that this makes evaluation easier. A system is being helped by information about what kinds of answers are relevant and which objects are possible. Poor consistency under those conditions is therefore a substantial warning about its reliability as a factual resource.

The restriction also defines the scope of every reported result. Accuracy is measured among relation candidates, rather than across every vocabulary item. That choice prevents a direct comparison with a study that uses unrestricted completion, even if the factual source or prompt appears similar.

Construct ParaRel through collection and review

ParaRel starts from the relation patterns used in LAMA. Each relation has a starting expression, which anchors the later expansion. The authors then add appropriate alternatives from LPAQA, whose candidates were obtained through automatic methods.

Automatic collection is useful for coverage but insufficient for a controlled consistency benchmark. A phrase extracted from a sentence containing both entities may not express the intended relation. A translation-generated alternative may also shift the meaning. The authors therefore retain only candidates they judge suitable.

They expand the collection further with SPIKE, a search system that supports syntactic queries over Wikipedia sentences. They search for sentences containing factual subject–object pairs from T-REx, then manually derive relation patterns from the results. This uses naturally occurring expressions without assuming that every co-occurrence is a valid paraphrase.

Additional alternatives come from the annotators’ linguistic knowledge. The resulting collection receives another expert review: two further reviewers inspect the patterns, discuss problems, and revise them. When agreement cannot be reached, a pattern is removed.

The resulting resource contains 328 patterns covering 38 relations. It is built from a larger starting set of 41 LAMA relations, with poorly specified or heterogeneous relations excluded. The average relation has 8.63 expressions, giving the consistency test several opportunities to reveal wording sensitivity.

The paper identifies an official public repository for the code and resource under the name ParaRel. This matters for the status of the contribution: the work supplies reusable evaluation material, alongside the experimental findings and training intervention.

Check that the patterns preserve the intended meaning

The authors assess resource quality with a separate annotation exercise. For each relation, they sample up to five proposed paraphrases and compare them with the original LAMA expression. They insert randomly selected factual pairs into the sentences so annotators judge complete statements.

The study also includes controls drawn from different relations. These controls use matching subjects and objects, preventing entity names alone from revealing the expected judgement. The distinguishing evidence must come from the relation wording.

Each task includes five intended paraphrase cases and two intended non-paraphrase cases. Across the study, the authors collect judgements for 156 paraphrase candidates and 61 controls. NLP graduate students provide one response for each pair.

Agreement with the expected labels is 95.5% for the paraphrase candidates and 98.3% for the controls. The authors also inspect disagreements and correct further problems. These results support the resource’s quality, although the annotation design is not equivalent to a large independent vote over every pattern pair.

The appendix examines what kinds of variation the resource contains. In a sample of 100 accepted pairs, transformations include synonym changes, function-word changes, voice, tense, nominalisation, and several other syntactic operations. A pair can involve multiple transformations.

Synonym replacement appears 41 times in that sample, while function-word variation appears 16 times. Aspect variation is the least frequent category. This analysis helps characterise the test: ParaRel contains a range of linguistic changes, but those changes are not equally represented.

Measure pairwise agreement and complete factual success

The main consistency measure considers every pair of patterns for each factual tuple. With n patterns for a relation, the number of distinct pattern pairs is:

n(n − 1)/2

Here, n is the number of patterns associated with that relation. The expression counts each unordered pair once, excluding a pattern paired with itself. For each factual subject, the authors check whether the predictions from the paired patterns agree.

Consistency is the percentage of these comparisons with matching predictions. Scores are aggregated over factual tuples and then averaged across relations. The reported main average is a macro average, which gives each relation equal weight. The authors note that averaging over individual instances produces similar results.

Accuracy asks a different question. It uses the original LAMA pattern for each relation and checks whether the highest-ranked candidate is the factual object. It therefore measures success under a designated wording, rather than success across all available expressions.

Consistent-Acc imposes a stronger requirement. A factual instance counts as successful only when every pattern for its relation predicts the correct object. A fact that is accessible through some expressions but not others fails this measure.

The distinction between pairwise consistency and Consistent-Acc is important. A collection of predictions may agree often even though an occasional pattern changes the answer. The stricter metric treats that remaining failure as disqualifying for the factual instance. It also rejects uniformly wrong predictions, which ordinary consistency accepts.

The authors add extractability measures to interpret the results. Succ-Patt records whether each pattern ever retrieves a correct object. Succ-Objs records whether at least one pattern retrieves a particular fact. The latter divides factual instances into those with some successful retrieval and those without it.

Consistency within those groups becomes Know-Const and Unk-Const. These names refer to observed extractability under the tested prompts. They should not be read as a definitive inspection of everything internally stored.

Turn answer agreement into a training objective

The improvement method continues pretraining using the same relationship between facts and paraphrases. For a chosen subject, every pattern for its relation should produce compatible predictions at the masked object position.

A direct objective would compare the winning vocabulary items:

minθ sim(argmaxᵢ fθ(Pₙ)[i], argmaxⱼ fθ(Pₘ)[j])

The parameter vector θ specifies the trainable system. Pₙ and Pₘ are populated patterns for the same relation and subject. The function fθ returns vocabulary scores, and square brackets select the score for vocabulary item i or j. Each argmax returns the index with the largest score. The term sim stands for the comparison between those winning choices in the paper’s schematic objective.

This expression conveys the desired output behaviour, but the paper does not use it directly for gradient-based optimisation. Selecting a winner through argmax is discrete: changing scores may leave the winner unchanged until a boundary is crossed. The authors instead compare smooth probability distributions.

They obtain each distribution with softmax:

Qₙ = softmax(fθ(Pₙ))

Qₙ is the predicted probability distribution for populated pattern Pₙ. The function fθ supplies its scores, and softmax converts those scores into probabilities. The training method can therefore respond to changes throughout the distribution, rather than only to changes in the leading candidate.

For patterns n and m of relation rᵢ, the comparison is:

D_KL(Qₙʳⁱ ∥ Qₘʳⁱ) + D_KL(Qₘʳⁱ ∥ Qₙʳⁱ)

D_KL denotes Kullback–Leibler divergence, a measure of mismatch between distributions. Qₙʳⁱ and Qₘʳⁱ are the answer distributions produced by the two patterns for relation rᵢ. The two terms reverse the direction of comparison, so the penalty accounts for disagreement in both directions.

The authors apply this comparison to relation candidates rather than the whole vocabulary. The intention is to concentrate the new pressure on relevant factual answers and reduce disruption to other prediction capabilities. This is a design motivation, not a guarantee that unrelated behaviour cannot change.

The total consistency loss includes every pattern pair:

L_c = Σₙ₌₁ᵏ Σₘ₌ₙ₊₁ᵏ [D_KL(Qₙʳⁱ ∥ Qₘʳⁱ) + D_KL(Qₘʳⁱ ∥ Qₙʳⁱ)]

L_c is the consistency penalty for the populated pattern collection. In this summation, k is the number of patterns being compared. The indices n and m select distinct patterns, and the limits ensure that each pair appears once. The paper also uses k when discussing the candidate-token count; those are separate roles for the notation.

Preserve masked-word prediction during continued training

Distribution agreement alone does not tell the system which answer is correct. The authors therefore retain masked language modelling, the original task of predicting hidden text. They compare continuing that objective on Wikipedia with continuing it on generated relation-pattern text, and report that the pattern-based alternative works better.

The combined training objective is:

L = λL_c + L_MLM

L is the total loss. L_c is the new consistency term, L_MLM is the masked-word prediction term, and λ controls their relative influence. The two components place different demands on the same trainable parameters: preserve predictive competence while reducing disagreement across equivalent expressions.

The loss is calculated for a factual tuple within a relation. Training batches contain l = 8 tuples drawn from the same relation. The symbol l identifies the tuple count in such a batch; the consistency comparisons still operate across the patterns populated for each tuple.

For training, the authors select original-language, named-after, and original-network. These are chosen from non-location relations. Avoiding location-related training examples is intended to limit leakage into the many location relations present elsewhere in the resource.

A further three relations are used for validation, with 25 relations reserved for testing. The intervention uses BERT-base for efficiency. Training runs for three epochs, and λ is selected from 0.1, 0.5, and 1. The authors choose the checkpoint using validation Consistent-Acc, aligning selection with their combined requirement of agreement and factual success.

Experiments and results

What is compared

The initial experiments compare BERT, RoBERTa, and ALBERT, together with a whole-word-masking BERT variant. For the main families, the study considers smaller and larger configurations; for ALBERT, the selected configurations are its smallest and largest versions.

The whole-word-masking variant changes how pretraining hides words that consist of multiple tokens: their component tokens are masked together. This is relevant because training choices may affect factual retrieval and stability, even when the resulting systems are tested through the same sentence patterns.

The factual data comes from T-REx. To support a common comparison, the authors retain objects represented by a single token in every evaluated vocabulary. After filtering, 26,813 factual tuples remain. The consistency evaluation covers 31 N-1 relations, while seven N-M relations are used for determinism.

Some relation data is filtered more specifically to match the patterns. For genre, the authors remove non-music entries when the intended pattern collection describes music genres. This illustrates the care required to keep the factual pair and the natural-language relation aligned.

A majority baseline always returns the most frequent object for a relation. Its agreement is perfect by construction. Its purpose is conceptual as well as empirical: a maximally stable answer rule can still have limited factual value.

Correct facts are not equally accessible through every expression

Every evaluated pretrained system achieves a perfect Succ-Patt result. Each pattern retrieves a correct object somewhere in the tested data. That supports the claim that the patterns can elicit the intended factual answers.

The conclusion is limited, however. A pattern that works for a particular subject need not work for every subject. Succ-Patt rules out complete failure of an expression across the tested set; it does not establish universal reliability.

Succ-Objs is more demanding about the factual coverage available through the pattern collection. It asks whether any expression retrieves each object correctly. The score ranges from 45.8% for ALBERT-base to 65.7% for BERT-large.

The authors interpret the unsuccessful cases as evidence that substantial T-REx information is not stored in the evaluated systems. The more direct behavioural observation is that none of the tested expressions retrieves those facts. The gap between observed extraction and internal storage remains important when interpreting that claim.

Extractable facts are associated with greater consistency. For BERT-large, Know-Const is 65.2%, while Unk-Const is 48.1%. Thus disagreement is more common among instances for which the pattern collection never finds the correct answer.

This relationship does not make agreement a correctness test. Some unavailable facts still receive consistent wrong answers, and some available facts are retrieved inconsistently. The measures describe overlapping properties rather than interchangeable ones.

Accuracy and consistency rank systems differently from general expectations

On the main factual accuracy measure, results range from 29.8% for ALBERT-base to 48.7% for BERT-large with whole-word masking. These are restricted-candidate results under the shared single-token filtering procedure.

For consistency, the BERT variants lead the comparison. Moving from smaller to larger configurations improves consistency within each family. Nevertheless, the best overall result is 61.1%, which the authors regard as weak for a property expected of a dependable factual resource.

The cross-family result is notable because the paper describes RoBERTa and ALBERT as stronger than BERT in other settings. Their advantages elsewhere do not translate into superior factual consistency here. The evaluation therefore identifies a capability that standard performance comparisons can obscure.

Consistent-Acc is lower than ordinary accuracy. RoBERTa-base obtains 16.4%, and BERT-large reaches 29.5%. Requiring every accepted expression to retrieve the correct object removes many successes that would count under a single-pattern test.

Relations also differ substantially. BERT-large reaches 92% consistency for capital-of but 44% for owned-by. On original-language, consistency across the compared systems ranges from 52% to 90%. An overall average therefore conceals important differences in which kinds of facts are robustly retrieved.

Accuracy and consistency are positively correlated across relations. The reported correlations range from 67.3% for RoBERTa-base to 82.1% for BERT-large, with significance reported as p ≪ 0.01. Relations that support better factual prediction also tend to support more agreement, without eliminating the distinction between those properties.

Continued training improves performance on held-out relations

The improvement experiment uses a separate evaluation split, so its baseline numbers should not be substituted for the overall comparison. The following chart concerns only the 25 test relations held out from consistency training.

Consistency on the 25 held-out ParaRel relations

Continued training makes equivalent factual queries more likely to receive matching answers.

Consistency on the 25 held-out ParaRel relationsBERT-base: 58.2BERT-base58.2BERT with consistency training (this paper): 64.0BERT with consistency training (thispaper)64.0
The numbers
System or settingConsistency %
BERT-base58.2
BERT with consistency training (this paper)64.0

The authors report a consistency improvement of 5.8 points. Because the training and test relations differ, this provides evidence that the intervention transfers beyond the particular relations used to construct its training batches.

The accompanying accuracy result is important. A system could increase agreement simply by concentrating on a familiar answer, so improved consistency alone would be insufficient.

Factual accuracy on the 25 held-out ParaRel relations

The combined training objective improves factual accuracy alongside consistency.

Factual accuracy on the 25 held-out ParaRel relationsBERT-base: 45.6BERT-base45.6BERT with consistency training (this paper): 47.4BERT with consistency training (thispaper)47.4
The numbers
System or settingAccuracy %
BERT-base45.6
BERT with consistency training (this paper)47.4

Consistent-Acc improves by 5.9 points on the same test split. That result indicates more factual instances succeed across their entire pattern collection, rather than merely becoming more uniform in their errors.

The authors compare the intervention with BERT-base using McNemar’s test. They report significance for all the measured improvements at p ≪ 0.01. This supports the empirical distinction within the tested setup, while leaving questions about other training conditions and applications open.

Additional evidence about data size and determinism

For N-M relations, the paper reports determinism instead of interpreting every changed answer as a contradiction. BERT-large scores 52.9%, compared with 44.6% for RoBERTa-base. The authors describe the ordering as similar to the main consistency trend, but the scores concern different relations and are not directly comparable with it.

The study also examines additional RoBERTa configurations trained with different quantities of text. Accuracy and Consistent-Acc generally improve with more data. Pure consistency does not follow the same simple ordering.

Greater consistency is shown by the configuration trained on one million tokens than by those trained on ten million and one hundred million tokens. It also has fewer parameters, so the comparison does not isolate corpus size alone. Its factual accuracy is lower, which the authors associate with having encountered less factual information.

These results make a specific point: increasing factual exposure and increasing invariance need not be the same process. They do not establish a general rule that less training data produces better factual systems.

What the ablations show

Additional prediction training explains part of the gain

The first ablation removes the consistency penalty while retaining continued training. This setting improves on the original BERT-base baseline, showing that additional training on the generated material contributes useful information or adaptation on its own.

However, it remains behind the full intervention. The comparison therefore supports a contribution from explicitly aligning predictions across paraphrases. The gain cannot be attributed entirely to revisiting factual-pattern text.

This is a useful distinction because the intervention changes more than a scalar term in an otherwise untouched evaluation. It exposes BERT to a particular collection of relation patterns and factual instances. Without the ablation, an improvement might reflect that exposure instead of the intended agreement constraint.

The result also limits a stronger interpretation. The paper shows that the consistency term helps in this training arrangement. It does not prove that every possible form of additional factual training would be less effective.

Restricting the consistency loss helps

Another ablation applies the agreement objective over the full vocabulary instead of the relation-specific candidate set. The authors report that restricting the objective is beneficial.

The interpretation follows the design motivation. Most vocabulary items do not represent plausible objects for a particular relation. Making all of their probabilities agree can impose demands beyond the intended factual comparison.

Using relation candidates concentrates the intervention on the choices that define the evaluated answer. This may preserve more of the original prediction behaviour while still reducing relevant disagreement. The evidence supports the practical choice in this setting, instead of establishing a universal rule about vocabulary restriction.

It also reinforces a scope limitation. Candidate information is available to the method. A deployment that must discover the relevant objects itself would need additional machinery and could face different tradeoffs.

Removing masked-word prediction exposes a failure of the metric alone

The most revealing ablation removes the masked language modelling component. Consistency reaches 80.8%, which is stronger than the full intervention on that individual measure. Accuracy and Consistent-Acc deteriorate, however.

This is direct evidence that agreement can improve for the wrong reason. The predictions become more stable without preserving the factual competence that makes stable answers useful. An evaluation based only on consistency would favour a setting that the combined measures judge less successful.

The authors interpret the masked-word objective as a regulariser that helps prevent catastrophic forgetting. It keeps the continued training connected to the original predictive task while the new objective presses equivalent queries together.

The experiment does not establish that masked-word prediction is the only possible safeguard. It shows that removing it from this method creates a damaging tradeoff. The practical lesson is to assess whether a stability intervention preserves correctness, rather than assuming the two improve together.

Controlled language comparisons reveal remaining surface sensitivity

The syntax analysis groups pattern pairs according to their linguistic similarity. The authors use dependency parsing to identify the path connecting the subject and object in each pattern. Matching paths provide a proxy for syntactic equivalence.

They distinguish cases where syntax changes from cases where the path and lexical choices match. For BERT-large, consistency is 67.5% in the syntax-changing subset and 78.7% in the subset with matching syntax.

The latter is still not complete agreement. Even closely related patterns can differ in word order or tense, and those changes can affect the answer. The analysis therefore challenges the assumption that strong syntactic representations automatically yield robust factual retrieval.

The authors caution that these subsets differ from the full evaluation collection. Their scores should not be interpreted as a clean decomposition of the overall consistency result. They provide targeted evidence about surface variation under the subset definitions.

Representation analysis does not establish the causal mechanism

The authors inspect the final-layer vector at the masked position after inserting a subject into each pattern. A t-SNE visualisation for the capital relation shows that many vectors group by sentence pattern rather than by subject.

They then use KMeans clustering with cluster counts based either on the pattern collection or on the subject collection. V-measure assesses how well the resulting groupings align with those labels. Pattern-based organisation is generally stronger.

This suggests that the overall representation geometry is heavily influenced by how the request is phrased. Yet the relationship between that geometry and behavioural consistency is weak: the reported Spearman correlations are generally near zero.

The exception is BERT-large with whole-word masking, for which the reported correlation is 39.5 with p < 0.05. Repeating the analysis with object labels produces similar overall trends.

The authors infer that prediction-relevant information may occupy only part of the representation. A large geometric difference can reflect factors that matter little to the output. Consequently, the clustering analysis offers a description of representation structure without fully explaining the origin of inconsistent answers.

Downstream transfer remains unproven

The authors also adapt the consistency-trained system to SQuAD and evaluate both ordinary questions and paraphrased questions. Performance is comparable to the baseline in both settings.

This is a consequential controlled comparison. The intervention improves the factual probing measures, but the intended broader benefit does not appear in this downstream test. Improving a pretrained component under one consistency definition does not automatically improve every task that involves language variation.

Limitations

Authors’ stated scope: a particular form of consistency

The paper explicitly studies invariance under paraphrasing. Consistency has a wider meaning, including how predictions respond when meaning changes. Negation is the authors’ main example: a dependable system should often change its answer when a statement changes from affirmative to negative.

ParaRel does not evaluate all such relationships. It does not establish general logical coherence, comprehensive reasoning ability, or agreement across every possible form of factual request. Its contribution is a controlled resource for a specific and important behavioural requirement.

The distinction also protects against a misleading objective. Uniform answers are useful only where the inputs warrant them. A system that ignores meaningful differences could appear stable while failing to understand the request.

Authors’ stated scope: the knowledge-base interface is incomplete

The authors acknowledge that their probing arrangement lacks important features of a conventional knowledge base. It returns a leading answer rather than naturally representing an entire set of valid answers. It also lacks an intrinsic way to state that no answer is available.

Those omissions matter for factual reliability. If a query has several valid objects, a single completion gives an incomplete view. If the fact is absent or unsupported, forcing a candidate prediction can produce an answer that looks decisive in spite of lacking justification.

The discussion mentions probability thresholds as possible heuristics for abstention. However, it does not demonstrate such a mechanism as part of the main method. Neither the reported accuracy nor the consistency score should therefore be read as evidence of reliable uncertainty handling.

Authors’ stated limit: the cause remains unresolved

The study offers behavioural examples and representation analyses, but the authors explicitly leave the origins of consistency and inconsistency for further investigation.

Their suggestion about pretraining sources is a hypothesis. Wikipedia is prominent in BERT’s training, while the paper describes it as a smaller portion of the material used for the other families. The authors propose that additional sources may dilute or contradict factual associations.

The experiments do not isolate that explanation. The compared systems differ in more than their factual source mixture. The additional corpus-size analysis also varies parameter counts, preventing a simple causal attribution to text quantity.

Likewise, observing pattern-based clusters does not show that those clusters cause the changed answers. The weak relationship between clustering measures and consistency makes that limitation particularly clear.

Authors’ stated limit: broader task benefits need more evidence

The intervention does not achieve complete factual consistency. Its successful transfer is demonstrated on held-out relations within the same general resource and probing arrangement.

The SQuAD experiment provides no corresponding improvement over the baseline. The authors therefore stop short of claiming that a consistency-improved pretrained system will necessarily strengthen downstream applications.

That restraint matters because the motivation is broader than the demonstrated result. The method aims toward a reusable capability, but the evidence establishes a narrower gain in relation-based factual retrieval.

Careful-reader limit: restricted candidates provide useful assistance

The candidate set is supplied from the factual resource. This removes many irrelevant words and gives the system information about possible answers before it predicts anything.

The authors recognise that this makes the task easier. A careful reader should also note how much of the factual interface it fixes in advance. An unrestricted assistant must handle entity identification, answer form, and possibly multiple answers without necessarily receiving the same candidate list.

As a result, a consistency gain within the restricted set does not establish an equivalent gain in open-ended generation. The experiment isolates a meaningful property, but it does so inside a deliberately simplified answer space.

Careful-reader limit: token filtering narrows the factual sample

Only objects represented as individual tokens in every compared vocabulary are retained. This improves comparability across systems, since each can express the gold object through the tested prediction mechanism.

The cost is a narrower factual domain. Multi-token names and other excluded objects are outside the main evaluation. Their retrieval could involve different difficulties, including how component tokens are generated or scored.

The results therefore concern the retained T-REx tuples under the shared vocabulary condition. They should not be treated as an inventory of all factual knowledge a system can or cannot express.

Careful-reader limit: extractability is an operational test

Succ-Objs asks whether any tested pattern retrieves the fact. It is stronger evidence than checking a single expression, but the pattern collection remains finite.

A failure across ParaRel means that the tested routes did not expose the answer. It does not prove that no alternative expression, context, or extraction procedure could recover it. Conversely, success through a pattern does not establish that the fact is represented in a stable, explicit, database-like form.

The authors use these measures to discuss knowledge storage, which is reasonable as a probing interpretation. A careful reading keeps the observable behaviour separate from claims about an exhaustive internal factual inventory.

Careful-reader limit: linguistic coverage and annotation have boundaries

ParaRel is English-only and contains a selected collection of relations. The appendix demonstrates several forms of paraphrasing, but their frequencies are uneven. Stronger performance on the common transformations would not establish equal robustness to the rarer ones.

The annotation study also has a specific design. It compares sampled alternatives with base patterns, collects one judgement per pair, and allows reconsideration of disagreements with the expected label. High agreement supports quality, but it should not be mistaken for independent multi-annotator agreement over every possible pair.

Quasi-paraphrase itself is intentionally practical. Some expressions depend on context or world knowledge to count as equivalent. The authors’ curation reduces this ambiguity, yet the benchmark cannot remove every judgement involved in defining sameness of intent.

Careful-reader limit: aggregate scores describe different demands

Pairwise consistency, original-pattern accuracy, and Consistent-Acc do not differ merely in strictness. They summarise different aspects of the prediction collection.

Pairwise agreement can remain fairly strong when a minority of expressions diverge. Consistent-Acc rejects the entire factual instance once any accepted pattern fails. Original-pattern accuracy can miss both kinds of instability because it observes only the designated expression.

A system comparison should therefore retain the metric names and conditions. Calling all of them factual reliability would conceal the tradeoffs that make the paper informative.

What came after

The later citing works connect this paper to several broader questions: reasoning agreement, factual revision, conflicting knowledge, hallucination, and behavioural evaluation. Their citation relationship establishes that ParaRel’s work entered those discussions. The available descriptions do not establish that every work adopted its dataset, loss, or exact definition of consistency. The connections below therefore distinguish the later research questions from claims about direct methodological reuse.

Consistency in reasoning and explanation

Self-Consistency Improves Chain of Thought Reasoning in Language Models brings consistency into the setting of reasoning. Its title signals a concern with how agreement can improve answers reached through reasoning processes. ParaRel supplies a useful conceptual distinction for reading that direction: agreement among outputs and factual correctness must be assessed separately. The citation alone does not make the later use of self-consistency identical to invariance across equivalent factual patterns.

Maieutic Prompting: Logically Consistent Reasoning with Recursive Explanations concerns logical consistency in reasoning supported by recursive explanations. This extends the surrounding question from whether equivalent requests produce the same entity to whether related explanatory commitments fit together. The titles identify different settings, but both make relationships among responses part of what needs evaluation.

Entailer: Answering Questions with Faithful and Truthful Chains of Reasoning names faithfulness and truthfulness as requirements for question-answering chains. Those requirements resonate with the paper’s refusal to equate stable predictions with correct ones. A reasoning chain can be assessed for its relationship to an answer and for the truth of its claims, just as ParaRel separates agreement from factual success. More specific implementation links are not established by the citation listing.

Progressive-Hint Prompting Improves Reasoning in Large Language Models places the later discussion in prompting and reasoning improvement. Its relevance to ParaRel is the broader problem of how input design affects output behaviour. The citation information supports that connection of research concerns, without showing that progressive hints serve the same purpose as paraphrase-based consistency training.

Factual associations, errors, and conflicting knowledge

Locating and Editing Factual Associations in GPT turns toward identifying and changing factual associations. ParaRel makes an important evaluation question visible for that setting: a factual change should ideally survive different ways of asking about the relation. That is a consequence of the consistency criterion, rather than evidence from the citation list about which tests the later work actually uses.

Calibrating Factual Knowledge in Pretrained Language Models addresses factual calibration. This sits beside ParaRel’s distinction between producing an answer and producing one reliably. Calibration and paraphrase consistency are different properties, but both challenge the adequacy of reporting isolated correct completions as a complete account of factual competence.

Knowledge Conflicts for LLMs: A Survey places conflicting information at the centre of a later survey. ParaRel concerns a specific observable conflict: equivalent factual requests can yield incompatible objects. The broader title encompasses knowledge conflict as a research area, while the earlier study contributes a bounded test of conflict across expressions.

Adaptive Chameleon or Stubborn Sloth: Revealing the Behavior of Large Language Models in Knowledge Conflicts likewise names behaviour under conflicting knowledge as its subject. The connection helps clarify a boundary of ParaRel. Changing wording while preserving meaning is different from presenting conflicting information. A dependable system needs an appropriate response to each, so agreement cannot be defined without reference to what changed in the input.

Self-contradictory Hallucinations of Large Language Models: Evaluation, Detection and Mitigation explicitly treats self-contradiction as something to evaluate, detect, and mitigate. This is a direct thematic continuation of the concern that individually plausible outputs may fail when compared with one another. The citation listing does not specify which ParaRel components, if any, are reused.

LM vs LM: Detecting Factual Errors via Cross Examination identifies cross-examination as an approach to detecting factual errors. ParaRel provides a related motivation for asking more than one question of a system: additional queries can expose weaknesses hidden by an isolated answer. The later title concerns factual error detection, whereas ParaRel measures disagreement even when neither competing answer is correct.

Broader evaluations of behaviour and trustworthiness

Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language models places the discussion within broader capability evaluation. ParaRel’s reusable contribution to that conversation is a precise behavioural target with controlled input variation. It demonstrates why an evaluation can ask how answers relate across examples, alongside how often individual examples are solved.

TrustLLM: Trustworthiness in Large Language Models and Trustworthy LLMs: a Survey and Guideline for Evaluating Large Language Models' Alignment identify trustworthiness and alignment evaluation as broader concerns. ParaRel contributes a concrete warning relevant to those concerns: stability without truth is insufficient, and truth under favourable wording is incomplete. The citation information establishes a place in this wider discussion without establishing a particular taxonomy or result.

Language Model Behavior: A Comprehensive Survey names behavioural analysis itself as the organising subject. The earlier paper is especially relevant as an example of defining behaviour through transformations of inputs. Its consistency test specifies what remains fixed, what changes, and what output relationship should follow.

XSTest: A Test Suite for Identifying Exaggerated Safety Behaviours in Large Language Models concerns a different behavioural target. Its connection is methodological at a broad level: focused test suites can reveal undesirable patterns that aggregate task performance may miss. The citation list does not support treating exaggerated safety behaviour as another name for factual inconsistency.

Political Compass or Spinning Arrow? Towards More Meaningful Evaluations for Values and Opinions in Large Language Models raises the issue of meaningful evaluation for values and opinions. ParaRel’s emphasis on how responses vary with expression is relevant to the interpretation of elicited answers. The subject differs, however: a relation with a factual object and an elicited value judgement do not share the same correctness criterion.

R-Tuning: Instructing Large Language Models to Say `I Don't Know' addresses an ability the authors explicitly identify as missing from their factual-completion interface: declining to provide an answer. This makes the later work a useful neighbouring direction. Reliable factual behaviour requires attention to when an answer should be withheld, alongside whether equivalent requests receive compatible answers.

A Review on Language Models as Knowledge Bases returns to the application that motivates ParaRel most directly. Within that research question, this paper contributes a necessary qualification: recoverable facts do not automatically form a dependable natural-language knowledge interface. The relation between wording, agreement, correctness, and abstention remains central to judging what such an interface can claim.

Cite

Cite as Yanai Elazar, Nora Kassner, Shauli Ravfogel, Abhilasha Ravichander, Eduard Hovy, Hinrich Schütze and Yoav Goldberg. 2021. Measuring and Improving Consistency in Pretrained Language Models.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.1162/tacl_a_00410 · arXiv 2102.01017

@misc{elazar2021measuring,
  title = {{Measuring and Improving Consistency in Pretrained Language Models}},
  author = {Yanai Elazar, Nora Kassner, Shauli Ravfogel, Abhilasha Ravichander, Eduard Hovy, Hinrich Schütze and Yoav Goldberg},
  year = {2021},
  doi = {10.1162/tacl\_a\_00410},
  eprint = {2102.01017},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.1162/tacl_a_00410}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/elazar-2021-measuring-improving-consistency-pretrained-language/

References

79 references, from the paper's own bibliography.

  1. Chris Alberti, Daniel Andor, Emily Pitler, Jacob Devlin, and Michael Collins. 2019. Synthetic qa corpora generation with roundtrip consistency. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 6168–6173. our card
  2. Kim Allan Andersen and Daniele Pretolani. 2001. Easy cases of probabilistic satisfiability. Annals of Mathematics and Artificial Intelligence, 33(1):69–91. OpenAlex ↗ · Scholar ↗
  3. Stanislaw Antol, Aishwarya Agrawal, Jiasen Lu, Margaret Mitchell, Dhruv Batra, C Lawrence Zitnick, and Devi Parikh. 2015. Vqa: Visual question answering. In Proceedings of the IEEE international conference on computer vision, pages 2425–2433. our card
  4. Akari Asai and Hannaneh Hajishirzi. 2020. Logic-guided data augmentation and regularization for consistent question answering (https://doi.org/10.18653/v1/2020.acl-main.499). In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 5642–5650, Online. Association for Computational Linguistics. our card
  5. Yonatan Belinkov, Nadir Durrani, Fahim Dalvi, Hassan Sajjad, and James Glass. 2017. What do neural machine translation models learn about morphology? In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 861–872. our card
  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. Emily M Bender and Alexander Koller. 2020. Climbing towards nlu: On meaning, form, and understanding in the age of data. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 5185–5198. our card
  8. Rahul Bhagat and Eduard Hovy. 2013. What is a paraphrase? Computational Linguistics, 39(3):463–472. OpenAlex ↗ · Scholar ↗
  9. Lukas Biewald. 2020. Experiment tracking with weights and biases (https://www.wandb.com/). Software available from wandb.com. OpenAlex ↗ · Scholar ↗
  10. Samuel R. Bowman, Gabor Angeli, Christopher Potts, and Christopher D. Manning. 2015. A large annotated corpus for learning natural language inference. In Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing (EMNLP). Association for Computational Linguistics. our card
  11. Tom B Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, et al. 2020. Language models are few-shot learners. arXiv preprint arXiv:2005.14165. our card
  12. Oana-Maria Camburu, Tim Rocktäschel, Thomas Lukasiewicz, and Phil Blunsom. 2018. e-snli: Natural language inference with natural language explanations. In NeurIPS. our card
  13. Oana-Maria Camburu, Brendan Shillingford, Pasquale Minervini, Thomas Lukasiewicz, and Phil Blunsom. 2020. Make up your mind! adversarial generation of inconsistent natural language explanations. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 4157–4165. OpenAlex ↗ · Scholar ↗
  14. Kai-Wei Chang, Rajhans Samdani, Alla Rozovskaya, Nick Rizzolo, Mark Sammons, and Dan Roth. 2011. Inference protocols for coreference resolution. In Proceedings of the Fifteenth Conference on Computational Natural Language Learning: Shared Task, pages 40–44. our card
  15. Ethan A. Chi, John Hewitt, and Christopher D. Manning. 2020. Finding universal grammatical relations in multilingual BERT (https://doi.org/10.18653/v1/2020.acl-main.493). In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 5564–5577, Online. Association for Computational Linguistics. our card
  16. Jeff Da and Jungo Kasai. 2019. Cracking the contextual commonsense code: Understanding commonsense reasoning aptitude of deep contextual representations (https://doi.org/10.18653/v1/D19-6001). In Proceedings of the First Workshop on Commonsense Inference in Natural Language Processing, pages 1–12, Hong Kong, China. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
  17. Ido Dagan, Oren Glickman, and Bernardo Magnini. 2005. The pascal recognising textual entailment challenge. In Machine Learning Challenges Workshop, pages 177–190. Springer. OpenAlex ↗ · Scholar ↗
  18. Joe Davison, Joshua Feldman, and Alexander M Rush. 2019. Commonsense knowledge mining from pretrained models. 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 1173–1178. our card
  19. Pascal Denis and Jason Baldridge. 2009. Global joint models for coreference resolution and named entity classification. Procesamiento del Lenguaje Natural, 42. OpenAlex ↗ · Scholar ↗
  20. 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
  21. Rotem Dror, Gili Baumer, Segev Shlomov, and Roi Reichart. 2018. The hitchhiker’s guide to testing statistical significance in natural language processing. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 1383–1392. OpenAlex ↗ · Scholar ↗
  22. Rotem Dror, Lotem Peled-Cohen, Segev Shlomov, and Roi Reichart. 2020. Statistical significance testing for natural language processing. Synthesis Lectures on Human Language Technologies, 13(2):1–116. OpenAlex ↗ · Scholar ↗
  23. Xinya Du, Bhavana Dalvi, Niket Tandon, Antoine Bosselut, Wen-tau Yih, Peter Clark, and Claire Cardie. 2019. Be consistent! improving procedural text comprehension using label consistency. 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 2347–2356. OpenAlex ↗ · Scholar ↗
  24. Yanai Elazar, Shauli Ravfogel, Alon Jacovi, and Yoav Goldberg. 2021. Amnesic Probing: Behavioral Explanation with Amnesic Counterfactuals (https://doi.org/10.1162/tacl_a_00359). Transactions of the Association for Computational Linguistics, 9:160–175. our card
  25. Hady Elsahar, Pavlos Vougiouklis, Arslen Remaci, Christophe Gravier, Jonathon Hare, Frederique Laforest, and Elena Simperl. 2018. T-rex: A large scale alignment of natural language with knowledge base triples. In Proceedings of the Eleventh International Conference on Language Resources and Evaluation (LREC 2018). our card
  26. Allyson Ettinger. 2020. What bert is not: Lessons from a new suite of psycholinguistic diagnostics for language models (https://doi.org/10.1162/tacl_a_00298). Transactions of the Association for Computational Linguistics, 8:34–48. our card
  27. Maxwell Forbes, Ari Holtzman, and Yejin Choi. 2019. Do neural language representations learn physical commonsense? In CogSci. our card
  28. Wee Chung Gan and Hwee Tou Ng. 2019. Improving the robustness of question answering systems to question paraphrasing. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 6065–6075. OpenAlex ↗ · Scholar ↗
  29. Mor Geva, Ankit Gupta, and Jonathan Berant. 2020. Injecting numerical reasoning skills into language models. In Association for Computational Linguistics (ACL). our card
  30. Yoav Goldberg. 2019. Assessing bert's syntactic abilities. arXiv preprint arXiv:1901.05287. our card
  31. Pierre Hansen and Brigitte Jaumard. 2000. Probabilistic satisfiability. In Handbook of Defeasible Reasoning and Uncertainty Management Systems, pages 321–367. Springer. OpenAlex ↗ · Scholar ↗
  32. John Hewitt and Christopher D. Manning. 2019. A structural probe for finding syntax in word representations (https://nlp.stanford.edu/pubs/hewitt2019structural.pdf). In North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL). Association for Computational Linguistics. our card
  33. Matthew Honnibal, Ines Montani, Sofie Van Landeghem, and Adriane Boyd. 2020. spaCy: Industrial-strength Natural Language Processing in Python (https://doi.org/10.5281/zenodo.1212303). OpenAlex ↗ · Scholar ↗
  34. Robin Jia and Percy Liang. 2017. Adversarial examples for evaluating reading comprehension systems. In Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing, pages 2021–2031. OpenAlex ↗ · Scholar ↗
  35. Zhengbao Jiang, Frank F Xu, Jun Araki, and Graham Neubig. 2020. How can we know what language models know? Transactions of the Association for Computational Linguistics, 8:423–438. our card
  36. Nora Kassner, Philipp Dufter, and Hinrich Schütze. 2021a. Multilingual lama: Investigating knowledge in multilingual pretrained language models (http://arxiv.org/abs/2102.00894). our card
  37. Nora Kassner, Benno Krojer, and Hinrich Schütze. 2020. Are pretrained language models symbolic reasoners over knowledge? (https://www.aclweb.org/anthology/2020.conll-1.45) In Proceedings of the 24th Conference on Computational Natural Language Learning, pages 552–564, Online. Association for Computational Linguistics. our card
  38. Nora Kassner and Hinrich Schütze. 2020. Negated and misprimed probes for pretrained language models: Birds can talk, but cannot fly (https://doi.org/10.18653/v1/2020.acl-main.698). In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 7811–7818, Online. Association for Computational Linguistics. our card
  39. Nora Kassner, Oyvind Tafjord, Hinrich Schütze, and Peter Clark. 2021b. Enriching a model's notion of belief using a persistent memory (http://arxiv.org/abs/2104.08401). CoRR, abs/2104.08401. OpenAlex ↗ · Scholar ↗
  40. Wojciech Kryscinski, Bryan McCann, Caiming Xiong, and Richard Socher. 2020. Evaluating the factual consistency of abstractive text summarization. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 9332–9346. our card
  41. Zhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel, Piyush Sharma, and Radu Soricut. 2019. Albert: A lite bert for self-supervised learning of language representations. In International Conference on Learning Representations. our card
  42. Tao Li, Vivek Gupta, Maitrey Mehta, and Vivek Srikumar. 2019. A logic-driven framework for consistency of neural models (https://doi.org/10.18653/v1/D19-1405). 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 3924–3935, Hong Kong, China. Association for Computational Linguistics. our card
  43. Tal Linzen. 2020. How can we accelerate progress towards human-like linguistic generalization? In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 5210–5217. our card
  44. Tal Linzen, Emmanuel Dupoux, and Yoav Goldberg. 2016. Assessing the ability of lstms to learn syntax-sensitive dependencies. Transactions of the Association for Computational Linguistics, 4:521–535. our card
  45. Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. 2019. Roberta: A robustly optimized bert pretraining approach. arXiv preprint arXiv:1907.11692. our card
  46. Laurens van der Maaten and Geoffrey Hinton. 2008. Visualizing data using t-SNE. Journal of Machine Learning Research, 9:2579–2605. OpenAlex ↗ · Scholar ↗
  47. Rebecca Marvin and Tal Linzen. 2018. Targeted syntactic evaluation of language models (https://doi.org/10.18653/v1/D18-1151). In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pages 1192–1202, Brussels, Belgium. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
  48. Tom McCoy, Ellie Pavlick, and Tal Linzen. 2019. Right for the wrong reasons: Diagnosing syntactic heuristics in natural language inference. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 3428–3448. our card
  49. David Picado Muiño. 2011. Measuring and repairing inconsistency in probabilistic knowledge bases. International Journal of Approximate Reasoning, 52(6):828–840. OpenAlex ↗ · Scholar ↗
  50. Kim Anh Nguyen, Sabine Schulte im Walde, and Ngoc Thang Vu. 2016. Integrating distributional lexical contrast into word embeddings for antonym-synonym distinction. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers), pages 454–459. OpenAlex ↗ · Scholar ↗
  51. 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 ↗
  52. Matthew E Peters, Mark Neumann, Robert Logan, Roy Schwartz, Vidur Joshi, Sameer Singh, and Noah A Smith. 2019. Knowledge enhanced contextual word representations. 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 43–54. our card
  53. Fabio Petroni, Patrick Lewis, Aleksandra Piktus, Tim Rocktäschel, Yuxiang Wu, Alexander H. Miller, and Sebastian Riedel. 2020. How context affects language models' factual predictions (https://openreview.net/forum?id=025X0zPfn). In Automated Knowledge Base Construction. our card
  54. Fabio Petroni, Tim Rocktäschel, Sebastian Riedel, Patrick Lewis, Anton Bakhtin, Yuxiang Wu, and Alexander Miller. 2019. Language models as knowledge bases? (https://doi.org/10.18653/v1/D19-1250) 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 2463–2473, Hong Kong, China. Association for Computational Linguistics. our card
  55. Nina Poerner, Ulli Waltinger, and Hinrich Schütze. 2020. E-bert: Efficient-yet-effective entity embeddings for bert. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing: Findings, pages 803–818. our card
  56. Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, and Ilya Sutskever. 2019. Language models are unsupervised multitask learners. OpenAI blog, 1(8):9. OpenAlex ↗ · Scholar ↗
  57. Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J Liu. 2020. Exploring the limits of transfer learning with a unified text-to-text transformer. Journal of Machine Learning Research, 21:1–67. our card
  58. Pranav Rajpurkar, Jian Zhang, Konstantin Lopyrev, and Percy Liang. 2016. Squad: 100,000+ questions for machine comprehension of text. In Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing, pages 2383–2392. our card
  59. Shauli Ravfogel, Yanai Elazar, Jacob Goldberger, and Yoav Goldberg. 2020. Unsupervised distillation of syntactic information from contextualized word representations (https://doi.org/10.18653/v1/2020.blackboxnlp-1.9). In Proceedings of the Third BlackboxNLP Workshop on Analyzing and Interpreting Neural Networks for NLP, pages 91–106, Online. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
  60. Abhilasha Ravichander, Eduard Hovy, Kaheer Suleman, Adam Trischler, and Jackie Chi Kit Cheung. 2020. On the systematicity of probing contextualized word representations: The case of hypernymy in BERT (https://www.aclweb.org/anthology/2020.starsem-1.10). In Proceedings of the Ninth Joint Conference on Lexical and Computational Semantics, pages 88–102, Barcelona, Spain (Online). Association for Computational Linguistics. our card
  61. Marco Tulio Ribeiro, Carlos Guestrin, and Sameer Singh. 2019. Are red roses red? evaluating consistency of question-answering models (https://doi.org/10.18653/v1/P19-1621). In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 6174–6184, Florence, Italy. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
  62. Marco Tulio Ribeiro, Sameer Singh, and Carlos Guestrin. 2018. Semantically equivalent adversarial rules for debugging nlp models. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 856–865. OpenAlex ↗ · Scholar ↗
  63. Marco Tulio Ribeiro, Tongshuang Wu, Carlos Guestrin, and Sameer Singh. 2020. Beyond accuracy: Behavioral testing of NLP models with CheckList (https://doi.org/10.18653/v1/2020.acl-main.442). In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 4902–4912, Online. Association for Computational Linguistics. our card
  64. Adam Roberts, Colin Raffel, and Noam Shazeer. 2020. How much knowledge can you pack into the parameters of a language model? In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 5418–5426. our card
  65. 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
  66. Taylor Shin, Yasaman Razeghi, Robert L. Logan IV, Eric Wallace, and Sameer Singh. 2020. AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated Prompts (https://doi.org/10.18653/v1/2020.emnlp-main.346). In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 4222–4235, Online. Association for Computational Linguistics. our card
  67. Micah Shlain, Hillel Taub-Tabib, Shoval Sadde, and Yoav Goldberg. 2020. Syntactic search by example (https://doi.org/10.18653/v1/2020.acl-demos.3). In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics: System Demonstrations, pages 17–23, Online. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
  68. Vered Shwartz and Yejin Choi. 2020. Do neural language models overcome reporting bias? In Proceedings of the 28th International Conference on Computational Linguistics, pages 6863–6870. OpenAlex ↗ · Scholar ↗
  69. Christian Szegedy, Wojciech Zaremba, Ilya Sutskever, Joan Bruna, Dumitru Erhan, Ian Goodfellow, and Rob Fergus. 2014. Intriguing properties of neural networks (http://arxiv.org/abs/1312.6199). In International Conference on Learning Representations. our card
  70. Alon Talmor, Yanai Elazar, Yoav Goldberg, and Jonathan Berant. 2020. olmpics-on what language model pre-training captures (https://doi.org/10.1162/tacl\_a\_00342). Transactions of the Association for Computational Linguistics, 8:743–758. our card
  71. 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
  72. Matthias Thimm. 2009. Measuring Inconsistency in Probabilistic Knowledge Bases. In Proceedings of the Twenty-Fifth Conference on Uncertainty in Artificial Intelligence (UAI'09), pages 530–537. AUAI Press. OpenAlex ↗ · Scholar ↗
  73. Matthias Thimm. 2013. Inconsistency measures for probabilistic logics. Artificial Intelligence, 197:1–24. OpenAlex ↗ · Scholar ↗
  74. James Thorne, Majid Yazdani, Marzieh Saeidi, Fabrizio Silvestri, Sebastian Riedel, and Alon Halevy. 2020. Neural databases. arXiv preprint arXiv:2010.06973. OpenAlex ↗ · Scholar ↗
  75. Alex Warstadt, Yian Zhang, Xiaocheng Li, Haokun Liu, and Samuel R. Bowman. 2020. Learning which features matter: RoBERTa acquires a preference for linguistic generalizations (eventually) (https://doi.org/10.18653/v1/2020.emnlp-main.16). In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 217–235, Online. Association for Computational Linguistics. our card
  76. Adina Williams, Nikita Nangia, and Samuel Bowman. 2018. A broad-coverage challenge corpus for sentence understanding through inference (http://aclweb.org/anthology/N18-1101). 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 1112–1122. Association for Computational Linguistics. our card
  77. Thomas Wolf, Lysandre Debut, Victor Sanh, Julien Chaumond, Clement Delangue, Anthony Moi, Pierric Cistac, Tim Rault, Rémi Louf, Morgan Funtowicz, Joe Davison, Sam Shleifer, Patrick von Platen, Clara Ma, Yacine Jernite, Julien Plu, Canwen Xu, Teven Le Scao, Sylvain Gugger, Mariama Drame, Quentin Lhoest, and Alexander M. Rush. 2020. Transformers: State-of-the-art natural language processing (https://www.aclweb.org/anthology/2020.emnlp-demos.6). In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing: System Demonstrations, pages 38–45, Online. Association for Computational Linguistics. our card
  78. Wenhan Xiong, Jingfei Du, William Yang Wang, and Veselin Stoyanov. 2020. Pretrained encyclopedia: Weakly supervised knowledge-pretrained language model (https://openreview.net/forum?id=BJlzm64tDH). In 8th International Conference on Learning Representations, ICLR 2020, Addis Ababa, Ethiopia, April 26-30, 2020. OpenReview.net. our card
  79. Xikun Zhang, Deepak Ramachandran, Ian Tenney, Yanai Elazar, and Dan Roth. 2020. Do language embeddings capture scales? In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing: Findings, pages 4889–4896. our card