Analogy

Analogy (from Greek "ἀναλογία" – analogia, "proportion" ) is a cognitive process of transferring information or meaning from a particular subject (the analogue or source) to another particular subject (the target), and a linguistic expression corresponding to such a process. In a narrower sense, analogy is an inference or an argument from one particular to another particular, as opposed to deduction, induction, and abduction, where at least one of the premises or the conclusion is general. The word analogy can also refer to the relation between the source and the target themselves, which is often, though not necessarily, a similarity, as in the biological notion of analogy.

Analogy plays a significant role in problem solving, decision making, perception, memory, creativity, emotion, explanation and communication. It lies behind basic tasks such as the identification of places, objects and people, for example, in face perception and facial recognition systems. It has been argued that analogy is "the core of cognition". Specific analogical language comprises exemplification, comparisons, metaphors, similes, allegories, and parables, but not metonymy. Phrases like and so on, and the like, as if, and the very word like also rely on an analogical understanding by the receiver of a message including them. Analogy is important not only in ordinary language and common sense (where proverbs and idioms give many examples of its application) but also in science, philosophy and the humanities. The concepts of association, comparison, correspondence, mathematical and morphological homology, homomorphism, iconicity, isomorphism, metaphor, resemblance, and similarity are closely related to analogy. In cognitive linguistics, the notion of conceptual metaphor may be equivalent to that of analogy.

Analogy has been studied and discussed since classical antiquity by philosophers, scientists and lawyers. The last few decades have shown a renewed interest in analogy, most notably in cognitive science.

Usage of the terms source and target
With respect to the terms source and target there are two distinct traditions of usage:


 * The logical and cultures and economics tradition speaks of an arrow, homomorphism, mapping, or morphism from what is typically the more complex domain or source to what is typically the less complex codomain or target, using all of these words in the sense of mathematical category theory.


 * The tradition that appears to be more common in cognitive psychology, literary theory, and specializations within philosophy outside of logic, speaks of a mapping from what is typically the more familiar area of experience, the source, to what is typically the more problematic area of experience, the target.

Identity of relation
In ancient Greek the word αναλογια (analogia) originally meant proportionality, in the mathematical sense, and it was indeed sometimes translated to Latin as proportio. From there analogy was understood as identity of relation between any two ordered pairs, whether of mathematical nature or not. Kant's Critique of Judgment held to this notion. Kant argued that there can be exactly the same relation between two completely different objects. The same notion of analogy was used in the US-based SAT tests, that included "analogy questions" in the form "A is to B as C is to what?" For example, "Hand is to palm as foot is to ____?" These questions were usually given in the Aristotelian format:
 * HAND : PALM : : FOOT : ____

While most competent English speakers will immediately give the right answer to the analogy question (sole), it is more difficult to identify and describe the exact relation that holds both between hand and palm, and between foot and sole. This relation is not apparent in some lexical definitions of palm and sole, where the former is defined as the inner surface of the hand, and the latter as the underside of the foot. Analogy and abstraction are different cognitive processes, and analogy is often an easier one.

Recently a computer algorithm has achieved human-level performance on multiple-choice analogy questions from the SAT test. The algorithm measures the similarity of relations between pairs of words (e.g., the similarity between the pairs HAND:PALM and FOOT:SOLE) by statistical analysis of a large collection of text. It answers SAT questions by selecting the choice with the highest relational similarity.

Shared abstraction
Greek philosophers such as Plato and Aristotle actually used a wider notion of analogy. They saw analogy as a shared abstraction. Analogous objects did not share necessarily a relation, but also an idea, a pattern, a regularity, an attribute, an effect or a function. These authors also accepted that comparisons, metaphors and "images" (allegories) could be used as arguments, and sometimes they called them analogies. Analogies should also make those abstractions easier to understand and give confidence to the ones using them.

