2.4 Explaining and Generalizing
Modules
Explaining and generalizing modules constitute the
EBL process of the apprentice agent. Our past work
(Wang, L., Tian, Y. and Sawaragi, T., 2008) has
described its detailed working mechanism.
The EBL process both can learn from examples
directly given by human workers and can learn from
examples generated by the adapting module and
further revised by human workers. The learning
results include: 1. a retrieving rule for the case, 2. the
case, and 3. adapting rules of the case. The adapting
rules are learned by comparing the revised solution
with the adapted solution.
3 AN EXAMPLE
Figure 2 shows an application example of the
apprentice agent. In this example, the apprentice
agent assists human workers by generating robot
programs for palletizing two rows of blocks into a
plate. The blocks in the same row have the same
cross-section but different heights. The blocks in the
left row have bigger widths (i.e., are thicker) than
those in the right row.
Figure 2: An example: palletizing blocks.
First, human workers teach the robot how to
palletize the blue block in the right row. Then the
apprentice agent reuses this case successfully in
palletizing the rest blocks in the left row.
However, when the case is reused in palletizing
the first (i.e., the blue) block in the left row, an error
occurs. The robot tool collides with the target blue
block. Then human workers revise the adapted
solution by inserting a command to slow down the
robot speed before the command of closing the robot
tool. The revised solution can be executed without
errors. The EBL process learns a new case from the
revised solution and an adapting rule that if the
width of the workpiece is not much smaller than (i.e.,
>80% of) the open width of the robot tool, then robot
should slow down before gripping the workpiece.
The apprentice agent reuses the new learned case in
palletizing the rest blocks of the left row successfully.
4 CONCLUSIONS
We propose a method that integrates CBR and EBL
in an apprentice agent to solve the utility problem of
CBR. Its distinctive feature is applying EBL in post-
processing an observed case to reduce its reusing and
adapting cost. While this apprentice agent can be
used for general purposes, in this paper we apply it
in the robotic assembly domain.
REFERENCES
Aamodt, A. and Plaza, E., 1994. Case-based reasoning:
foundational issues, methodological variations, and
system approaches. AI Communications, Vol. 7: 1, pp.
39-59.
Armengol, E., Ontanon, S. and Plaza, E., 2004. Explaining
similarity in CBR. ECCBR 2004 Workshop
Proceedings.
Armengol, E., 2007. Usages of generalization in case-
based reasoning. Lecture Notes In Artificial
Intelligence, Vol. 4626. Proceedings of the 7th
international conference on Case-Based Reasoning:
Case-Based Reasoning Research and Development.
DeJong, G. and Mooney, R., 1986. Explanation-based
learning: an alternative view. Machine Learning, Vol.1,
pp.145-176.
DeJong, G., 2006. Toward robust real-world inference: a
new perspective on explanation-based learning. ECML
2006.
Iglezakis, I., Reinartz, T. and Roth-Berghofer, T., 2004.
Maintenance memories: beyond concepts and
techniques for case base maintenance. In Proceedings
of the Seventh European Conference on Case-Based
Reasoning. Berlin: Springer, pp. 227–241.
Mantaras, R., et al., 2006. Retrieval, reuse, revision and
retention in case-based reasoning. The Knowledge
Engineering Review, Vol.20:3, pp. 215-240.
Mitchell, T., Keller, R. and Kedar-Cabelli, S., 1986.
Explanation-based generalization: a unifying view.
Machine Learning, Vol.1, pp.47-80.
Wang, L., Tian, Y. and Sawaragi, T., 2008. Explanation-
based manipulator learning: acquisition of assembling
technique through observation. Proceedings of the
17th World Congress of IFAC, pp.2412-2417.
Wilson, D. and Leake, D., 2001. Maintaining cased-based
reasoners: dimensions and directions. Computational
Intelligence, Vol.17:2, pp.196–213.
ICAART 2010 - 2nd International Conference on Agents and Artificial Intelligence
670