Describing Spatial Relationships between Objects in Images in English and French
Paper · 2015 · Anja Belz, Adrian Muscat, Maxime Aberton et al.
Summary
A picture can show a dog and a car clearly enough for a person to name both. Describing the picture also means deciding whether the dog is in the car, beside it, or somewhere else in relation to it. The authors isolate that decision from the rest of image description. They give a system the names and bounding boxes of the objects, then ask it to choose a spatial preposition. Their study covers two languages, English and French.
The authors gathered judgments by showing people an image with the objects marked and asking which expressions could fill a blank between their names. Annotators could accept several expressions, and they considered the objects in both orders. The English choices came from spatial expressions found in existing image descriptions. The French inventory began with possible translations and was revised after inspection of example images. The evaluation uses 1,000 image/object-pair items per language. Each item has a set of acceptable answers, so a prediction can receive credit even when a different wording would also fit the scene.
The authors compare geometric rules with a Naive Bayes classifier that combines evidence from object categories and box measurements. The categories tell it which expressions have been used for that ordered combination of objects in training. The measurements tell it how well the arrangement matches the geometry previously associated with each expression. With leave-one-out cross-validation, the combined classifier leads on exact first-choice accuracy in both languages. Its scores are 51.0% in English and 46.7% in French, compared with 21.2% and 30.4% for the geometric rules. When any of its top candidates through n = 4 can earn credit, its exact accuracy is 68.1% in English and 72.4% in French.
The evaluation also shows how much the answer depends on what counts as a match. Accepting designated near synonyms raises the combined classifier’s first-choice accuracy to 57.2% in English and 47.5% in French. The language inventories and synonym groupings differ, so scores across languages reflect the evaluation choices as well as the classifier’s predictions. The component comparisons support a more direct conclusion. Object categories and geometry each provide evidence about which word to choose, and using both produces a better first choice on these data than relying on either alone.
Deep dive: Describing Spatial Relationships between Objects in Images in English and French
How the authors used object labels and bounding boxes to choose spatial prepositions for pairs of objects in English and French image descriptions. · about 35 minutes to read
The problem and its context
What a preposition contributes to an image description
Naming the objects in a picture identifies some of its contents. A spatial expression tells the reader how those contents fit together. A dog in a car describes a different arrangement from a dog near a car, although both phrases name the same objects. In the applications the authors discuss, such as assistive technology and text-based image search, these relationships are part of the information that a description can convey. An inventory of visible objects leaves the reader to supply them.
An image description can also communicate an activity. A child riding a bike illustrates that kind of information in the paper’s introduction. Activity and position can both matter in a description, but selecting a spatial expression gives the authors a target they can assess separately. The output they study is the word or phrase that connects a specified pair. They can test whether that expression fits without having to decide whether an entire caption is fluent, informative, or complete. In the broader field, this is a problem at the intersection of vision and language and text generation.
Even with the objects specified, the task calls for more than reading their coordinates. A human viewer uses experience with pictures and with the objects they depict. A car can contain a dog. A person and a bicycle can be arranged in a way that makes sense in light of an activity the picture suggests. The viewer can frequently make these judgments from a flat image. The authors ask how far a system can get with information about object classes and the arrangement of their visible bounding boxes, without giving it explicit knowledge of what the objects can do or how the scene is laid out in depth.
The order of the objects is part of the question. If a dog is inside a car, placing the car in the first position of the sentence changes the relation that the blank must express. The same holds for a pair described with under or on. Even when an expression might work in both directions, people may prefer to describe one member of the pair relative to the other. Showing the objects in both orders makes direction an explicit property of the data. It also leaves room for preferences associated with the relative sizes of the objects, a possibility the authors raise.
There is a second source of variation once the order is fixed. A person might accept near and close to for the same picture, or select an expression that conveys a different aspect of the same arrangement. Something can be both behind another object and near it. The paper’s task therefore involves choosing a usable phrase from an inventory when several answers may be defensible. This differs from assigning a pre-defined geometric category to each picture. The evaluation needs evidence about how people describe the particular objects they see.
Where earlier systems handled the decision
As the authors describe it, earlier image-description research often generated spatial language through the workings of a larger system. They cite work by Mitchell and colleagues and by Kulkarni and colleagues as examples. When a complete caption happens to contain a spatial preposition, the caption can be evaluated as a whole. That evaluation does not by itself tell a researcher whether a different expression would have fit the pair, or whether the system had a reliable procedure for choosing among such expressions.
The paper also distinguishes the scale at which a relationship is expressed. It cites work by Yang and colleagues in which a relation can link an object to a scene. The pairwise question here is narrower. The system is asked to describe the position of a marked object relative to another marked object. A sentence about where a person is within a broader scene might be perfectly informative while leaving the relation between a bicycle and that person open. The unit being described determines what kind of labels, image measurements, and judgments the experiment needs.
Elliott and Keller provide the closest precedent for treating preposition choice separately. Their approach uses visual relations defined by geometric rules. This gives the authors a concrete comparison. They can implement rules that turn measurements into spatial terms and ask how often those terms agree with human choices. The rules also illustrate a practical dependency. A relation can have a clear interpretation and still be hard to compute from the annotations available for a new collection. Relative depth becomes the most important example of that problem in the implementation.
The authors also discuss spatial language in referring expression generation. Work by Viethen and Dale and by Golland and colleagues treats relations as potential resources for identifying an object. If several objects could fit a noun phrase, a spatial relation may help a reader find the intended one. As the authors characterize this line of research, the system frequently starts with an abstract description of the objects and scene, and its job is to select identifying information from that description. In the present task the objects are already specified. The uncertain part is which relation can be expressed from the image evidence.
These earlier settings separate questions that can look alike in fluent prose. A captioning system has to decide which details to mention. A referring expression system has to help single out something. The experiment in this paper fixes the two objects and concentrates on the choice of a phrase between them. That narrower input and output are what make it possible to compare a direct geometric rule with evidence learned from object categories and from examples of how people described comparable arrangements.
The method, step by step
From an image to an annotated pair
PASCAL VOC 2008, which the authors call VOC’08, supplies the original images and object annotations. The full collection contains 8,776 images and 20,739 annotated objects in 20 classes. A class label identifies an object as a member of a category such as person, bicycle, or bottle. Each annotated object also has a bounding box, a rectangle aligned with the image axes and drawn around the visible extent of the object. The collection records whether a high level of occlusion is present, which gives the authors a coarse way to tell that another object conceals part of the marked object.
Those annotations serve different purposes. The class labels tell the system what kinds of things it is relating. The boxes provide measurements of position, extent, and overlap. The occlusion indicator is available for adapting rules that require some indication of depth. An image reproduced in the paper shows a person with bicycles and illustrates how the annotations pick out individual objects, including objects of the same class. The descriptions accompanying that image refer variously to the bicycles, the person holding them, and the surroundings. The annotations and the descriptions provide different ways to read the same scene.
The earlier caption collection is VOC’08 1K, assembled for Collecting Image Annotations Using Amazon’s Mechanical Turk. It covers 1,000 VOC’08 images, sampled randomly with the aim of an even distribution over object classes. Workers supplied five descriptions for each image. The earlier study screened workers on their record of accepted tasks and on a language competence test. These are whole-image descriptions, written before the pairwise judgments in the present study. Their role here is to supply evidence about the kinds of spatial expressions people already use when describing pictures.
To build the English inventory, the authors ran the Stanford parser, version 3.5.2, with its PCFG setting on the 5,000 descriptions. A PCFG assigns probabilities to grammar rules used in constructing a parse. For this study the parse is a way to locate candidates. The authors retrieved the relations marked nmod:prep, which identify prepositional modifiers in the analysis they used. They then manually removed uses they judged nonspatial. The result was an inventory of 38 English prepositions and prepositional phrases, ranging from short words such as on and under to expressions such as in front of and close to. Finding the candidates draws on parsing.
Drawing an inventory from captions gives it a connection to actual descriptions, while leaving the subsequent task open. A caption author may mention a relation to a part of the scene that is outside the marked pair, or favor an activity over a location. Once an expression has entered the inventory, the new annotators have to decide whether it can describe the specific two objects in the specified order. Thus inclusion in the English inventory concerns how the phrase was found. Inclusion in the reference answers for a given item concerns a separate judgment about that image.
The French inventory was developed by starting with possible translations of the English expressions, then checking the resulting choices against 200 example images. The check led to additions and deletions. The final French inventory contains 21 entries, with no one-to-one correspondence to the English choices. An English distinction need not produce separate French candidates, and a French candidate need not occupy the role of a unique English counterpart. This matters to the later comparison because the two classification tasks have their own answer spaces.
The new linguistic annotation targeted the 1,020 VOC’08 images that had exactly two annotated objects. For a given presentation the annotator saw the image, the boxes, and the labels that identified the objects. When the objects shared a class label, indices distinguished them. The indices followed decreasing box area, allowing the sentence prompt to refer to the marked objects individually even if their category names were identical. The annotator’s task was to decide which available expressions accurately completed a simple sentence putting one label in relation to the other.
The same pair appeared with the object labels in each order. In the English task the sentence frame supplied the definite articles. In the French task the determiners were already part of the translated labels, so the sentence frame could use the labels directly around the equivalent of is. Participants were asked to mark every suitable expression. There was also an option for cases where none of the choices worked, though the English task discouraged its use. This procedure records a set of possible ways to describe the pair as presented, rather than asking the annotator to rank them.
The mean number of selected prepositions per pair was 2.01 for the English annotation task and 1.73 for the French task. Those values describe accepted expressions under each task’s inventory. Each expression supplies a supervised training target. If a presentation has several accepted phrases, the training preparation makes a separate instance for each one, keeping the ordered objects the same. At evaluation time the alternatives can be treated together as the reference set for the pair. The distinction lets the learner count and fit individual expressions while the scoring procedure can acknowledge multiple answers.
From annotated images to ranked spatial prepositions
The steps in order.
Mapping geometry directly to a phrase
The rule-based method implements the geometric relations from the earlier visual grammar. It receives the two boxes in the specified order and can return a set of prepositions. Most rules are associated with the term used to name their relation. For the relation called surrounds, the implementation returns around. The corresponding French output is obtained by translating the rule vocabulary. Consequently, the same decisions about geometry determine which terms the rules can offer in either language.
Several checks can contribute expressions for the same pair. The containment check adds around when the overlap covers 100% of the second object’s box area. The support-related check adds on when the overlap is greater than 50% of the first object’s box area. The two checks use different denominators. The numerator is the shared area of the rectangles. The first question is whether all of the second rectangle lies in that area. The second asks whether enough of the first rectangle lies there. The choice of denominator gives the rule a direction even though the raw overlap is the same when the objects are reversed.
For the depth relations, the earlier definitions rely on manual information about which object is behind the other. The available occlusion flag applies to an individual object and does not identify its occluder. The authors use the flag together with overlap as an approximation. They add in front of if the second object is marked as occluded and the overlap exceeds 50% of its box area. If that condition does not hold, they check whether the first object is marked as occluded and whether overlap exceeds 50% of its area. When that second condition holds, the rule adds behind.
Finally, an angular branch adds a term from a group of directional expressions. The angle is based on the centers, or centroids, of the boxes, and the rules use the paper’s own angular convention. A centroid angle strictly between 225 and 315 yields above. An angle strictly between 45 and 135 yields below. If neither interval applies, the procedure checks the visual grammar’s conditions for opposite and returns it when they are met. Otherwise the branch contributes beside. This part of the procedure makes a single choice, whereas the earlier containment, support, and depth checks can contribute additional terms.
The result is a set without a confidence score. A pair can satisfy an overlap rule and also receive a directional term based on the position of the box centers. This gives the approach a way to express several aspects of the same arrangement. A system that needs to choose a single expression still has to decide which applicable relation to say. That question becomes important when the authors compare the first-choice performance of the rules with a method that produces an explicit ranking.
Learning which terms the object classes favor
The learned approach asks how much evidence supports each candidate. Its category component counts what people said about ordered combinations of object labels in training. If the first label is dog and the second is car, the relevant frequencies are for that order. Reversing the labels may change which alternatives are plausible and therefore which ones have high counts. The labels enter this component as categories, with no description of the objects’ functions or physical properties attached to them.
The paper introduces the probabilistic setup by combining a prior with a likelihood. A prior expresses how plausible a candidate is before the geometry of the particular pair has been taken into account. A likelihood measures how compatible the observed geometry is with that candidate. The posterior is the resulting assessment of the candidate once the features have been observed. The general relation is written as a proportionality.
P(vⱼ | F) ∝ P(vⱼ) P(F | vⱼ)
P denotes probability or, for the continuous feature likelihoods, the corresponding density. vⱼ is a candidate preposition, with j identifying which entry in the inventory is under consideration. F is the vector of observations, and the vertical bar separates what is being assessed from what is assumed known. On the left, the expression concerns the preposition given the observed features. On the right, P(vⱼ) is the prior and P(F | vⱼ) is the likelihood of those features for that preposition. The proportionality sign ∝ indicates a common normalization factor across candidates for the same observed input. For choosing the highest-scoring candidate, the relative sizes of the products suffice.
In the classifier used in the paper, the category prior is conditioned on the ordered labels. The authors estimate it by counting the accepted prepositions for each label combination in training. They use add-one smoothing and normalize the adjusted counts to get a probability distribution. Smoothing leaves a candidate with some probability even if its expression has not appeared with that label combination in the training examples. A sparse count for an object pair can therefore influence the combined score without automatically ruling out every expression outside the recorded examples for that pair.
The authors evaluate the prior separately by using it to make a prediction on its own.
vₒₗ = argmax over vⱼ ∈ V of P(vⱼ | Lₛ, Lₒ)
vₒₗ names the choice made by the object-label component. argmax returns the candidate that maximizes the following quantity. V is the appropriate language’s inventory, vⱼ is a candidate in it, and ∈ denotes membership. Lₛ is the class label of the first object and Lₒ the label of the second. The two labels after the vertical bar specify the ordered context for estimating P. The output on the left is set equal to the best candidate. This decision can be made without consulting either box.
The comparison makes it possible to ask what information the class names carry on their own. A label pair can be associated with familiar arrangements, and the counts can capture those associations indirectly. At the same time, the category component gives the same ranking to two scenes with the same labels in the same order. A dog beside a car and a dog in a car receive the same prior. If the two scenes are to receive different rankings, the observed arrangement has to enter elsewhere.
Describing the arrangement with box measurements
The other component describes the image geometry with six features. The first, F₁, is the area of the first object’s box normalized by image size. F₂ gives the corresponding quantity for the second box. Normalizing relates the visible extent of each object to the image in which it appears. The classifier can use these measurements to distinguish a box that occupies much of the frame from one that occupies little of it without treating the raw pixel area as meaningful in isolation.
F₃ is the area of the first box divided by that of the second. It gives relative scale directly. Though the two image-normalized areas already convey information about both sizes, the ratio makes their relation an explicit input. The ratio depends on the ordering of the objects. A pair can have the same boxes in both presentations while the size relationship conveyed to the classifier changes because the numerator and denominator have exchanged roles.
F₄ measures the distance between the box centers, normalized by object size. Center distance helps distinguish objects that are separated in the image from objects close to one another. Conditioning that distance on object size gives the gap a scale associated with the objects. The same separation between centers can have a different geometric meaning for two large boxes than for two small ones. The paper characterizes the normalization in terms of object sizes without giving a more detailed expression for the divisor.
F₅ is the area shared by the two boxes normalized by the area of the smaller box. The feature describes the amount of overlap relative to a box that could be covered by it. The area is symmetric in the two members, so reversing the names preserves this measurement. Other inputs can still distinguish the directions. In particular, the learned overlap feature has a single definition, whereas the handcrafted rules explicitly divide the overlap by different boxes to test different relations.
F₆ describes the position of the first box relative to the second as a category. It takes one of the four values N, S, E, or W, the north, south, east, and west directions. The earlier features are real-valued. This last feature represents a region of relative position rather than treating direction as another continuous measurement. It gives the system evidence about the way the objects are arranged in the picture, with the order deciding which object’s location is expressed relative to which.
For every preposition, the authors fit the distributions of these features from the training examples carrying that preposition. They use Gaussian distributions for F₁ through F₄, a clipped polynomial function for F₅, and a discrete distribution for F₆. The Gaussian distributions describe how the observed measurements gather around typical values for the expression. The polynomial fit handles the overlap feature separately. The discrete distribution assigns probabilities to the direction categories. Thus the method learns what box arrangements the word has accompanied, with a different type of distribution available for different measurements.
The geometry-only predictor picks the expression with the highest joint likelihood under the conditional independence assumption. Its computation can also be understood as the complete classifier with a uniform prior, giving each candidate equal standing before geometry is considered.
vₘₗ = argmax over vⱼ ∈ V of ∏ᵢ₌₁⁶ P(Fᵢ | vⱼ)
vₘₗ is the maximum-likelihood prediction. As before, argmax selects the maximizing candidate vⱼ from the vocabulary V. The product sign ∏ means to multiply the factors indexed by i, beginning at 1 and ending at 6. Each Fᵢ denotes the observed value of the feature with that index. P(Fᵢ | vⱼ) is the fitted probability or density for the observation if the candidate is vⱼ. The expression to the right of the equals sign therefore chooses the candidate for which these geometric observations are most compatible in combination.
The likelihood can distinguish arrangements with identical category labels because the boxes can move or change in size. It also treats two different label pairs similarly when their measured geometries are similar. That latter property sets up a useful test. If a shape or layout supports several phrases and their plausibility depends on the objects involved, the likelihood alone has no category information to settle the matter.
Combining the evidence and making a choice
The Naive Bayes classifier combines the prior and the likelihood. Within the likelihood, it assumes the features are conditionally independent given the candidate expression. In practical terms the classifier looks up how plausible each observed feature value is for that expression, then multiplies those quantities. The feature definitions make the simplification visible. The two absolute box areas and the area ratio are connected by construction. The classifier still treats the measurements as separate contributions to the expression’s score.
vₙᵦ = argmax over vⱼ ∈ V of P(vⱼ | F₁, …, F₆, Lₛ, Lₒ) = argmax over vⱼ ∈ V of [P(vⱼ | Lₛ, Lₒ) ∏ᵢ₌₁⁶ P(Fᵢ | vⱼ)]
vₙᵦ denotes the prediction of the complete classifier. The first argmax chooses vⱼ in V by its posterior probability given all the geometric features, from F₁ through F₆, and the ordered labels Lₛ and Lₒ. The ellipsis represents the intervening features. On the right the brackets enclose the score used for the same choice. P(vⱼ | Lₛ, Lₒ) supplies the category prior, and ∏ᵢ₌₁⁶ multiplies each conditional geometric score P(Fᵢ | vⱼ). As in the earlier equations, P gives a probability or a density according to what it describes, ∈ identifies the candidate as an inventory member, and the vertical bar indicates conditioning. The second equals sign says that the two expressions for selecting the candidate lead to the same choice under the factorization the classifier uses.
This combination can change the order of candidates in either direction. When the geometry gives similar likelihoods to several expressions, label frequencies can favor one that people often use for those kinds of objects. When the label prior favors a common relation, the geometry can support a different expression for a particular image. The experiment measures the outcome of this weighting. It does not require a separate rule for deciding when a category cue should take precedence over a geometric cue.
The scores also provide more than the winning choice. The authors can rank candidates by the prior alone, by the likelihood alone, or by their product. The top-ranked candidate answers the practical question of what expression the system would say. A longer prefix answers a different question about whether the system assigned a suitable expression a relatively high position. For the handcrafted rules, which return a set, the authors need an additional evaluation procedure to make those questions comparable.
Experiments and results
Items, comparisons, and scoring
The English and French datasets used for the reported results each comprise 1,000 image/object-pair items. These are the items with new preposition labels, distinct in purpose from the earlier whole-image descriptions used to find English candidates. The paper describes leave-one-out cross-validation. Training and testing are repeated with a held-out item, so the predictions are assessed against labels left out of the corresponding fitting step. The evaluation therefore estimates how the methods perform on held-out material within these collections. The data preparation expands the accepted expressions for training, while matching the resulting predictions against the references associated with the ordered pair.
There are four systems in the main comparison. The rule-based classifier converts geometric relations into a small vocabulary of possible outputs. The object-label prior gives the most probable prepositions for the ordered class labels. The maximum-likelihood classifier chooses from the geometric evidence alone. The complete Naive Bayes classifier uses the product of the category prior and the geometry likelihood. This design supplies both a comparison to the earlier geometric approach and comparisons between the learned components.
The rule-based classifier needs special handling because its output has no ranking. Its set contains between 1 and 4 expressions. Using the order in which the rules happen to add terms would give precedence to incidental details of the implementation. Instead, the authors shuffle the output set and treat the shuffled positions as ranks. They average the resulting scores over 10 random shuffles. When the allowed prefix reaches n = 4, the complete rule output can be considered, so the order within that output no longer affects the match.
The main metric, accuracy A, gives each ordered pair the same role in the score. At n = 1, the result counts as correct when the first prediction is in the human reference set for that pair. At a larger n, the decision checks whether any prediction in the allowed prefix is in the set. An item with several reference expressions can pass on any of them. The authors interpret this metric as a system-level measure of precision, in the sense that it records how frequently the system produces an acceptable answer for an item under the designated output cutoff.
Accuracy B changes the unit of the assessment. For a given expression, the denominator is the set of cases in which annotators selected that expression. The score tells how frequently it turns up among the allowed predictions in those cases. The average of the expression-level scores gives the B result. The paper describes this as a form of recall at the preposition level. An item with several references can contribute to the evaluation of each expression it contains. A system could therefore match a valid reference for the item and still miss another expression whose recall is being measured.
Both accuracy measures also have a near-synonym version. A candidate that differs from a human answer can receive credit when it belongs to the designated group for that answer. For instance, the English group containing beside also includes by and next to. The French evaluation groups en dessous de with sous. Elsewhere in the inventory, an expression may be evaluated on its own. The resulting evaluation uses 22 groups for English and 18 for French, counting the singleton groups described by the authors. The groups define an evaluation convention about near equivalence.
The authors give first-choice accuracy A the most weight because a description normally needs one expression at the relevant position. Synonym-aware first-choice accuracy gives some indication of how many outputs might be accepted under a broader matching convention. Accuracy with longer candidate prefixes tells how often a usable expression is available higher in the ranking. Accuracy B answers whether that coverage reaches the different expressions that people used. Keeping these questions separate helps explain why a classifier can perform better on one reported score than on another.
The first expression in the ranking
On English exact first-choice accuracy A, the rule-based system scores 21.2%, the object-label prior scores 34.4%, and the geometry likelihood scores 30.9%. Combining the learned sources raises the score to 51.0%. The prior and likelihood each improve on the rules for this metric, and the full classifier improves on both. The latter result is important because the components could have offered redundant evidence. Their combined performance shows that, for this measure, the information retained by one component helps when the other is already present.
Exact first-choice accuracy A on the English object-pair dataset
Combining object labels and box geometry gives the highest first-choice accuracy.
The numbers
| System or setting | accuracy % |
|---|---|
| Geometric rules | 21.2% |
| Geometry likelihood | 30.9% |
| Object-label prior | 34.4% |
| Naive Bayes (this paper) | 51.0% |
In French, the exact first-choice accuracy A results are 30.4% for the rules, 41.4% for the object-label prior, 25.6% for the geometry likelihood, and 46.7% for the combined classifier. The ordering among the weaker methods differs from English. Here the rules score above the learned geometry likelihood, and the object-label prior is the strongest single source. The full classifier still leads. This means that the weaker performance of geometry on its own is compatible with a contribution from geometry once the ordered categories have been taken into account.
Exact first-choice accuracy A on the French object-pair dataset
The combined classifier leads, and the object-label prior is the strongest of the other settings.
The numbers
| System or setting | accuracy % |
|---|---|
| Geometry likelihood | 25.6% |
| Geometric rules | 30.4% |
| Object-label prior | 41.4% |
| Naive Bayes (this paper) | 46.7% |
Allowing the designated near synonyms changes the level of first-choice accuracy A in both languages. In English the rules reach 31.2%, the category prior 43.9%, the geometry likelihood 35.6%, and the complete classifier 57.2%. In French the corresponding results are 32.7%, 41.8%, 26.8%, and 47.5%. The match changes for some predictions even though the classifiers and their outputs stay fixed. The English scores are more affected by this evaluation choice, consistent with the paper’s observation that near synonyms play a particularly visible role in the English data.
What changes when more candidates can count
As the candidate prefix grows, more items receive credit. On English exact accuracy A the combined classifier scores 64.5% at n = 2, 67.4% at n = 3, and 68.1% at n = 4. Its synonym-aware results for those cutoffs are 65.6%, 69.9%, and 70.7%. A suitable term is therefore often present in the higher ranks even when the winner misses the reference set. The practical significance depends on how the output is used. A single generated phrase uses the winner, while a later selection stage could potentially make use of the higher-ranked alternatives.
On French exact accuracy A the combined classifier reaches 64.2% at n = 2 and 72.4% at both n = 3 and n = 4 as reported. With synonym credit the scores are 64.4%, 72.6%, and 72.9%, respectively. The paper’s conclusion that the combined approach beats its alternatives in each language is supported across these cutoffs. Its relative standing between the languages depends on which cutoff is considered. The exact first-choice result is higher in English, whereas the exact accuracy of the larger candidate pool is higher in French at n = 3 and n = 4.
At n = 4, the English rules score 32.8% on exact accuracy A. The English category prior reaches 53.1%, and the geometry likelihood reaches 58.4%. The corresponding French scores are 42.2%, 57.9%, and 52.7%. Thus the English geometry likelihood trails the category prior on the first choice but places a valid term somewhere in the broader prefix more often. In French the prior remains ahead of the likelihood at the wider cutoff. This difference is part of what gets obscured when a system is described using a single score without specifying how many outputs can count.
The geometric rules have a structural disadvantage when the pool is widened. Some rule outputs contain only a single candidate, so increasing the cutoff for those items adds nothing. Other outputs can contain several candidates, and increasing the cutoff makes more of the set visible. For the learned methods, the scoring function produces a ranking over the available inventory. This comparison still answers an operational question about the predictions each method actually makes. Its interpretation involves both the ranking and the number of candidates a method can supply.
The chart below holds the language and scoring convention fixed for the broadest English cutoff reported. It compares the systems when a reference match anywhere in their available prefix can count. The first-choice charts answer the separate question of how frequently the first expression already fits.
Top-four exact accuracy A on the English object-pair dataset
The combined classifier offers the most reference matches, and geometry alone places a match in the prefix more often than object labels alone.
The numbers
| System or setting | accuracy % |
|---|---|
| Geometric rules | 32.8% |
| Object-label prior | 53.1% |
| Geometry likelihood | 58.4% |
| Naive Bayes (this paper) | 68.1% |
Which expressions the systems retrieve
The preposition-level tables compare the combined classifier with the rules. They show frequent expressions and also make room for less frequent terms that the rules can predict. The reporting threshold is a frequency of 20 for English and 10 for French, with the rule vocabulary providing the stated exceptions. The tables give a view of whether a system’s success extends across the inventory. A frequent term can contribute to many accurate pair-level predictions, while high recall on that same term says little about a system’s treatment of a rarely selected term.
For the English combined classifier, exact first-choice accuracy B is 72.2 for on and 58.3 for beside. It is 53.3 for underneath and 43.6 for near. Each figure is a percentage of the reference cases for that expression in which the classifier returned it first. The contrast with nearby expressions can be substantial. The score is 10.7 for on top of under exact matching. When synonym credit is allowed, the reported first-choice B score for on top of is 80.6. The evaluation groups it with on, atop, and upon, so a prediction of a different member can satisfy that reference.
English proximity terms provide another example of what changes when a broader ranking or a broader match is permitted. Next to has an exact first-choice B score of 23.0 for the complete classifier, and beside has a higher exact score. With synonym credit, their first-choice scores are 73.7 and 75.8 respectively. At n = 4, even with exact matching, the scores are 93.1 for next to and 91.9 for beside. These results describe two sources of recovered credit. The first is accepting a member of an evaluation group, and the second is allowing the system to have ranked the desired expression below its winner.
In French, the complete classifier’s exact first-choice accuracy B is 78.9 for sous, 53.0 for sur, and 56.5 for dans. Other expressions are retrieved less readily. Le long de scores 7.5 on the same measure and reaches 22.5 at n = 4. En dessous de scores 12.2 on exact first-choice recall and 56.8 with near-synonym credit, consistent with the effect of recognizing the group that includes sous. This comparison shows that words about related spatial arrangements can behave quite differently if the evaluation requires the exact expression an annotator selected.
The mean rows of the English table give the complete classifier 24.3 exact first-choice accuracy B and 41.1 with synonym credit. For the French table the corresponding means are 30.7 and 37.1. With exact matching at n = 4, the reported means are 67.4 in English and 70.1 in French. These percentages summarize retrieval of particular expressions rather than acceptability of one output per pair. They are especially useful alongside accuracy A because a top prediction can be acceptable for an item while still failing to retrieve other words the annotators provided for it.
The rules also have local strengths. The authors single out beside in English and à côté de in French. These are available directly from the rule vocabulary. When the rule checks leave a pair in the configuration described by that branch, the system has a way to supply the term with no learning from examples. The combined classifier’s advantage on the aggregate scores therefore coexists with cases and expressions for which a rule has good coverage. The individual rows help explain a baseline that would otherwise be seen only through its overall accuracy.
What the ablations show
What labels and geometry each contribute
The component comparisons serve as the paper’s ablation of the combined classifier. The authors run the category prior by itself and also run the geometry likelihood with equal prior weight for the candidate expressions. The underlying inputs remain the object classes and the geometric measurements used by the complete system. This makes the comparison more specific than the comparison with handcrafted rules. It asks what happens when the learned decision uses only one source of evidence under the same evaluation.
Ordered labels are the stronger single source for first-choice accuracy A in both languages. In English, the exact scores for the prior and likelihood are 34.4% and 30.9%. In French they are 41.4% and 25.6%. The prior also leads the likelihood on the synonym-aware first-choice evaluation in each language. These results show that knowing which objects are involved helps to choose the expression people accept. They do not identify whether object affordances, recurring arrangements in the collection, habitual language choices, or some combination of those explanations gives the counts their predictive value.
The geometry likelihood offers a different pattern. In English its advantage over the prior at n = 4 comes from putting an acceptable choice in the allowed prefix more often. Its lower first-choice result shows that it does this less consistently in the highest position. That distinction fits the problem posed by overlapping spatial descriptions. Measurements can support several plausible relations for the same pair of boxes. If the likelihood scores these closely, evidence about the categories may help decide which should be said first. The comparison establishes the relative performance of the components. It does not trace individual ranking changes to particular objects or measurements.
Using the two sources together is best even when geometry is the weaker component on its own. In French, for example, combining it with the category prior yields 46.7% on exact first-choice accuracy A, compared with the prior’s 41.4%. This is evidence that geometry contributes to the decision under the combination the paper tests. It does not require geometry to be the best predictor in isolation. The difference between the two evaluations is whether the geometric evidence has to carry the choice by itself or can modify a ranking already informed by the object labels.
The paper does not report removing area, overlap, distance, and direction individually. The experiment consequently supports conclusions about the group of box features. It leaves open which particular measurements account for the improvement and whether a differently specified likelihood could do as well with fewer measurements. This matters because some features describe related properties of the same boxes. The side-by-side component results test the data sources as used by the authors, without establishing an independent contribution from every term in the product.
Changing which answers receive credit
The synonym analysis is a controlled change to scoring. The same predictions are evaluated first against the exact answers and then with permission to match a designated near synonym. In English, the change is visible in both the pair-level results and individual preposition scores. A term such as on top of can have low exact first-choice recall when the system favors another term in its group. The broader matching rule gives credit for that group membership. It exposes a source of apparent error that would be difficult to see in the overall exact result alone.
The effect varies by expression and language. French en dessous de also benefits from comparison with a partner in its group, even though the French combined classifier’s overall first-choice accuracy A changes relatively little when near synonyms count. A small aggregate change can therefore coexist with a strong effect on the treatment of particular expressions. Moreover, expressions evaluated as singletons gain nothing from a near-synonym partner. The score difference depends on how frequently predictions fall on alternative members of the groups the authors chose.
Permitting longer output prefixes isolates another property of the same predictions. A classifier can assign an accepted expression a high rank while giving first place to a phrase outside the references. The improvement with wider prefixes shows that recovering a usable candidate and choosing it as the sole output are separate difficulties in the reported experiments. This is particularly clear in the English comparison between the prior and the likelihood. The metric under which either component leads depends on how far down the list the evaluation is allowed to search.
The expression-level analysis adds a further perspective because it tracks words individually. The authors note some similarities across languages, such as good results on on and sur for the combined system and the relative strength of beside and à côté de for the rules. The examples also show variation within similar families of expressions. The two languages have different inventories and different annotation frequencies. Their results can reveal parallel strengths on particular terms without supporting a simple ranking of which language is easier overall.
Limitations
Limits the authors identify
The authors treat first-choice accuracy around 50% as leaving room for improvement. A larger candidate pool frequently contains an acceptable phrase, but the practical output of a captioning system would still need to choose one. The paper suggests that a smaller inventory and more sophisticated learning procedures could improve selection. Those possibilities are proposals arising from the experiments. The reported comparison measures the classifiers, inventories, and matching rules the authors actually used.
Rare expressions also cause difficulty. The authors describe noticeable underfitting or overfitting at low frequencies and show only part of the inventory in the expression-level tables. A fitted distribution can capture very little of an expression’s usage if only a few instances show how its geometry varies. It can also track accidental characteristics of those few examples closely enough to generalize poorly. In this experiment the available examples depend on how often people selected a term under the annotation prompt, so an expression can be a valid candidate while remaining difficult to learn.
The rule adaptation identifies a specific missing annotation. VOC’08 records whether an object is occluded, but there is no pairwise annotation naming the other object responsible. A box overlap and an occlusion flag can suggest that one marked object is in front of the other. The paper points out that the actual occluder can be something else. A wrong prediction can therefore come from the substitution of a coarse available signal for the earlier rule’s depth information. The results for the implemented rules apply to that substitution.
The authors also identify a limit in using human selections as the sole test of generated wording. Their annotation asks for all suitable expressions from the specified inventory. The scoring views those selections as acceptable answers and uses predetermined groups for near synonyms. The proposed follow-up would collect the single best expression from annotators and would evaluate outputs directly with people. Asking for the best expression could change both the vocabulary observed and the task the system learns. Direct assessment could test whether people accept generated alternatives that the current references and synonym groups leave uncredited.
What follows from the experimental setup
The scope of the experiment depends on the supplied object annotations. The system knows which objects to relate, what class each belongs to, and where the visible extent of each object lies. The paper therefore tests preposition choice when those inputs are given. It leaves open how well the method would perform when object labels and boxes have to be predicted, or when several candidate pairs compete for mention. Assigning a spatial phrase to one specified pair is only one decision in producing a description of a crowded scene.
The collection restriction concerns the number of annotated objects in the image. Other visible objects or parts of the surroundings can still affect the scene and the human judgment. The occlusion example illustrates this directly. The image shown to a person can reveal why a spatial term fits through shape, surfaces, context, or evidence about depth. The geometry component of the classifier uses the boxes and the image measurements described in the paper. Experimental agreement shows that these inputs are informative about the human answers. It cannot establish a reconstruction of the underlying spatial scene.
A bounding box also introduces an ambiguity of its own. It describes a rectangle enclosing the visible part of an object. Its overlap with another rectangle can arise even when the shapes within the rectangles have little visible contact. Conversely, a relation that humans recognize from the objects and the scene can be poorly represented by a pair of rectangular extents. The learned distributions can capture how overlap tends to accompany particular expressions in the data. The measurements remain proxies, especially for relations that depend on physical support, containment, or depth.
The category prior has a related limitation. Counts can favor an expression frequently used for a particular category pairing. They do not tell the reader whether the relation is due to familiar objects, a visual pattern common in these images, or annotators’ lexical preferences. Add-one smoothing enables scoring with sparse counts, but it supplies no information about the behavior of an object class outside the defined inventory. A transfer to a different set of object categories or image conditions would require separate evidence.
There are also limits to what can be inferred from differences between English and French. The English inventory comes from whole-image captions. The French inventory starts with translations and is adjusted through inspection of example images. The tasks use different sets of candidates, people select different numbers of references on average, and the synonym groupings differ. These conditions make a language comparison informative about the two assembled datasets and evaluation schemes. They leave the influence of inventory construction and annotation behavior intertwined with any underlying difference in spatial expression.
The synonym convention is itself fairly coarse. Terms in the same group receive shared credit, even though their interchangeability may depend on what the image shows. A phrase can also be a sensible choice that is absent from both the references and the near-synonym group for a particular case. The exact and synonym-aware scores bracket two specified ways of matching outputs. They do not measure every aspect of acceptability, such as which expression sounds most natural in the full sentence or which one communicates the most informative distinction in the scene.
Finally, the evaluation reports point estimates from leave-one-out cross-validation. The paper describes presenting each pair in both orders and expanding the accepted labels into separate training instances. Its account gives limited detail on how all records tied to the same original image are grouped during validation. Accordingly, the reported protocol supports the comparison within the annotated collections, but the paper does not provide enough detail to independently establish a wholly image-disjoint split for every such record. It also reports no uncertainty estimates for the score differences. The conclusions are best read at the level of the observed patterns across components, matching rules, and ranks.
What came after
The authors identify two follow-up experiments at the close of the paper. The first would ask annotators to choose their best preposition for each ordered pair. That changes the supervision from a set of acceptable expressions to a preferred expression and could produce a smaller working vocabulary. It would test whether the difficulty seen in exact first-choice selection comes partly from having several closely related terms competing for the same arrangements.
The other proposed experiment would give generated expressions to human evaluators. That assessment would address whether an output describes the picture acceptably even when it differs from the collected references. It would also give the authors a way to check the synonym convention against judgments about particular scenes. The paper presents both experiments as future work. No subsequent study is documented here as having carried them out or built on the method.
Cite
Cite as Anja Belz, Adrian Muscat, Maxime Aberton and Sami Benjelloun. 2015. Describing Spatial Relationships between Objects in Images in English and French. Proceedings of the Fourth Workshop on Vision and Language.
@inproceedings{belz2015describing,
title = {{Describing Spatial Relationships between Objects in Images in English and French}},
author = {Anja Belz, Adrian Muscat, Maxime Aberton and Sami Benjelloun},
booktitle = {Proceedings of the Fourth Workshop on Vision and Language},
year = {2015},
doi = {10.18653/v1/w15-2816},
url = {https://doi.org/10.18653/v1/w15-2816}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/belz-2015-describing-spatial-relationships-between-objects/