Bayesian Inference Semantics: A Modelling System and A Test Suite
Paper · 2019 · Jean-Philippe Bernardy, Rasmus Blanck, Stergios Chatzikyriakidis et al.
Summary
Knowing that most members of a group have a property can give us good reason to expect it of a particular member. The conclusion still carries some uncertainty. Other inferences, such as applying a general rule to an individual known to fall under it, can warrant much stronger confidence. Bayesian Inference Semantics, or BIS, is an implemented approach to semantics that puts both kinds of inference on a probability scale. It asks how likely an idealised speaker would be to accept a conclusion given the information contributed by the premises. The authors examine how that question can be answered for sentences containing expressions such as most, usually and tall, as well as for arguments familiar from classical logic.
BIS uses the Grammatical Framework to analyse English sentences and builds their interpretations from the resulting grammatical structures. An individual is represented by a vector, and a lexical predicate such as musician is represented by a direction and boundaries that identify where the predicate and its contrary apply. A musician and someone who clearly counts as a non-musician occupy different regions. The representation also admits cases in between. The system starts with prior distributions over the individuals and predicates an argument needs, conditions them on the premises, and uses samples to estimate how often the conclusion holds under the resulting distribution. This lets the wording of a premise supply evidence about a category, an individual or the relation between categories.
The authors develop and examine BIS on a test suite of 78 arguments covering both probabilistic and classically valid patterns. In a worked example, the probability that an arbitrary individual is a musician rises from an estimated 0.33 to 0.834 when the premise says that most people are musicians. The system assigns probability 1 in a reported case of instantiation, where a universal rule is applied to a known member of its subject class. It also assigns 1 to a reported inference from a tall person and someone taller to the taller person's tallness. An argument involving punctuality and frequency adverbs receives 0.7. A height experiment shows a broadly graded transition between clear cases, with some instability around the boundary.
The results show where the system's choices matter. An efficient approximation for every can fall short on chains of universal premises, even though an individual application may work as expected. Sentence-level denial behaves differently from predicate-level negation, so BIS can handle some classical propositional laws while giving different results for their apparent counterparts in everyday wording. The suite demonstrates these behaviours through selected arguments and a repeated height experiment. It supplies neither a comparative score against another system nor an independently calibrated scale of human judgments.
Deep dive: Bayesian Inference Semantics: A Modelling System and A Test Suite
Bayesian Inference Semantics uses sentence structure and Bayesian evidence to estimate how strongly natural-language premises support a conclusion. · about 37 minutes to read
The problem and its context
How much does a premise support?
The traditional account that the paper starts from treats validity as a relation between premises and a conclusion. A proof system can establish that a conclusion follows by accepted rules. A truth-based account asks whether the conclusion holds in every interpretation in which the premises hold. In either formulation, a valid argument gives a categorical answer. If the stated rule applies to all members of a class and the premises place an individual in that class, the rule applies to the individual.
The paper is concerned with arguments that have other kinds of support as well. A sentence about what members of a class generally do gives evidence about an individual in that class. The strength of the evidence can depend on the quantifier, the category and whether the premises say anything more specific about that individual. A frequency adverb can make a premise useful even when the regularity it describes admits exceptions. Calling the resulting conclusion merely supported or unsupported leaves out the question of how much confidence the premises warrant.
The authors situate this problem alongside Recognising Textual Entailment, or RTE. In their account, that line of work broadened the computational task beyond identifying valid logical forms. Inferences drawn from ordinary text can depend on what its words mean and on knowledge about the world. BIS isolates a portion of that broader problem. Its test arguments supply the relevant information in their premises, so the system can be examined on the connection between that information and the conclusion. A statement about musicians may sound like a claim about real people, but the intended basis for the inference is the information asserted about musicians within the argument.
This setup lets the authors vary a crucial expression while leaving the rest of an argument familiar. A definite rule and a tendency can share almost the same wording while licensing different conclusions. Likewise, tallness and relative height are closely connected, but they express different things. The positive adjective places a person in a region associated with a property. The comparative orders people with respect to the same dimension. A semantics that represents the two expressions independently would have to find some other way to recover the link needed for inference.
Why the scope of a word matters
Several phenomena in the paper require the system to track which part of a sentence an expression operates on. Consider a comparison between groups of instrumentalists. Saying that every member of the first group exceeds most members of the second gives each member of the first group a test against the second. Reversing the roles of the quantifiers imposes a stronger comparison on the qualifying members of the first group and changes how many members of that first group must qualify. Both sentences compare the same kinds of people. The grammatical placement of each quantifier determines the structure of the claim.
The same issue arises with negation. Someone can withhold the judgment that a person is tall while also withholding the judgment that the person is short enough to count as clearly non-tall. To represent that state, the semantics needs different interpretations for taking the Boolean complement of a sentence and applying the contrary of a lexical predicate. If both expressions simply reverse the same truth value, the space for borderline applications disappears. The paper uses that distinction to connect linguistic vagueness to a computational question about how predicates are represented.
The challenge is therefore both grammatical and inferential. It is grammatical because the system has to tell a quantifier from a modifier or a sentence connective and work out which constituent each takes as input. It is inferential because applying the resulting interpretation may require evidence about distributions of individuals, the extent of one category within another, or the threshold for a property. The authors want these activities to meet in a compositional account, where the interpretation of a larger expression is built from its parts according to its grammatical structure.
The earlier approaches the paper discusses
The most direct antecedent is the authors' earlier compositional Bayesian semantics. BIS retains its basic combination of probabilistic inference, vector representations and interpretation by grammatical composition. The new system puts a typed grammar in front of the semantic machinery and makes evaluation of arguments an explicit goal. The paper describes a wider range of constructions and a design meant to accommodate further grammatical and inferential patterns. Its contribution includes building the path from a sentence in English to an executable interpretation and then exercising that path on arguments.
Goodman and Lassiter also implement a probabilistic semantics using WebPPL. The paper describes their approach in terms of a hearer estimating the intended interpretation of an utterance in a particular context. Context determines a boundary parameter for a graded expression. BIS asks about endorsement of an assertion under specified premises and gives predicates room for borderline cases within their representation. This matters because uncertainty about what a speaker intends and indeterminacy about whether a predicate applies motivate different mechanisms. The paper also says that the Goodman–Lassiter treatment of generalised quantifiers follows the classical Montague tradition and that the implemented fragment covers a more limited range of constructions than the authors want to test.
Another family of proposals assigns probabilities to possible worlds. In the account associated with van Eijck and Lappin, a sentence receives the total probability of the worlds in which it holds. The paper raises a computational question about representing worlds understood as complete sets of jointly consistent propositions. BIS constructs only the individuals and properties needed for the particular argument. That choice gives its inference routine concrete objects to sample, such as the direction for a predicate and the position of a named individual.
Cooper and colleagues use probabilistic type theory. In the paper's description, a sentence's probability concerns how likely a situation is to be of a specified type. The BIS authors note that this proposal leaves the treatments of vagueness and probabilistic inference implicit. Emerson and Copestake, in contrast, describe a graphical probabilistic approach in which properties help identify features of objects. They also interpret quantified statements probabilistically and use variational inference to evaluate the relevant quantities. This gives a point of comparison for the meaning of a quantified statement and for the computation required to estimate it.
The paper also discusses a line of work by Pfeifer and colleagues that analyses how the probabilities of premises constrain the probability of a conclusion. Their account uses p-validity, which concerns whether the uncertainty in the conclusion exceeds the combined uncertainty allowed by the premises. It uses conditional probabilities directly to interpret conditionals. BIS sets up a distribution under which the premises hold and evaluates the hypothesis inside it. The difference becomes concrete when the antecedent of a conditional is false. Material implication has a Boolean value in that situation, while treating the conditional as a conditional probability makes the antecedent the event on which the calculation is based. The authors identify that choice as a substantive part of the semantics.
The method, step by step
From a sentence to an inference
Take an individual called John and ask whether he counts as a musician. BIS needs an interpretation for the name and one for the predicate. With only the question, those interpretations are sampled from the prior distributions. The program checks whether the individual falls in the predicate's positive region in each retained situation. The rate of positive outcomes gives the system's estimate. Adding a premise about the prevalence of musicians changes the situations the system can retain, which can in turn change the answer about John.
The route from wording to probability has a grammatical stage, a semantic stage and a numerical stage. The Grammatical Framework, abbreviated GF, performs parsing and produces an abstract syntax tree. A compositional interpretation implemented in Haskell translates that tree into a probabilistic program. WebPPL evaluates the resulting inference by sampling. When the input is an argument, the premises become observations and the conclusion becomes the query.
How BIS estimates support for a conclusion
The steps in order.
GF's abstract syntax states what kinds of expressions its constructors take and return. BIS uses the same types in the Haskell interpretation. A grammar tree can therefore be read as a well-typed Haskell expression. For the musician example, the lexical item for the occupation begins as a common noun. A constructor turns it into a predicative verb phrase. A further constructor indicates that the phrase carries no modal modifier, and the phrase combines with the proper name to make a clause. The final constructor produces a sentence with positive polarity. The semantic functions build the interpretation in that same order.
IsA : CN → VP
IsA is the constructor that makes a predicative verb phrase from a common noun. The colon introduces its type, CN stands for common noun, and VP stands for verb phrase. The arrow gives the direction from input to output.
Bare : VP → AVP
Bare supplies an unmodified phrase at the stage where adverbial modification is possible. The colon introduces the type, VP marks the verb phrase it takes, and AVP marks the category used for a verb phrase that can carry a modifier. The arrow connects the input type to the result type.
S1 : NP → AVP → Cl
S1 forms a clause from a subject and its predication. The colon marks the type declaration. NP is the subject noun phrase, AVP is the phrase with the relevant modifier status, and Cl is the clause returned after both inputs have been supplied. The arrows express the successive applications.
CltoS : Pol → Cl → S
CltoS constructs a sentence from polarity and a clause. The colon introduces the constructor's type. Pol supplies positive or negative polarity, Cl is the clause, and S is the sentence category. The arrows again give the application order. In this grammar signature S is a syntactic category. The paper also uses the letter for the space of individuals when describing the geometry.
This staged construction shows what the grammar contributes to an inference. The name has the type required for the subject slot, and the noun acquires predicative status through a specified operation. The system can reuse the same clause constructor when the subject is a quantified noun phrase. A quantifier such as most combines with a common noun before the resulting noun phrase enters the clause. The semantic work associated with most can then be attached to that constituent.
QNP : Quant → CN → NP
QNP builds a quantified noun phrase. The colon introduces its type. Quant is the input category for the quantifier, CN supplies the common noun that restricts it, and NP is the resulting noun phrase. The arrows indicate that the constructor takes the quantifier and the noun in succession.
Individuals, directions and boundaries
BIS represents an individual as a point in a vector space. The prior distribution of that point is multivariate normal, with mean zero and unit covariance. The system's hyper-parameter k gives the dimension of the vector. An arbitrary name in the musician example starts as a draw from this distribution. The example assigns content to the name through its participation in the argument, with any statements about the individual becoming potential evidence.
A lexical predicate has a direction through this space. Its direction starts as a draw from the same multivariate normal distribution and is normalised to unit length. Projecting an individual onto it produces a scalar. The paper interprets that scalar as the degree to which the individual exhibits what the predicate picks out. This gives categories defined by nouns and predicates expressed by adjectives a common representation. It also gives the positive adjective and its comparative a shared scale.
x · vₚ
x is the vector for the individual, and vₚ is the unit vector associated with predicate p. The subscript ₚ identifies the predicate. The centered dot denotes the dot product. It yields the individual's coordinate along the predicate's direction.
The scalar enters a classification with separate thresholds for positive and contrary application. Both thresholds are drawn from a standard normal distribution, with the negative threshold required to lie below the positive threshold. A point far enough along the predicate direction belongs to the positive region. A point far enough in the other direction belongs to the contrary region. The predicate's applicability is evaluated relative to a given draw of the direction and the thresholds.
x · vₚ > θₚ⁺
x denotes the individual vector and vₚ the direction for predicate p. Their dot product, written with ·, is compared by > with θₚ⁺, the positive threshold for that predicate. The superscript ⁺ identifies the boundary used for positive application. A true comparison places the individual in the positive region.
x · vₚ < θₚ⁻
x is the individual's vector and vₚ is the predicate direction. The dot product · gives the same projection used for positive application. The sign < tests whether it falls below θₚ⁻, the negative threshold of predicate p. The superscript ⁻ identifies the boundary used when applying the contrary of the predicate.
θₚ⁻ < x · vₚ < θₚ⁺
θₚ⁻ and θₚ⁺ are the negative and positive thresholds for predicate p. The dot product x · vₚ projects individual x onto that predicate's direction. The paired < signs give the strict interior of the gap, where both predicate tests fail.
The gap is how BIS represents a borderline case. For a particular configuration, the individual's projection can fail to reach the positive region while also failing to reach the contrary region. This differs from variation across sampled configurations. During inference, different draws may place an individual on different sides of a threshold because the premises leave its position or the relevant boundaries uncertain. In the interior of the gap, the predicate and its contrary both fail even after positions and boundaries have been specified.
That distinction gives two readings to forms of negation. Sentence-level negation takes the Boolean complement of the result of evaluating an assertion. Predicate-level negation checks the contrary region. When a person is clearly on the contrary side for guitarist, the sentence asserting that the person is a guitarist is false, and denying that sentence is licensed. When the person falls in the gap, denying the positive sentence still succeeds but classifying the person by the contrary fails. Thus a sampled situation can have ordinary Boolean truth values for sentences and still support a linguistic distinction between the two negative expressions.
Making premises count as observations
BIS starts from a prior over the individuals and predicates used in the argument. A prior is the distribution before the stated evidence has been applied. A premise becomes an observe operation. A choice of parameters under which that observation evaluates to false contributes nothing to the final posterior calculation. The posterior is the distribution after conditioning on the observations. The program evaluates the conclusion under that distribution, so the conclusion may become more or less likely as the premises change.
In the simplest musician example the program draws an individual and a predicate and applies the positive predication. In the second version it draws the same kinds of objects and observes a prevalence claim about musicians before evaluating the conclusion about John. The observation targets the same musician predicate that appears in the query. It favours configurations in which that predicate covers enough of the people relevant to the quantifier. As a result, the set of retained situations is different even though the conclusion's own syntax and predicate test stay the same.
Pr(H ∣ P)
Pr denotes probability, H denotes the hypothesis or conclusion, and P denotes the condition that the premises hold. The bar ∣ means given. The parentheses mark the conditional event whose probability the system estimates.
Each execution of the conclusion returns a Boolean. Across the posterior, that return value has a Bernoulli distribution, a distribution over the outcomes true and false. Its expected value, with true represented by 1 and false by 0, is the probability of the true outcome. These are the endpoints of the entailment scale described in the paper. Intermediate values describe the distribution of the outcome across admissible situations.
The authors explain that the probability could in principle be computed symbolically using a precise semantics for probabilistic programs. The expressions can contain integrals that are difficult to evaluate. BIS instead uses Markov chain Monte Carlo, abbreviated MCMC, as implemented in WebPPL. Sampling supplies an estimate by visiting successive configurations and using the retained outcomes. Where the feasible configurations are hard to reach, computation becomes difficult. The treatment of universal quantification illustrates a case where the geometry of the predicate representation directly affects that difficulty.
Quantification inside an inference
A generalised quantifier connects a class of individuals with a condition imposed on members of that class. For most musicians are tall, musicians supplies the restricting class and tall supplies the property to be checked. BIS evaluates the prevalence of tallness among musicians in an inner inference. It uses that estimate in the outer computation, where the quantified sentence imposes a requirement on the candidate configuration. The same architecture lets an argument ask about an individual after conditioning on a statement about the distribution of a property.
Pr(tall(x) ∣ musician(x)) > θₘₒₛₜ
Pr is the probability estimated by the inner inference. The variable x stands for an individual sampled there. tall(x) names the event of positive tallness and musician(x) the event of positive musician membership. The parentheses after each predicate mark application to that individual, and ∣ conditions the tallness estimate on musician membership. The sign > compares the estimated prevalence with θₘₒₛₜ, the threshold associated with most. The paper leaves this threshold symbolic in its explanation.
The nesting becomes important when a sentence contains several quantifiers. The authors consider a comparison between bass players and guitarists, with most occurring for each group. In their chosen procedure, the inner question about guitarists is asked in relation to a fixed bass player. It asks how widely that specific person's advantage holds among the guitarists. The outer question concerns how widely the resulting property holds among bass players. The inner estimate gives a separate basis for deciding about each bass player encountered in the outer computation.
A different procedure would sample bass players and guitarists together and estimate the proportion of eligible pairs for which the comparison holds. Such a proportion gives an overall picture of the comparison. BIS needs more information for the intended readings, since the same prevalence across pairs can leave open how the successful comparisons are distributed across each group. The authors observe that combining the thresholds without regard to order loses the difference between putting every outside most and putting most outside every. They choose nesting to preserve the scope difference, while regarding the joint procedure as an option for rough estimates.
Nested inference carries a cost. The outer computation can require a separate sampling calculation each time it evaluates the inner quantified expression. In the case the authors describe, increasing the sample count in both layers makes the amount of sampling grow with its square. The architecture thus has a direct link between semantic detail and computation. Respecting the order of the quantifiers requires the system to maintain the inner question whose answer depends on the individual or assignment currently under consideration.
The special case of every
To interpret a universal claim in the simplest geometric terms, the positive region for the restricting category should fit fully inside the positive region for the asserted property. Consider a claim that all musicians are logicians. The corresponding regions are determined by projections and thresholds. In the geometry used here, the paper says that imposing exact inclusion calls for exactly parallel predicate directions. Continuous sampling makes that constraint difficult to satisfy, and evaluating universals through the inner sampling procedure converges slowly.
BIS uses a geometric shortcut. It requires nearly aligned directions, measured by cosine similarity, and orders the two positive thresholds so that the restricting category has the higher one. The authors describe the result as near-perfect containment. The test constrains both direction and membership cutoff, giving the sampler a workable region around the ideal alignment.
cos(vₘᵤₛᵢ꜀ᵢₐₙ, vₗₒgᵢ꜀ᵢₐₙ) > 0.99
cos denotes cosine similarity. The two v terms inside its parentheses denote the direction vectors for the musician and logician predicates, with the comma separating the inputs. The sign > imposes the paper's 0.99 cutoff on their similarity for this universal test. A higher cosine similarity indicates that the directions are more closely aligned.
θₘᵤₛᵢ꜀ᵢₐₙ⁺ > θₗₒgᵢ꜀ᵢₐₙ⁺
The two θ terms are the thresholds of the musician and logician predicates. The superscript ⁺ marks the positive threshold in each case, and > requires the musician threshold to be higher. If both predicates used the same direction, the higher cutoff for musicians would place their positive region inside the logician region. With the near-alignment condition, the procedure approximates that geometry.
This treatment has different implications for an isolated universal and for a chain. The relative ordering of successive thresholds carries through an intermediate predicate. The angular condition is imposed locally on each pair, so the direction at the end of the chain need only be close to its neighbour. The endpoints can be farther apart. That distinction becomes visible when the conclusion itself requires the universal test to succeed for the predicates at the ends of the chain.
Measurement, comparison and conditionals
A gradable adjective uses the same direction and two boundaries as other lexical predicates. When the input gives a measurement, BIS adds an interpretation for the unit. A unit is represented by a scale factor and an offset, both drawn from normal distributions. The scale and offset convert a projection onto the adjective's direction into a quantity that can be compared with the number expressed in the sentence. This gives a measurement premise a way to constrain the parameters of the unit as well as the individual.
tᵤ(x) = fᵤx + bᵤ
tᵤ is the transformation associated with unit u. Here x is a scalar input, such as the individual's projection along the height direction. fᵤ is the scale factor for the unit, and writing it alongside x denotes multiplication. bᵤ is the unit's offset. The plus sign adds the offset to the scaled value, and the equals sign defines the output of the transformation.
t_feet(john · v_tall) = 6
t_feet denotes the transformation for feet, with the underscore distinguishing the unit label. john is the vector for the individual and v_tall is the direction for tallness. The dot product · supplies the scalar input enclosed in parentheses. The equality constrains the transformed value to 6, the measurement in feet in the paper's example. The paper also gives 180 as a separate example of a height expressed in centimetres.
Measurement and category judgments can consequently act together. A premise about a person's height constrains where that person lies along the dimension after accounting for the unit. A premise judging the person tall constrains that position relative to the positive threshold. When the premises include judgments about several people, the posterior can use them to place the boundaries while also retaining uncertainty over the unit transformation and individual positions. A comparative draws on the ordering of projections. If Mary clears the positive threshold and John's projection exceeds Mary's, the same direction supports the inference that John clears the threshold too.
For conditionals, BIS uses material implication. This is an operation on the truth values of the antecedent and consequent inside a sampled situation. An inference problem can also ask for the probability of a conclusion conditional on premises. The two uses are at different levels. Conditioning changes which situations count toward the probability estimate, while material implication is a connective that can occur within one of the sentences being evaluated.
A → B = ¬A ∨ B
A is the antecedent and B the consequent. The arrow → denotes material implication, = gives its Boolean definition, ¬ denotes sentence-level negation, and ∨ denotes disjunction. The conditional is true when the antecedent is false or when the consequent is true. It is false when the antecedent is true and the consequent is false.
Where the evidence comes from
The paper describes probability estimation for each argument from its premises. The programme begins with the specified priors and updates the distributions for the people, predicates and any measurement units relevant to that argument. The authors' comparison to supervised classification helps explain the role of examples such as the tallness judgments. Those judgments supply evidence that can shape a classifier for a new case. In the reported height experiment, the evidence is built into the argument's premises.
Development and testing also use the authors' purpose-built suite. Its items are organised around constructions and inferential patterns. The paper describes this as an experimental suite that is still being developed, and the probability values reported for particular examples are outputs of the inference procedure. The authors make the BIS implementation and the test suite available in the bbclm2019 repository.
Experiments and results
What the test suite measures
The authors constructed a suite of 78 examples. An item supplies at least one premise and a conclusion, along with labels for phenomena involved in the inference. The opening item combines a rule placing violinists among musicians with a generalisation about musicians and reading music. It asks whether a given individual would read music if he were a violinist. The item illustrates how a categorical membership premise can work together with a tendency. The labels identify the involvement of quantification and an adverbial modifier, while the argument supplies the evidence needed to reason about the case.
The suite includes examples with classical expectations and examples where the desired judgment is graded. The former can expose failures on inferences whose validity is settled by the argument's form. The latter let the authors inspect whether the system's probability changes in ways that reflect the quantifier, modifier or lexical distinction under examination. Those uses place different demands on an evaluation. A probability of 1 against an expected categorical judgment is straightforward to interpret. A probability in the interior of the scale requires an account of what target value, range or ordering should count as appropriate.
The paper reports estimated probabilities for selected items and qualitative descriptions for others. It uses FraCaS, RTE and SNLI to explain why the authors built a suite with a different aim. Those resources are described as using categorical judgments, with either three labels or a binary scheme that combines the negative and unknown cases. They serve as points of comparison for benchmark design. BIS's output in the reported experiments is a probability attached to a particular conclusion given its particular premises.
The authors report no implemented baseline comparison. Their closest implementation comparison is to the approach of Goodman and Lassiter, which they describe as lacking a corresponding test-suite evaluation and having different coverage of constructions. In their judgment, adapting it for the BIS suite would require changes substantial enough to compromise the comparison. Consequently, the reported results are within-system demonstrations. The paper gives neither an aggregate accuracy on the 78 examples nor a train-and-test split that would support reading the selected probabilities as a held-out score.
What changes when a prevalence premise is added
The introductory musician calculation keeps the conclusion fixed and varies the evidence. With John and the musician predicate drawn under the priors, the system estimates the true outcome at 0.33 and the false outcome at 0.67. The authors attribute that starting rate to their representation of a predicate and an individual drawn without further information. It is the reference point for the next version of the calculation.
The second version adds the assertion that most people are musicians. This makes sufficiently widespread membership in the musician category a condition on the retained situations. BIS estimates probability 0.834 for the unchanged conclusion and 0.166 for the false outcome. The numbers are probabilities for the particular conclusion in the worked example. They give a direct view of the effect of a new observation on the system's output.
Estimated probability of the musician conclusion in the worked example
Adding the premise about most people increases support for classifying John as a musician.
The numbers
| System or setting | probability of a true conclusion |
|---|---|
| BIS with prior information only | 0.33 |
| BIS conditioned on most people being musicians (this paper) | 0.834 |
The direction indicated in the chart concerns the strength of support for this conclusion under the stated evidence. A general evaluation of probabilistic inference would also ask whether an estimate was too high when the evidence was weak. Here the useful comparison is that a premise about high prevalence has an observable effect on the judgment about an individual.
Rules, chains and conditionals
In T31, the first premise puts all intermediate logic students among fans of the Stones. The second puts John in the student category at issue. BIS reports probability 1 that he is a fan. The result tests instantiation, the step of applying a universal assertion to a specific individual who meets its restriction. It shows that the approximation used for universals can sustain the expected inference in a case with a single inclusion premise and individual membership.
T76 puts two universal claims in sequence. The premises place violinists among musicians and say that musicians read music. The conclusion expresses the corresponding universal claim about violinists. Classical validity sets an expectation of probability 1, but the paper describes the value BIS returns as slightly lower. The authors attribute the departure to the near-alignment criterion for the predicate directions. The conclusion requires the direction for violinists and that for reading music to pass their own geometric test, after the two premises have constrained their directions through the intervening musician predicate.
T77 retains those premises and changes the conclusion to a percentage claim that 99 percent of violinists read music. BIS gives it a probability close to 1. The percentage determiner invokes the generalised-quantifier calculation, which estimates the prevalence of the target property in the restricting class. The figure 99 percent is part of the claim that BIS is evaluating. The probability close to 1 is BIS's assessment of that claim under the premises. The distinction matters because the inferred probability and the percentage threshold answer different questions.
T78 tests a conditional whose antecedent and consequent are themselves quantified. The premises assert a universal rule about guitarists and logicians, a conditional connecting that assertion to a rule about musicians reading music, and John's membership among musicians. BIS assigns the conclusion that John reads music a probability close to 1. The experiment requires an interpretation of the conditional as well as the ability to apply the resulting generalisation to an individual. When the consequent is changed to say that few musicians read music, the paper reports a high probability that the same conclusion is false. It gives the comparison in qualitative terms.
Comparatives, generics and frequency
T15 asks whether John is tall given that Mary is tall and John exceeds her in height. The reported probability is 1. The comparison and the positive adjective use the same direction, so the conjunction of the premises puts John's position above a point that already qualifies as tall. The paper also discusses the transitivity of the comparative itself. A sequence of greater-than comparisons on a single dimension can constrain the order of the endpoints. The displayed numerical result concerns the specific inference combining a positive adjective with a comparative.
T54 illustrates a more involved combination. A premise says that basketball players are few among people. A generic says how basketball players compare in height with most people outside their group. The final premise establishes John's membership in the group and the conclusion changes the comparison class to people generally. The example requires attending to both the relative size of the groups and the group described by the comparative. The paper presents it to illustrate the suite's treatment of generics and generalised quantifiers. It gives no numerical probability for that item in the discussion.
T17 brings frequency adverbs into an argument about punctuality. The premises say that John is always as punctual as Mary and that Sam usually exceeds John in punctuality. The conclusion compares Sam with Mary. BIS reports 0.7 for that inference. The wording supplies a regularity through usually, while always makes John's relation to Mary stronger. The output exemplifies a result in the interior of the probability scale for an argument in which the premises express different kinds of frequency claims.
Where the tallness judgment changes
T38 examines how the system handles vagueness by varying the measured height of the person in the conclusion. The fixed premises pair heights with judgments that several named people are tall or that the contrary applies to them. The highest height with a contrary judgment is 166 centimeters, and the lowest height explicitly judged tall is 178 centimeters. Christine's measurement is the variable input. The query evaluates the predicate-level contrary of tallness for Christine.
The authors perform 15 runs for each of 18 height values distributed uniformly from 145cm to 201cm. This is a repeated experiment with the same kind of query and the same fixed judgments. Varying Christine's measurement makes it possible to see whether the query behaves differently in clear regions and near the boundary. Repeating the calculation at a given value also exposes variation that a single run at each height would hide.
Below 166 centimeters, the conclusion that Christine is in the contrary region is consistently true with high probability. At 166 centimeters, 3 cases return false with probabilities from 0.5 to 0.85. The input at that height matches the highest measurement explicitly paired with a contrary judgment elsewhere in the premises. The variability there makes the threshold transition visible as a feature of the estimated judgments, including when a measurement equals one of the examples used as evidence.
Across the intermediate cases, the authors observe that false judgments for the query tend to become stronger as height rises, with departures from a regular progression. From 174 cm upwards, the system consistently returns false for the query. After the lowest height judged tall, 178 centimeters, false outcomes receive very high probabilities, with many estimated at 1. A false outcome here is about the contrary predicate. A case can cease to qualify as clearly non-tall while remaining in the gap before positive tallness applies.
There is no set of per-height probabilities reported for contrasting settings of this experiment. The paper gives the design, landmarks in the height range and the pattern of outputs across repeated runs. Those observations support the claim that BIS can express a graded transition under the given judgments. They also give a direct reason for the authors' qualification that the transition still lacks stability and a fully regular progression.
What the ablations show
The paper reports no component-removal ablations. It does offer controlled changes to premises and queries, a geometrical analysis of the universal approximation, and tests that connect the implementation's behaviour to classical laws. These comparisons test the consequences of choices made in the semantics. Their evidence is local to the examples, which allows the paper to explain particular changes in the result.
Changing the premise while keeping the query
The musician example varies the evidence with the query held fixed. It shows how the same positive predication gives different probabilities when BIS conditions on a prevalence claim. The restriction imposed by most operates through the inferred extent of the musician predicate. This makes the comparison a check on the wiring of the evidence into the computation. It demonstrates that the argument changes the distribution used to assess the conclusion without requiring a separate rule for the proper name.
The T78 variant changes a quantified consequent inside a conditional while keeping the other premises and the hypothesis. The original version gives strong support to the conclusion that John reads music. The version with few gives strong support to a false outcome. This shows that the quantifier inside the consequent has an effect on the individual-level inference. The two outcomes also exercise a path through the syntax in which a change inside a subordinate quantified assertion propagates through the conditional and into the conclusion's evaluation.
These examples target different parts of the composition. In the musician case, a generalisation is supplied as a premise in its own right. In T78, reaching the relevant generalisation involves a separately asserted antecedent and a conditional statement. The pair of checks illustrates how the evidence can reach the query through more than one kind of grammatical structure. It also shows the scope of the evidence: the successful outcomes establish behaviour for these argument patterns, with other combinations left to further tests.
What the universal chain isolates
The contrast between T76 and T77 changes the conclusion while holding the universal premises fixed. A universal conclusion requires the system to recognise containment through its direction and threshold conditions. The percentage conclusion calls for the inner inference used for generalised quantification. That procedure asks about the fraction of the restricting category with the target property. A very high estimated prevalence can therefore support the percentage statement even where the particular check for every falls short.
The underlying geometrical issue is that the relation of being sufficiently close in direction need not be transitive. Each of the two premise pairs can satisfy the similarity requirement without forcing the endpoint pair to satisfy it. The positive thresholds can be successively ordered throughout. The example thus gives a specific mechanism for the failure, beyond the general observation that Monte Carlo inference can introduce numerical error. More samples could improve the estimate for the stated procedure. The semantic approximation in that procedure would still be a separate issue.
The paper discusses an efficiency comparison for nested quantifiers as well. Running one inner computation over pairs saves repeated inner sampling. The price is that the combined prevalence does not preserve information about which member of the first class is being assessed against the second. The authors use the difference between the scope orders of every and most to motivate nesting. This is an analysis of what the procedures can express. The paper supplies no timing table measuring the alternatives on the test suite.
Where classical reasoning applies
BIS evaluates sentence connectives using Boolean operations within each situation. The authors report that the system validates familiar propositional patterns including de Morgan's laws, the law of excluded middle at sentence level, and Peirce's formula. These examples show how evaluating Boolean sentences and assigning them a probability over possible situations can coexist. A tautology is true for each evaluated situation, so taking a probability over those evaluations preserves the result.
The treatment of an implication with a contradiction in its antecedent illustrates the distinction between evaluating a sentence and conditioning on a premise. BIS assigns probability 1 to the assertion that a contradiction materially implies any conclusion. Its antecedent is false within the Boolean evaluation, so the implication is true. Trying to condition on mutually incompatible premises creates a different operation. There is no suitable situation under which to evaluate the conclusion, and the system fails to return a result. This explains the reported failure of reductio as an inference rule in the implementation.
The distinction between sentence and predicate negation explains a further departure. If a musician can fail to qualify as someone who reads music while also failing to qualify as someone who clearly does not read music, a statement denying that any musician belongs to the contrary region leaves open whether all musicians belong to the positive region. Universal and existential expressions linked by those forms of negation therefore lose the classical equivalence discussed by the authors. The examples trace the divergence to the gap between predicate boundaries. The result depends on which negative operation appears inside the quantifier.
What repetition reveals about vagueness
The tallness experiment varies a measured input along the direction relevant to the predicate and repeats the same inference at each setting. The extreme cases support the expectation that fixed judgments about a group of people can constrain the classification of a new case. The intermediate results reveal the transition, and the variability at a boundary height shows why one estimate from one run would give an incomplete description of that transition.
The method permits two kinds of variation in this test. The premises can leave uncertainty about the positive and contrary thresholds, so different admissible configurations can classify the same measurement differently. The numerical estimate can also vary across runs. The observed instability indicates that the reported implementation does not produce a fully smooth and reproducible progression. The experiment does not isolate the relative contribution of the priors, the gap between thresholds and the sampling procedure. It shows the behaviour of those choices working together.
Limitations
Limits identified by the authors
The authors describe the grammatical and semantic coverage as a developing fragment. It includes generalised quantifiers, sentential and verb-phrase negation, various modifiers, measurement expressions, comparatives and connectives. The system treats common nouns and verb phrases as monadic predicates, meaning that the corresponding basic classifiers apply to an individual. A successful connective or comparative example therefore establishes coverage within the represented fragment. The general machinery still depends on a grammatical analysis and a semantic interpretation being available for the expression in question.
The authors identify inconsistent premises as a limit on the inference procedure. Conditioning requires candidate situations in which the assertions hold together. Adding an incompatible premise can make the computation diverge and leave the query unanswered. In that operational sense the authors say the consequence relation is non-monotone. Their point concerns what happens when a further premise destroys the possibility of constructing an admissible situation, even after an earlier set of premises had supported a conclusion. The sentence-level validity results leave that limitation in place because they test a different operation.
They also identify problems with chains of universal affirmatives. The paper explains the illustrated failure through the directions and thresholds used to approximate universal inclusion. In discussing further work, it also connects difficulties with longer transitive chains to errors in numerical integration. These are distinguishable sources of difficulty. One is the condition used to interpret a universal in the current implementation. The other is the accuracy of the computation used to estimate probabilities. The authors propose exploring symbolic integration where feasible, with sampling used when symbolic computation is impractical.
Nested quantifiers create an explicit computational burden. The authors retain the costlier interpretation because it distinguishes readings that become equivalent under the joint treatment of pairs. This makes practical scope coverage depend partly on how much inner sampling an argument requires. The paper's design discussion gives a reason to expect sampling costs to rise, and it leaves open what range of deeply nested cases can be handled routinely.
For vague measurement predicates, the authors regard the experiment as encouraging and explicitly describe the progression as unstable and incompletely incremental. The observed pattern contains both clear regions and irregularity near the changeover. They identify improvement of measure predicates as a priority. They also plan to examine the formal properties of the two-negation logic and consider a more efficient encoding. The current system demonstrates how the distinction can be implemented, while the broader account of its logical properties remains open.
The authors flag material implication as a semantic choice to revisit. It supplies a Boolean interpretation for if … then …, including cases in which the antecedent is false. A conditional-probability interpretation would change what these sentences contribute to the inference. The paper presents that as a direction for investigation. Its implemented conditional results are consequently evidence about the material reading adopted in BIS.
Finally, the authors describe the suite itself as work in progress. They want labels that distinguish more specific semantic phenomena and give information about example complexity. Such a hierarchy could help diagnose a failure on a simpler instance when a more complex instance receives the expected result. They also note that probabilistic arguments need to be formulated carefully if their probability questions are to be well posed. A test suite can contain grammatical and intuitively familiar arguments whose premises still leave the intended numerical judgment underspecified.
Limits of the evidence
The worked probabilities depend on the priors and the constraints introduced by the chosen premises. In the musician example, those constraints tell us how common the property must be in the relevant population. The estimate for John then follows in a setting with no individual evidence about him beyond what the example gives. The result is interpretable as the response of BIS to that setup. It supplies no independent estimate of actual musician prevalence or of the reliability of a natural-language judgment about an identified person.
The probabilistic claims are about intended support from the premises, with lexical and world knowledge deliberately contained within the argument. This gives a clean test of composition and conditioning. It also precludes conclusions about the system's ability to recover unstated knowledge, select the relevant meaning of an unfamiliar word, or evaluate an open-ended argument that relies on knowledge of the world. The paper relates its task to textual entailment while choosing a setting that controls what information the system can draw on.
Several examples are identified as successes by comparison with classical validity or by the authors' assessment that the direction of the result is reasonable. That is informative when the main question is whether an inference can be represented and reproduced. It leaves calibration unmeasured. An estimate of 0.7 for the punctuality item, for example, is a precise reported output. The paper provides no independent reference probability for that example and no distribution of human judgments against which to judge its numerical closeness. At the strongest end of the scale, a reported 1 from a sampling procedure likewise has to be read together with the form of the argument and the implemented interpretation.
The experimental suite was constructed in conjunction with development of BIS. The paper reports selected item-level behaviour and the repeated height experiment. Its account lacks a split that would support a claim of held-out generalisation, a suite-wide score that could summarise coverage quantitatively, and a direct comparison with another implementation. The total of 78 items establishes the size of the suite. It cannot stand in for any of those evaluation results. Statements about individual cases retain their force without supplying an estimate of average performance across inference tasks.
The height experiment supplies repeated observations at selected values but gives a limited view of how the treatment would generalise. One adjective, a fixed set of named examples, and one family of queries make the transition easy to inspect. The design leaves open how stable the progression would be with a different distribution of example heights, other measurement predicates or a different mix of positive and contrary judgments. It also leaves the comparative benefits of alternative threshold schemes unmeasured. The gap explains how BIS can represent the outcome, while the reported experiment shows how this particular implementation behaves under the specified premises.
The authors suggest collecting human judgments on an ordinal scale and mapping them to probability values or ranges. They also propose testing against categorical inference cases from FraCaS and examining how BIS scores align with positive, negative and unknown judgments. These are proposed evaluations. The paper's examples support claims about the implemented system's behaviour and expose places where its design needs improvement. Broader claims about agreement with speakers or performance on standard logical inference material await those evaluations.
What came after
The paper sets out several directions for continuing BIS. It identifies no completed follow-up that establishes whether those directions were carried out. The proposed work spans the test material, the numerical procedure and the interpretation of several constructions.
For evaluation, the authors envisage judgments collected from multiple readers, with scores on an ordered scale mapped to probabilities or probability ranges. Mean judgments could provide a target against which to compare BIS estimates. They also propose using FraCaS as a source of categorical inference problems, with the possibility of collecting graded judgments for those problems. This would extend evaluation beyond the examples developed with BIS and help distinguish successful analysis of an argument from agreement with an independent target.
For computation, the authors propose solving the required integrals symbolically when possible and using Monte Carlo estimates in the remaining cases. That proposal addresses the numerical side of the difficulty exposed by chains. The special interpretation of every poses its own question about how to preserve inclusion along a chain. The paper's examples give separate grounds for investigating the calculation and the representation.
For semantics, the authors propose comparing material implication with a conditional-probability reading and examining the logic that results from sentence-level and predicate-level negation. The conditional question concerns what evidence a sentence contributes when its antecedent is uncertain or false. The negation question concerns which consequences survive when a lexical predicate and its contrary leave a region of indeterminacy. Both directions continue the paper's effort to make distinctions in ordinary wording observable in the probabilities and judgments returned by an implemented inference system.
Cite
Cite as Jean-Philippe Bernardy, Rasmus Blanck, Stergios Chatzikyriakidis, Shalom Lappin and Aleksandre Maskharashvili. 2019. Bayesian Inference Semantics: A Modelling System and A Test Suite. Proceedings of the Eighth Joint Conference on Lexical and Computational Semantics (*SEM 2019).
@inproceedings{bernardy2019bayesian,
title = {{Bayesian Inference Semantics: A Modelling System and A Test Suite}},
author = {Jean-Philippe Bernardy, Rasmus Blanck, Stergios Chatzikyriakidis, Shalom Lappin and Aleksandre Maskharashvili},
booktitle = {Proceedings of the Eighth Joint Conference on Lexical and Computational Semantics (*SEM 2019)},
year = {2019},
doi = {10.18653/v1/s19-1029},
url = {https://doi.org/10.18653/v1/s19-1029}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/bernardy-2019-bayesian-inference-semantics-modelling-system/