Hostname: page-component-74656f9884-8rzl6 Total loading time: 0 Render date: 2026-11-06T08:16:00.475Z Has data issue: false hasContentIssue false

Efficient probabilistic grammar induction for design

Published online by Cambridge University Press:  09 May 2018

Mark E. Whiting
Affiliation:
Department of Mechanical Engineering, Carnegie Mellon University, Pittsburgh, PA, USA
Jonathan Cagan*
Affiliation:
Department of Mechanical Engineering, Carnegie Mellon University, Pittsburgh, PA, USA
Philip LeDuc*
Affiliation:
Department of Mechanical Engineering, Carnegie Mellon University, Pittsburgh, PA, USA
*
Author for correspondence: Jonathan Cagan, E-mail: cagan@cmu.edu and Philip LeDuc, E-mail: prl@andrew.cmu.edu
Author for correspondence: Jonathan Cagan, E-mail: cagan@cmu.edu and Philip LeDuc, E-mail: prl@andrew.cmu.edu
Rights & Permissions [Opens in a new window]

Abstract

The use of grammars in design and analysis has been set back by the lack of automated ways to induce them from arbitrarily structured datasets. Machine translation methods provide a construct for inducing grammars from coded data which have been extended to be used for design through pre-coded design data. This work introduces a four-step process for inducing grammars from un-coded structured datasets which can constitute a wide variety of data types, including many used in the design. The method includes: (1) extracting objects from the data, (2) forming structures from objects, (3) expanding structures into rules based on frequency, and (4) finding rule similarities that lead to consolidation or abstraction. To evaluate this method, grammars are induced from generated data, architectural layouts and three-dimensional design models to demonstrate that this method offers usable grammars automatically which are functionally similar to grammars produced by hand.

Information

Type
Regular Articles
Copyright
Copyright © Cambridge University Press 2018 
Figure 0

Fig. 1. Graph Isomorphism. Graphs G and H are identical sets of nodes and edges and hence isomorphic, but visually appear very different.

Figure 1

Fig. 2. Pseudocode of the automated grammar induction algorithm.

Figure 2

Table 1. Grammar induction example

Figure 3

Fig. 3. Example Small Generated Ontology. Rules on the left are used to generate the graph of 100 nodes and the induction method is used to establish the rules on the right. Note that in this example, the induction method produces a grammar with 25% fewer rules by combining some rules together, but also retains a particularly specific rule which demonstrates a linear path between nodes of each type in the graph.

Figure 4

Fig. 4. Villa Malcontenta. (a) Illustration from plate XLIII in Quattro Libri (Rowe, 1977), (b) CAD rendition of features extracted from plan drawings of the villa. (c) Visualization of the underlying graph with node position from coordinates in CAD information.

Figure 5

Fig. 5. Greenhouse model. A CAD model of an aquaponics greenhouse with automated delivery systems [Snowgoose (2014). Aquaponics system 8 × 3.4, 3D Warehouse.]. Components down to the bricks and fasteners are individually modeled and are represented discretely in a hierarchy. The entire model was induced.

Figure 6

Table 2. Grammar metrics

Figure 7

Table 3. Palladian grammar comparison

Figure 8

Table 4. Piecewise ontology induction