BACON.5: The Discovery of Conservation Laws
Proceedings of the Seventh International Joint Conference on Artificial Intelligence. Learning. Pages 121-125.
© 1981 International Joint Conferences on Artificial Intelligence
Abstract
BACON.s is a program that discovers empirical laws. The program represents information at varying levels of description, with higher levels summarizing the levels beiow them. The system applies a small set of data·driven heuristics to detect regularities in numeric and nominal data. These heuristics note constancies and trends, leading BACON .s to formulate hypotheses, define theoretical terms, and postulate intrinsic properties. Once the program has formulated an hypothesis, it uses this to reduce the amount of data it must consider at later times. A simple type of reasoning by analogy also simplifies the discovery of laws containing symmetric forms . These techniques have allowed the system to rediscover Snell's law of refraction , conservation of momentum, Black's specific heat law, and Joule's formulation of conservation of energy. Thus, BACON .s's heuristics appear to be general mechanisms applicable to discovery in diverse domains.
- Lenat. D. B. Automated theory' formation in mathematics. ProceP.dings of the Fifth International Joint Conference on Artiftciallntelligence, 1977, 833•842. IJCAI
- Buchanan. B. G., Feigenbaum, E. G., and Sridharan, N. S. Heuristic theory formation . In D. Michie (ed .) Machine Intelligence 7. New York: American Elsevier Publishing Co. , 1972. 267•290.
- Langley, P. Rediscovering physics with BACON.3. Proceed- ings of the Sixth International Joint Conference on Artificial Intelligence, 1979, 505-507. IJCAI
- Bradshaw, G. L., Langley, P., and Simon, H. A. BACON.4: The discovery of intrinsic properties. Proceedings of the Third National Conference of the Canadian Society for Computational Studies of Intelligence, 1980, 19•25.
- Langley, P., Bradshaw, G. L., and Simon, H. A. Rediscovering chemistry with BACON.4. To appear in R. Michalski, J . Carbonell , and T. Mitchell (eds.), Machine Learning .
- Gerwin, D. G. Information processing, data inferences, and scientific generalization . Behavioral Science, 1975, 79, 314- 325.
References were extracted automatically from the PDF and may contain errors.
Full text extracted automatically from the PDF; figures, tables and equations may differ. The PDF is the version of record.
BACON.5: THE DISCOVERY OF CONSERVATION LAWS'
Pat Langley Gary L. Bradshaw Herbert A. Simon Department of Psychology Carnegie·Mellon University Pittsburgh, Pennsylvania 15213 USA
BACON.s, like its predecessors in the BACON series, addresses itself to that part of the scientific process that starts with a set of data and seeks to discover regularities in them. Of course, this is only one of several ways in which scientific discovery takes place, and only one of the steps (albeit a crucial one) in data-driven discovery. Scientists must also determine what data to gather, must invent and use appropriate instruments for making observations, must draw out potentially observable consequences from theories, and must analogize from one phenomenon to another. Thus. BACON.s's capabilities provide an account .of one important part of the scientific enterprise, while leaving other equally important components to future investigation.
An Example: The Ideal Gas Law
The ideal gas law may be stated as pV = nAT, where pis the pressure on a quantity of gas, V is the volume, n is the amount of gas in moles, Tis its temperature, and R is the constant8.32. BACON.s discovers this law in a straightforward manner. The system begins by holding the values of n and T constant (say at n = 1 and T = 300), while varying the values of the pressure p. When the resulting values of v are e~amined, BACON .. s notes that the values of V decrease as those of p increase. This trend suggests that the product pV should be considered; when the values of this term are computed, they are found to have the constant value 2496.0. Now the program examines this phenomenon when n = 1 and T = 31 0; in this case, pV is 2579.2. Similarly, pV is 2662.4 when n = 1 and T = 320.
At this point, BACON.s has enough information to relate the values of pV and the temperature T. These terms are linearly related with an intercept of 0, making the ratio pV /T equal to 8 .32. Now the discovery system can vary its third independent term by setting n to 2. Upon gathering the relevant data, pV /T is found to be 16.64, while when n is set to 3, it becomes 24.96. When it compares the values of n and pV /T, BACON.s finds another linear relation with a zero intercept. The resulting equation, pV /nT = 8.32, is equivalent to the ideal gas law.
Standard analyses of the scientific method partition the world into data or observations, and hypotheses or laws that explain those data. BACON.s replaces this dichotomy with information represented at varying levels of description. A description at one level acts as an hypotheses with respect to the descriptions below it, and as a datum for those above it. In the case of the ideal gas law, the direct observations of n, T, p, and V represent the first level of description. BACON.s treats these as data, generating the hypothesis that pV is 2496.0 when n is 1 and Tis 300. Next the program treats these values and others at the second level as data, leading to the rule that pV /Tis 8.32 when n is 1 at the third level. This datum and others like it produce the final fourth level law, that pV /nT = 8.32 for all cases. As we· shall see below, much of BACON.s's power derives from its ability to recursively apply the same heuristics at every level of description.
ABSTRACT
BACON.s is a program that discovers empirical laws. The program represents information at varying levels of description, with higher levels summarizing the levels beiow them. The system applies a small set of data·driven heuristics to detect regularities in numeric and nominal data. These heuristics note constancies and trends, leading BACON.s to formulate hypotheses, define theoretical terms, and postulate intrinsic properties. Once the program has formulated an hypothesis, it uses this to reduce the amount of data it must consider at later times. A simple type of reasoning by analogy also simplifies the discovery of laws containing symmetric forms. These techniques have allowed the system to rediscover Snell's law of refraction, conservation of momentum, Black's specific heat law, and Joule's formulation of conservation of energy. Thus, BACON.s's heuristics appear to be general mechanisms applicable to discovery in diverse domains.
lnt roduction
The dual notions ol symmetry and conservation lie at the very heart of physics, and the assumption of symmetry has been a powerful aid in the discovery of many physical laws. In this paper we describe BACON.s, a program that discovers conservation laws through a simple form of analogical reasoning. BACON.s is not intended as a detailed model of historical discoveries. Rather, the system presents one of many ways in which historical discoveries could have occurred. The system is named after Sir Francis Bacon (1561-1626) , the early philosopher of science. The data driven heuristics of the BACON.s program are in much the same spirit as those proposed by Bacon the philosopher over three hundred years ago.
Previous discovery systems such as AM [1) and META·DENDRAL [2) relied strongly on theory-driven methods of discovery. In contrast, BACON.s employs data-driven heuristics to direct its search for interesting laws. A major goal of our research has been the identification of general discovery principles, and we feel that generality is more likely to reside in data·driven·approaches than in theory·driven ones. BACON.5 is the fifth in a line of discovery systems developed by the authors [3, 4, 5) . The current system differs from its precursors in its data collection strategies, and in its ability to make symmetry assumptions, note simple analogies, and deal with noise. As an introduction, we consider BACON.s's discovery of the ideal gas law in the following section. After this, we discuss the program's heuristics and control structure. Next we consider in detail BACON.s's performance on some additional tasks. Finally, we draw conclusions from these results, and propose some directions for future efforts.
1 This research was supported by GrantiST·7918266 from the National Science Foundalion and Grant MH-07722 from the Nationallnst1tutes of Mental Health.
The Heuristics of BACON.S
One of the defining features of intelligence is the ability to search. In this section we discuss the heuristics used to direct BACON.s's attention. We focus initially on the discovery system's techniques for gathering data. Next we consider the central heuristic · looking for constancies · followed by the strategies responsible for defining theoretical terms. We then examine the processes which lead to the proposal of intrinsic properties. Finally, we discuss BACON.s's heuristics for reasoning by analogy and dealing with symmetrical laws.
Gathering Data
BACON.s begins a task by asking the user for the independent terms it should consider, the values of these terms it should examine, and the dependent variables it should inspect. Having gathered this information, it starts to run experiments by varying one of the terms and holding all others constant. If this leads to a law, the program stores the term found to be constant with the term which was varied. Now BACON.s alters the value of another independent term. However, since it has a strong expectation about the form of the law it will find at the level below, it does not var/- the first term again. Instead, it selects a single independent value, examines the associated dependent value, and computes the expected constant from these. Similarly, once it has discol?ered a law at the second level, BACON.s need not vary the second term again. This method requires significantly less data than the complete factorial design technique used in earlier versions of BACON [3). Figure 1 presents the data search trees for the two methods; the factorial design approach is shown by the light lines, while BACON.s's search is superimposed in darker lines.
Noting Constancies
After manipulating an independent term which it has not varied before, BACON.s examines each of the dependent terms at the current level of description. If the values of a dependent term are constant, it passes this variable and its value to the next higher level, where they are treated as data. In determining whether a set of values is constant, BACON.s first takes the mean of those values. It then multiplies this mean by a user-modifiable fraction (say 0 .05), and creates an interval by adding/subtracting the resulting product to the mean. Next, each of the values is tested to see if it falls within the interval. BACON.s also computes the number of allowable exceptions by multiplying a second parameter by the number of values. If this product exceeds the number of exceptions, then the test succeeds and an hypothesis is formulated; otherwise the system must look elsewhere.
If a dependent term is not constant, then processing passes on to other heuristics. Some of these define arithmetic combinations of the independent and dependent terms. When this occurs, the program computes the values of the new term and sees if they are constant. Since BACON.s's central goal is to find invariance, this process of defining terms and testing for recurrence continues until a constant is found or the terms become too complex. In addition to applying to terms of different complexity, the same constancy detector applies to all levels of description, whether the first or the final independent term has been varied.
2 This is not entirely true; if BACON.5 has previously found a linear relation with a non-zero intercept and a slope other than 1.0, it requires at least two points to determine the slope and 'intercept under the new conditions. Also, if significant noise is present , one may use muhiple observations to achieve a reliable estimate.
Finding Linear Relations
If a term fails the test for invariance described above, BACON.s looks for a linear relation between that term and other variables. This test uses a standard linear regression technique 'to determine the slope of the best line relating two variables. Using this slope, it then computes the intercepts predicted by each observation. If these intercepts pass the test for constancy discussed above, then the system creates names for the slope and intercept, and returns their values to the next higher to be treated as data.
Certain values for slopes and intercepts are handled as special cases. If x and y are linearly related, then the slope s may be expressed as (y - i)/x, where i is the intercept. However, if the intercept is 0 , this simplifies to s = y/x; in such cases, ·aACON.s assumes that all future intercepts relating x and y will be 0, and defines the ratio y/x. Similarly, the intercept can in general be expressed as i = y · sx , but this reduces to i = y · x when the slope is 1. In this case, the program assumes all future slopes will be 1 and defines the difference y · x.
As with constants, the system may not find a linear relation between the first terms it considers. In such cases, the heuristics discussed below may generate new terms which are then examined. For example, consider BACON.s's discovery of Ohm's law for electric circuits. Here the program manipulates the length L of the wire connected to a battery, and measures the resulting current I. The values of I are not constant, nor are I and L linearly related. However 1 other factors lead BACON.s to consider the product IL, and this term is linearly related to I. The intercept of this line corresponds to the voltage of the battery, while the intercept corresponds to its internal resistance.
Defining Theoretical Terms
The slopes, intercepts, ratios and differences discussed above may be viewed as types of theoretical terms . They are not directly observable, but their values can be computed from observables. Although a term like IL or pV /nT may be replaced by its defi.nition at any time, its use can greatly simplify the statement of a law. BACON.5 invokes a third heuristic when both of the above tests fail, which also proposes useful theoretical terms. If a monotonic increasing relation is found between two terms and the signs of their values are the ~me, then the ratio of those terms is defined. If a monotonic decreasing trend occurs and the signs agree, then a product is defined. When the signs differ, the reverse events occur. The test lor monotonicity allows for a certain number of exceptions before the test fails. Once a term has been defined, its values are computed and passed to the tests for constancy and linearity.
In its discovery of Kepler's third law of planetary morton, BACON.S observes 3 the period p of a planet, along with its distance d from the sun. Upon comparing the values of these terms for a group of planets, the program finds that d and p increase together. Their ratio d/p is defined and its values are calculated. Now BACON.s notes that d/p decreases as P increases; the product p(d/p) is considered but abandoned, since it is equivalent to the distance d. However, d/p also decreases as d increases, leading to the product d 2 /p. When the values of this theoretical term are computed, the program notes that it decreases as d/p increases. The result is the product d 3 /p 2 , which has a constant value; this in variance is equivalent to Kepler's third law.
3 eoth terms are actually dependent, being functions of the independent nominal variable planet. whoch takes on values such as mercury, venus, and earth. The intrinsic property heuristic discussed below lets the values of d and p be compared as if one were independent.
Postulating Intrinsic Properties
Although the above heuristics are useful lor relating numeric variables. they cannot be applied when an inrlependent nominal or symbolic variable inlluences the values of a numeric dzpendent term. For example, one finds that replacing one battery (e.g., battery A) in an electric circuit with another (e.g., b;:tttery B) produces changes in the slope and intercept of the line relating IL and I. In such cases. BACON.s postulates an intrinsic property associated with the nominal term. The values of this property are borrowed from one 4 of the dependent variables. As a result, the ratio of that dependent variable and the new term is guaranteed to be 1 by definition.
Fortunately, BACON.s is often able to move beyond such tautological reasoning through a process of generalization. Initially, the intrinsic values associated with a set of nominal values are retrieved only under the exact conditions in which they first occurred. But later, as the program alters other variables, a situation will arise which differs from the original in only one respect (e.g., x = 2 instead of x = 1). When this situation occurs, BACON.s compares its set of intrinsic values to the set of dependent values observed under the new conditions. II the two sets of values are linearly related, a generalization results. In future cases, the intrinsic values will be retrieved regardless of the value of the varied term. Once this has happened, the ratio of the dependent term and the intrinsic property can take on values other than 1 , which can be related to other terms at higher levels of description.
In experiments where the same nominal term is associated with different objects, a similar process can occur. For example, in its discovery of Snell's law (discussed at length in the next section), BACON.s associates values of an intrinsic property called the index of refraction with different gases and liquids (such as air and water) . The assignment occurs when one of the media involved in the experiment is varied. Later, when the other medium is varied at a higher level, the program retrieves the values it generated earlier. This assumption that the same values apply to both cases lets the system break out of the tautological circle that can result from the introduction of intrinsic properties.