The Middle Ages saw an increased use and theorization of analogy. Roman lawyers had already used analogical reasoning and the Greek word analogia. Medieval lawyers distinguished analogia legis and analogia iuris (see below). In Islamic logic, analogical reasoning was used for the process of Qiyas in Islamic sharia law and fiqh jurisprudence. In Christian theology, analogical arguments were accepted in order to explain the attributes of God. Aquinas made a distinction between equivocal, univocal and analogical terms, the latter being those like healthy that have different but related meanings. Not only a person can be "healthy", but also the food that is good for health (see the contemporary distinction between polysemy and homonymy). Thomas Cajetan wrote an influential treatise on analogy. In all of these cases, the wide Platonic and Aristotelian notion of analogy was preserved. James Francis Ross in Portraying Analogy (1982), the first substantive examination of the topic since Cajetan's De Nominum Analogia, demonstrated that analogy is a systematic and universal feature of natural languages, with identifiable and law-like characteristics which explain how the meanings of words in a sentence are interdependent.

Special case of induction
On the contrary, Ibn Taymiyya,  Francis Bacon and later John Stuart Mill argued that analogy is simply a special case of induction. In their view analogy is an inductive inference from common known attributes to another probable common attribute, which is known only about the source of the analogy, in the following form:
 * Premises
 * a is C, D, E, F, G
 * b is C, D, E, F


 * Conclusion
 * b is probably G.


 * Alternative conclusion
 * every C, D, E, F is probably G.

This view does not accept analogy as an autonomous mode of thought or inference, reducing it to induction. However, autonomous analogical arguments are still useful in science, philosophy and the humanities (see below), which makes this reduction philosophically uninteresting. Moreover, induction tries to achieve general conclusions, while analogy looks for particular ones.

Hidden deduction
The opposite move could also be tried, reducing analogy to deduction. It is argued that every analogical argument is partially superfluous and can be rendered as a deduction stating as a premise a (previously hidden) universal proposition which applied both to the source and the target. In this view, instead of an argument with the form:
 * Premises
 * a is analogous to b.
 * b is F.


 * Conclusion
 * a is plausibly F.

We should have:
 * Hidden universal premise
 * all Gs are plausibly Fs.


 * Hidden singular premise
 * a is G.


 * Conclusion
 * a is plausibly F.

This would mean that premises referring the source and the analogical relation are themselves superfluous. However, it is not always possible to find a plausibly true universal premise to replace the analogical premises. And analogy is not only an argument, but also a distinct cognitive process.

Shared structure
Contemporary cognitive scientists use a wide notion of analogy, extensionally close to that of Plato and Aristotle, but framed by Gentner's (1983) structure mapping theory. The same idea of mapping between source and target is used by conceptual metaphor and conceptual blending theorists. Structure mapping theory concerns both psychology and computer science. According to this view, analogy depends on the mapping or alignment of the elements of source and target. The mapping takes place not only between objects, but also between relations of objects and between relations of relations. The whole mapping yields the assignment of a predicate or a relation to the target. Structure mapping theory has been applied and has found considerable confirmation in psychology. It has had reasonable success in computer science and artificial intelligence (see below). Some studies extended the approach to specific subjects, such as metaphor and similarity.

Keith Holyoak and Paul Thagard (1997) developed their multiconstraint theory within structure mapping theory. They defend that the "coherence" of an analogy depends on structural consistency, semantic similarity and purpose. Structural consistency is maximal when the analogy is an isomorphism, although lower levels are admitted. Similarity demands that the mapping connects similar elements and relations of source and target, at any level of abstraction. It is maximal when there are identical relations and when connected elements have many identical attributes. An analogy achieves its purpose insofar as it helps solve the problem at hand. The multiconstraint theory faces some difficulties when there are multiple sources, but these can be overcome. Hummel and Holyoak (2005) recast the multiconstraint theory within a neural network architecture. A problem for the multiconstraint theory arises from its concept of similarity, which, in this respect, is not obviously different from analogy itself. Computer applications demand that there are some identical attributes or relations at some level of abstraction. The model was extended (Doumas, Hummel, & Sandhofer, 2008) to learn relations from unstructured examples (providing the only current account of how symbolic representations can be learned from examples).

