File Information

File: 05-lr/acl_arc_1_sum/cleansed_text/xml_by_section/metho/84/p84-1106_metho.xml

Size: 14,891 bytes

Last Modified: 2025-10-06 14:11:43

<?xml version="1.0" standalone="yes"?>
<Paper uid="P84-1106">
  <Title>NAtural Language driven Image Generation</Title>
  <Section position="2" start_page="495" end_page="498" type="metho">
    <SectionTitle>
===~, H SUPPORT(A,B)
</SectionTitle>
    <Paragraph position="0"> A complete discussion of NALIG's taxonomy of objects is in (Bo83a). Both the set of primitives and the set of attributes have been defined on the basis of empirical evidence, through the analysis of some thousands of sample phrases. Besides the fact that NALIG works, there are specific reasons to accept the current taxonomy, and it is likely that further experience will suggest modifications; however, most of knowledge in NALIG is descriptive, and the intrinsic flexibility of an expert system approach an easy stepwise refinement.</Paragraph>
    <Paragraph position="1"> The values of some predicates are simply attempts to summarize large amounts of specified knowledge. For example, CANFLY(X) is true for birds, but FLYING(X) is not; the last predicate is reserved for airplanes and similar objects. This is a simple trick to say that, in common experience, airplanes can be supported by a very limited set of objects, as runways, aircraft carrier ships and so on, while birds can stay almost everywhere and to list all possible places is too space wasting.</Paragraph>
    <Paragraph position="2"> However, most of them are directly related to geometrical or physical properties of obje~ts, to their common uses in a given environment and so on, and should be always referred to underlying specific theories. For instance, a number of features are clearly related to a description of space which is largely based on the Hayes' model to develop a theory for the containment of liquids (Ha78a). Within this model some predicates, as INSIDE(O), can be evaluated by means of a deeper geometric modeling module, which uses a generalized cone approach to maintain a more detailed description of the structures of objects (Ad82a,Ad83a,Ad83b). Some of these theories are currently under development (a naive approach to statics will be outlined in the following), some others are still beyond the horizon; nevertheless, for experimental purposes, unavailable sophisticated theories can be substituted by rough approximations or even by fixed valued predicates with only s graceful degradation of reasoning capabilities.</Paragraph>
    <Paragraph position="3"> Taxonomical rules generate hypotheses about the most likely spatial primitive, but these hypotheses must be checked for consistency, using knowledge about physical processes (section 4) or about constraints imposed by the previous allocation of other objects (section 5). Moreover there are other sources of primitive relations besides the input phrase. One of the most important sources is given by a set of rules which allow to infer unmentioned objects; they are briefly  outlined in the next section. Other relations may be inferred as side-effects of consistency checking and positioning activities.</Paragraph>
    <Paragraph position="4"> the branch and the roof becomes unlikely. A deeper discussion of these inference rules is presented in (Ad83c).</Paragraph>
    <Paragraph position="5">  3. Object instantiation Often a natural language description gives only some details about the scene, but many other objects and relations must be inferred to satisfy the consistency requirements. An example is the  phrase &amp;quot;a branch on the roof&amp;quot; which is probably interpreted as &amp;quot;a tree near the house having a branch on the roof&amp;quot;.&amp;quot; Therefore a set of rules has been defined in NALIG to instantiate unmentioned objects and infer the relations holding between them.</Paragraph>
    <Paragraph position="6"> Some of these rules are based on knowledge about the structure of objects, so that, under proper conditions, the whole can be inferred when a part is mentioned. Other rules take into account state conditions, as the fact that a living fish need water all around, or containment constraints, as the fact that water is spread on a plane surface unless it is put into a suitable container. The inferred objects may inherit spatial relations from those explicitly mentioned; in such a case relation replacement rules are needed. A simple example is the following. Geographic objects containing water, as a lake, can be said to support something (the boat on the lake), but the true relation holds between the supported object end the water; this fact must be pointed out because it is relevant for  consistency conditions. Therefore a replacement rule is : ON(A,B) and GEO(B) and OPENCONTAINER(B) and not GEO(A) and not (FLYING(A) and not REPOSITORY(A,B)) and not CANFLY(A) ==~ ON(A,water) and CONTAINED(water,B)  where ON(X,Y) represents the phrase to be analyzed; OPENCONTAINER (X) has the same formal meaning defined by Hayes (Ha78a) and describes a container with an open top.</Paragraph>
    <Paragraph position="7"> When relation inheritance does not apply, relative positions between known and inferred objects must be deduced from knowledge about their structures and typical positions. For instance the PARTOF instantiation rule, triggered by the phrase &amp;quot;the branch on the rool TM to infer a tree and a house, does not use the relation inheritance (the tree is not on the house), but knowledge about their typical positions (both objects are usually on the ground with assumed standard axis orientations) or structural constraints, as the house cannot be too high and the tree too far from the house, otherwise the stated relation between  other objects. This seemingly trivial interpretation of the law of gravity plays a basic role when we check the consistency of a set of given or assumed spatial relationships; no object is properly placed in the imagined scene if it is not possible to relate it, possibly through a chain of other supporting objects, to one which has the role of &amp;quot;ground&amp;quot; in the assumed environment (for instance floor, ceiling and interior surfaces of walls in an indoor view). The need of justifying this way all object positions may have effects on object instantiation, as in the phrase &amp;quot;the book on the pencil&amp;quot;. Since the pencil cannot give full support to the book another object must be assumed, which supports the pencil and, at least partially, the book; both objects could be placed directly on the floor, but default knowledge about the typical positions that books and pencils may have in common will probably iced to the instantiation of the table as the most likely supporting object, in turn supported by the floor.</Paragraph>
    <Paragraph position="8"> The supporting laws may also give guidance to the positioning steps, as in the phrase &amp;quot;the car on the shell TM where, if there are reasons to reject the hypothesis that the car is a toy, then it is unlikely to have the shelf in its default position, that is &amp;quot;on the wall&amp;quot;. &amp;quot;&amp;quot;&amp;quot;~/. {&amp;quot; l ...,,~ \[deg\] Wall WO|I fig. l:assumed and default shelf structures Another example of reasoning based on supporting rules is given by assumptions about the structure of objects, in those cases in which a number of alternatives is known. For instance, if we know that &amp;quot;a shelf on the wall&amp;quot; must support a heavy load of books, we probably assume the structure of fig.la, even if fig.lb represents the default choice.</Paragraph>
    <Paragraph position="9"> To reason about these facts we need a strategy to find the equilibrium positions of an object or a pattern of supports, if such positions exist, taking into account specific characteristics of the involved objects. This strategy must be based, as  far as possible, on qualitative rules, to avoid unnecessary calculations in simple and common cases and to handle ill-defined situations; for instance, rules to grasp objects, as birds, are different from those helding for not grasping ones, as bottles, and nearly all situations in which birds are involved can be solved without any exact knowledge about their weight distributions, grasping strength and so on.</Paragraph>
    <Paragraph position="10"> An example of these rules, which we call &amp;quot;naive statics&amp;quot; is given in the following. Let us consider a simple case in which an object A is supported by another object B; the supported object has one or more plane faces that can be used as bases. If a face f is a base face for A (BASE(f,A)), it is possible to find the point e, which is the projection of the barlcenter of A on the plane containing f along its normal. It is rather intuitive that a plane horizontal surface is a stable support for A if the area of physical contact includes e and if this area is long and wide enough, in comparison to the dimensions of A, and its height in particular. Hence a minimum equilibrium area (M_E_AREA(a,f)) can be defined for each BASE f of A (this in turn imposes some constraints on the minimal dimensions of f).</Paragraph>
    <Paragraph position="11"> The upper surface of B may be of any shape. A support is a convex region of the upper surface of B; it may coincide with the whole upper surface of B, as it happens with a table top, or with a limited subset of it, as a piece of the upper edge of the back of a chair. In this example we will consider only supports with a plane horizontal top, possibly shrinking to a line or a point; if s is such a part of B, it will be described by the predicate P_SUPP(s,B).</Paragraph>
    <Paragraph position="12"> Let's consider now an object A, with a regular base f, lying on one or more supports whose upper surfaces belong to the same plane. For each position of A there is a pattern of possibly disconnected areas obtained from the intersection of f with the top surfaces of the supports. Let be a the minimal convex plane figure which include all these areas; a will be referred to as a supporting area (S_AREA(a)). A rather intuitive definition of equilibrium area is that A is stable in that position if its M_E_AREA(a,f) is contained in the supporting area. A further condition is that a free space V around the supports must exist, large enough to contain A; this space can be defined by the smallest convex volume Va enveloping A which is part of the description of A itself. Therefore conditions of stable lying can be formulated as follows:  BASE(f,A) and LAY(A,B) and FREE(V) and ENVELOP(Va,A) and CONTAINED(Va,V)</Paragraph>
    <Paragraph position="14"> The evaluation of the supporting area (i.e. to find an area a for which its predicate S_AREA(a) is true) may be trivial in some cases and may require sophisticated positioning strategies in other cases. The most trivial case is given by a single support S, in this case we have S_AREA(TOP(S)), which means that the supporting area a coincides with the top surface of S.</Paragraph>
    <Paragraph position="16"> fig.2: radial simmetry Another simple but interesting case is given by regular patterns of supports, where it is possible to take advantage of existing simmetries. Let' s consider, for instance, a pattern of supports with radial simmetry, as shown in fig. 2a, which may resemble a gas_stove. If the base f of a has the same kind of approximately radial simmetry (a regular polygon could be a good approximation) and if the projection c of the baricenter of A coincides with the center of f, then the supporting a is the circle with radius Ra under the condition r R, where r is the radius of the &amp;quot;central hole&amp;quot; in the pattern of supports and R is the (minimal) radius of f. This simply means that the most obvious positioning strategy is to center A with respect to the pattern of supports; their actual shape is not important provided that they can be touched by A. In case of failure of equilibrium rules a lower number of supports must be considered and the radial simmetry is lost (for instance, the case of a single support may be analyzed).</Paragraph>
    <Paragraph position="17">  AS a third example let us consider a couple of supports with an axis simmetry as shown in fig.3a (straight contours are used only to simplify the discussion of this example, but there are not constraints on the actual shapes (besides simmetry). If the face f for A exhibits the same kinds of simmetry (fig.3b) the simplest placement strategy is to align the object axis to the support one. In this case the interior contours of each support can be divided into a number of intervals, so that for each interval \[ Xi, Xi+l \] we have: a. min d(x) ,= max D(y) or  Of course, some situations are mutually exclusive (type a with type A or type b with type B intervals).</Paragraph>
  </Section>
  <Section position="3" start_page="498" end_page="498" type="metho">
    <SectionTitle>
PPSU~)RTIN G ARiA
</SectionTitle>
    <Paragraph position="0"> fig.4:supporting area Equilibrium positions may be found superimposing object intervals to support one by means of rules which are specific for each combination of types. For example, one type A and one type b intervals can be used to search for an equilibrium position by means of a rule that can be roughly expressed as: &amp;quot;put type A on type c and type C on type b so that the distance t (see fig.4) is maximized&amp;quot;. The supporting area a obtained this way is shown (the dashed one) in fig.4. This kind of rules can be easily generalized to handle situations as a pencil on a grill. Some problems arise when the supports do not lie on the other plane, as for a book supported partially by the table top and partially by another book; in this case the concept of friction becomes relevant. A more detailed and better formalized description of naive statics can be found in (Di84a).</Paragraph>
    <Paragraph position="1"> 5. Positioning objects in the scene A special positioning module must be invoked to compute the actual coordinates of objects in order to show the scene on the screen. This module, which we mention only for lack of space, has a basic role, since it coordinates the knowledge about the whole scene, and can therefore activate specific reasoning activities. For instance, there are rules to handle the transparency of some objects with respect to particular relations and possibly to generate new relations to be checked on the basis of the previously discussed criteria. An example is the phrase &amp;quot;the book on the table&amp;quot;, which is accepted by the logic module as H_SUPPORT(book,table) but can be rejected at this level if there is no enough free space on the table top, and therefore modified into a new relation H_SUPPORT(book,B), where B is a suitable object which is known to be supported by the table and is transparent to respect the On relationship (another book, for instance). A more detailed description can be found in (Ad84a).</Paragraph>
  </Section>
class="xml-element"></Paper>
Download Original XML