4 11 multiple dependent terms exist. then BACON 5 attempts to relate each of them to the new property. When no relation can be found, the program proposes a second property based on the unrelated variable. This occurs in the discovery of Ohm's law, leading to separate intrinsic properties tor voltage and internal resistance .
Reasoning by Analogy
We have already discussed BACON.s's techAique lor using its expectations to minimize the data it must gather. In addition, the program incorporates a heuristic lor reducing its search still further in special cases. WheA BACON.s is informed of a variable, it requests. the name of the object with which that term is associated. The program generates a unique name lor this variable·object combination. and moves on to collect more information. However, before it plans an experiment, the system reorganizes the known variables, grouping together all those associated with the same object.
In some situations, two objects have exactly the same associated terms. In this case BACON.s assumes that .the final law will be symmetrical, though it cannot predict the actual form. It orders the terms so that those attached to one of the objects are varied first . Once it finds a constant theoretical term incorporating these variables, the program assumes that an analogous term should be used lor the other object. Thus, BACON.s must systematically vary only one of the second set of terms. When this is done. the two higher level terms take on different values, and can be related by other heuristics. In this way, the symmetrical laws so common in physics can be easily discovered.
In other cases, BACON.s must use its standard techniques to relate two entirely different sets of variables, each associated with an object. Later, a new task may be presented in which one set of terms is identical with that from the previous problem. When this occurs, the system assumes that the theoretical term which proved useful before will do so again. None of the analogous variables need be systematically varied, nor must the system tediously search lor the appropriate combination of terms. Thus, this heuristic enhances the savings which normally occurs, reducing the data which must be examined and directing search through the space of theoretical terms. We discuss examples of each situation in the following section.
The Discoveries of BACON.S
In the previous section we discussed BACON.s's strategies in the abstract. Below we trace some of the system's discoveries in detail , focusing on laws in which symmetry and conservation play a role. These include Snell 's law, conservation of momentum, Black's spE:cilic heat law, and Joule's formulation of conservation of energy. Finally, we examine the generality of the program's heuristics with respect to these and other tasks.
| MEDIUM, | H, | o, | MEDIUM 2 | H,. | 0 2 | 0 2/H2 |
|---|---|---|---|---|---|---|
| VACUUM | 40 | 10 | WATER | 40 | 13.33 | 0.33 |
| VACUUM | 40 | 10 | WATER | 50 | 16.67 | 0 .33 |
| VACUUM | 40 | 10 | WATER | 60 | 20.00 | 0 .33 |
Snell's law of Refraction
As a ray of light passes from one medium to another, the passage alters the direction in which the ray travels. Snell's law of refraction relates the initial and final directions, as well as the media involved. II we let 8 1 be the incoming angle of incidence and 8 2 be the outgoing angle of refraction , then Snell's law may be stated as sine 8 1 /n 1 = sine 8 2 /n 2 . In this equation, n 1 is the value of an intrinsic property of the first medium called the index of refraction, while n 2 is the analogous value for the second medium. The index of refraction lor vacuum is normally assigned as the standard 1.0. while the values lor water, oil , and glass are 1.33, 1.4 7, and 1.66, respectively.
In rediscovering Snell's law, BACON.s is presented with two objects, each with three associated variables. The first of these terms is the medium, which takes nominal values such as air and water. The second is the distance h from the intersection of the media at which the light is measured. The final term is more complicated. Draw a perpendicular line through the point at which the ray crosses from one medium into the other. Now find a point on the ray which has distance h from this intersection. The variable o is defined as the distance of this point from the perpendicular. Thus, any combination of values for h and o determine a particular angle. BACON.s is given experimental control of the first medium, h 1 , o 1 , the second medium, and h 2 . To find o 2 for a given experimental situaiion, one moves down the ray of light for the distance h 2 ; the value of o 2 is simply the distance of this point from the perpendicular. This formulation 5 of the task allows the program to discover Snell's law without knowledge of trigonometry.
| MEDIUM, | H, | o, | MEDIUM 2 | O,fH 2 | N2 | 02/H2N2 |
|---|---|---|---|---|---|---|
| VACUUM | 40 | 10 | WATER | 0 .33 | 0 .33 | 1 .0 |
| VACUUM | 40 | 10 | OIL | 0 .37 | 0 .37 | 1.0 |
| VACUUM | 40 | 10 | GLASS | 0 .42 | 0 .42 | 1.0 |
When presented with these terms, BACON.s first plans its experiment so the h 2 will be varied first, followed by medium 2 , o 1 , h 1 , and medium 1 , in that order. The program makes a special eflort to group variables associated with the same object together. Table 1 presents some data collected when the value of h 2 was varied. Comparing the values of o 2 and h 2 , the system finds a linear relation with a zero intercept. Accordingly, the ratio o 2 /h 2 is defined, which has the constant value 0.33. Note that this term is equivalent to sine 8 2 .
Next BACON.s alters the value of the second medium, using oil instead of water. Since the system expects o 2 /h 2 to be constant, it computes its value when o 2 is 20, giving 0.37 as the result . Using the same approach, o 2 /h 2 is found to be 0.42 when the second medium is glass. These values are summarized in Table 2. At this point, BACON.s has a set of nominal independent values associated with a set of numeric dependent values. Since no more progress is possible until numbers are associated with these symbols, the program postulates an intrinsic property n 2 to be connected with the second medium. The values of this term are taken to be those of o 2 /h 2 , and the ratio o 2 /h 2 n 2 is defined. This new property has (by definition) the constant value 1.0 . However, when the values of n 2 are retrieved during later periods of the discovery process, this ratio may take on different values.
| 1.00 | 1 .00 | 1 .0 |
| 1.20 | 1.20 | 1.0 |
| 1.35 | 1.35 | 1.0 |
5 we would like to thank Robert Akscyn lor suggesting this approach.
Having related all variables associated with the second object, BACON s focuses on the first set of terms. Assuming symmetry, the system does not bother to systematically vary o 1 and h 1 . Instead, the values of the first medium, h 1 , and o 1 are varied in conjunction, and the corresponding values of o 1 /h 1 n 1 are immediately computed. In addition, the values of o 2 /h 2 n 2 are found for each situation, and the higher level terms are compared, as shown in Table 3. A linear relation with a zero intercept is uncovered, and the ratio o 2 h 1 n 1 /o 1 h 2 n 2 is found to be the constant 1.0. Replacing o/h with sine 8, we see that this law becomes 1) 1 sine 8 2 /n 2 sine 8 1 = 1.0, which is equivalent to Snell's law. The intrinsic properties n 1 and n 2 are proportional to the indices of refraction of the two media. Figure 2. presents BACON.s 's search through the data space for this task.