Mark T. Keane and Brayshaw (1988) developed their Incremental Analogy Machine (IAM) to include working memory constraints as well as structural, semantic and pragmatic constraints, so that a subset of the base analog is selected and mapping from base to target occurs in a serial manner. Empirical evidence shows that human analogical mapping performance is influenced by information presentation order.

High-level perception
Douglas Hofstadter and his team challenged the shared structure theory and mostly its applications in computer science. They argue that there is no line between perception, including high-level perception, and analogical thought. In fact, analogy occurs not only after, but also before and at the same time as high-level perception. In high-level perception, humans make representations by selecting relevant information from low-level stimuli. Perception is necessary for analogy, but analogy is also necessary for high-level perception. Chalmers et al. conclude that analogy is high-level perception. Forbus et al. (1998) claim that this is only a metaphor. It has been argued (Morrison and Dietrich 1995) that Hofstadter's and Gentner's groups do not defend opposite views, but are instead dealing with different aspects of analogy.

Analogy and Complexity
Antoine Cornuéjols has presented analogy as a principle of economy and computational complexity.

Reasoning by analogy is a process of, from a given pair (x,f(x)), extrapolating the function f. In the standard modeling, analogical reasoning involves two "objects": the source and the target. The target is supposed to be incomplete and in need for a complete description using the source. The target has an existing part St and a missing part Rt. We assume that we can isolate a situation of the source Ss, which corresponds to a situation of target St, and the result of the source Rs, which correspond to the result of the target Rt. With Bs, the relation between Ss and Rs, we want Bt, the relation between St and Rt.

If the source and target are completely known:

Using Kolmogorov complexity K(x), defined as the size of the smallest description of x and Solomonoff's approach to induction, Rissanen (89), Wallace & Boulton (68) proposed the principle of Minimum description length. This principle leads to minimize the complexity K(target| Source) of producing the target from the source.

This is unattractive in Artificial Intelligence, as it requires a computation over abstract Turing machines. Suppose that Ms and Mt are local theories of the source and the target, available to the observer. The best analogy between a source case a and target case is the analogy that minimizes:


 * K(Ms) + K(Ss|Ms) + K(Bs|Ms) + K(Mt|Ms) + K(St|Mt) + K(Bt|Mt) (1).

If the target is completely unknown:

All models and descriptions Ms, Mt, Bs, Ss, and St leading to the minimization of:


 * K(Ms) + K(Ss|Ms) + K(Bs|Ms) + K(Mt|Ms) + K(St|Mt) (2)

are also those who allow to obtain the relationship Bt, and thus the most satisfactory Rt for formula (1).

The analogical hypothesis, which solves an analogy between a source case and a target case, has two parts:
 * Analogy, like induction, is a principle of economy. The best analogy between two cases is the one which minimizes the amount of information necessary for the derivation of the source from the target (1). Its most fundamental measure is the computational complexity theory.
 * When solving or completing a target case with a source case, the parameters which minimize (2) are postulated to minimize (1), and thus, produce the best response.

However, a cognitive agent may simply reduce the amount of information necessary for the interpretation of the source and the target, without taking into account the cost of data replication. So, it may prefer to the minimization of (2) the minimization of the following simplified formula:
 * K(Ms) + K(Bs|Ms) + K(Mt|Ms) (3).

Rhetoric

 * An analogy can be a spoken or textual comparison between two words (or sets of words) to highlight some form of semantic similarity between them. Such analogies can be used to strengthen political and philosophical arguments, even when the semantic similarity is weak or non-existent (if crafted carefully for the audience). Analogies are sometimes used to persuade those that cannot detect the flawed or non-existent arguments.

