Learning Spatial Knowledge for Text to 3D Scene Generation
Paper · 2014 · Angel Chang, Manolis Savva and Christopher D. Manning
Summary
A short description of a room leaves much of the room unspecified. A person might mention a chair and a computer and expect the computer to sit on a desk, even if the desk never appears in the description. Generating a 3D scene makes that expectation concrete. The system has to decide which objects exist, what supports them, where they go, and how they face. The authors investigate how much of this missing information a system can learn from existing indoor scenes and how it can combine that knowledge with what a person actually says.
The method starts by turning the description into a scene template, a record of the objects, attributes, and relationships expressed in the text. Statistics gathered from existing scenes help fill in the template and guide the layout. They capture which objects tend to appear in particular kinds of rooms, which objects usually support others, which way supporting surfaces face, and where objects tend to sit relative to one another. The authors also ask people to describe highlighted pairs of objects in screenshots. Those descriptions help connect ordinary spatial words with measurable properties of the geometry. The system uses both sources of evidence to retrieve suitable 3D assets and arrange them.
The paper learns arrangement statistics from 133 small indoor scenes and collects 609 spatial descriptions covering 131 object pairs in 17 scenes. A comparison between the words in those descriptions and hand-defined geometric relations finds an appropriate top match for 10 of the 15 most frequent keywords. The remaining keywords concern proximity, where the geometric definitions were less successful. Classifiers trained on the descriptions also capture narrower uses of directional terms. For instance, people tended to use above for a region directly over a table, even though the hand-defined relation accepted positions farther off to the side.
The generated scenes illustrate what these distinctions buy. A lamp can end up on a desk whose supporting role was left unstated. A cup can sit on a bookshelf shelf, while a poster can attach to a wall, even though both placements are described with on. Comparisons with simpler settings show how support, relative placement, and learned word meanings change the layouts. Those comparisons are primarily visual. They demonstrate plausible completions and expose concrete failures, including unsuitable object choices, but supply no aggregate measure of how often the system produces a scene that matches a user's intent.
Deep dive: Learning Spatial Knowledge for Text to 3D Scene Generation
This paper shows how to learn where objects belong in indoor scenes and use that knowledge to turn brief descriptions into plausible 3D layouts. · about 38 minutes to read
The problem and its context
A description leaves decisions for the scene builder
The paper defines the task as generating a plausible 3D scene from text that describes one. The output consists of objects selected from a collection of existing 3D assets and arranged in space. A generator has to make choices at several levels. It must recognize the things a person is talking about, find assets that represent them, and place the assets in a way that makes sense together. Each level can introduce ambiguity even when the preceding level looks straightforward. Recognizing a computer tells the generator what to retrieve. It still needs to decide what the computer rests on and where that support belongs in the room.
The authors treat omissions of this kind as part of ordinary communication. People can leave a chair's support and upright orientation unsaid because they expect a listener to supply them. In a scene generator, every object must acquire an actual position and orientation. A description can therefore be easy for a person to understand and still leave considerable work for the generator. Asking users to express all those decisions would change the character of the task. Even a small room would require a list of objects, a list of supports, and a collection of positional instructions.
The chair-and-computer example shows that an omission can have consequences for both the inventory and the layout. The generator can retrieve both named objects and still miss the intended kind of scene if it has no suitable place for the computer. Inferring a desk adds a new object and creates somewhere for the computer to go. The chair and desk in turn need somewhere to stand. What looks like one missing noun therefore gives rise to several geometric consequences. The authors use this example to motivate learning patterns of support from scenes.
A spatial expression can also leave room for interpretation when it is stated explicitly. A phrase using on often identifies a supporting object while leaving the exact contact surface undecided. The top of a table, a shelf in a bookcase, and the face of a wall can each be suitable in different circumstances. A directional phrase has a different source of uncertainty. A chair's position relative to a table can be described from the viewer's vantage point or with respect to the table's own front. Even given a viewpoint, the region a person calls left can be narrower than all the positions a geometric rule classes as leftward.
The authors approach these as related grounding problems. Grounding here means connecting expressions and object descriptions to something measurable or identifiable in a physical scene. The generator must connect a noun phrase to a particular kind of object, and connect a relation to a configuration of objects in space. The paper's emphasis is on the knowledge that makes those connections useful when the text is sparse. An object can be missing from the description, a support relation can be left unstated, or an expressed relation can require more geometric detail than the words supply.
What earlier systems could already do
The paper traces language-controlled 3D scenes back to SHRDLU. Its restricted world of simple shapes let users refer to objects and request changes to a scene through natural language. The authors credit that work with formalizing a useful set of language-driven operations. They point to the difficulty of carrying that approach into settings with a wider assortment of objects and spatial relationships. An indoor room introduces differences in function and geometry even among objects of the same general kind. Successfully grounding a category name leaves the system with a choice among those variants.
WordsEye is the more direct predecessor. It showed that a description could be turned into a 3D scene and made the cost of acquiring spatial knowledge apparent. The earlier approach relied on manually specified spatial relations, and the paper gives an example of the highly explicit directional language that a user might need to describe a placement. Follow-up work sought spatial knowledge through crowdsourcing. The authors distinguish their own use of example scenes as a way to estimate how likely particular objects and arrangements are. Those estimates let the generator propose decisions that the user has left open.
The paper also situates the task among studies that connect language to physical attributes, actions, and relationships. That work includes examples of learning to connect linguistic analysis with perception, and examples of mapping instructions to actions. The shared point of contact is the conversion of an utterance into a representation tied to a task. The indoor-scene generator also needs a way to introduce relevant facts for which there is no corresponding phrase in the utterance. The paper cites these approaches in its discussion of Jointly Learning to Parse and Perceive and Weakly Supervised Learning of Semantic Parsers.
Related work on referring expressions takes a different direction through the same connection between language and a scene. If a system already knows which object it needs to name, the question is how to describe it so a listener can identify it. The scene generator begins with words and needs to decide which objects and relationships to realize. The authors include work on generating descriptions as part of the background to their problem, including Learning Distributions over Logical Forms for Referring Expression Generation.
On the graphics side, automatic scene layout already offered ways to score arrangements. The paper discusses approaches that encode furniture design guidelines and approaches that learn from example scenes. The learned approaches use statistics about which objects occur together and how their positions and orientations relate. These ideas give the authors a starting point for judging candidate arrangements. Connecting the score to language adds another demand. A default arrangement may be plausible for the objects involved, and the reader's description may still require one item to be moved away from its habitual position.
The authors also draw parallels with image description and with generating 2D clip art from sentences. Image description starts with visual content and chooses what can usefully be said about it. Generating a scene starts with the selected details in the description and fills in enough of the environment to make those details concrete. Several arrangements may express the same words. The paper's goal is to use evidence about rooms, objects, and spatial language to make plausible choices within that range.
The method, step by step
From words to an editable description of a scene
The system first prepares a symbolic description of the scene. An object can be recorded as a chair and assigned a red color before any particular chair asset has been selected. A spatial constraint can require the chair to be on the left of a desk before either object has coordinates. This intermediate description is the scene template. Once the system chooses assets and assigns their transformations, it has a geometric scene. The separation lets it add an inferred support or object to the template before it searches for a specific placement.
From scene description to rendered layout
The steps in order.
Both forms can be understood using a graph. Its nodes represent objects and its edges describe their relationships. A directional constraint links the object being described to the object used as its reference. A support edge assigns the supported object a parent. Repeating that assignment over the contents of a room produces a hierarchy. A desk can have the room's floor beneath it and, in turn, carry other objects. The hierarchy later determines the order in which the generator can place those objects.
T = (O, C, Cₛ)
Here T is the scene template, O is the collection of object descriptions, C is the collection of relationship constraints, and Cₛ is the scene type. In the paper's notation, the object descriptions are indexed by i through n, the number of descriptions, and the constraints are indexed through k, the number of constraints. An object description can store a category, attributes such as color or material, and a count of how many instances the text calls for.
supported_by(oᵢ, oⱼ)
Here oᵢ and oⱼ are object descriptions indexed by i and j. The first argument is the child whose placement depends on the second, its supporting parent. The argument order also matters for directional predicates. In the paper's example of a red chair to the left of a desk, the chair is the object to be positioned and the desk supplies the reference. The instruction leaves room for multiple exact placements.
The geometric scene preserves the distinctions that matter for identifying and arranging individual things. Each object instance has a selected asset and a transformation matrix. The matrix records where the asset is placed, how it is oriented, and at what scale it appears. A template can consequently have several geometric realizations. A new choice of chair can leave the symbolic constraints intact while changing how much space the chair occupies and which positions would cause a collision.
Reading the description
The text goes through the Stanford CoreNLP pipeline. The system looks for a scene type by comparing words in the description with types known from the scene collection. It then looks for noun phrases. The phrase's head, the word that supplies its main category, serves as the initial object label. The system filters these labels with WordNet to retain categories under the physical-object grouping, with locations excluded from that filter's visualizable objects.
Describing the same thing in successive sentences should give rise to a single object in the template. In the paper's red-chair example, a later mention of the chair supplies a relationship for the chair already introduced. The system uses coreference resolution to connect mentions that denote the same thing. This step gives relationship extraction an object to attach to when a phrase revisits an earlier noun or uses a pronoun.
Other words in a noun phrase can supply properties or help with the later search. A color adjective can become a structured color constraint and remain available as a retrieval keyword. Properties expressed elsewhere in a sentence can be found by matching patterns in the output of dependency parsing. A dependency analysis represents grammatical links between words. A pattern for material, for example, looks for the grammatical connection between the object being described and the material it is made of. A dictionary assigns the extracted item an attribute type, such as material, color, or shape.
The authors use Semgrex patterns to match those grammatical links. They also use dependency patterns to recover spatial relations and their arguments. The paper illustrates patterns for a table described as next to a chair. A sentence that introduces the table and a sentence that starts with the table can express the same relation through different dependency structures. The patterns let the system turn those structures into a common constraint. The learned map from words to geometric relations helps decide which predicate to use once the pattern has identified the words and their arguments.
For the red-chair example, the intermediate result stores the room, desk, and chair, records the chair's color, and links the chair to the desk with a leftward constraint. The retrieval queries use the categories and associated words. The layout still has to choose a precise point for the chair and determine what supports it and the desk. The template thus preserves the decisions made by the text processing while leaving the remaining decisions to the spatial stages.
Learning what indoor scenes usually contain
The spatial knowledge comes from existing 3D scenes. The authors build on the scene-synthesis data of Fisher and colleagues, using 133 small indoor scenes made with 1723 Trimble 3D Warehouse assets. The scene types and object categories let the system pool evidence across different instances of similar settings. A scene provides evidence about what belongs in a room and how its contents are arranged even if a person would omit many of those details when describing it.
The first statistic concerns how often a category occurs in a given kind of scene. A kitchen counter is useful evidence about the likely setting. A known setting, in turn, gives the generator a starting point when it needs to propose additional contents.
Pₒ꜀꜀(Cₒ | Cₛ) = count(Cₒ in Cₛ) / count(Cₛ)
Here Pₒ꜀꜀ is the object-occurrence prior, Cₒ is an object category, and Cₛ is a scene type. The numerator counts occurrences of that category in scenes of the specified type, as written by the authors, and the denominator is the count for that scene type. The vertical bar reads as “given.” This is a prior in the sense that experience with the scene collection supplies the estimate before the current description has settled the missing details.
When the words leave the setting open, the procedure uses the categories already identified as evidence for a scene type. The paper illustrates this with a knife and a table, where the pairing can support a dining-table interpretation. The inference works in the reverse direction once a scene type is chosen. Categories common in that setting become candidates for filling out the scene.
P(Cₛ | {Cₒ}) ∝ Pₒ꜀꜀({Cₒ} | Cₛ) P(Cₛ)
Here {Cₒ} is the set of known object categories. P(Cₛ | {Cₒ}) is the probability of a scene type given those categories, Pₒ꜀꜀({Cₒ} | Cₛ) is the occurrence likelihood of the categories under that type, and P(Cₛ) is the prior probability of the type itself. The proportionality sign ∝ means that the product supplies a score proportional to the desired probability. The paper writes the likelihood for the set of categories in this step, after defining the occurrence statistic for an individual category.
Adding objects this way is optional. When enabled, the generator samples likely categories after establishing the scene type. Sampling is limited to the top n = 4 object categories, where n is the cap on which categories are eligible in this step. A room label can therefore serve as a sparse description from which to propose contents. The paper's generated living room illustrates this use. Each selected category still needs an appropriate asset, support, position, and orientation.
Learning what holds an object up
The support hierarchy answers a more specific question. Given an object of the kind being placed, what kind of parent is likely to support it? The scenes already encode their support hierarchies explicitly. The authors can count recorded relationships between child and parent categories directly. The hierarchy captures assumptions that are useful for placement even when the description gives no support verbs or prepositions.
Pₛᵤₚₚₒᵣₜ(Cₚ | C꜀) = count(C꜀ on Cₚ) / count(C꜀)
Here Pₛᵤₚₚₒᵣₜ is the support prior, Cₚ is a candidate parent category, and C꜀ is the child category. The numerator counts observations of the child category on the parent category. The denominator is the count of the child category. The direction of conditioning matters. The generator starts with a child it must place, such as a computer, and uses the distribution to rank possible supports for it.
The system can use that ranking to add an object whose category is missing. For each object under consideration, it can find the most likely supporting category and add an instance if that category is absent. The computer and desk illustrate this route to an implicit object. The desk fills a specific role for the computer. Scene-type completion adds a different kind of evidence, by finding objects characteristic of a setting even when no particular object calls for their presence as a parent.
Once the objects are known, the generator fills in support links. The map learned from descriptions treats on and top as signals for the formal support relation, so an explicit statement can provide a link. For a remaining child, the system chooses the candidate parent object whose category yields the highest support prior for that child's category. In the paper's notation the quantity being maximized is the following.
Pₛᵤₚₚₒᵣₜ(Cₒⱼ | Cₒᵢ)
Here Cₒⱼ is the category of candidate parent oⱼ, and Cₒᵢ is the category of child oᵢ. The indices j and i identify objects in the scene. The expression applies the same parent-given-child prior to objects the template now contains. The resulting links tell the layout stage which parent must already be positioned when it is time to place a child.
Finding surfaces and plausible positions
A support edge identifies an object, while placement requires a geometric surface on that object. The authors segment supporting assets into planar surfaces with a region-growing procedure. In this procedure, compatible parts of the geometry are gathered into a surface region. A surface is characterized by its normal, the direction perpendicular to it. The representation groups normals into up, down, left, right, front, and back. An upward normal describes the kind of surface an object can rest on from above. A sideways normal can describe the surface used to put a poster on a wall.
Pₛᵤᵣ𝒻(Sₙ | C꜀) = count(C꜀ on a surface with Sₙ) / count(C꜀)
Here Pₛᵤᵣ𝒻 is the support-surface prior, Sₙ is the normal direction of a candidate support surface, and C꜀ is the supported object's category. The numerator counts observations of that category on a surface with the specified normal. The denominator counts observations of the child category. Both a tabletop and an upward-facing shelf can satisfy this preference for an object that typically rests on a horizontal surface. Their different locations become relevant during placement.
Pₛᵤᵣ𝒻(Sₙ = up | C꜀) = 1
This is the paper's fallback for a child category C꜀ absent from the observations. Sₙ = up selects an upward-facing normal, and 1 assigns the full probability to that direction. The fallback expresses the assumption that unfamiliar objects generally rest on an upward-facing surface. Observations of a category such as posters supply evidence for a different orientation.
The authors also learn where objects typically sit and how they face relative to nearby objects. The support hierarchy identifies the pairs that matter for this calculation. A pair can consist of a child and its parent or of siblings that share a parent. This distinction matters because a position measured relative to the object carrying a child has a different role from a position measured relative to something else on the same surface.
Pᵣₑₗₚₒₛ(x, y, θ | Cₒᵦⱼ, Cᵣₑ𝒻, Cₛ, R)
Here Pᵣₑₗₚₒₛ is the relative position and orientation prior. The coordinates x and y give the projection of the target object's center onto the chosen support surface, expressed in the reference object's semantic frame. That frame is tied to meaningful directions of the reference asset, including its front. The angle θ measures the difference between the front directions of the objects. Cₒᵦⱼ is the category of the object being positioned, Cᵣₑ𝒻 is the reference category, Cₛ is the scene type, and R records whether the pair is a sibling pair or a child and parent.
The authors estimate this distribution with kernel density estimation. An observed placement contributes probability density around its location and orientation. Accumulating these contributions creates regions of higher density where examples tend to cluster and leaves some room for intermediate placements. The paper visualizes predictions for chairs relative to desks, posters relative to rooms, and mice and keyboards relative to desks. These are examples of how the category of a target and its reference can guide where the generator looks on an allowed support surface.
The relative placement prior and the spatial words also use coordinate frames for different purposes. The learned arrangement of a chair with respect to a desk can depend on where the desk's front is. A user looking at a scene may describe that same chair as lying to the right or left of the desk from the current view. Keeping track of the reference frame lets the system score a familiar arrangement and interpret a viewer's description of it.
Turning spatial words into geometric evidence
The authors begin with hand-defined relations such as containment, directional placement, proximity, support, and facing. Many are evaluated using axis-aligned bounding boxes, rectangular volumes that enclose objects and align with the axes used for the current view. A definition can test what fraction of one object's box lies in a region defined by the other. For left of, that region starts at the reference box's left edge. For left side, the reference is the center of that box. A candidate can lie on the left side under the second definition while still overlapping the reference box's left-to-right span.
P(inside(A, B)) = Vol(A ∩ B) / Vol(A)
Here P is the relation score in the paper's definitions, A is the target object's box, and B is the reference object's box. Vol denotes volume, and ∩ denotes the geometric intersection. The ratio gives the fraction of A enclosed by B. Since the denominator is A's volume, swapping the arguments generally changes the score.
P(outside(A, B)) = 1 − Vol(A ∩ B) / Vol(A)
Here outside(A, B) is the complementary relation under the same box calculation. A, B, Vol, and ∩ retain their preceding meanings. The value 1 represents the whole of the target's volume as a fraction. Subtracting the fraction inside leaves the fraction outside.
P(left_of(A, B)) = Vol(A ∩ left_of(B)) / Vol(A)
Here left_of(B) is the geometric region beyond the left edge of the box for B. In the expression on the left, left_of(A, B) is the relation being scored. Vol(A ∩ left_of(B)) measures how much of the target box lies in that region. The view determines which edge counts as left.
P(right_of(A, B)) = Vol(A ∩ right_of(B)) / Vol(A)
Here right_of(B) is the corresponding region beyond the right edge of B. The score for right_of(A, B) is the fraction of the target box in that region. The meanings of P, A, B, Vol, and ∩ are the same as in the previous definitions.
P(near(A, B)) = 𝟙(dist(A, B) < tₙₑₐᵣ)
Here 𝟙 is an indicator. It returns 1 when its condition holds and zero otherwise. dist(A, B) is the distance used in the box-based proximity test, normalized by the largest extent of the reference box B. The symbol tₙₑₐᵣ is the threshold for proximity, and < tests whether the normalized distance falls below it. This definition turns a continuous distance into a yes-or-no condition.
P(faces(A, B)) = cos(front(A), c(B) − c(A))
Here front(A) is the front direction of object A. The function c gives an object's centroid, so c(B) − c(A) is the displacement from A's center to B's. The function cos compares the direction of that displacement with A's front. A close directional alignment gives a high score for A facing B.
These definitions provide geometric candidates for the meanings of words. The authors test the candidates against descriptions from people. On Amazon Mechanical Turk, participants see screenshots of scenes with particular object pairs highlighted and fill in the spatial relationship between the objects. The resulting 609 annotations concern 131 object pairs in 17 scenes. The responses are tied to what a participant sees in the screenshot, matching the authors' interest in view-dependent spatial language.
The authors select one keyword from each response using length as the basis for selection. They consider the top 15 keywords, then compare each to the pre-defined relations. For a given keyword, a binary vector records whether it appeared in the annotation associated with a spatial pair. A corresponding vector for a geometric relation records whether the relation holds for the pair. The binary entries use 1 for presence and zero for absence. Cosine similarity scores the agreement between the two vectors. A high score favors a pairing between a word and a geometric relation whose occurrences tend to align.
The paper also learns the geometry of each of the 15 words directly. It trains a binary log-linear classifier for each keyword. The classifier assigns a likelihood to the keyword using a weighted combination of properties of the pair. The properties include differences between their centers along the coordinate axes, the distance between those centers normalized with respect to the reference object, their overlap with directional regions, their mutual overlap, and whether the objects stand in either direction of the support relationship.
Vol(A ∩ f(B)) / Vol(A)
Here f(B) is a region defined relative to the reference box B. It can be a region to its left, right, front, back, top, or bottom. A is the target box, and Vol(A ∩ f(B)) is the portion of its volume that intersects the region. Dividing by Vol(A) gives the fraction of the target in that region. Distinct features for the different regions let the classifier combine, for example, height and lateral alignment when scoring a word.
Vol(A ∩ B) / Vol(B)
Here the numerator is the volume of the intersection of the two boxes. The denominator is the volume of the reference box, so the ratio describes how much of B is overlapped by A. The feature set also includes the complementary choice of normalization, dividing the intersection volume by Vol(A). The two features can register different amounts of overlap when the boxes have different sizes. The support features separately indicate whether A is supported by B and whether A supports B.
The classifier gives the system a graded relation score for new placements. A rule based solely on the region over a table can give a high above score to a position that is also substantially to one side. A classifier with several placement features can give greater weight to locations that are both high enough and aligned with the table. The learned score can thus shape the search for a placement even after the text has already identified the reference object and the intended direction.
Selecting assets and arranging them
The system grounds each object description by querying a collection of about 12,490 mostly indoor assets gathered from Google 3D Warehouse in earlier scene-synthesis work. These assets have names and tags. The authors also assign object-category labels covering roughly 270 classes. They derive candidate labels from tags, then check and extend the labels manually. The search index uses the category and tag labels to retrieve assets at run time according to the category and keywords in the template.
The authors automatically resize the assets to give them physically plausible dimensions and orient them so that up and front are consistent across the collection. These preparatory steps matter because layout decisions depend on dimensions and directions. Category labels can identify assets that look like a chair. Consistent size and orientation make their dimensions and fronts usable when the algorithm checks overlap, chooses a supporting surface, or predicts a relative pose. The authors rely on this preparation before making placement decisions.
With assets selected, the search tries to improve a score that combines the typicality of the arrangement and the degree to which it satisfies the specified relations.
L = λₒᵦⱼ Lₒᵦⱼ + λᵣₑₗ Lᵣₑₗ
Here L is the overall layout score. Lₒᵦⱼ summarizes object arrangement from the learned priors, and Lᵣₑₗ summarizes satisfaction of the spatial constraints. λₒᵦⱼ and λᵣₑₗ are the weights applied to those two contributions. The authors use λₒᵦⱼ = 0.25 and λᵣₑₗ = 0.75 for the reported layouts.
Lₒᵦⱼ = ∑ₒᵢ ∑ₒⱼ∈F(oᵢ) Pₛᵤᵣ𝒻(Sₙ | Cₒᵢ) Pᵣₑₗₚₒₛ(·)
Here ∑ denotes a sum. The outer sum ranges over the scene objects oᵢ. For each one, the inner sum ranges over oⱼ in F(oᵢ), the parent and siblings of oᵢ. The term Pₛᵤᵣ𝒻(Sₙ | Cₒᵢ) scores the chosen surface normal Sₙ for the category Cₒᵢ of the object being placed. The dot · in Pᵣₑₗₚₒₛ(·) stands for the position, orientation, categories, scene type, and relationship used to evaluate the relative placement of the pair. Multiplication makes each pair's contribution depend on both the surface and the relative placement.
Lᵣₑₗ = ∑꜀ᵢ Pᵣₑₗ(cᵢ)
Here the sum ranges over relation constraints cᵢ, with i indexing the constraints. Pᵣₑₗ(cᵢ) is the score for how well a candidate layout satisfies constraint cᵢ. The paper compares the use of hand-defined relation scores with those learned from the screenshot annotations. Each score operates on the geometry the search is currently considering.
The search begins at the top of the support hierarchy and proceeds depth first. It places a child after its parent is available, gives larger children priority in the placement order, and descends through the supports. For a child object, it samples a supporting surface according to the surface prior. It then samples a position on that surface using the relative placement prior. The procedure checks for collisions and rejects placements that produce them. Placing a desk before its lamp means the algorithm can sample the lamp's location from the actual surfaces of the selected desk.
The search then uses hill climbing, a procedure that seeks a better candidate by making changes to the current arrangement. Small random movements and fresh placements let it explore alternatives. When an object violates a spatial constraint, the algorithm can remove it from its current position and try placing it again. The arrangement and relation scores guide this search together. The final output is a rendered version of the scene reached by those steps.
Experiments and results
Three roles for the data
The spatial priors come from the 133 small indoor scenes assembled with 1723 assets. Those scenes provide evidence for category occurrence, parent-child support, surface orientation, and relative positions. The rendering stage queries a larger retrieval collection of about 12,490 assets, with roughly 270 categories used in its labeling. These counts refer to different roles. One collection supplies examples of arrangements, while the other supplies the individual assets the generator can choose when realizing a description.
The spatial-language study contributes a separate kind of evidence. Its 609 annotations describe 131 object pairs in screenshots from 17 scenes. The measured quantities in the keyword comparison are cosine similarities between observed word usage and the occurrence of a pre-defined geometric relation. The paper checks whether the highest-scoring relation is appropriate for each of the top 15 keywords. These are measurements of the associations learned from the descriptions. The paper gives no held-out classifier accuracy or end-to-end scene-success rate for the generated examples.
How closely the words fit the hand-defined relations
The strongest match is appropriate for 10 of the 15 keywords. The authors identify the other 5 as proximity expressions, a group for which their pre-defined relations fail to provide a good top match. These expressions can have very similar scores for distinct geometric candidates. For near, the paper reports 0.66 for both outside and near. For next, outside scores 0.49 and near scores 0.48. The association procedure favors geometric properties that coincide with the descriptions. A broad geometric property can consequently score well even when it is insufficient as an interpretation of the word.
The pattern for support is clearer. In the keyword study, on has a cosine similarity of 0.86 to the supported_by relation and 0.76 to on_top_of. The chart compares the two leading geometric definitions reported for that keyword. The star marks the better-scoring definition for this setting. The result connects the word most strongly with a support relationship while leaving the detailed geometry to the object and surface stages.
Geometric definitions for “on” in the screenshot annotations by cosine similarity
The support relation agrees most closely with the annotated uses of the word.
The numbers
| System or setting | cosine similarity |
|---|---|
| Supported by (this paper) | 0.86 |
| On top of | 0.76 |
A related pattern appears for top, whose reported similarity is 0.65 for supported_by and 0.61 for above. For inside, the corresponding values are 0.48 for inside and 0.35 for supported_by. These are scores for distinct words on the same relation-mapping exercise. They show why the mapping can give the parser a useful default and why the authors also try a predictor whose geometric features can work together. The mapping represents the best correspondence among available predicates. The classifier can assign a score to a more specific combination of properties.
The learned relation results are presented as predicted high-probability regions. In the table-centered examples the authors show regions for above, on, left, right, in front, and behind. Each drawing illustrates where the center of another object would tend to lie according to the learned scoring function. For above, the predicted region concentrates over the table. The hand-defined rule also accepts positions with an upward displacement that extends much farther to the left or front. This is a visual comparison of the kinds of placements each rule favors.
What the generated scenes demonstrate
The main layout comparison uses several simpler settings. The Basic setting places objects randomly on the floor. A setting with an inferred support hierarchy positions objects in relation to their parents. A further setting uses the learned relative placement priors. In a separate row of the comparison, No Relations does without an interpretation of the stated spatial relationship, while Predefined Relations and Learned Relations use the corresponding ways to score it. The metric for these examples is qualitative agreement with the description and plausibility of placement as shown in the renders. There are no aggregate numeric scores for these baseline settings.
The generated examples make it possible to distinguish several kinds of success. One description mentions a room, a lamp, a desk, and a chair, locating the chair on the desk’s right side. The system adds a support link from the lamp to the desk and puts the lamp on its top surface. The successful completion of that link fills a gap in the description. The position required for the chair comes from the language itself. A single scene thus lets the reader inspect both a stated requirement and an inferred one.
Another example contains both a poster bed and a poster. The system retrieves a bed and a separate poster, puts the bed on the floor, and places the poster on a wall. The words overlap, but the results rely on recognizing different categories and applying their different support expectations. This example shows a favorable case for the interaction between noun-phrase processing, retrieval, and placement. The paper also illustrates generation from the scene label living room alone. The authors judge some of its placements favorably and identify room for improvement in others.
The examples involving on hold the spatial word fixed while changing the objects. A cup goes on the table's top. A cup associated with a bookshelf goes on a supporting surface of the bookshelf, which can be a shelf below the overall top. The poster attaches to a wall. Someone sets the hat down on a chair’s seat. Each output illustrates how a single relational interpretation can leave room for different physical outcomes. These rendered cases also give a more concrete meaning to the keyword association results. The high association with support has a role in the generator because it can be followed by selection of a surface and placement on it.
The authors also use the generated scene as a place to test references to existing objects. In a scene with chairs and a table, the user can identify a chair by combining its category with its location to the right of the table. A broader reference to an object in that position can also select the chair through the WordNet category hierarchy. A reference that specifies a cup fails to select it. Rotating the view changes which chair falls to the right from the current viewpoint, so the same description can select a different chair. The display demonstrates the interaction among category, geometry, and the chosen frame of reference.
What the ablations show
Parent choice and position solve different problems
The paper's component comparisons use rendered scenes in place of a quantitative ablation table. Its arrangement comparison progresses from random floor placement to support-aware placement and then to use of the relative position priors. Random floor placement provides a reference for what the generator can do with an inventory of objects and limited arrangement knowledge. It also makes the role of support easy to see. Having an asset for a desktop object still leaves the question of whether it has been placed on a plausible surface.
Adding the support hierarchy changes which surfaces are available to each object. A child now gets placed with reference to a selected parent. This is a categorical change to the search: a lamp attached to a desk has a different set of candidate surfaces from one treated as an independent floor object. The corresponding picture illustrates why a system needs to infer relationships among the objects as well as identify their categories. For many arrangements, learning where items sit begins with learning what carries them.
The relative position setting adds a preference among the locations that remain possible once the hierarchy has been established. Objects that share a support can occupy many noncolliding configurations. A support edge leaves open where on the surface an object goes and which way it faces. The relative priors can favor placements resembling the recorded arrangements of comparable objects. This explains why the authors learn pairwise positions and orientations in addition to child-parent supports. The renders show the effect on the illustrated layouts. They give no estimate of the frequency or size of an improvement over a wider set of descriptions.
The hierarchy illustration with the desk and lamp complements this comparison. It exposes the internal relationship used to place the lamp, so the reader can trace the rendered outcome back to an inferred parent. In the chair-and-computer example, the same class of inference also adds a desk. This distinction clarifies two effects of the support knowledge. It can supply a relation between objects already named, and it can supply a candidate missing object when the scene needs a likely parent.
Directional words constrain more than one dimension
The relation comparison begins with the layout produced without interpreting the spatial relation and then displays scoring with the pre-defined and learned relations. This comparison targets how effectively the layout responds to a spoken or written spatial requirement. The hand-defined score gives the search a geometric region in which a relation holds. A learned score can give its highest values to a smaller part of that region if the annotations favor a more specific arrangement.
The paper uses left to illustrate the difference. A person may use the word for an object directly to the left and choose a more elaborate description for a location displaced in other directions as well. The authors connect this pattern to implicature, the information a listener can infer from a speaker's choice of expression. They relate that observation to Implicatures and Nested Beliefs in Approximate Decentralized-POMDPs. For layout purposes, the observation suggests that the geometry preferred by a short word can reflect alternatives a speaker could have used for other configurations.
The learned regions for above give a second view of the same effect. A center directly over the table receives support from the data even though many other centers have the vertical property needed by the broad rule. The classifier can use horizontal offset and region overlaps along with vertical displacement. The examples show what that flexibility can express. They leave open which features or combinations of features account for most of the observed difference, since the paper gives no separate comparison omitting individual classifier features.
The keyword results also help locate a weakness in the pre-defined inventory. The cosine comparison can find useful correspondences for support and particular directions, but the proximity terms frequently rank broad alternatives such as outside highly. This analysis concerns the inventory of candidate meanings as much as the mapping from words. The learned predictors give the authors another way to score placement, using the underlying features without requiring every word to correspond to one existing predicate. The paper does not report a separate quantitative proximity evaluation for the learned predictors.
Changing a viewpoint or a pair of objects
The study of on is a controlled illustration rather than a removal of one component. The authors retain the word and change the categories of the target and reference. The contrast among a cup, poster, and hat shows several placements made available by treating support as a relation between objects. The surface prior gives the poster a way to end up on a vertical wall. The same framework also allows a carried object to use an upward-facing shelf or seat. The examples illustrate the combined effect of the support representation and the geometry of the selected asset.
The reference-resolution example changes another variable, the viewing direction, while keeping the referring phrase. The selected chair changes with the view. The example also changes the category expression while holding the direction fixed. A general reference to an object can resolve to the chair, while specifying a cup excludes it. These tests show which information the reference mechanism uses in those cases. The paper presents concrete behaviors of the implemented system, with the evidence limited to the illustrated references and viewpoints.
Limitations
Limits the authors identify
The authors report that recognizing the intended object remains difficult. The system depends on a fixed set of visualizable categories. A noun with an uncommon physical sense can therefore fail to become an object in the template. They illustrate this with top in the sense of a spinning toy. The same word is useful to the system as a spatial keyword. Choosing the physical sense requires lexical information and context that the category filter, on its own, does not provide.
Other failures occur after the system has recognized a broad category. When a description calls for a bottle of wine in a kitchen, the illustrated output contains a water bottle and a table the authors judge unsuitable for the setting. The word bottle can guide retrieval to a plausible broad class while the relation between the bottle and its contents is lost. In another example, a lamp described as being on a table is rendered using a floor lamp. A spatial phrase can provide evidence about the intended subtype, but retrieval in the pipeline is driven by object categories and keywords. The examples expose the cost of weak interaction between these decisions.
The authors also report difficulty with references to object parts. A phrase about a coat on a chair's seat explicitly identifies a location through a part of the chair. The system lacks a general way to ground that part expression. Its successful rendering of a hat on a chair seat is compatible with this limitation. Sampling a suitable surface on a chair produces a placement on the seat in the illustrated case. Parsing a phrase that names the seat and binding that phrase to the relevant part would require additional linguistic and geometric structure.
Spatial expression coverage is limited by the dependency patterns used for extraction. The patterns handle some common ways of expressing binary relations, such as one object to the left of another or behind it. The authors identify more complex phrases involving arrangement around a table or location in the middle of a room as gaps. A description of a desk covered with paper presents another problem. It can imply multiple pieces and a spread over a surface, bringing together object count, placement, and coverage in a way the basic template extraction does not resolve.
Errors can also propagate through the language-processing pipeline. The authors list dependency analysis, word-class assignment, and coreference among the stages that can produce an incorrect interpretation. In the example they give, a chair stands in front of a desk, but the pronoun fails to pick out the desk. The intended relation consequently never reaches the layout stage as a constraint between those objects. Typical spatial arrangements may sometimes produce a usable result after an omission, but the system has lost the direct linguistic evidence it needed for that particular requirement.
The authors identify several ways in which their representation could be extended. They suggest learning the conversion from text to the scene template rather than relying on pre-defined extraction patterns. They also suggest distinguishing interior from exterior support surfaces. Orientation alone can class many surfaces together even when one is inside an object and another is on its exterior. The paper treats this distinction as future work on the surface representation.
Another proposed extension concerns the choice of spatial reference frame. The authors note that a directional phrase anchored to a person may favor a different interpretation from one anchored to a table. Their system uses the current view for the illustrated reference mechanism. A fuller account would consider how an anchor's identity influences the choice between the viewer's frame and the object's frame. The demonstrated change in referent when the viewer rotates shows why this choice matters.
The authors also propose using spatial priors earlier to help resolve ambiguity in the sentence analysis. A direction to put a lamp on a table next to a book can leave open whether the table or the lamp is next to the book. In the present process, the parsed template supplies the structure for later spatial inference. If plausible arrangements could score alternative readings during parsing, the priors would also inform which attachment enters the template. The paper mentions this possibility and leaves its evaluation open.
Limits of the evidence and setup
The arrangement priors are conditional on observations from a collection of small indoor scenes. They describe regularities in that collection. The paper gives no evaluation of transfer to a substantially different set of environments, and the use of category names and scene types makes the choice of training examples important. A category missing from the observations already needs a fallback for surface orientation. An unusual arrangement can also have low prior support while being entirely appropriate for a particular description.
The relation annotations concern highlighted pairs as seen in screenshots. This creates a clear setting for investigating view-dependent language. It leaves open how the same words would be used in a description written for someone building an unseen scene, in a setting with a different viewpoint convention, or in a description involving several objects at once. The move from pair descriptions to generation is demonstrated with examples. The availability of those annotations by itself gives no measure of how broadly the relation scores will transfer.
Several kinds of evidence in the paper answer different questions. Cosine similarity measures co-occurrence of a keyword with a geometric predicate. Judging the top mapping measures whether that predicate is an appropriate match among the choices considered. A predicted region illustrates what a trained classifier favors. A rendered scene shows an outcome after parsing, retrieval, and layout have all contributed. The paper reports each of these forms of evidence, with no common score that connects them to the rate of successful scenes on held-out descriptions. High keyword agreement cannot be read as a probability of overall scene correctness.
The qualitative comparisons reveal changes in the mechanisms they illustrate, but the paper provides no sample-wide measurement of the relative contribution of each prior. In particular, the reported layout weights apply to the authors' examples and are accompanied by no sensitivity study. The visual comparisons also give no information about variability across repeated runs of the randomized placement procedure. A reader can inspect a collision-free result and its visible relation to the description. The paper leaves open how reliably the search reaches such a result for other inputs or other runs.
The geometry used in the search establishes a practical notion of plausibility. A support hierarchy, a candidate surface, and a collision check can eliminate some visibly unsuitable placements. The system uses the observations to score familiar layouts. A stronger claim of physical feasibility would require evidence about stability and other physical properties beyond the reported checks. Likewise, a bounding box can provide a useful approximation for overlap while abstracting away the shape of the object itself. These are consequences of the chosen representation, even in a case where the language analysis succeeds.
Finally, plausible completion leaves room for a mismatch with a particular user's intention. A desk underneath a computer is a sensible addition in the illustrated scene. The short input does not specify that there must be a desk, and another support could fit a different intended room. The same issue arises when the scene-type option adds characteristic contents. A prior gives the system grounds for proposing a completion. Confirming that it is the completion a user had in mind would call for evidence about the user and the description that the demonstrations do not establish.
What came after
A later citing study, Generating Semantically Precise Scene Graphs from Textual Descriptions for Improved Image Retrieval (2015), places a structured representation between the description and a visual task. Its named output from the description is a scene graph, and its application is image retrieval. The connection to the earlier paper is the decision to represent objects and relationships explicitly. In the 3D generation method, the graph is an intermediate specification that the system must realize with assets, supports, and positions. For the later work, the graph derived from a description serves the task of finding images. Generating Semantically Precise Scene Graphs from Textual Descriptions for Improved Image Retrieval.
This change of task helps explain the value of the earlier paper's separation between template and geometry. A relationship can matter to the meaning of a description before anyone has assigned it coordinates. A retrieval task can make use of that structured meaning while looking for visual content, whereas generating a scene forces concrete choices about where the objects go. The two works therefore meet at the problem of representing what the words say about the objects. The later title establishes the use of scene graphs for retrieval. The citation alone leaves the reuse of the earlier support and placement priors undetermined.
Zero-Shot Text-Guided Object Generation with Dream Fields (2022) cites the paper from a different part of text-guided generation. It addresses generating an object from text in a zero-shot setting. The earlier room system starts from a collection of existing objects and decides which ones to use and how to arrange them. Dream Fields puts the object itself at the center of the generation task. That shift changes what must be supplied by the generation procedure. An asset collection provides the geometry of a chair or lamp in the room system, leaving selection and placement as separate decisions. Text-guided object generation makes the creation of the object the stated goal. Zero-Shot Text-Guided Object Generation with Dream Fields.
Taken together, these citing works place the 2014 paper alongside distinct uses of language in visual computing. One takes the structured description towards the retrieval of an image. The other takes text guidance toward generating an object. The room generator studies the decisions that arise when several objects must occupy a shared space, including the supports and placements that a person can leave implicit. Its examples show how those decisions become visible in the output, even when the words have specified only a small part of the scene.
Cite
Cite as Angel Chang, Manolis Savva and Christopher D. Manning. 2014. Learning Spatial Knowledge for Text to 3D Scene Generation. Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP).
@inproceedings{chang2014learning,
title = {{Learning Spatial Knowledge for Text to 3D Scene Generation}},
author = {Angel Chang, Manolis Savva and Christopher D. Manning},
booktitle = {Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP)},
year = {2014},
doi = {10.3115/v1/d14-1217},
url = {https://doi.org/10.3115/v1/d14-1217}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/chang-2014-learning-spatial-knowledge-text-3d/