Conservation of Momentum
Physicists deline the momentum of an object as the prod1.1ct of its mass m and its velocity v . Similarly, the total momentum of a group of objects is the sum of their individual momenta. One of the most basic laws of physics states that when two or more objects collide, the total momentum of the system is conserved . For two-object collisions, this may be stated as m 1 v 1 + m 2 v 2 = m 1 u 1 + m 2 u 2 , where m 1 and rn 2 are the masses of the objects, v 1 and v 2 are their initial velocities, and u 1 and u 2 are their final velocities. This equation may be rewritten as m 1 (v 1 - u 1 ) = m 2 (u 2 - v 2 ), which says that the loss in momentum for one object is compensated by a gain in the momentum of the other object.
| NAME 1 | v, | u, | NAME 2 | v2 | u2 | u 2 • v, |
|---|---|---|---|---|---|---|
| A | 40 | 10 | B | 40 | 55 | 15.0 |
| A | 40 | 10 | B | 50 | 65 | 15.0 |
| A | 40 | 10 | B | 60 | 75 | 15.0 |
In discovering conservation of momentum, BACON.s is informed of three terms, each associated with two objects. The terms name 1 and name 2 take on nominal values such as A, B, and C; these serve to distinguish specific objects from one another. The terms v 1 , v 2 , u 1 , and u 2 take on the same meanings as above. BACON.s is not directly presented with the masses of the objects. The first five of these variables are under the system's experimental control , while u 2 is viewed as dependent. The treatment of u 1 as independent requires some justification. In the normal interpretation of conservation of momentum, both u 1 and u 2 are considered dependent on the other four terms. MoreQver, the law cannot uniquely predict the values of u 1 and u 2 ; usually another equation such as conservation of energy must be invoked to achieve predictive power. However, since velocities are relative to the motion of the observer, one can simply move at a velocity which gives an arbitrary value to u 1 . Once this is done, the value of u 2 is uniquely determined.
BACON.5 begins by arranging these variables so that v 2 is varied fi rst, followed by name 2 , u 1 . v 1 , and name 1 . Upon varying the values of v 2 , the program notes a linear relation between u 2 and v 2 with a slope of 1.0 . Accordingly, the difference u 2 · v 2 is defined, which has the constant value 15.0 . When name 2 rs varied next, BACON.5 considers only enough values of u 2 and v 2 to find the differences it needs. Table 5 shows the results of these calculations lor three different objects, where the relative masses are A = 1, B = 2, C = 3, and 0 = 4 . Confronted with nominal independent values, the system defines the intrinsic property k 2 and assigns it values based on those of u 2 · v 2 . The ratio (u 2 · v 2 )/k 2 is also defined and found (not surprisingly) to be 1.0. Note that k 2 is proportional to the inverse of m 2 , the mass of the second object.
| NAME 1 | v, | u, | NAME 2 | u2. v2 | K2 | (U2·V 2)/K2 |
|---|---|---|---|---|---|---|
| A | 40 | 10 | 8 | 15.0 | 15.0 | 1.0 |
| A | 40 | 10 | c | 10.0 | 10.0 | 1.0 |
| A | 40 | 10 | D | 7.5 | 7.5 | 1.0 |
Table 5. Second level data obeying conservation of momentum.
After relating k 2 , v 2 , and u 2 , BACON.5 turns its attention to k 1 , v 1 , and u 1 . By analogy, it decides to relate the values of (u 1 · v1)/k1 to those of (u 2 · v 2 )/k 2 , gathering only the data it requires. Table 6 gives some values of these theoretical terms. The program immediately finds a linear relation between these higher level variables, this time with a zero intercept. The ratio k 1 (u 2 · v 2 )/k 2 (u 1 · v 1 ) is defined and found to ha_ve the constant value -1 .0. This expression is easily transformed rnto the second statement of conservation of momentum given above. BACON.5's search through the data space is identical in form to that for Snell 's law.
| !U,. V 1 )/K 1 | (U 2 · V)/K 2 | K 1 (U 2 · V 2 )/K 2 (U 1 • V 1 ) |
|---|---|---|
| ·1.0 | 1.0 | ·1.0 |
| ·2.0 | 2.0 | ·1.0 |
| ·3.0 | 3.0 | ·1.0 |
Table 6. Highest level data obeying conservation of momentum.
Black's Specific Heat Law
If one brings two containers of liquid having different temperatures into contact, their temperatures will eventually come into equilibrium. The quantitative relation is c 1 m 1 I 1 + c 2 m 2 t 2 = c 1 m 1 f 1 + c 2 m 2 f 2 ,where t 1 and 1 2 are the initial temperatures, f 1 and f the final temperatures, m 1 and m 2 the masses of the two liquid~. and c 1 and c 2 are intrinsic properties associated with vari ous types of liquids called their specific heats. Joseph Black discovered this relation, usually called the specific heat law, in the 18GO's. Theequationmayberecastasc 1 m 1 (1 1 -f 1 ) = c 2 m 2 (f 2 · 12), which states that any heat lost from one body is gained by the other. ·
In this case, BACON.s is told about two objects, each with an associated liquid (taking nominal values svch as water and oil), mass m, initial temperature t, and final temperature f. All variables are under experimental control except 1 2 , which is the single dependent term. The final temperature of the first liquid, f 1 , can be manipulated observationally by continuously watching the temperature of the first liquid. When the temperature reaches the desired value, then the temperature of the second liquid is sampled as well. Thus, one need not wait until the liquids have reached equilibrium to discover Black's law.
Joule's Law
In the 1840's James Prescott Joule set forth his law of energy conservation. Joule tested his hypothesis in a variety of ways. In one experiment, he dropped heavy objects to turn a wheel, whose motion in turn heated a large container of water by friction. By comparing the potential energy lost by the dropped objects to the heat energy gained by the liquid, he found that the total energy remained constant. In a second experiment, the scientist sent an electric current through water and measured the resulting change in temperature; the total energy was conserved in this case as well .
BACON.s can discover both forms of Joule's law. In the first situation, the program is informed about two objects · a heavy ball and a container of liquid. Three independent terms are associated with the ball . its weight w 1 , the height h 1 from which it is dropped, and n 1 , the number of times it is dropped. The liquid is also associated with three controllable variables - the type of liquid L 2 occupying the container, its mass m 2 , and its initial temperature t 2 . In addition, a single dependent term, the final temperature f 2 , is associated with the liquid.
As in its discovery of Black's law (itself a special case of Joule's law), BACON.s begins by varying t 2 and examining the resulting values of f 2 . The difference 1 2 · . t 2 is found" to be constant, followed by rri 2 (1 2 · t 2 ) at the next level of description .. Still later, the intrinsic property d 2 is defined, followed by the ratro m 2 U 2 · t )/d . At this point the program shifts to manipulating ctara~teristics of the first object. Since different variables are involved, it must rely on its data-driven heuristics instead of jumping ahead through analogy. When the number n 1 is varied, a linear relation with intercept 0 is noted; the ratio m 2 U 2 · t 2 )/d 2 n 1 is defined and found constant. This process repeats itself lor the remaining terms, leading first to the ratio m 2 (1 2 · t 2 )/d 2 n 1 w 1 and then to m 2 (1 2 · t 2 )Jd 2 n 1 w 1 h 1 . This last expression has a constant value, and the resulting hypothesis is equivalent to Joule's statement that the loss in potential energy (n 1 m 1 h 1 ) is gained in heat energy (m 2 U 2 · t 2 )/d 2 ).
The form of this law is quite similar to that for conservation of momentum, and BACON.5's path of discovery is correspondingly similar. At the outset, the program groups terms associated with each object together, to simplify its analogical reasoning at a later stage. Upon varying t 2 and examining the resulting values of 1~, the system finds a linear relation with a slope of 1.0 . Thrs leads rt to consider the difference 1 2 · t 2 , which has a constant value. When BACON.s varies m 2 at the next level, it finds that 1 2 · t 2 decreases as m 2 increases; their product m 2 (f 2 · 1 2 ) is computed and also found to be a constant. At the third level of description, the program finds itself attempting to relate nominal values to numeric ones. Its solution is to define the intrinsic property d 2 based on the values of m 2 (f 2 · t 2 ) ; this new property is equivalent to the inverse of c 2 , the specific heat of the second liquid. The ratio m 2 (f 2 · t 2 )/c 2 is immediately defined and found to be the constant 1.0.
Since it has discovered the relations between the lour terms associated with the first body, BACON.s next considers the second liquid. The term m 2 (f 2 · t 2 )/d 2 was useful before, so it computes the values of m 1 (f 1 · t 1 )/d 1 for a number of ca~es and attem~ts to lind a relation between the two expressrons. As wrth conservation of momentum, the result is a linear relation with an intercept of 0 and a slope of ·1.0. The ratio d 1 m 2 (f 2 · t 2 )/d 2 m 1 (f 1 · t 1 ) is defined and stored as a constant. . This equation is a simple restatement of the second formulatron of Black's law shown above.
In discovering Joule's second rei;Jtionship, BACON.s is presented with the same container of liquirl and a new obie«t. an electric circuit. The liquid has the same associated terms as before, while the circuit is associated with two independent variables · its resistance R and its current I. In generating its experimental design, the system recognizes a familiar situation. Rather than varying the values of L 2 , m 2 , and t 2 systematically, it decides to compute values of m 2 (f 2 · t 2 )/d 2 . This is done for a number of values of the current 1 1 and the two sets of numbers are compared. Although m 2 (f 2 · t 2 )/d 2 and 1 1 increase together, the ratio m 2 (f 2 · t 2 )/d 2 1 1 is not constant. However, the new term is linearly related to 1 1 with an intercept of zero. The second ratio m 2 (f 2 · t 2 )/d 2 1~ is defined and found to be constant. When the resistanc·e R 1 is varied next, a linear relation with a rero intercept is discovered, and the ratio m 2 (f 2 · t 2 )/d 2 1~R 1 is defined. This complex term has a constant value, and BACON.5 has arrived at Joule's second formulation of energy conservation.
Generality of the Heuristics
In addition to the laws described above, BACON.S has rediscovered a number of other empirical laws. These include the ideal gas law. Coulomb's law. Kepler's third law, Ohm's law, Archimedes' law of displacement, and Galilee's pendulum law and law of constant acceleration. These discoveries diller from those just discussed in that reasoning by analogy could not be used to reduce search. However, most of the remaining heuristics played a role in each of these laws.
The program's success on these tasks suggests that the primary goal of our research has been met: BACON.s is a general discovery system capable of operating in many different domains. However, an intelligent system is only as general as the heuristics from which it is constructed. As we have seen, BACON.s incorporates five main heuristics: noting constancies; finding linear relations: detecting monotonic trends; postulating intrinsic properties; and reasoning by analogy. Table 7 presents those heuristics applied in each of the program's discoveries. The degree of use indicates that BACON.s's heuristics are indeed general principles useful in discovering a wide range of laws.
| CONSTANCY | LINEAR | MONOTONIC | INTRINSIC ANALOGY | |
|---|---|---|---|---|
| IDEAL GAS COULOMB KEPLER OHM GALl LEO SNELL MOMENTUM BLACK JOULE | X X X X X X X | X X X X-. X X X X X X | X X X X X X' X | X X X X X X X X X x· X X |
| ARCHIMEDES |
Conclusions
In this paper we describeJ BACON.s. a system that has discovered a number of laws from the history of science. The program incorporates heuristics for noting constancies, finding linear and monotonic relations, defining theoretical terms, and postulating intrinsic properties. We focused on a heuristic for reasoning by analogy, which significantly reduced BACON.s's search for data, theoretical terms, and hypotheses. This heuristic proved useful in discovering Snell's law, conservation of momentum, Black's specific heat law, and two forms of conservation of energy.
Several issues present themselves lor attention in the future. The lirst ol these is noise. Although BACON.s's heuristic"'> are capable of handling considerable noise, the control structure of the system is not suited for dealing with the increased search which can result. In its current form, BACON.s can consider only a single hypothesis at a time. Future versions should be able to entertain multiple hypotheses, and design critical experiments to distinguish between them. Another issue relates to the variables presented to BACON.s. In all of the discoveries we have discussed, the program was only presented with terms relevant to the final law. For example, in the discovery of Snell 's law, we carefully avoided giving BACON.s an extra term which would have let it define ratios equivalent to cosine 8 and tangent 8. The next instantiation of BACON should have facilities for dealing with many irrelevant variables, so that its input netld not be so carefully crafted.
A final limitation involves the form of the laws BACON.s can discover. The current implementation finds product and power laws, linear relations, and complex combinations of these forms. However. we hope to attain much more complex functions by incorporating Gerwin's [6] method of residuals. In this strategy, one formulates an hypothesis about the relation between ·two variables, much as BACON.s does at present. But then one considers the residual variation left unaccounted for by the law. If this variation is random, the program is satisfied. However, if significant regularity remains, one searches for a new hypothesis to explain the variation. Once found, the new law is incorporated into the original rule, and the system iterates by examining the remaining variation.
In conclusion, we feel that BACON.s's heuristics are general discovery principles with a wide range of application, and that the program has responded well in the areas it has been tested. In its present form, the system has certain limitations: it cannot adequately deal with noise; it cannot handle irrelevant variables; and the class of laws it considers is overly constrained. However, we feel confident that generalizations and extensions of the data driven, Baconian approach will suggest solutions to these problems, and that more interesting discoveries lie ahead.
@inproceedings{ijcai1981p26,
title = {BACON.5: The Discovery of Conservation Laws},
author = {Langley, Pat and Bradshaw, Gary L. and Simon, Herbert A.},
booktitle = {Proceedings of the Seventh International Joint Conference on
Artificial Intelligence, {IJCAI-81}},
publisher = {International Joint Conferences on Artificial Intelligence},
editor = {Patrick J. Hayes},
pages = {121--125},
year = {1981},
month = {8},
note = {Learning},
url = {https://ijcai.org/proceedings/1981/26},
}
TY - CPAPER TI - BACON.5: The Discovery of Conservation Laws AU - Langley, Pat AU - Bradshaw, Gary L. AU - Simon, Herbert A. T2 - Proceedings of the Seventh International Joint Conference on Artificial Intelligence, IJCAI-81 PB - International Joint Conferences on Artificial Intelligence PY - 1981 SP - 121 EP - 125 UR - https://ijcai.org/proceedings/1981/26 ER -Copied
Machine-readable versions of this paper, for tools and AI agents:
Welcome
Future Conferences
AI Journal Division
IJCAI Proceedings
About IJCAI
IJCAI Awards