Linguistics

 * An analogy can be the linguistic process that reduces word forms perceived as irregular by remaking them in the shape of more common forms that are governed by rules. For example, the English verb help once had the preterite holp and the past participle holpen. These obsolete forms have been discarded and replaced by helped by the power of analogy (or by widened application of the productive Verb-ed rule.) This is called leveling. However, irregular forms can sometimes be created by analogy; one example is the American English past tense form of dive: dove, formed on analogy with words such as drive: drove.
 * Neologisms can also be formed by analogy with existing words. A good example is software, formed by analogy with hardware; other analogous neologisms such as firmware and vaporware have followed. Another example is the humorous term underwhelm, formed by analogy with overwhelm.
 * Analogy is often presented as an alternative mechanism to generative rules for explaining productive formation of structures such as words. Others argue that in fact they are the same mechanism, that rules are analogies that have become entrenched as standard parts of the linguistic system, whereas clearer cases of analogy have simply not (yet) done so (e.g. Langacker 1987.445–447). This view has obvious resonances with the current views of analogy in cognitive science which are discussed above.

In science
Analogues are often used in theoretical and applied sciences in the form of models or simulations which can be considered as strong analogies. Other much weaker analogies assist in understanding and describing functional behaviours of similar systems. For instance, an analogy commonly used in electronics textbooks compares electrical circuits to hydraulics. Another example is the analog ear based on electrical, electronic or mechanical devices.

Mathematics
Some types of analogies can have a precise mathematical formulation through the concept of isomorphism. In detail, this means that given two mathematical structures of the same type, an analogy between them can be thought of as a bijection between them which preserves some or all of the relevant structure. For example, $$ \Bbb{R}^2 $$ and $$ \Bbb{C} $$ are isomorphic as vector spaces, but the complex numbers, $$ \Bbb{C} $$, have more structure than $$ \Bbb{R}^2 $$ does – $$ \Bbb{C} $$ is a field as well as a vector space.

Category theory takes the idea of mathematical analogy much further with the concept of functors. Given two categories C and D a functor F from C to D can be thought of as an analogy between C and D, because F has to map objects of C to objects of D and arrows of C to arrows of D in such a way that the compositional structure of the two categories is preserved. This is similar to the structure mapping theory of analogy of Dedre Gentner, in that it formalizes the idea of analogy as a function which satisfies certain conditions.

Artificial intelligence
See case-based reasoning.

Anatomy
In anatomy, two anatomical structures are considered to be analogous when they serve similar functions but are not evolutionarily related, such as the legs of vertebrates and the legs of insects. Analogous structures are the result of convergent evolution and should be contrasted with homologous structures.

Engineering
Often a physical prototype is built to model and represent some other physical object. For example, wind tunnels are used to test scale models of wings and aircraft, which act as an analog to full-size wings and aircraft.

For example, the MONIAC (an analog computer) used the flow of water in its pipes as an analog to the flow of money in an economy.

Morality
Analogical reasoning plays a very important part in morality. This may be in part because morality is supposed to be impartial and fair. If it is wrong to do something in a situation A, and situation B is analogous to A in all relevant features, then it is also wrong to perform that action in situation B. Moral particularism accepts analogical moral reasoning, rejecting both deduction and induction, since only the former can do without moral principles.

Law
In law, analogy is used to resolve issues on which there is no previous authority. A distinction has to be made between analogous reasoning from written law and analogy to precedent case law.

Analogies from codes and statutes
In civil law systems, where the preeminent source of law is legal codes and statutes, a lacuna (a gap) arises when a specific issue is not explicitly dealt with in written law. Judges will try to identify a provision whose purpose applies to the case at hand. That process can reach a high degree of sophistication, as judges sometimes not only look at a specific provision to fill lacunae (gaps), but at several provisions (from which an underlying purpose can be inferred) or at general principles of the law to identify the legislator's value judgement from which the analogy is drawn. Besides the not very frequent filling of lacunae, analogy is very commonly used between different provisions in order to achieve substantial coherence. Analogy from previous judicial decisions is also common, although these decisions are not binding authorities.

Analogies from precedent case law
By contrast, in common law systems, where precedent cases are the primary source of law, analogies to codes and statutes are rare (since those are not seen as a coherent system, but as incursions into the common law). Analogies are thus usually drawn from precedent cases: The judge finds that the facts of another case are similar to the one at hand to an extent that the analogous application of the rule established in the previous case is justified.

In teaching strategies
Teaching the process of thinking by analogy is one of the main themes of The Private Eye Project.