






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







47
Information Services, Engineering and Planning, Guy Canada, Calgary, Alta., Canada T2P 2H
Departments of Philosophy, Computing Science, Universiry of Alberta, Edmonton, Alta., Canada T6G 2E Received February 5, 1985 Revision accepted March 29, 1985
AND
From the mid-1950’s to the present the notion of a heuristic has played a crucial role in the A1 researchers’ descriptions of thcir work. What has not been generally noticed is that different researchers have often applied the term to rather different aspects of their programs. Things that would be called a heuristic by one researcher would not be so called by others. This is because many heuristics embody a variety of different features, and the various researchers have emphasized different ones of these features as being essential to being a heuristic. This paper steps back from any particular research program and investigates the question of what things, historically, have been thought to be central to the notion of a heuristic and which ones conflict with others. After analyzing the previous definitions and examining current usage of the term, a synthesizing definition is provided. The hope is that with this broader account of ‘heuristic’ in hand, researchers can benefit more fully from the insights of others, even if those insights are couched in a somewhat alien vocabulary. Key words: heuristic, rule of thumb, algorithm, problem solving, artificial intelligence, cognitive science, philosophical implications of AI, history of AI.
Depuis le milieu des annees cinquantejusqu’a nos jours, la notion d’heuristique a joue un r6le crucial dans les descriptions que faisaient les chercheurs en IA de leurs travaux. Ce qui n’a genkralement pas Ctk relevi, c’est que les differents chercheurs ont souvent applique ce terme ?I des aspects assez differents de leurs programmes. Ce qu’un chercheur particulier appellerait une heuristique sera nornmi differemment par d’autres. Ceci, parce que beaucoup d’heuristiques incorporent une varietk d’aspects diffkrents, et les divers chercheurs n’ont pas mis I’accent sur les m&mesaspects comme ttant essentiels 5 la formulation d’une heuristique. Cet article se tient a I’ecart de tout programme particulier de recherche et examine la question de savoir quels klkments, historiquement, ont k t t considkrks comme centraux dans la notion d’heuristique et lesquels sont en conflit. Apres Bvoir analyse les definitions antirieures et examine les usages courants du terme, nous proposons une definition synthetique. Notre espoir est que, disposant d’un compte-rendu plus cornplet sur la notion d’heuristique, les chercheurs pourront bknkficier plus pleinement des approches de leurs collegues, m&mesi celles-ci sont formulees dans u n vocabulaire quelque peu different. Mots clis: heuristique, rtgle ad hoc, algorithme, resolution de probltme, intelligence artificielle, science cognitive, implica- tions philosophiques de I ’ I A. histoire de I’IA.
Cornput Intell. 1. 47-58 (1985)
Introduction
That the concept of a heuristic has been, and continues to be, central in A1 is too well known to require documentation. Less well known, perhaps, is the fact that this central concept has always had a number of distinct “dimensions of meaning” associated with it, and throughout the history of its use in A different theorists have emphasized different ones of these
instance of a heuristic would later be seen as only a marginal instance. In this paper w e canvas the history of this concept in A1 with an eye to teasing out these “dimensions of meaning.” We present four dimensions: uncertainty of outcome, basis in incomplete knowledge, improvement of performance, and guidance of decision making. A thorough investigation is then made of each dimension to see exactly where the concept of heuristic fits along each dimension. Finally, with the entire analysis behind us, w e conclude by providing our own definition of ‘heuristic’, one which we believe accurately summarizes what the majority of A1 theorists mean by the term. Why is a solid definition needed, it might be asked. Haven’t we been getting along fine without one? It is true that very few of the research efforts that employ heuristics actually offer any detailed analysis of the concept. Individual heuristics are discovered, tested, and modified in conjunction with a particu- lar task or subtask. but the concept of a heuristic itself is rarely reflected upon. As a rule, definition by example is the primary
[Traduit par la revue]
noteworthy works as Lenat’s (1982, 1983a,b) are not a careful exposition of the relevant concepts, but are rather a variegated mixture of hypothetical key ideas and speculations presented as an account of his (and his colleagues’) latest reflections on the subject. This is no criticism: obviously such work is of the utmost value when addressing issues at the forefront of scientific research. But w e think that an equally valuable task is to try to untangle the web of distinct pronouncements made about the concept without specific reference to any ongoing research project, both so that future researchers can find a basis for commonality in comparing their work with the apparently dissimilar work of others, and also so that newcomers to the field will be better able to comparatively judge the success of projects which employ (what their authors call) heuristics, and will also be better able to judge the extent to which any such success is genuinely due to the heuristics, as opposed to any other techniques.
History heuriskein (ancient Greek) and heurisricus (Latin): “to find out, discover.”
Heureric: The branch of Logic which treats of the art of discovery or invention. 1838 Sir W. Hamilton Logic App. (1866) 11. 230 That which treats of these conditions ofknowledge which lie in the nature, not of the thought itself, but of that which we think about
(^48) COMPUT. ISTELL. VOL. I. 1985
... has been called Heuretic, in so far as it expounds the rules of Invention or Discovery. Heuristic: Serving to find out or discover. 1860 Whewell in Todhunter’s Acc. W. ’ s Wks. (1876) 11. 418 If you will not let me treat the Art of Discovery as a kind of Logic, I must take a new name for it, Heuristic, for example. 1877 E. Caird Phifox. Kanr I xix. 662 The ideas of reason are heuristic not ostensive: they enable us to ask a question, not to give the answer. [Oxford Dictionary of the English Language]
Polya w a s concerned with teaching students of mathematics
student of his and claims (1980, p. 1) that “Polya ... is
Polya for a “definitive treatment of heuristics and mathematical discovery.” Polya’s (1945, p. 113) explanation goes as follows (Polya
The aim of heuristic is to study the methods and rules of discovery and invention. A few traces of such study may be found in the commentators of Euclid; a passage of PAPPUS is particularly interesting in this respect. The most famous attempts to build up a system of heuristic are due to DESCARTES and to LEIBNITZ. both great mathematicians and philosophers. Bernard BOLZANO presented a notable detailed account of heuristic. The present booklet is an attempt to revive heuristic in a modern and modest form. See MODERN HEURISTIC.
Heuristic, as an adjective, means “serving to discover.”
Polya is quite definite in his view that heuristics are not infallible, and that they are to be contrasted with deductive reasoning.
Heuristic reasoning is reasoning not regarded as final and strict but as provisional and plausible only, whose purpose is to discover the solution of the present problem. We are often obligated to use heuristic reasoning. We shall attain complete certainty when we shall have obtained the complete solution, but before obtaining certainty we must often be satisfied with a more or less plausible guess. We may need the provisional before we attain the final. We need heuristic reasoning when we construct a strict proof as we need scaffolding when we erect a building. ... Heuristic reasoning is often based on induction, or on analogy. [pp. 112, 1131
Provisional, merely plausible HEURISTIC REASONING is important in discovering the solution, but you should not take it for a proof; you must guess, but also EXAMINE YOUR GUESS. ip. 1321
I t is also emphasized that infallible RULES OF DISCOVERY are beyond the scope of serious research. [p. 1321
So Polya sees himself as reviving “heuristic,” the study of methods and rules of discovery. He wishes to d o this in a “modest and modem form.” To explain his modem version, he
Modern heuristic endeavors to understand the process of solving problems, especially the rnenfal operutions fypical/v useJil in this process.
... a list of mental operations typically useful in solving problems [includes] particular questions and suggestions [like:]
RESTATE THE PROBLEM? [pp. 129-
Heuristic discusses human behavior in the face of problems; this has been in fashion, presumably, since the beginning of human society, and the quintessence of such ancient discussion seems to be preserved in the WISDOM OF PROVERBS. [p. 132)
solving behavior that focuses o n plausible, provisional, useful, but fallible, mental operations for discovering solutions.
the term and trying to absorb it into the then-current frame- works. Everyone w h o employed the term during this period
definition of the term “to find out, discover” was not being followed. We shall now provide some definitions from this era. W e
that time, Feigenbaum and Feldman (1963). W e could have done otherwise, but all the strands we wish to pick up are present therein.
also Newell 1980, p. 17) were the first to use heurisric as a noun meaning heuristic process. They claim to be using heuristic here according to the standard dictionary definition, “serving to
algorithm:
The research reported here is aimed at understanding the complex processes (heuristics) that are effective in problem-solving. Hence, we are not interested in methods that guarantce solutions, but which require vast amounts of computation. Rather, we wish to understand how a mathematician, for example. is able to prove a theorem even though he does not know when he starts how, or i f , he is going to succeed. [Feigenbaum and Feldman 1963, p. 1091
One very special and valuable property that a generator of solutions sometimes has is a guarantee that if the problem has a solution, the generator will, sooner or later, produce it. We call a process that has this property for some problem an algorithm for that problem.
A process that may solve a given problem, but offers no guarantees of doing so, is called a heuristic for that problem. [Feigenbaum and Feldman 1963. p. I
O n e gathers from this that they believe there are only two ways to solve a problem: one by thoughtlessly following a sure-fire algorithm; the other by employing complex processes
solution. Prior knowledge of success or failure appears the key way of distinguishing these two problem-solving methods. Efficiency of either method does not appear to be a key concern. In Gelernter’s (1959) geometry program paper, we find a definition reminiscent of Polya:
A heuristic method is a provisional and plausible procedure whose purpose is to discover the solution of a parricular problem at hand. [Feigenbaum and Feldman 1963, p. 1 3 S j
much in the sense of invention; it presumes a kind of groping
landscape. Rather than a vague psychological groping for a solution, we were presented with the notion of an exploration
implicitly prespecified in the predefined state-space structure. Another reemphasis is that, rather than having heuristic methods derive from general problem-solving psychology and be made applicable to specific domains like mathematics, in A
force for introducing heuristics and discovering new ones is to improve the performance of a program in a particular problem domain. In contrast, for Polya the reason to introduce heuristics was to have math students learn how to think, i.e., to acquire the
the very outset when investigating a totally unfamiliar problem, and their application may even result in discovering an
‘heuristic’ are not opposed for Polya; they are not in the same category of tools. Polya believes there simply are no algorithms for investigating totally new problems; this is the domain of heuristics. Algorithms, if there be any, come after we have seen one way to solve the problem and have analyzed the solution. The analysis and inventing of the algorithm is another job for heuristic methods. In the 1960’s, after the early A1 era of definitions of heuristic,
phrase “heuristic search.” So popular has this usage become that someauthors, e.g., BarrandFeigenbaum(l981). prefer itto the mere “heuristic,” and others do not use “heuristic” in any other form. e.g., Winston (1977). According to Newell and Simon (1972, p. 888). in 1965 Emst and Newell introduced the concept of “heuristic search, which itself was simply an attempt to formulate what seemed
Later, Ernst and Newell wrote:
HEURISTIC SEARCH. This research approaches the construc- tion of a general problem-solver by way of a general paradigm of problem solving: heuristic search (Newell and Emst, 1965). In simplified form the heuristic-search paradigm posits objects and operators, where an operator can be applied to an object to produce either a new object or a signal that indicates inapplic- ability. The operators are rules for generating objects, and thus define a tree of objects. ... A method for solving a heuristic-search problem is searching the tree, defined by the initial situation and the operators, for a path to the desired situation. [ 1969, pp. 247, 2483
appears to play an odd role here. If heuristic search is just search through a tree, then even blind search is a form of heuristic search. Nowadays it is more common to call Ernst and Newell’s
search’ for search through a state space that is based on heuristic decision processes. In other words ‘heuristic search’, as used
After the early A1 era, there are very few definitions given
to include all the standard definitions. Samples of these are
problem-solving efficiency or range of capability. These range from ad hoc tricks for particular kinds of problems to very general principles of efficient administration and resource allocation. [Minsky 1968, p. 81
A heuristic is a rule of thumb, strategy, method, or trick used to improve the efficiency of a system which tries to discover the solutions of complex problems. ‘[Slagle 1971, p. 31
employ procedures not necessarily [but possibly] proved to be correct, but which seem to be plausible. Most problems that have been considered by A1 researchers are of the sort where no one knows any practical, completely correct procedures to solve them; therefore, a certain amount of proficiency in using hunches and partially verified search procedures is necessary to design pro- grams that can solve them. So, by a heuristic is meant some rule of thumb that usually reduces the work required to obtain a solution to a problem. [Jackson 1974, p. 951
[Guzman’s scene analysis program uses] a set of informal reasoning rules (sometimes called heurisrics) which were derivcd by an empirical, experimental method. ... Although the resulting programs might not be explainable in terms of some deep underlying theory, they perform adequately i n most situations and therefore in a very practical sense they solve thc problem. [Raphael 1976, p. 237, 2381
A heuristic is any stratagem for improving the performance of an artificial intelligence program. The heuristic programming ap- proach to artificial intelligence is perhaps the most popular and productive one today. I t contrasts with another major approach,
more to understand and use the features of human intelligence than to apply any technique which works. [Sampson 1976, p. 1281
A heuristic is a method that directs thinking along the paths most likely to lead to the goal, less promising avenues being left unexplored. [Boden 1977, p. 3471
An important distinction underlying muchof the work in A1 is that between two types of methods used to solve problems. One method is called algorithmic, the other, heuristic. Algorithms are commonly defined as procedures that guarantee a solution to a given kind of problem; heuristics are sets of empirical rules or strategies that operate, in effect, like a rule of thumb. [Solso 1979, p. 4361
Heuristics, as every Aler knows, are rules of thumb and bits of knowledge, useful (though not guaranteed) for making various selections and evaluations. [Newell 1980. p. 161
Heurisrics are criteria, methods, or principles for deciding which among several alternative courses of action promises to be the most effective in order to achieve some goal. They represent compromises between two requirements: the need to make such criteria simple and, at the same time. the desire to see them discriminate correctly between good and bad choices. [Pearl
ROMANYCIA AND PELLETIER 5 1
But there are some novel interpretations emerging, which appear to be “second generation ideas” on what heuristics really are. Unfortunately, these are never very clearly defined and
heuristic as “compressed experience”:
Of course, rules for the formulation of chess plans will necessarily involve heuristics which are, in some sense, “flattened” versions of looking ahead. That is, the equivalent of many games’ expe- rience of looking ahead is “squeezed” into another form which ostensibly doesn’t involve looking ahead. In some sense this is a game of words. But if the “flattened” knowledge gives answers more efficiently than the actual look-ahead-even if it occasion- ally misleads-then something has been gained. [p. 6041
comes from Albus (1981):
Procedures for deciding which search strategies and which evaluation functions to apply in which situations are called heuristics. Heuristics are essentially a set of rules that reside one hierarchical level above the move selection and evaluation functions of the search procedure. A heuristic is a strategy for selecting rules, i.e.. a higher level rule for selecting lower level rules. [p. 284; see also pp. 222, 2231
And finally, Lenat (1982) appears to have a view of heuristics similar to Hofstadter’s:
Heuristics are compiled hindsight: they are nuggets of wisdom which, if only we’d had them sooner, would have led us to our present state much faster. This means that some of the blind alleys we pursued would have been avoided, and some of the powerful discoveries would have been made sooner. [p. 2231
It is our belief that definitions like these last three are not sufficiently popular in the general A1 community to warrant being included as part of a comprehensive definition of ‘heuristic’. This situation may of course change with time.
of heuristic that have appeared over the past 40 years. We have seen that different researchers have emphasized different properties as being relevant to whether a heuristic is being employed, and we have seen a shift in emphasis in the concept. We would like now to distinguish more carefully the different (but interrelated) “dimensions of meaning” that the concept embodies. We can distinguish four dimensions along which various researchers have judged whether a process is a heuristic:
We have seen how, in many of the definitions, ‘heuristic’ has been opposed to terms like ‘algorithmic’, ‘guaranteed’, and ‘complete’. We will argue in this section that the central idea underpinning these definitions is that heuristics exist in a context
We will explain in what respects those, like Minsky, who think that heuristics are perfectly compatible with algorithms are correct, even though there is a genuine conflict between these two notions. In illustration, we shall give the sense in which even the brute force British Museum Algorithm is a heuristic. Central to this key property of uncertainty and, as we saw, present at the very earliest adoptions of the concept of heuristic by A1 is the notion of algorithm. ‘Algorithm’ has many meanings, although it is doubtful that the ambiguity has caused
any of the disagreements over definition. If we define algorithm as merely “a set of [formally defined and uniquely interpreted] rules which tell us, moment to moment, precisely how to
decisions is algorithmic, and hence all heuristics implemented on computer, or otherwise strictly formulated, are algorithmic. We use “procedure-algorithm” to mean this type of algorithm. However, when ‘heuristic’ has been considered opposed to ‘algorithm’, ‘algorithm’ has always had a much stronger sense which includes an element of guarantee about finding a solution. Korfhage (1976, p. 48), following normal usage, characterizes an algorithm as follows:
If the last restriction is too strong we may define ‘semi- algorithm’ as follows: “a method that will halt in a finite number of steps if the problem posed has a solution, but will not
distinction does not apply. We call such algorithms “simple- algorithms.” ‘Heuristic’ has often been opposed to some such notion of algorithm, although not universally by all authors. Newel1 e t a f. (Feigenbaum and Feldman 1963, p. 114) opposed it to semi- algorithms, while Tonge (Feigenbaum and Feldman 1963, p. 172) and Slagle (1963, p. 194) opposed it to simple-algorithms.
simple-algorithms and also seemed to say that there is no issue here. We have seen that Minsky, Raphael, and Sampson denied any opposition with algorithms and that both Nilsson (1980, p.
sacrifice a guarantee of finding a solution (although neither said anything about starting out with a guarantee, or what happens if one should find that the putative heuristic does guarantee finding
semi-algorithm, but on the other hand there is a contrast insofar as heuristic programs postpone decision making, whereas algorithms require all decisions be precisely specified before- hand. Given this mix of conflicting claims one could simply do as B a n and Feigenbaum (1981, pp. 28, 29) do, namely, state that heuristic is an ambiguous term and that to keep things clear one will be using such and such a definition. This response is inadequate, however, because it ignores several reasons for believing that there is one correct definition. These are the single origin of the term in the A1 literature, i.e., the work of
weight on this specific term; and the fact that A1 authors have not
really important and common to this branch of research,
believe a proper analysis of heuristic must result in one definition, and this one definition must show adequate apprecia- tion for all the ideas which have been linked to i t , and it must be able to explain any incompatibility among such ideas.
improve problem-solving performance. Since so many real
become so popular and are so worth studying.
heuristic applicability:
At an earlier stage [of knowing a domain], there may have been too little known to express very many heuristics; much later, the environment may be well enough understood to be algorithmized; in between, heuristic search is a useful paradigm. Predicting eclipses has passed into this final stage of algorithmization; medical diagnosis is in the middle stage where heuristics are useful; building programs to search for new representations of knowledge is still pre-heuristic.
Thus we have a spectrum of confidence levels in decision making. At one extreme are efficient algorithms and other decision processes which we believe are optimal (whether or not they guarantee a solution), and at the other extreme we have the most inefficient algorithms and other unprofitable processes in which we place little confidence. Heuristics fall in between: they are plausible without being certain. The placement of a particular process along this spectrum is, however, relative to our perception of the extremes. For example, Newell et al. (Feigenbaum and Feldman 1963, p. 1 16) originally spoke of their British Museum algorithm as producing such “simple and cheap” expressions that it could not be heuristic, whereas they (Newell and Simon 1972, pp. 120, 121) later call i t heuristic
since by generating only theorems it is so much more selective than one that generates all well-formed formulas. As a defining ingredient in heuristics, partial insight offers more than just confidence. Insight is the core of a heuristic’s intelligence, its reason for being. A particular heuristic is
some aspect of the problem a device must perforce contribute nothing to problem solving. It could only masquerade as a heuristic until its luck wore out. It is with this dimension of meaning of heuristic in mind that Polya, Gelernter, Slagle, and Jackson offered their definitions. Here are two simple examples of the sense in which heuristics might represent partial insight into a problem domain. In symbolic logic we know that -I i A is equivalent to A. This is a piece of knowledge about how logic formulas relate to one another. We also know that theorem provers bog down with more and more complex formulas, and that a big part of theorem proving is matching for similar patterns in other formulas. We can employ all these insights to construct a heuristic that simplifies pattern matching: “under such and such circum- stances eliminate excess negations.” Other heuristics could make use of other equivalences (e.g., those expressed by DeMorgan’s rules) to recommend the conversion of all formulas to some type of normal form. In chess, the piece of knowledge that at one point in play one’s bishop can in two moves go to more possible squares than one’s rook, might allow one to generate the temporary heuristic “use the bishop on this turn.” As can be seen from these simple examples, the possibilities for generating heuristics are endless. One discovers something about the problem and constructs a device to make use of this imight. The rule will thereby be plausible, and if one does not know enough about the problem to tell if the device is optimal then it can also be a heuristic. When we analyze insight we see that it comes in a variety of
forms. There is a simple insight that can be expressed in simple terms. The example from symbolic logic, that ii A is equi- valent to A , is a simple insight since we can describe it simply. Then there are insights that are not easily expressible, but are
Feldman 1963, pp. 71-105) checker-playing program employed a polynomial evaluation function that included features like
etc. This 16-element polynomial represents an insight into checkers, but how would one express it simply? For one thing the insight is highly dependent on Samuel’s particular program and his test samples. One might argue that hence it is really only
program. W e think, however, that the insight is more universal; it tells us, among other things, that as a general rule kings in the center are more powerful than we might have expected. These two examples also show us that some insights are
independently. Some A1 researchers have reflected on the abstract nature of heuristic insight. Boden (1977, p. 351), Minsky (Feigenbaum and Feldman 1963, p. 4090, and Newell er a f. (Feigenbaum
to the goal state and avoiding many fruitless paths by sensing
feedback keeps one on the right track. At each point where alter- natives are presented a decision is made. Only some of these decisions need to be fruitful to keep one from going too far astray. Evaluation functions fit this description well. Another set of reflections comes from Boden (1977, pp. 341-344), Minsky (1968, p. 425ff), Pearl (1984, pp. 113- 118), and Polya (1945, pp. 37-46, 180). who speak of the power of analogies and models. Analogies may be as compli-
sufficient parallelism between the two cases exists then they allow us to transfer both the insights and the heuristics based on these, rather than be forced to rediscover these same insights and heuristics. Models are a form of analogy. They are
more salient, some of the more relevant aspects of a problem. They offer a more compact representation of a problem’s essentials and are thus a form of partial insight. Their simplicity may also make it easier to discover new insights. And those
problem.
Heuristics are often seen as improving performance, as some of our definitions above have illustrated. But how do they do it?
not be, that heuristics are used to help improve the performance of a problem-solving system. In this regard they are like tools
mance improvement under consideration is that of increased efficiency, that is, receiving more benefit out for effort put in. We believe, but shall not thoroughly discuss here, that the various permutations of decreasing effort and increasing benefit explain many of the forms in which heuristics occur. First of all, it should be clear that we would not be using heuristics in problem solving, in discovering solutions, guiding
54 COMPUT. INTELL VOL. I. 1985
search, etc., if we did not believe that they were useful-that
worth mentioning. However, it is not the same thing to say that a device is useful and that it improves performance. An auto- mobile’s steering wheel is useful but it does not improve performance-it is a standard fixture, already present in the very
other hand, being an option that is superior to the standard electromechanical ignition, can be said to improve perfor-
whether it need merely be useful. Minsky and Sampson explicitly included performance improvement in their defini-
heuristics. Along with Minsky and Sampson are all those that
Chang and Lee, Feigenbaum and Feldman, Hofstadter, Hunt, Jackson, Nilsson, Raphael, Slagle, Tonge, and Winston. In the other camp we find heuristics introduced not to improve the system, but rather, there in their own right from the very start. For this group, heuristics can be standard mechanisms, not just newly introduced superior features. This camp includes Albus, Boden, Newell et al., Pearl, Polya, and Solso. It is interesting to note that the second group contains those researchers whose main interest is in the “cognitive science” aspect of AI-the use of a computer to simulate human psychology, whereas those in the first group are researchers whose main concern is in the production of programs to perform certain (traditionally human) tasks. This observation suggests that what underlies the different usages of these two camps is some sort of different emphasis: the first camp toward a practical, task-oriented kind of problem solving by computer, the second camp toward a more global man-machine theoreti- cal kind of problem solving. This is also suggested by the fact that even someone like Minsky, who makes performance improvement the primary feature of his definition, uses ‘heuris- tic’ independent of performance improvement when discussing human heuristics (Minsky 1968, p. 27). In sum, i t appears the majority of members of the A community employ ‘heuristic’ to refer to some device applied as an addition to some problem-solving system in expectation of performance improvement. Therefore performance improve- ment is a property included in the most popular usage of ‘heuristic’. Nonetheless, we must acknowledge a legitimate tradition of using ‘heuristic’ to stand for a preexisting internal mechanism of some problem-solving system, prior to any additions being made. We personally prefer this latter usage. In reading descriptions’of programs which are said by their authors to employ heuristics, one is struck by their use of certain terms in characterizing the properties possessed by these putative heuristics. These properties all presuppose the element of adding something to a system that was not present before, and they are all commonly attributed to heuristics. These properties are reflected in the use of the following adjectives when describing heuristics: practical (as opposed to theoretical),
following nouns in place of ‘heuristic’: wick, patch, and tool. We believe that this usage of heuristics is due to the experimental research framework in which A1 takes place. Quite commonly in A1 a researcher devises an elegant theory of how some class of problems is solved. When tested in the form of a computer program it turns out that this theory has
failings. It cannot handle some problem formulations, takes too
its performance improves. In fact, this occurs so commonly in
hoc, empirically introduced improvements for practicality’s
role. One can see some justification for this. Heuristics lack the formal certainty and confidence given to a theoretically derived
and small insights to help guide one to a solution. Their prime justification is the practicality they afford, not the elegance or
Thus where Polya and Newell er af. would have used ‘heuristic’ to refer to,general methods that are initially part of the problem-solver’s outfitting, such as means-ends-analysis, try- and-test, analogous reasoning, and inductive reasoning, others in A1 introduce heuristics as afterthoughts when a particular problem-solving theory has practical failings, and where yet it
Resolution theorem proving provides some examples. The bare bones resolution strategy is elegant and shows plenty of promise
to apply next. However, bare bones resolution turns out to be
entirely we seek ways to salvage it. For example, we try ordering the clause selection by using evaluation functions, we
conclusion and its ancestors (set-of-support). These strategies are plausible, fallible, and, it turns out, very useful in extending
‘heuristic’ in A1 has tended to acquire a sense akin to practicul and opposed to theoretical. This practicality is the ground for speaking of a heuristic strategy’s improvement over the theo- retical strategy’s performance. “Domain specific” is derivative
peculiarities of the problem. And usually we only bother with peculiarities if we want to actually solve practical problems. Theoretical strategies tend to apply more generally over several problem domains. .Another research framework within A1 in which a type of heuristic-based performance improvement occurs can be illus- trated as follows. A skeletal program schema is written to handle heuristics for some problem domain. Heuristics are then tossed in whenever the researcher sees fit, as he acquires experience with the problem, his program, and the behavior of its heuristics. Therefore heuristics in A1 are often called ad hoc and empirical, and this is not viewed negatively, but rather positively, as part of their general property of being perfor- mance improvers. Numerous A1 systems adopt this same sort of skeletal framework for attaching heuristics. Virtually all of the so-called “expert systems” are designed to facilitate this experimental additive performance improvement. They are built so that human expertise can be readily transferred to them, and often the expertise is in the form of heuristics. For example, Douglas Lenat’s mathematical concept discovery program. AM, at one point had some 250 heuristics coded as production rules. Examples of such rules are
Iff is an interesting relation, then look at its inverse. [Lenat and Harris 1978, p. 301
56 COMPUT. INTELL. VOL I. 1985
Following the early definitional era the state-space search- guiding paradigm remained the dominant framework for talking
assortment of legal moves to perform next. Likewise for theorem-proving applications. Which formula in the expanding
mentioned less often but is no less strong. Typically such a system works in conjunction with a human expert. It may ask him for more input, ask for certain tests to be performed, or explain why it favors a certain hypothesis. Its heuristics can thus
itself and its users as they focus in on a satisfactory diagnosis
analysis (PROSPECTOR). Along with this list of usages we can bring forth all the key words used in defining ‘heuristic’ as evidence that heuristics exist to influence problem-solvers’ choices. Proverbs, maxims, hints, suggestions, and advice are clearly meant to influence decision making. “Principles,” “criteria,” “rules of thumb,” and
problem solving, one’s conduct is typically consciously se- lected. Furthermore, having chosen to follow a rule, one’s subsequent decisions are often altered by the new face the problem now presents. Programs, procedures, methods, and strategies are all organized sets of rules which, however complex, are in effect single rules themselves. Each is but a rule which summarizes a variety of conduct for assorted circum- stances which may arise over a period of time. Hence they too exist to govern conduct, and the problem solver decides to follow them or not. Finally, the other things which some heuristics have variously been called, “jlters,” “simplifiers.” “transformers,” and such, seem always to have as their purpose the restructuring of the problem situation so that one has a different set of options from which to choose. From cited key-word definitions and from usage, it is clear that decision guidance has always been seen as the basic function of a heuristic device. But there have been some confusions regarding this property, so we will now set about exposing and resolving these. We first will describe how, with respect to decision making, there are two distinct ways heuristic occurs in the literature. It is because of their failure to recognize this fact that some authors have given erroneous definitions of heuristic. With regard to the executive’s function, which determines the overall direction of activity, a heuristic may be used actively to decide which of several rules, pieces of advice, game moves, or
the rules, pieces of advice, etc. which is being offered for selection. These two categories are not mutually exclusive, nor
the case of the Logic Theorist the four “methods” are passive heuristics selected by the nonheuristic executive, but also they are active heuristics when they decide which of the theorems to consider next. An example of a heuristic that is in neither category can also be found i n the Logic Theorist. The
change the problem environment, not decide the course of problem solving; and on the other hand neither is it selected from among alternative activities to perform since it is always applied and it has no competitors.
common than the other. Many heuristics do not make executive
from a list of possible things to do at this stage of problem
filters are a good example here. Again, many other heuristics do actively direct the search-all game-playing and theorem- proving programs that employ heuristic evaluation functions do this. Likewise, many other heuristics occur with competitors-
heuristics which the executive must scan to decide which to currently employ. Therefore, all in all, we must conclude that both these usages are genuine and that neither dominates. Having distinguished these two ways that heuristics can be involved in a decision situation, we have completed the groundwork for discussing nebulous problems like the hierar-
decision making, the locus of intelligence-in executive or
strategies and low-order tactical decision making, etc. All of these could be analyzed in a context of some heuristic, some perfect, and some random decision devices. However, we can d o none of this here. All we would like to do with this insight regarding executive and subordinate heuristics is square away some problematic statements made by SIagle and by Albus. As we saw earlier, Slagle’s official definition requires that all heuristics be active. However, we have just seen that it is definitely not true that all heuristics are active, i.e., part of the executive; they d o not all decide what should be done next. Along a similar vein is Albus’s claim that “A heuristic is a strategy for selecting rules, i.e.. a higher level rule for selecting lower level rules” (Albus 1981, p. 284). So again heuristics are portrayed as part of the executive, i.e., in control
In most cases, the search space is much too large to perniit exhaustive search of all possible plans, or cven any substantial fraction of them. The set of rules for deciding which hypotheses to evaluate, and in which order, are called heuristics ... [Heuristics have a] recursive nature. A heuristic is a procedure for finding a procedure. [ 1981. p. 2221
These remarks suggest the source of his belief that heuristics must be in the executive: he believes that heuristics only occur in a context that fits the state-space search paradigm. Elsewhere he actually describes all problem solving as state-space search (Albus 1981, pp. 281-285). When one has a formal state-space
strategy shall I follow for moving down a path?’ Heuristics become the strategies, and the strategies for selecting the
But it is implausible that all problems can be made to fit the state-space scheme. As Boden (1977, p. 350) observes, it is hard to define solution states and intermediatc states for
detective story?”’And even within this scheme, heuristics can be applied to numerous background duties as opposed to making direct choices of what option to choose next. As an example we mentioned above the similarity test of the Logic Theorist. Another example is Lenat’s (Lenat and Harris 1978, pp. 30-33) heuristics in AM, many of which contribute incrementally to
without individually choosing what exactly is done next. Indeed, Lenat’s executive is very simple and runs without any heuristics at all. Likewise, all declarative (as opposed to
factor CF,” are heuristics that d o not choose what to do next. In the case of MYCIN, a modified depth-first algorithm makes these choices (Barr and Feigenbaum 1982, pp. 187-191).
We set out to define heuristic against a historical backdrop of conflicting definitions. What emerged from our survey of definitions was that heuristic could refer to any device used in problem solving, be it a program, a data structure, a proverb, a strategy, or a piece of knowledge. But not just any such device.
device; it had to be useful but need not guarantee success. This lack of guarantee, however, applies to the entire, real practical picture of supplying a solution. A heuristic device can guaran- tee supplying a solution, but if it is also provably the optimal device for arriving at a solution, then it is not a heuristic. As for its utility, this is derived from the heuristic’s having captured some fact, some insight, about the problem domain. All in all,
that are random and uninspired and those that are applied automatically because they never fail to please, or if they do fail then we resign ourselves to this because we have a proof that there can be no better device. Although these two properties should be sufficient to elimi- nate the majority of nonheuristic devices, most Alers use heuristic more restrictively still. They reserve the term for just those devices they have added to their experimental system i n hopes of improving its performance. Although we suspect they would relinquish this property upon a little reflection, this restricted usage is nonetheless prevalent. For instance, i t is to be found in the majority of definitions given by AIers themselves. Therefore we must admit this property if we are to give an Aler’s defnirion of ‘heuristic’. As for what “performance improvement” means, we found that, contrary to many authors, it did not mean search or effort reduction, that this was only half of the equation, the other half being the possibility of improve- ment in solution quality in exchange for a modest increase in search effort.
the properties needed to restrict the set of problem-solving devices to those that AIers call heuristic. Technically this would suffice as a definition. Yet.when we examine all the remarks made about heuristics in the literature we find that there i s a popular theme not covered by fallibility, plausibility, and performance improvement, namely, the function of heuristics in problem solving. They work by guiding search, suggesting behavior, making decisions, or transforming the problem so that
reflected i n the choice of words used to make heuristics concrete: rules, advice, procedures, filters, etc. We suggested that the search guidance characterization is so popular because of the popularity in A1 of the state-space framework for
popular in A1 because, as scientists, Alers can benefit by analyzing a problem’s essentials into paths, option nodes, states, etc. Heuristics in this framework naturally affect the decisions as to which paths to follow.
Having described all this we concluded the discussion of decision guidance by establishing that heuristics could be involved in direct active decision making, or merely passively
incorrect in thinking that all heuristics chose what course problem solving would follow next.
program, rule, piece of knowledge, etc., which one is not entirely confident will be useful in providing a practical solution, but which one has reason to believe will be useful, and
on average the perjGorrnance will improve.
ALBUS,J. S. 198 1. Brains, behavior, and robotics. Byte Publications Inc., Peterborough, NH.
artificial intelligence. Vol. 1. William Kaufmann, Inc., Los Altos,
1 9 8 3 ~ .Theory formation by heuristic search. The nature of heuristics 11: Background and examples. Artificial Intelligence. 21.
pp. 257-287.
189-249.
pp. 31-59.