scieee AI-readable full text Open interactive document viewer

Reactive and proactive approaches for introspective CBR

Mülâyim, Mehmet Oguz

Abstract

This work investigates applying introspective reasoning to improve the performance of Case-Based Reasoning (CBR) systems, in both reactive and proactive fashion, by guiding learning to improve how a CBR system applies its cases and by identifying possible future system deficiencies. First we present our reactive approach, a new introspective reasoning model which enables CBR systems to autonomously learn to improve multiple facets of their reasoning processes in response to poor quality solutions. We illustrate our model's benefits with experimental results from tests in an industrial design application. Then as for our proactive approach, we introduce a novel method for identifying regions in a case-base where the system gives low confidence solutions to possible future problems. Experimentation is provided for Zoology and Robo-Soccer domains and we argue how encountered regions of dubiosity help us to analyze the case-bases of a given CBR system.

Full text

Reactive and Proactive approaches for Introspective CBR Mehmet O˘guz M¨ulˆayim Mem`oria del Treball de Recerca del Programa de Doctorat en Inform`atica realitzat a IIIA, Institut d’Investigaci´ o en Inte l.lig` encia Artificial CSIC, Consejo Superior de Investigaciones Cient´ ıficas Dirigit per Josep Llu´ıs Arcos Escola T` ecnica Superior d’Enginyeries Departament de Ci` encies de la Computaci´ o Universitat Aut` onoma de Barcelona Bellaterra, octubre de 2008 Abstract This work investigates applying introspective reasoning to improve the performance of Case-Based Reasoning (CBR) systems, in both reactive and proactive fashion, by guiding learning to improve how a CBR system applies its cases and by identifying possible future system deficiencies. First we present our reactive approach, a new introspective reasoning model which enables CBR systems to autonomously learn to improve multiple facets of their reasoning processes in response to poor quality solutions. We illustrate our model’ s benefits with experimental results from tests in an industrial design application. Then as for our proactive approach, we introduce a novel method for identifying regions in a case-base where the system gives low confidence solutions to possible future problems. Experimentation is provided for Zoology and Robo-Soccer domains and we argue how encountered regions of dubiosity help us to analyze the case-bases of a given CBR system. Acknowledgements First of all, I would like to thank to Dr. Josep Puyol-Gruart for his kindest concern and dedicated efforts that kept me alive throughout all the bureacratic procedures that I had to overcome before flying to Barcelona. Without his guidance I wouldn’ t be a part of neither the university nor the IIIA. I owe many thanks to Dr. Josep Llu´ıs Arcos, for his friendly and encouraging tutoring and for the inspiring discussions that we had along the thorny path of scientific investigation. I’ ve really learned a lot from him. And finally, a hearty thanks to all the IIIA folks for all those days that I have spent with you. It has been a privilege for me to be and feel like a member of this big, warm and joyful family. This research has been partially supported by the Spanish Ministry of Education and Science project MID-CBR (TIN2006-15140-C03-01), EU-FEDER funds, and by the Generalitat of Catalunya (2005-SGR-00093). i Contents 1 Introduction 1 2 Related Work 3 2.1 IntrospectiveCBR ........................ 4 2.2 Case-Base & Case-Based Reasoner Maintenance . . . . . . . . 5 3 Using Introspective Reasoning to Improve CBR System Performance 8 3.1 Introspective Reasoner . . . . . . . . . . . . . . . . . . . . . . 8 3.1.1 Monitoring ........................ 11 3.1.2 Quality Assessment . . . . . . . . . . . . . . . . . . . . 12 3.1.3 Blame Assessment . . . . . . . . . . . . . . . . . . . . 12 3.1.4 Hypothesis Generation . . . . . . . . . . . . . . . . . . 13 3.1.5 Hypothesis Evaluation . . . . . . . . . . . . . . . . . . 14 3.2 Experiments............................ 14 3.2.1 Applying the CBR process . . . . . . . . . . . . . . . . 15 3.2.2 Testing Scenario . . . . . . . . . . . . . . . . . . . . . 15 3.2.3 Results........................... 16 3.3 Relationship to the Metareasoning Manifesto . . . . . . . . . . 19 4 Understanding Dubious Future Problems 21 4.1 Exploring Dubious Future Problems . . . . . . . . . . . . . . . 22 4.1.1 Exploration ........................ 24 4.1.2 Exploitation........................ 27 4.2 Regions of Dubiosity . . . . . . . . . . . . . . . . . . . . . . . 29 4.2.1 Dubiosity Patterns . . . . . . . . . . . . . . . . . . . . 29 4.2.2 Grouping Dubious Future Problems . . . . . . . . . . . 31 4.3 Experimentation ......................... 32 4.3.1 Zoology Domain . . . . . . . . . . . . . . . . . . . . . 33 Settings .......................... 33 Results........................... 34 ii 4.3.2 Robo-Soccer CBR system . . . . . . . . . . . . . . . . 35 Settings .......................... 37 Results........................... 37 5 Conclusions and Future Directions 41 5.1 IntrospectiveCBR ........................ 41 5.2 CBRMaintenance ........................ 42 5.3 Publications............................ 43 5.4 Futuredirections ......................... 43 Bibliography 45 iii List of Figures 2.1 Case-Based Reasoning cycle with Confidence . . . . . . . . . . 3 3.1 Introspective reasoner components . . . . . . . . . . . . . . . . 10 3.2 Average solution quality for all the strategies. . . . . . . . . . 17 3.3 Relating our model with existing Metareasoning Models. . . . 19 4.1 Graphical representation of the Exploration step . . . . . . . . 25 4.2 Graphical representation of the Exploitation step . . . . . . . 28 4.3 Graphical representation of Dubious Future Problem patterns 30 4.4 Regions of Dubiosity . . . . . . . . . . . . . . . . . . . . . . . 32 4.5 Four-Legged League (RoboCup) soccer . . . . . . . . . . . . . 36 4.6 Visualizing a dubious region in the RoboSoccer problem . . . 40 iv List of Tables 3.1 Examples of types of hypotheses used by the Introspective Reasoner. ............................. 13 3.2 Summary of the number of times when learning goals are triggered................................ 18 4.1 Experimental Results for Zoology Domain . . . . . . . . . . . 35 4.2 Experimental results for Robo-Soccer Domain . . . . . . . . . 38 4.3 Average and standard deviation of Dubious Future Problems . 39 v Chapter 1 Introduction The application of artificial intelligence (AI) technologies to real-world problems has shown that it is difficult for developers to anticipate all possible eventualities. Especially in long-lived systems, changing circumstances may require changes not only to domain knowledge but also to the reasoning process which brings it to bear. One way to tackle this issue is to endow the sytems with introspective reasoning, metareasoning by a system about its own internal reasoning processes. Introspective reasoning has been an active field of research in psychology, artificial intelligence and cognitive science for a long time. Metareasoning techniques provide a promising basis for self-improving systems (see Anderson and Oates (2007), Cox (2005) for recent reviews). As described by Cox and Raja (2007), the metareasoning approach incorporates a meta-reasoning layer, with monitoring and control capabilities over the reasoning process, to adjust that reasoning process as needed. Metareasoning layer can make these adjustments in a reactive way in response to detected reasoning failures or it may try to avoid such failures by anticipating them in a proactive manner. This work specifically investigates applying introspective reasoning to improve the performance of Case-Based Reasoning systems, in both reactive and proactive fashion, by guiding learning to improve how a case-based reasoning system applies its cases and by detecting possible future system deficiencies. Case-based reasoning (CBR) is a problem-solving methodology that exploits prior experiences when solving new problems, retrieving relevantly similar cases and adapting them to fit new needs (for an overview and survey, see Lopez de Mantaras et al. (2005)). Many CBR systems store each newly-solved problem and its solution as a new case for future use, enabling them to continuously improve their case knowledge. Nevertheless, the success of a CBR system depends not only on its cases, but also on its ability to use those cases appropriately in new situations (which depends on the similarity 1 measure and the case adaptation mechanisms). Consequently, it is desirable for CBR systems to improve the processes by which they bring their cases to bear. Therefore, a thorough introspection carried out by a CBR system should take into account both its reasoning processes and its case-base. As it will be introduced shortly in the next chapter, previous research on introspective CBR has shown that metareasoning can enable a CBR system to learn by refining its own reasoning process. That work has tended to apply the introspective approach only to a single aspect of the CBR system, for example, to adjust the indices used for retrieval or learning how to improve case adaptation. However, this approach does not always guarantee achieving an overall improvement of the system since reasoning components are closely interconnected and focusing on a single process may miss opportunities (Leake and Wilson 2008). Thus, developing an introspective reasoning model that enables CBR systems to autonomously learn to improve multiple facets of their reasoning processes has been the motivation for the first part of our research which is presented in Chapter 3. This part forms our reactive approach. On the other hand, when we look at the research on improving the performance by maintaining the case-base (e.g. by removing redundant cases) we see the work which is known as Case-Base Maintenance. The common assumption of case-base maintenance techniques has been that analysis of the cases provided in the case-base is a good approach for estimating the performance of the system for future cases. This assumption is known as the representativeness assumption. Nevertheless, new problems are expected to be slightly different from the existing cases. Thus, the possibility of systematically assessing the performance of a system in a set of problems different from the existing cases becomes an interesting issue. Hence, finding a method to analyze the performance of a CBR system against possible future problems has become the motivation behind the second part of our research which is presented in Chapter 4. Consequently, this part forms our proactive approach. Before going into the details of our research we introduce Related Work as a background. Later we present our two approaches, then we discuss the outcomes in the Conlusions part where we also share our ideas for future directions. 2 To give our system criteria for evaluating its case-based reasoning performance, we have created a model of the correctly-functioning CBR process itself, together with a taxonomy of reasoning failures. Failures of a CBR system’s reasoning process are modeled as conflicts between observed system performance and predictions from the model. These failures, in turn, are related to possible learning goals. Achieving these goals repairs the underlying cause of the failure. Reasoning failures may be revealed by either of two types of situation: i) when the retrieval or the adaptation step is not able to propose a solution, or ii) when the solution proposed by the system differs from the final solution. Failures of the retrieval or adaptation steps are identified directly by contrasting their performance with model predictions. The second type of failure can be detected by monitoring the revision step. In CBR systems, the revision step often involves interaction with the user to determine the final solution. This interaction provides a feedback mechanism for assessing the “real” quality of the solution initially proposed. For each of the four CBR steps (namely retrieval, reuse, revision and retention as illustrated in the bottom portion of Figure 3.1), the model encodes expectations, and the expectations are associated with learning goals which are triggered if the expectations are violated. For example, the expected behavior of the similarity assessment step is to rank the retrieved cases correctly. If they are ranked incorrectly, the failure may be due to using an inappropriate weighting when similarity assessments along different dimensions are aggregated. Consequently, a possible strategy for solving the failure is to refine the weight model, and a corresponding learning goal is to learn new weightings. Our model is domain independent, i.e., it is focused on the general casebased reasoning process for retrieval and adaptation, rather than on specific details of those processes for any particular domain. The model deals with three types of knowledge: indexing knowledge, ranking knowledge, and adaptation knowledge. To apply the model to any concrete application, domainspecific retrieval and adaptation mechanisms must be linked to the model. Indexing knowledge determines the sub-space of the case-base considered relevant to a given problem. Ranking knowledge identifies the features considered most relevant to determining similarity, given a collection of retrieved cases. Adaptation knowledge defines transformative and/or generative operations for fitting previous solutions to a current problem. Our approach is shaped by two working hypotheses. The first is that the system is initially provided with general retrieval and adaptation mechanisms, which apply uniform criteria to problems throughout the problem space. This is a common property of many case-based reasoning systems, but 9 Retrieve Adapt Proposed Solution Revise Final Solution Solution Quality Meta-Model Reasoning-Failures Learning-Goals Quality Assessment Blame Assessment Hypothesis Generation Hypothesis Evaluation Monitoring Inference Trace Confidence Retain User Problem Figure 3.1: Introspective reasoner components. The horizontal line divides the CBR process (bottom) and the Introspective Reasoner (top). experience developing CBR systems has shown that this uniform processing often results in sub-optimal processing, in turn resulting in the generation of low quality solutions. Consequently, one of the focuses of our approach is to address this problem: One of the learning goals of the introspective reasoner is to determine the ’real’ scope of cases, to weight the different ranking criteria, and to refine the adaptation model for different problem space regions. The taxonomy defined for the learning goals partially borrows from the taxonomy of learning goals proposed in (Cox and Ram 1999). Nevertheless, in our approach the learning goals are specifically oriented towards refining the CBR process. For example, determining the scope of cases is modeled in terms of differentiation/reconciliation goals, whereas improving the ranking criteria is modeled in terms of refinement/organization goals. A second working hypothesis is that the CBR system is able to determine an internal estimate of confidence for the solution it provides for a new problem. Because this assessment will be domain-specific, it is not part of our general model. In the application we consider, the system always serves in an advisory role to an engineer, who assesses the system-generated solution before applying it. The engineer’s assessment provides a natural source of 10 feedback for judging whether the system’s confidence value was appropriate. Because we are not interested in reasoning about numeric confidence values, we deal with confidence using three linguistic labels: low confidence, medium confidence, and high confidence. The mapping to the numeric intervals that represent the linguistic values must be defined in each application. For instance, in our chemical application, due to the important safety constraints in the chemical processes, a high confidence is considered for values higher that 0.8 and low confidence has the threshold at 0.6. The system’s introspective reasoning is organized into five tasks: 1. the monitoring task, in charge of maintaining a trace of the CBR process; 2. the quality assessment task, that analyzes the quality of the solutions proposed by the system; 3. the blame assessment task, responsible for identifying the reasoning failures; 4. the hypotheses generation task, in charge of proposing learning goals; and 5. the hypotheses evaluation task, that assesses the impact of proposed improvements on solution generation. Figure 3.1 depicts the introspective reasoning components. The horizontal line divides the CBR process (bottom) from the Introspective Reasoner (top). Rounded boxes represent inference processes; dashed boxes represent knowledge generated by inference; dashed lines show knowledge dependencies; black-tipped arrows show inference flows; and hollow-tipped arrows denote control relationships. 3.1.1 Monitoring The monitoring task tracks the case-based reasoning process. For each problem solved by the CBR system, the monitor generates a trace containing: 1) the cases retrieved, with a link to the indexing knowledge responsible for the retrieval; 2) the ranking criteria applied to the cases, together with the values that each criterion produced and the final ranking; and 3) the adaptation operators which were applied, with the sources to which they were applied (the cases used) and the target changes produced (the solution features). Note that this does not require that the adaptation step use only a single case, nor that all the retrieved cases must be involved in all adaptations; any 11 such constraints depend on specific applications, independent of the general model. Similarly, our model distinguishes application of indexing criteria and ranking criteria as two sub-processes involved in the retrieval step, but it does not require that they be decoupled in the implementation being monitored. For instance, a K-nearest neighbor approach (Cover and Hart 1967) uses the value of K to determine the number of cases considered and uses the distance measure as a ranking criterion. Other approaches might use crude criteria for indexing and finer-grained criteria for case ranking. 3.1.2 Quality Assessment When the user’s final solution is provided to the system, quality assessment is triggered to determine the ’real’ quality of the system-generated solution, by analyzing the differences between the system’s proposed solution and the final solution. Quality assessment provides a result in qualitative terms: low quality,medium quality, or high quality. Given the system’s initial confidence assessment and the final quality assessment, the introspective reasoner fires learning mechanisms when there is a mismatch between the two. There are two main types of possible mismatches. When the confidence was high but the quality is demonstrated to be low, the reasoning failure points to the retrieval stage, because the confidence of a solution has a strong relationship with the coverage of the retrieved cases (Cheetham 2000). On the other hand, when the confidence was low but the quality is demonstrated to be high, the unexpectedness of success may be either due to low coverage from cases (none of the system’s cases appeared highly relevant) or due to bad ranking of the retrieved cases (the most relevant cases were not considered, due to a failure of the ranking polices to identify them). When the mismatch between the confidence and the quality assessments is small (i.e. high versus medium, medium versus high, medium versus low, and low versus medium) it may suggest a failure in the adaptation stage. 3.1.3 Blame Assessment Blame assessment starts by identifying the source of the failure. It takes as input the differences between the solution and expected result, and tries to relate the solution differences to the retrieval or the adaptation mechanisms. The system searches the taxonomy of reasoning failures and selects those that apply to the observed solution differences. For instance, when a final solution is radically different from the solution proposed by the system, the failure may be caused by the indexing knowledge, 12 Failure Learning Goal Missing Index Create Index Broad Index Refine Index Underestimated Weight Adjust Weighting Inappropriate interpolation Change shape Increase slope Table 3.1: Examples of types of hypotheses used by the Introspective Reasoner. i.e. either the relevant precedents have not been retrieved or too many cases have been retrieved. Search for applicable failures in the failure taxonomy uses the trace generated by the monitoring module. It starts by analyzing the index failures. There are three types of index failures: wrong index,broad index, and narrow index. When none of the retrieved cases have a solution close to the current solution, the wrong index failure is selected. A broad index failure is selected when many cases are retrieved and their solutions are diverse. On the other hand, when a small set of cases is retrieved, the narrow index failure is selected. Ranking failures are identified by comparing the retrieval rankings with the solution differences they generate. Examples of ranking failures are inappropriate ranking,overestimated weights, and underestimated weights. Adaptation failures are identified by linking the solution differences to the adaptation operators stored in the monitoring trace. When adaptation uses interpolation, adaptation failures originate in inappropriate interpolation policies. Because the introspective reasoner will often not be able to determine a unique failure origin, all the possible causally-supported failures are chosen, resulting in multiple types of learning goals from a single failure. 3.1.4 Hypothesis Generation The fourth reasoning stage, Hypothesis Generation, identifies the learning goals related to the reasoning failures selected in the blame assignment stage. Each failure may be associated with more than one learning goal. For instance, there are multiple ways of solving overestimated weights. For each learning goal, a set of plausible local retrieval/adaptation changes in the active policies is generated, using a predefined taxonomy. Table 3.1 shows some of the types of hypotheses generated to explain fail- 13 ures in retrieval and adaptation stages. The changes must be local because their applicability is constrained to the neighborhood of the current problem. For instance, when a refinement goal is selected for the adaptation knowledge, an adaptation is selected from a pre-defined collection of tuning actions depending on the nature of the adaptation. Specifically, when adaptations are related to numerical features the tuning actions are types of numerical interpolations. The two main changes in numerical features are related to the shape and slope of the interpolation curve. 3.1.5 Hypothesis Evaluation The fifth reasoning stage, Hypothesis Evaluation, evaluates the impact of introducing retrieval/adaptation changes. Because the introspective reasoner does not have a complete model of the inference process, it is not possible for it to definitively predict the effects of changes. Consequently, before altering the CBR system, some empirical evidence about the impact of the change must be obtained. In our current design this is obtained by re-solving the problem, applying each proposed change and evaluating its impact. Retrieval/adaptation changes that improve the quality of the solution are incorporated into the CBR inference mechanisms. Note that when the introspective reasoner provides a problem to the CBR system for testing purposes, the case retention step is deactivated. 3.2 Experiments We have tested the introspective reasoner as an extension to a fielded industrial design application. We have developed a case-based reasoning system for aiding engineers in the design of gas treatment plants for the control of atmospheric pollution due to corrosive residual gases which contain vapors, mists, and dusts of industrial origin (Arcos 2001). A central difficulty for designing gas treatment plants is the lack of a complete model of the chemical reactions involved in the treatment processes. Consequently, the expertise acquired by engineers with their practical experience is essential for solving new problems. Engineers have many preferences and deep chemical knowledge, but our interactions have shown that it is hard for them to determine in advance (i.e. without a new specific problem at hand) the scope and applicability of previous cases. They apply some general criteria concerning factors such as cost and safety conditions, but other criteria depend on specific working conditions of the treatment process. On the other hand, because engineers make daily use of the application 14 system to provide the final solutions to customers, the system has the opportunity to compare its proposed solutions with the solutions finally delivered. Thus, we have the opportunity to assess the impact of the introspective reasoner on the quality of the solutions proposed by the CBR system. 3.2.1 Applying the CBR process The inference process in this design application is decomposed into three main stages: 1. selecting the class of chemical process to be realized; 2. selecting the major equipment to be used; and 3. determining the values for the parameters for each piece of equipment. The quality of proposed solutions is computed automatically, by comparing the proposed solution to the solution applied by the experts at these three different levels. Mismatches at earlier steps are more serious than at later ones. For example, except in the case of under-specified problems, a mismatch with the class of the chemical process would indicate a very low quality solution. The retrieval and adaptation steps have been designed taking into account the three knowledge sources described in the previous section: indexing criteria, ranking criteria, and adaptation operators. Here the problem features are related to the detected pollutants, the industrial origin of the pollutants, and working conditions for the pollution-control equipment (flow, concentrations, temperature). Indexing criteria determine the conditions for retrieving cases. The main indexing criteria are related to the initially defined chemical relations among pollutants. Ranking criteria determine a preference model defined as partial orders. Initially, the preferences are homogeneous for the whole problem space. Throughout the experiments, the introspective reasoner automatically refines the initial model. Reasoning failures originate from situations in which the criteria do not properly identify the main pollutants or critical working conditions. The consequences are manifested in solutions for which the proposed chemical process is not correct or there are inappropriate washing liquids, or by mismatches on equipment parameters. 3.2.2 Testing Scenario The design application can solve a broad range of problems. However, to test the effects of introspective reasoning for learning to handle novel situations, 15 it is desirable to focus the evaluation on sets of frequently-occurring problems which share at least a pollutant (minimal indexing criterion), in order to have reuse. On the other hand, it is necessary to have sufficient diversity—good performance on quasi-identical problems can be obtained by case learning alone, so does not generate opportunities for the introspective reasoner. We decided to focus the evaluation of the system on problems with the presence of hydrogen sulphide, a toxic gas produced by industrial processes such as waste water treatment. From the existing application, we had access to the 510 such solved problems, ordered chronologically. We divided the problems into two sets: 300 initial system cases and 210 testing problems. To evaluate the contribution of the introspective reasoner we performed an ablation study, comparing the performance of the system when presenting the problems sequentially for five different reasoning strategies. In addition to testing inputs in chronological order, we repeated the experiments ten times with random orders for the testing problems, to assess the sensitivity of learning to problem ordering. The tested reasoning strategies are the following: •No-Retain, a strategy that solved the problems without introspective reasoning and without incorporating the solved cases into the case memory; •Retain, which solved the problems without introspective reasoning and incorporating solved cases into the system (the only learning normally done by CBR systems); •Int-Retr, which combined Retain with introspective reasoning only for the retrieval refinement; •Int-Adapt, which combined Retain with introspective reasoning only for adaptation refinement; and •Int-Compl, which combined Retain with introspective reasoning for both retrieval refinement and adaptation refinement. 3.2.3 Results Figure 3.2 shows the results of the evaluation for chronological problem presentation (results for random ordering were similar). Results support that the storage of solved problems—case learning alone—improves the performance of the system, but also show that this policy is not sufficient because the number of high confidence solutions is increased but the number of low quality solutions is not decreasing (see second column in Figure 3.2). A second conclusion from the results is that the main contribution of using introspection to refine retrieval knowledge is to reduce the number of low quality solutions (a 36.67 % reduction). In our design application 16 Figure 3.2: Average solution quality for all the strategies. this improvement is achieved by providing more accurate ranking policies for determining the chemical process to be realized. The main contribution of using introspection for refining adaptation knowledge (see fourth column in Figure 3.2) is an increase in the number of high quality solutions (a 12.5 % increment). In our task, learning more appropriate adaptation policies enables better determination of the different equipment parameters. Interestingly, when introspection adjusts both retrieval and adaptation (last column in Figure 3.2), the improvement in the retrieval step has an indirect effect on the adaptation step, increasing the number of high quality solutions. An intuitive explanation is that better retrieval also facilitates the adaptation process. Thus, using both introspection strategies, the increase in the number of high quality solutions reaches 15.63 %. Comparing the number of problems that changed their quality of solution, 12 % of the solved problems qualitatively increased their solution quality. Solution qualities varied, but the use of introspection did not decrease the solution quality for any problem. Moreover, the reduction in low quality solutions is statistically significant (ρ < 0.05), even though the increase of high quality solutions is not statistically significant. Consequently, we conclude that the number of problems whose solution quality was improved by the use of introspection is statistically significant. 17 Failures Occ. Prop. Inc. Indexing Knowledge 12 5 3 Ranking Knowledge 83 41 8 Adaptation Knowledge 74 56 12 Table 3.2: Summary of the number of times when learning goals are triggered. Occ stands for failure occurrences, Prop stands for hypotheses generated, and Inc stands for changes incorporated into the CBR process. Table 3.2 summarizes the activity inside the Introspective Reasoner. Results summarize the experiments using both introspection strategies, reflecting learning goals triggered from the detection of 135 non-high-confidence solutions. Most activity was focused on ranking and adaptation failures, because these are the most difficult tasks. Note that not all the generated hypotheses were considered useful by the system (see third and fourth columns): revisions to the reasoning process were performed for 17 % of the instances for which learning goals were triggered. This result illustrates that the introspective reasoner is dealing with partial understanding of the CBR process and that the introspective learner’s hypotheses should be tested before being applied. It is clear that the incorporation of the introspective reasoner entails a computational overhead. However, it does not interfere with normal system performance: the introspective reasoner is triggered only after a problem is solved and is a background process without user intervention. Most of the cost of introspective reasoning arises from hypothesis generation. Table 3.2 shows that the ratio between failures and hypotheses generated 0.6, because only failures highly explained by the model become hypotheses. Consequently, the number of hypotheses to verify is limited. A risk of triggering metareasoning in response to individual reasoning failures is the possibility of treating exceptions as regular problems. In the current experiments, such situations did not arise, but in general we assume that the user is responsible for recognizing the exceptions. In addition, only taking action in response to clearly identified failures helps the system to avoid reasoning about exceptions. Research on humans has shown that introspection may sometimes have negative consequences. Experiments reported in (Wilson and Schooler 1991) showed that, when people is forced to think about the reasons of a given decision, they focus only on plausible explanations in the specific context of the decision. This introspective process usually generates non-optimal explanations affecting negatively future decisions. However, such risks do 18 Figure 4.1: Graphical representation of the Exploration step. Hollow shapes are existing cases (where different shapes refer to different classes); filled shapes are the encountered Dubious Future Problems; IBEC and OBEC are, respectively, inner and outer bounds. state the data type and the set of possible values for a feature). It should also be considered that in the existence of domain constraints, the Random- Problem-Generator function generates valid problems that conform to those constraints. Otherwise, generated future problems might be non-valid or irrelevant in the domain. The size of the population directly depends on the vastness of the problem space of the CB that is being worked on. Fitness Function: The fitness of a chromosome is determined by two parameters: the confidence value of the solution to the problem represented by the chromosome and the similarity of the problem to the nearest problem in the CB. The fitness function has to be adapted in each different domain or CBR system. However, the following guidelines should be used in Exploration regardless of the domain or the application: •The lower the confidence value is for a chromosome, the better candidate is that chromosome. •A chromosome in the preferred proximity of an existing case is a better candidate than a chromosome which is not in this proximity. •The confidence factor of the fitness is more significant than the similarity factor. This is not surprising since we are searching for dubious problems. Our proposal for the fitness function definition is the following: F itness(c) = Confidence(c)2×SimilarityF actor(c) 25 where cis the chromosome to be evaluated; Confidence returns the confidence value supplied by the CBR application after solving c; and Similarity- Factor takes into account the similarity to both cases and DFPs. Similarity- Factor is calculated as follows: SimilarityF actor(c) = partSimEC(c) + partSimDF P (c) where partSimEC refers to the similarity of cto existing cases and partSim- DF P refers to the similarity of cto DFPs in LCFP.partSimEC is defined as: partSimEC(c) = 1−(OBEC +IBEC −Sim(c, CB)) if Sim(c, CB)≥IBEC 1−Sim(c, CB) otherwise where Sim(c, CB) is the similarity value of cto the most similar case in the CB (i.e. the highest similarity); IBEC and OBEC are, respectively, the inner and outer bounds of similarity to the existing cases. partSimDF P (c) is defined as: partSimDF P (c) = X p∈F P (similarity(c, p)−IBEC ) where FP ⊂ LCFP is the set of future problems to which cis more similar than the allowed value IBEC and similarity(c, p) is the similarity value of c to the problem p. Following the previously defined guidelines, SimilarityF actor penalizes the chromosomes that are too close to either cases or future problems discovered in previous iterations (i.e. inside the radius defined by the inner threshold). It should also be noted that for a desired chromosome (i.e. representing a dubious future problem which is in the preferred proximity of an existing case) our proposed function produces a fitness value which is lower than a non-desired one. Selection: We defined a fitness-proportionate selection method. Fitnessproportionate selection is a commonly used and well studied selection mechanism where each chromosome has a chance proportional to its fitness value to be selected as a survivor and/or parent for the next generations. However, since we are interested in chromosomes with lower fitness values as explained above, to comply with our fitness function, selection of a chromosome was 26 inversely proportional to its fitness value. Crossover: We use single-point crossover as it is simple enough and widely used. Depending on the observed convergence of the GA, this method could easily be replaced by Two-Point or n-Point crossover methods. Mutation: Generally, one random gene value is altered for a number of offspring chromosomes in the population. If a local minima problem is observed, more genes and/or more chromosomes can be mutated. Diversity Preservation: We decided to use a diversity threshold that can be tuned for each application. Specifically, at each generation when the number of twins exceeds the diversity threshold, they are removed probabilistically using as probability their fitness value (i.e. twins with higher fitness have a higher probability to be deleted). In our approach, the validity of a problem is another important issue. Due to the application of genetic operators in the evolution cycle, it is likely to reproduce offspring chromosomes which are non-valid. We may deal with these chromosomes basically in two ways: we may replace them with new valid chromosomes or we may let some of them survive hoping them to produce nice offspring in the following generations. In the former option, the replacement can be done in the Diversity Preservation. In the latter option, either a validity check can be incorporated into the fitness function reducing the fitness of non-valid chromosomes or simply non-valid chromosomes can be excluded from the LCFP after the termination of the Exploration step. In the current implementation we adopted this last solution. Termination: The termination criterion for the GA can be reaching a number of generations or a number of dubious future problems. We let the population evolve for a certain number of generations. Result: As the result of the GA we obtain the list of future problems with low confidence solutions LCFP. 4.1.2 Exploitation The goal of the Exploitation step is to explore the neighbourhood of the low-confidence problems discovered in the Exploration step. Similarly to the Exploration step, during the execution of the GA for the Exploitation step we maintain a list of Low Confidence Problem Neighbours LCPN . We initialize 27 Figure 4.2: Graphical representation of the Exploitation step. Hollow shapes are existing cases; filled shapes are the encountered and exploited Dubious Future Problems. IBF P and OBF P are, respectively, inner and outer bounds. this list with the members of the LCFP. In other words, the members of this list are the dubious future problems that we want to exploit. For the Exploitation phase, the proximity limits define the preferred region of the search for neighbour problems. The outer limit OBF P defines the border for the less similar problems, while the inner limit IBF P defines the border for the most similar ones to any member of the LCPN. A graphical representation of the Exploitation step is provided in Figure 4.2. Notice that, comparing with the Exploration step, the proximity limits for Exploitation step are narrower since in this step we are looking for neighbours of the DFPs. All DFPs satisfying the proximity limits are added to the LCPN list. The confidence threshold for dubiosity is the same value used in the Exploration. The concepts used in the GA for the Exploitation step are the following: Chromosomes, Selection, Crossover, Mutation, Diversity Preservation: These concepts have the same definitions as the corresponding ones previously given in the Exploration step. Initial Population: We partially feed the initial population with the LCFP set hoping to reproduce similar problems. We use the Random-Problem- Generator to reach to the desired initial population size when needed. Fitness Function: The fitness of a chromosome cin the Exploitation step depends only on its neighbourhood to any member of LCPN . The fitness function is defined as follows: F itness(c) = 1−(OBF P +IBF P −Sim(c, LCPN)) if Sim(c, LCPN)≥IBF P 1−Sim(c, LCPN) otherwise 28 where Sim(c, LCPN) is the similarity value of cto the most similar problem in LCPN;IBF P and OBF P are, respectively, the inner and outer proximity bounds of similarity to the previously found future problems. Termination: We let the population evolve for a certain number of generations in Exploitation as well. Result: At the end, the Exploitation step provides the list LCPN which contains dubious future problems found both in the Exploration and Exploitation steps. 4.2 Regions of Dubiosity Exploration and Exploitation of DFPs give us a foresight of a possible bad performance of the CBR system. To inspect the underlying reasons of such a malfunction, the encountered DFPs may be presented directly for the domain expert’s attention. Experts in turn may use this future map of the casebase to initiate maintenance tasks if needed. However, depending on their number, analysing DFPs manually may become a difficult task as domain experts would have to check each DFP together with its neighbours to reveal the system deficiencies. To be able to assist the domain experts in the endeavour of analysing DFPs, we have defined six dubiosity patterns. Each DFP is tagged with a dubiosity pattern which indicates the possible reason of being classified as dubious. Furthermore, when we have a numerous list of DFPs, we propose a grouping algorithm for helping the expert to focus on regions in the case-base that suffer from the same deficiency. 4.2.1 Dubiosity Patterns DFPs are good pointers to possible future system weaknesses as their solutions have low confidence values. But to identify the cause of the low confidence result, and thus, the needed policies for eliminating these weaknesses, DFPs themselves alone are not much of a help. This is because confidence measures, in general, do not provide detailed explanations of the judgement they make while attaching a confidence value to a solution. Thus, for analysing why DFPs were considered as dubious the expert should inspect the indicators of confidence used by the confidence measure of the CBR system. 29 Figure 4.3: Graphical representation of DFP Patterns. Hollow shapes are cases and the filled one is a Dubious Future Problem. Each shape represents a different solution class. δis the similarity threshold delimiting the neighbourhood of a DFP. On the other hand, since usually the similarity measure plays an important role in confidence calculus (Cheetham and Price (2004), Delany et al. (2005)), looking at the neighbour cases of a DFP would give strong clues for analizing DFPs. For this aim, we have defined six dubiosity patterns according to the solution classes of a DFP and of its neighbour cases. Given a similarity threshold δdefining the neighbourhood, we say that a DFP exhibits a pattern of type (see Figure 4.3 for a graphical representation): •Hole (H) when all of its neighbour cases are of the same class as the DFP; •Stranger (X) when all of its neighbour cases are of the same class which is different from the DFP’s; •Lost (L) when there are at least two different groups of neighbour cases, according to their solution classes, where none of the groups is of the same class as the DFP; •Border (B) when its neighbour cases can be grouped into two groups with different solution classes and one group shares the same class as the DFP; •Shaky Terrain (S) when its neighbour cases can be grouped into at least three groups of different solution classes and one group shares the same class as the DFP. This pattern indicates regions where adding or removing a case might redraw borders for multiple classes. •Outer Limit (O) when it has only one neighbour case sharing the class. This pattern may indicate outer limits for a particular class or it may point out isolated cases in the case-base. 30 After the Exploitation step, for each DFP in LCPN we check the solution classes of its neighbour cases together with its own and we associate a pattern to each DFP according to the above pattern definitions. The similarity threshold δvalue should be coherent to the OBEC value in the Exploration step since we were looking for similarity between DFPs and existing cases. We propose to choose a value slightly bigger than the OBEC value for the δ. 4.2.2 Grouping Dubious Future Problems Preliminary experiments for exploring DFPs have shown that depending on the features that characterize a domain and on the CBR inference mechanism we may end up with a lengthy list of explored DFPs. In one sense, a high number of DFPs is attractive since the more DFPs we encounter the more possible future deficiencies we are discovering. However, using this lengthy list to carry out maintenance tasks may turn out to be a tedious work in both manual and automated maintenance of a CBR system. Although the associated dubiosity patterns help us to analyse DFPs, each DFP still requires special attention to identify the needed maintenance tasks. To overcome this overhead when we have too many DFPs to deal with, we propose to group the DFPs according to their patterns and the similarity of the DFPs among each other. Grouping DFPs in this way makes it easier to identify regions in the problem space that suffer from the same deficiency. Thus, any maintenance task that eliminates a common deficiency in such a region will probably make the CBR system more confident of its solutions for similar future problems that will fall into that region. We call these regions Regions of Dubiosity. Given the list LCPN and a similarity threshold δ0, the grouping algorithm performs the following two steps: 1. Identification of the Regions of Dubiosity by transitively grouping all DFPs that are neighbours at similarity δ0. This step forms different isolated regions. Each region is a graph where the nodes are the DFPs and edges connect two nodes when their similarity is, at least, δ0. 2. Characterization of the Regions of Dubiosity by grouping all the DFPs that share the same pattern and are directly connected. Thus, each subregion is a subgraph highlighting a pattern. δ0should be coherent with (if not equal to) the OBF P value in the Exploitation step since we are looking for similarity between DFPs for grouping them. 31 Figure 4.4: Regions of Dubiosity. Hollow shapes are cases and filled shapes are DFPs. Subscripts point out the patterns associated to each DFP. At the end, the regions of dubiosity that we obtain from the above algorithm help us to identify the problematic zones in the CBR system. Moreover, each subregion of shared patterns serves to detect zones that suffer from the same deficiency, thus preventing us from having to deal with individual DFPs. A graphical representation of an example for identifying Regions of Dubiosity is given in Figure 4.4. In the figure two different regions have been detected. The first one on the left only has two DFPs identified as outer limits. The big region on the right has three border sub-regions, one stranger sub-region, and one central shaky terrain sub-region. Connecting lines between two DFPs show that they are neighbours according to a given similarity threshold δ0. Note that region surfaces are only painted with the purpose of highlighting the dubiosity regions in the problem space. 4.3 Experimentation We have conducted experiments on two different domains, namely Zoology and Robo-Soccer. With the first domain we aimed to carry out a simple, yet a complete experiment to get a better understanding of how to tune parameters, such as proximity limits and GA settings, to explore dubious future problems. The second part of our experiments was on a more complex domain where we analyzed a CBR application used for achieving team behavior at Robo-Soccer. Here we tried to analyse the case-base to reveal 32 dubiosity regions and reasoning deficiencies if there were any. Details of the experiments on these two domains are given below. 4.3.1 Zoology Domain For experiments on this domain, we used the Zoology dataset available from UCI machine learning repository (Asuncion and Newman 2007). The Zoology dataset has 100 examples and 7 solution classes. The domain ontology defines the data type and the set of possible values of each feature. In addition, we explicitly stated the constraints for the domain that restrict non-existing animals, e.g. an animal cannot have feathers and hair at the same time. Thus, we were able to generate valid future problems using this ontology. In the genetic representation of the Zoology domain, each chromosome has 16 genes corresponding to the 16 features of each example in the data set. 15 of these features (Hair,Feathers,Egss,Milk,Airbone,Aquatic, Predator,Toothed,Backbone,Breathes,Venomous,Fins,Tail,Domestic, Catsize) are boolean valued and 1 of them is an enumeration (Legs {0 2 4 5 6 8}). We defined an additional not-supplied value for each feature to be able simulate non-complete problems. The RPG function generated random chromosomes using these features and their possible values. Settings The experimentation settings were the following: 40% of the population was selected as survivors to the next generation; 60% of the chromosomes were selected as parents to reproduce offspring; mutation was applied to a randomly chosen 5% of the offspring modifying a gene’s value for each chosen chromosome; the diversity threshold for the twin chromosomes was 5% (we kept this amount of twins in the new generation and replaced the rest of them with new ones created by the RPG). The similarity metric calculated the minimum similarity between two cases in the case-base as 0.3536, where the maximium similarity was 0.9683. Taking into account the similarities among existing cases, we chose the test range [0.93, 0.99] for the proximity limit values in our experiments. And we kept the proximity for Exploitation narrower than Exploration (see subsections 4.1.1 and 4.1.2). The Reuse method returned the solution class with the highest confidence value. The confidence measure used was an implementation of the Similarity Ratio Within K introduced in (Delany, Cunningham, Doyle and Zamolotskikh 2005) and the range for confidence values was [0.0, 3.0]. We noted that in the domain: 33 •2 cases had solutions with confidence values confidence <1.0 •7 cases had solutions with confidence values 1.0 <=confidence <= 2.0 •50 cases had solutions with confidence values 2.0 <confidence <3.0 •41 cases had solutions with confidence values confidence =3.0 So, a value of 2.0 for low confidence seemed a reasonable threshold for this domain. Trying different settings for inner and outer proximity limits for both cases and future problems, GA population sizes and number of generations allowed for evolution, we wanted to see how the GAs evolved with the resulting LCFP,LCPN lists. Because of the random nature of GAs, for each setting we executed the Exploration and Exploitation steps five times to get an average value for the number of the members of the lists. Results In the Table 4.1 we give some of the experimentation results for different GA settings, confidence thresholds and proximity limits where, •Pop : Population size for GAs for both Exploration and Exploitation steps; •Gen : Number of generations we allow for the evolution in both steps; •Conf : Threshold for Low Confidence; •IBEC : Inner bound of similarity in Exploration(see Figure 4.1); •OBEC : Outer bound of similarity in Exploration(see Figure 4.1); •IBF P : Inner bound of similarity in Exploitation(see Figure 4.2); •OBF P : Outer Bound of similarity in Exploitation(see Figure 4.2); • LCFP : Number of the members of the LCFP list; and • LCPN : Number of the members of the LCPN list. The results show that we may encounter a higher number of dubious future problems and their neigbours when, •the initial population is richer in size; 34 Chapter 5 Conclusions and Future Directions In this project, we have worked on applying introspective reasoning to CBR systems to improve their performance and have developed two different methods. The first method focuses on reasoning processes trying to identify and refine their deficiencies when the quality of a proposed solution proves to be poor. The method does this by dynamically assessing solution quality information from the user’s revisions to the solutions proposed by the system. In that sense, the method can also be seen as a reactive maintenance in response to poor solution quality. On the other hand, the second method takes steps in a proactive manner by pre-analyzing the performance of the system to find deficiencies against a set of possible future problems. We have tested our methods on CBR applications dealing with three different tasks. These were design, classification and action selection tasks on three different domains, namely, gas treatment plant design, zoology and robosoccer. Below we detail our conclusions for both methods and finally, we give some ideas that we have as future research directions. 5.1 Introspective CBR In this work we have presented a new introspective model for autonomously improving the performance of a CBR system by reasoning about system problem solving failures. To achieve this goal, the introspective reasoner monitors the reasoning process, and when a poor solution is proposed it determines the causes of the failures, and performs actions that will affect 41 future reasoning processes. We have created a causal model of the correctly functioning retrieval and adaptation stages of CBR. Failures of a CBR system’s reasoning process are modeled as conflicts between observed system performance and predictions from the causal model. The sources of these conflicts are identified and associated learning goals are fired, sometimes triggering multiple types of learning. As a result of the process, the CBR reasoning process is improved for future problem solving. We have tested the introspective reasoner in a fielded industrial design application. Experiments show that the use of the introspective reasoner improved the performance of the system. Introspection-based refinements of retrieval knowledge reduced the number of low quality solutions; refinements to adaptation knowledge increased high quality solutions. Moreover, the combination of both was able to generate more high quality solutions. Since our model of the CBR reasoning process is domain independent, it can be applied to other domains. The engineering effort for incorporating the metareasoning component to other domains would be concentrated on linking domain-specific aspects of the CBR reasoning process to the appropriate parts in the model (retrieval, adaptation, and revision models). 5.2 CBR Maintenance We have introduced a novel method for identifying future low confidence regions given an existing case-base. The method is based on four steps: First, we explore the problem space to find dubious future problems, i.e. problems with low confidence solutions. Then, we exploit these problems to better locate them in the case-base within their future neighbourhood. Both steps use an evolutionary approach to scan the problem space of the domain. Next, to help the understanding of the regions where dubious future problems are located, we associate each problem with one of the six dubiosity patterns that we have defined. These patterns are based on the neighbourhood of future problems to the existing cases. Finally, we have proposed an algorithm for grouping dubious future problems according to these patterns to identify regions of dubiosity. We argued that these regions enabled us to focus on the regions in the case-base that suffer from the same deficiency rather than dealing with individual problems, thus facilitating maintenance tasks. We described the experiments performed in Zoology domain and in a Robosoccer application. We have shown how DFPs associated with dubiosity patterns helped us to detect dubious regions in the case-base and to analyse bad performing mechanisms of the CBR system. 42 We believe that the proposed method is useful for improving the performance of CBR systems in a proactive fashion. The proposed method uses only the domain ontology for generating future problems and evaluates them by using the confidence and similarity measures provided by the CBR system. Although this method seems to be for maintenance tasks, we note that it can be used for helping the sytem designer and knowledge engineer at the design step of the CBR system as well. Confronting the system with possible future problems can be an exhaustive test showing whether the case-base is seeded enough to cover the problem space of the domain and whether the reasoning mechanisms (e.g., similarity metric or adaptation mechanisms) is working as thought. 5.3 Publications •Mulayim, O. and Arcos, J. L.: 2007, Exploring dubious future problems, in M. Petridis (ed.), Twelfth UK Workshop on Case-Based Reasoning, CMS Press, pp. 52–63. •Arcos, J. L., Mulayim, O. and Leake, D.: 2008, Using introspective reasoning to improve cbr system performance, in M. T. Cox and A. Raja (eds), Proceedings of the AAAI 2008 Workshop on Metareasoning: Thinking About Thinking, AAAI Press, pp. 21–28. •Mulayim, O. and Arcos, J. L.: 2008, Understanding dubious future problems, in D. Althoff, R. Bergmann, M. Minor and A. Hanft (eds), Advances in Case-Based Reasoning: 9th European Conference, ECCBR 2008, Vol. 5239 of Lecture Notes in Artificial Intelligence, Springer Verlag, pp. 385–399. 5.4 Future directions Surely introspective reasoning has many dimensions, each of them still subject to full time research. And our work is by no means an exception. The challenges lie in a wide range of problems to be addressed (a list of challenges together with opportunities can be found in (Leake and Wilson 2008)). For example, for learning systems in general –and for introspective learning in particular– it is still an open question when to learn once a failure is detected. This issue is very relevant to our first method where the metareasoning component tries to learn immediately as a poor solution is encountered. Instead of learning from the failure instantly, for some situations it 43 may be wiser to wait to gather more information or perhaps at the end simply not learning from the failure since it proves to be a mere exception. Another important issue arises when there are multiple repairs to be done. Leake, Kinley and Wilson (1997) show that uncoordinated repairs of multiple knowledge sources (such as similarity assessment and adaptation knowledge for CBR process) may degrade performance. This concerns our introspective reasoner as the hypothesis generation component may propose multiple improvements in response to a failure. For now the improvements are proposed using a predefined taxonomy. Learning this taxonomy and how to coordinate the multiple improvements would make the introspective reasoner much more domain –and implementation– independent. As for the second method we introduced, finding dubious future problems and dubiosity regions is only half way to autonomusly improve CBR performance. At the moment, the user has to deal with the dubiosity regions applying them appropriate maintenance tasks manually. As future work we plan to relate the dubiosity patterns to possible maintenance tasks as we did in the first method by using taxonomy of reasoning failures. Furthermore, we wish to design a graphical tool for navigating through the problem space. We plan to join our method with a visualisation method for case-base competence based on solution qualities presented in (Grachten, Garcia-Otero and Arcos 2005). Our ongoing research is aimed at answering these issues and ultimately we wish to combine our two methods as a contribution to research on building more introspective Case-Based Reasoners. 44 Bibliography Aamodt, A. and Plaza, E.: 1994, Case-based reasoning: foundational issues, methodological variations, and system approaches, AI Communications 7(1), 39–59. Anderson, M. L. and Oates, T.: 2007, A review of recent research in metareasoning and metalearning, AI Magazine 28, 7–16. Arcos, J. L.: 2001, T-air: A case-based reasoning system for designing chemical, in D. W. Aha and I. Watson (eds), Case-Based Reasoning Research and Development, Vol. 2080 of Lecture Notes in Artificial Intelligence, Springer-Verlag, pp. 576–588. Arcos, J. L.: 2004, Improving the quality of solutions in domain evolving environments, in P. Funk and P. A. Conz´alez-Calero (eds), Proceedings of the 7th European Conference on Case-Based Reasoning, Vol. 3155 of Lecture Notes in Artificial Intelligence, Springer-Verlag, pp. 464–475. Arcos, J. L., Mulayim, O. and Leake, D.: 2008, Using introspective reasoning to improve CBR system performance, in M. T. Cox and A. Raja (eds), Proceedings of the AAAI 2008 Workshop on Metareasoning: Thinking About Thinking, AAAI Press, pp. 21–28. Asuncion, A. and Newman, D.: 2007, UCI machine learning repository. http://www.ics.uci.edu/∼mlearn/MLRepository.html Birnbaum, L., Collins, G., Brand, M., Freed, M., Krulwich, B. and Pryor, L.: 1991, A model-based approach to the construction of adaptive case-based planning systems, in R. Bareiss (ed.), Proceedings of the DARPA Case-Based Reasoning Workshop, San Mateo: Morgan Kaufmann, pp. 464–475. Cheetham, W.: 2000, Case-based reasoning with confidence, in E. Blanzieri and L. Portinale (eds), 5th European Workshop on Case-Based Reason- 45 ing, EWCBR-00, Vol. 1898 of Lecture Notes in Artificial Intelligence, Springer-Verlag, pp. 15–25. Cheetham, W. and Price, J.: 2004, Measures of solution accuracy in casebased reasoning systems, in P. Funk and P. A. Conz´alez-Calero (eds), 7th European Conference on Case-Based Reasoning, ECCBR-04, Vol. 3155 of Lecture Notes in Artificial Intelligence, Springer-Verlag, pp. 106–118. Cover, T. and Hart, P.: 1967, Nearest neighbor pattern classification, IEEE Transactions on Information Theory 13(1), 21–27. Cox, M. T.: 2005, Metacognition in computation: A selected research review, Artificial Intelligence 169(2), 104–141. Cox, M. T. and Raja, A.: 2007, Metareasoning: A manifesto. technical report, bbn tm-2028. Cox, M. T. and Ram, A.: 1999, Introspective multistrategy learning: On the construction of learning strategies, Artificial Intelligence . Craw, S., Wiratunga, N. and Rowe, R. C.: 2006, Learning adaptation knowledge to improve case-based reasoning, Artificial Intelligence 170(16- 17), 1175–1192. Delany, S. J., Cunningham, P., Doyle, D. and Zamolotskikh, A.: 2005, Generating estimates of classification confidence for a case-based spam filter, in H. Mu˜noz-Avila and F. Ricci (eds), 6th International Conference on Case-Based Reasoning, ICCBR-05, Vol. 3620 of Lecture Notes in Artificial Intelligence, Springer-Verlag, pp. 177–190. Fox, S. and Leake, D. B.: 2001, Introspective reasoning for index refinement in case-based reasoning, ournal of Experimental & Theoretical Artificial Intelligence 13(1), 63–88. Francis, A. G. and Ram, A.: 1993, The utility problem in case-based reasoning, Proceedings of the 1993 AAAI Workshop on Case-Based Reasoning. Grachten, M., Garcia-Otero, A. and Arcos, J. L.: 2005, Navigating through case base competence, in H. Munoz-Avila and F. Ricci (eds), 6th International Conference on Case-Based Reasoning, ICCBR-05, Vol. 3620 of Lecture Notes in Artificial Intelligence, Springer-Verlag, pp. 282–295. Kolodner, J.: 1993, Case-based reasoning, Morgan Kaufmann, San Francisco, CA, USA. 46 Leake, D. B.: 1996a, Case-Based Reasoning: Experiences, Lessons and Future Directions, MIT Press, Cambridge, MA, USA. Leake, D. B.: 1996b, Experience, introspection and expertise: Learning to refine the case-based reasoning process, Journal of Experimental and Theoretical Artificial Intelligence 8(3-4), 319–339. Leake, D. B., Kinley, A. and Wilson, D.: 1995, Learning to improve case adaptation by introspective reasoning and CBR, in M. M. Veloso and A. Aamodt (eds), Proceedings of the First International Conference on Case-Based Reasoning, Vol. 1010 of Lecture Notes in Computer Science, Springer-Verlag, pp. 229–240. Leake, D. B., Kinley, A. and Wilson, D. C.: 1997, Learning to integrate multiple knowledge sources for case-based reasoning, Proceedings of the Fifteenth International Joint Conference on Artificial Intelligence, IJCAI 1997, Morgan Kaufmann, pp. 246–251. Leake, D. B. and Wilson, D. C.: 1998, Categorizing case-base maintenance: Dimensions and directions, in B. Smyth and P. Cunningham (eds), Advances in Case-Based Reasoning:Proceedings of the Fourth European Workshop on Case-Based Reasoning, Vol. 1488 of Lecture Notes in Computer Science, Springer-Verlag, pp. 196–207. Leake, D. and Wilson, M.: 2008, Extending introspective learning from selfmodels, Proceedings of the AAAI 2008 Workshop on Metareasoning: Thinking About Thinking, AAAI Press, pp. 143–146. Lopez de Mantaras, R., McSherry, D., Bridge, D., Leake, D., Smyth, B., Craw, S., Faltings, B., Maher, M., Cox, M., Forbus, K., Keane, M. and Watson, I.: 2005, Retrieval, reuse, revision, and retention in CBR, The Knowledge Engineering Review 20(3), 215–240. Massie, S., Craw, S. and Wiratunga, N.: 2007, When similar problems don’t have similar solutions, in R. Weber and M. Richter (eds), 7th International Conference on Case-Based Reasoning, ICCBR 2007, Vol. 4626 of Lecture Notes in Artificial Intelligence, Springer-Verlag, pp. 92–106. Michalewicz, Z.: 1996, Genetic Algorithms+Data Structures=Evolution Programs, 3rd edn, Springer Verlag, New York. Mulayim, O. and Arcos, J. L.: 2007, Exploring dubious future problems, in M. Petridis (ed.), Twelfth UK Workshop on Case-Based Reasoning, CMS Press, pp. 52–63. 47 Mulayim, O. and Arcos, J. L.: 2008, Understanding dubious future problems, in D. Althoff, R. Bergmann, M. Minor and A. Hanft (eds), Advances in Case-Based Reasoning: 9th European Conference, ECCBR 2008, Vol. 5239 of Lecture Notes in Artificial Intelligence, Springer Verlag, pp. 385– 399. Murdock, J. W. and Goel, A. K.: 2008, Meta-case-based reasoning: selfimprovement through self-understanding, Journal of Experimental & Theoretical Artificial Intelligence 20(1), 1–36. Ros, R.: 2008, Action Selection in Cooperative Robot Soccer Using Case- Based Reasoning. Ph.D. Diss., Universidad Autonoma de Barcelona, Spain. Ros, R., Lopez de Mantaras, R., Arcos, J. L. and Veloso, M.: 2007, Team playing behavior in robot soccer: A case-based approach, in R. O. Weber and M. M. Richter (eds), Proceedings of the 7th International Conference on Case-Based Reasoning, ICCBR-07, Vol. 4626 of Lecture Notes in Artificial Intelligence, Springer-Verlag, pp. 46–60. Smyth, B. and Cunningham, P.: 1996, The utility problem analysed: A casebased reasoning perspective, Proceedings of the Third European Workshop on Case-Based Reasoning, Springer Verlag, pp. 392–399. Smyth, B. and Keane, M. T.: 1995, Remembering to forget: A competencepreserving case deletion policy for case-based reasoning systems, Proceedings of IJCAI-95, pp. 377–382. Smyth, B. and McKenna, E.: 1999, Building compact competent case-bases, in K.-D. Althoff, R. Bergmann and K. Branting (eds), 3rd International Conference on Case-Based Reasoning, ICCBR-99, Vol. 1650 of Lecture Notes in Artificial Intelligence, Springer-Verlag, pp. 329–342. Smyth, B. and McKenna, E.: 2001, Competence models and the maintenance problem, Computational Intelligence 17(2), 235–249. Watson, I.: 1999, CBR is a methodology not a technology, Knowledge Based Systems 12(5,6), 303–308. Wilson, D. C. and Leake, D. B.: 2001, Maintaining case-based reasoners: Dimensions and directions, Computational Intelligence 17(2), 196–213. Wilson, T. and Schooler, J.: 1991, Thinking too much: Introspection can reduce the quality of preferences and decisions, Journal of Personality and Social Psychology 60, 181–192. 48