Scene Learning, Recognition and Similarity Detection in a Fuzzy Ontology via Human Examples

Similar documents
Introducing fuzzy quantification in OWL 2 ontologies

Which Role for an Ontology of Uncertainty?

Towards Integrating Fuzzy Logic Capabilities into an Ontology-based Inductive Logic Programming Framework

Learning Probabilistic Ontologies with Distributed Parameter Learning

Evaluating OWL 2 Reasoners in the Context Of Checking Entity-Relationship Diagrams During Software Development

Automatic Enhancement of Correspondence Detection in an Object Tracking System

Image Classification Using Wavelet Coefficients in Low-pass Bands

Common Pitfalls in Ontology Development

Approximate Reasoning with Fuzzy Booleans

Acquisition of Qualitative Spatial Representation by Visual Observation

Hydraulic pump fault diagnosis with compressed signals based on stagewise orthogonal matching pursuit

ROUGH SETS THEORY AND UNCERTAINTY INTO INFORMATION SYSTEM

Application of fuzzy set theory in image analysis. Nataša Sladoje Centre for Image Analysis

Ontology Refinement and Evaluation based on is-a Hierarchy Similarity

Towards Rule Learning Approaches to Instance-based Ontology Matching

Ontology Modeling and Storage System for Robot Context Understanding

Motivating Ontology-Driven Information Extraction

A Technique for Representing Course Knowledge Using Ontologies and Assessing Test Problems

Reasoning on Business Processes and Ontologies in a Logic Programming Environment

Requirements Engineering for Enterprise Systems

The Un-normalized Graph p-laplacian based Semi-supervised Learning Method and Speech Recognition Problem

ON DECOMPOSITION OF FUZZY BԐ OPEN SETS

Aspect Transition Graph: an Affordance-Based Model

EQuIKa System: Supporting OWL applications with local closed world assumption

Semantic Mapping and Reasoning Approach for Mobile Robotics

Design of Obstacle Avoidance System for Mobile Robot using Fuzzy Logic Systems

A Knowledge-Based System for the Specification of Variables in Clinical Trials

Ontological Modeling: Part 7

Using temporal seeding to constrain the disparity search range in stereo matching

Flexibility and Robustness of Hierarchical Fuzzy Signature Structures with Perturbed Input Data

The Crucial Components to Solve the Picking Problem

A Content Based Image Retrieval System Based on Color Features

Constrained Clustering with Interactive Similarity Learning

Extracting knowledge from Ontology using Jena for Semantic Web

A Generalized Decision Logic Language for Granular Computing

AWERProcedia Information Technology & Computer Science

System of Systems Architecture Generation and Evaluation using Evolutionary Algorithms

Rough Set Approaches to Rule Induction from Incomplete Data

Data Mining Technology Based on Bayesian Network Structure Applied in Learning

Ontological Modeling: Part 14

New wavelet based ART network for texture classification

Ontology Merging: on the confluence between theoretical and pragmatic approaches

Fully Automatic Methodology for Human Action Recognition Incorporating Dynamic Information

Extending the SHOIQ(D) Tableaux with DL-safe Rules: First Results

Generalized Implicative Model of a Fuzzy Rule Base and its Properties

Morphological Change Detection Algorithms for Surveillance Applications

Inducing Parameters of a Decision Tree for Expert System Shell McESE by Genetic Algorithm

An Empirical Study of Lazy Multilabel Classification Algorithms

Minimal Test Cost Feature Selection with Positive Region Constraint

Online and Offline Fingerprint Template Update Using Minutiae: An Experimental Comparison

Reducing Quantization Error and Contextual Bias Problems in Object-Oriented Methods by Applying Fuzzy-Logic Techniques

R-Fuzzy Sets and Grey System Theory

Description Logic Systems with Concrete Domains: Applications for the Semantic Web

Multilabel Classification Evaluation using Ontology Information

Collaborative Rough Clustering

Integrating SysML and OWL

Performance Evaluation of Semantic Registries: OWLJessKB and instancestore

Mining High Order Decision Rules

C-NBC: Neighborhood-Based Clustering with Constraints

Scalable Object Classification using Range Images

Evolving Hierarchical and Recursive Teleo-reactive Programs through Genetic Programming

FUZZY BOOLEAN ALGEBRAS AND LUKASIEWICZ LOGIC. Angel Garrido

AN OPTIMIZATION GENETIC ALGORITHM FOR IMAGE DATABASES IN AGRICULTURE

Local Image Registration: An Adaptive Filtering Framework

Fuzzy Ontology-based Spatial Data Warehouse for Context-aware. search and recommendations.

Selection of Defuzzification method for routing metrics in MPLS network to obtain better crisp values for link optimization

Contents. Preface to the Second Edition

Semi-Supervised Clustering with Partial Background Information

Real-Time Human Detection using Relational Depth Similarity Features

Datasets Size: Effect on Clustering Results

Scalable Web Service Composition with Partial Matches

Ontology-Based Web Query Classification for Research Paper Searching

1 Introduction. 2 Theoretical Foundation. 2.2 Spatial Relations. 2.1 Geometrical Objects. 2.3 Description logic

Similarity Measures of Pentagonal Fuzzy Numbers

Advanced Inference in Fuzzy Systems by Rule Base Compression

Automating Instance Migration in Response to Ontology Evolution

Skill. Robot/ Controller

INCREASING CLASSIFICATION QUALITY BY USING FUZZY LOGIC

Invariant Generation in Vampire

SDMX self-learning package No. 5 Student book. Metadata Structure Definition

Intelligent flexible query answering Using Fuzzy Ontologies

FOGA: A Fuzzy Ontology Generation Framework for Scholarly Semantic Web

ROUGH MEMBERSHIP FUNCTIONS: A TOOL FOR REASONING WITH UNCERTAINTY

Aspect Transition Graph: an Affordance-Based Model

Probabilistic Information Integration and Retrieval in the Semantic Web

Video Inter-frame Forgery Identification Based on Optical Flow Consistency

Adaptable and Adaptive Web Information Systems. Lecture 1: Introduction

Still Image Objective Segmentation Evaluation using Ground Truth

Supervised Object Class Colour Normalisation

Lecture notes. Com Page 1

Automation of Semantic Web based Digital Library using Unified Modeling Language Minal Bhise 1 1

Probabilistic Dialogue Models with Prior Domain Knowledge

Collecting outdoor datasets for benchmarking vision based robot localization

OSDBQ: Ontology Supported RDBMS Querying

Flexible Lag Definition for Experimental Variogram Calculation

On the Reduction of Dublin Core Metadata Application Profiles to Description Logics and OWL

ORGANIZATION AND REPRESENTATION OF OBJECTS IN MULTI-SOURCE REMOTE SENSING IMAGE CLASSIFICATION

Improving Adaptive Hypermedia by Adding Semantics

1498. End-effector vibrations reduction in trajectory tracking for mobile manipulator

Room Reconstruction from a Single Spherical Image by Higher-order Energy Minimization

Transcription:

Scene Learning, Recognition and Similarity Detection in a Fuzzy Ontology via Human Examples Luca Buoncompagni 1, Fulvio Mastrogiovanni 1, and Alessandro Saffiotti 2 1 Department of Informatics, Bioengineering, Robotics and Systems Engineering, University of Genoa, Italy {luca.buoncompagni@edu., fulvio.mastrogiovanni@}unige.it 2 Centre for Applied Autonomous Sensor Systems, Örebro University, Sweden asaffio@aass.oru.se arxiv:1709.09433v1 [cs.ai] 27 Sep 2017 Abstract This paper introduces a Fuzzy Logic framework for scene learning, recognition and similarity detection, where scenes are taught via human examples. The framework allows a robot to: (i) deal with the intrinsic vagueness associated with determining spatial relations among objects; (ii) infer similarities and dissimilarities in a set of scenes, and represent them in a hierarchical structure represented in a Fuzzy ontology. In this paper, we briefly formalize our approach and we provide a few use cases by way of illustration. Nevertheless, we discuss how the framework can be used in real-world scenarios. Keywords: Learning by Example, Scene Recognition, Scene Similarity, Fuzzy Logic, Human-Robot Interaction. 1 Introduction In order to achieve a natural interaction between humans and robots, it is crucial robots be able not only to learn by human examples, but also to organize learned knowledge for a long-term interaction, as well as for communicating it to humans. On the one hand, such learning techniques as Learning by Example [4][5] are efficient ways to teach robots well-defined skills, but the resulting representation typically does not take interaction aspects into account. On the other hand, as any form of inductive reasoning, learning can deal with generalisation and the conceptualisation of knowledge only to a limited extent [3], and therefore methods to support robot-to-human communication and vagueness in scene descriptions must be considered. In this paper, we present a perception framework 3 structurally requiring human examples and representing the environment using a formalism based on Fuzzy Logic. The approach allows a robot to acquire scenes of the robot s workspace via human examples, represent spatial relations among objects therein using fuzzy concepts, and hierarchically classify scenes on the basis of their similarities. We focus on scenes related to a tabletop scenario, which are sequentially shown by a human teacher. Our approach populates a fuzzy ontology, which can be used to encode vague representations of spatial relations and reason upon them to perform classification, ground human-robot communication and, in perspective, perform task planning. 3 A first implementation is available at:https://github.com/emarolab/fuzzy_sit.

2 Luca Buoncompagni, Fulvio Mastrogiovanni and Alessandro Saffiotti In the following Sections, we briefly introduce our framework and we show a few simple examples to describe the system s behaviour and discuss its main features. 2 Method Our framework is based on a fuzzy OWL ontology [8], managed by the fuzzydl reasoner [1], which (i) represents scenes in terms of fuzzy objects and fuzzy spatial relations among them, and (ii) determines the similarity between any pair of scenes using their fuzzy descriptions. We assume as an input (i) the classification of perceived objects according to a number of predefined fuzzy sets (e.g., Book or Cup), i.e., the object type, and (ii) the knowledge of the spatial relations objects are involved in (e.g., right or left), both with the associated degree of membership, as shown in Table 1. Two mapping procedures are used to manipulate the ontology at runtime:m 1 maps percepts to a fuzzy scene individualsin the ontology, whereas M 2 creates a new fuzzy scene class Scene from a single individuals would the latter not be classified by any class in the ontology. In order to understand howm 1 works, let us assume that the robot perceives a scene where two books, namelybandd, are detected, with D at the right hand side ofb(first scenario in Section 1). A fuzzy setbook is defined to assess the degree of membership of the two books B and D, for instance Book(B,1) and Book(D,.8). A fuzzy spatial relation right is used to represent the degree of membership of the assertion D at the right hand side of B, for instance right(b,d,.9). Then, for all objects which are in a right relationship with other objects, we sum up the degrees of membership of the corresponding fuzzy relation, in this case.9, to determine a reified description relating object types and relations [6], e.g., hasbookright(.8), which we use to define S. In general terms: S has jk.e jk, (1) where: j Λ,k λ { { e jk = Λ j λ k.λ j max min Λ(I),Y.λ k (I) }}. (2) I Λ j Y Λ In (1) and (2), Λ ={Λ 1,...,Λ j,...,λ N } is the set of object types represented as fuzzy sets (e.g., Book and Cup), λ = {λ 1,...,λ k,...,λ M } is the set of spatial relations represented as fuzzy relations (e.g., right), and jk is the reification of Λ j on λ k, e.g., BookRight. We assess the similarity between two scenes by comparing the number e jk of relations involving a certain object type (e.g., Book and right) in scene descriptions in the form of (1). If we considered a non fuzzy formulation, this would mean defining a set of minimal cardinality restrictions over the definition of S (e.g., the scene has at least one book on the right hand side). However, this is not the case with a fuzzy formulation [2]. In our case, we adopt the Sigma Counter approach [7], and we compare the sum of all degrees of membership for a given fuzzy spatial relation with respect a given object type with a left-shoulder membership function, which restricts the counter value through classification, i.e., the apex of the shoulder for which its value becomes 1 occurs at e jk.

Scene Learning, Recognition and Similarity Detection 3 M 2 determines Sigma Counter restrictions for all the reified spatial relations in the set. When all restrictions are computed, a fuzzy scene class Scene is created as a fuzzy set whose purpose is to classify S. Considering the example introduced above, a description is created such that hasbookright.atleast(.8), and it is assigned to Scene. In formulas: Scene has jk.atleast(le ftshoulder(e jk )). (3) j Λ,k λ Three remarks can be made: (i) a class is inductively derived from a single example, when the fuzzy ontology does not contain any fuzzy set whose description is suitable to classify a scene individual; (ii) human supervision may be needed to corroborate or modify the class description; (iii) the scene formulation in (3) allows for reasoning about similarities among scenes; the fuzzydl reasoner proves able to build a hierarchy of scene individuals using the fuzzy matching of all the minimal cardinality restrictions, which acts as a sort of fuzzy implication between scenes; an example is shown in Figure 1, and discussed below. 3 Preliminary Results and Discussion Experiments have been performed in an incremental manner. At bootstrap, the ontology does not contain assertions. Then, all scenes are shown sequentially to the robot, which applies the mappingsm 1 andm 2 described above. We assume a fuzzy scene individual as being recognised when the associated degree of membership is higher than.97. When all scenes are classified, a hierarchy is induced, which is shown in Figure 1. If we focus on the two last columns of Table 1, it is possible to see how both learning and recognition performance scale with the complexity of descriptions, as well as with the number of assertions in the ontology. All experiments have been performed using a graphical user interface (available open source 3 ), which simulates the perception of objects and spatial relations. Results have been collected using an Intel Core i5-460m (2.53 Ghz) processor with 4 GB of DDR3 memory. Table 1 shows a few examples of scenes presented to the robot, where only two object types and one spatial relation is considered. The first column of the table depicts object arrangements, whereas the second and the third column represent the fuzzy predicates specifying the degrees of memberships for object types and spatial relations. The fourth column shows the description of the resulting fuzzy scene individual, obtained applying (1) and (2), whereas in the fifth column the corresponding description of a fuzzy scene class is shown. The last two columns provide an indicative estimate of learning and recognition times, computed respectively when a fuzzy scene class is first created and when another individual is subsequently classified as being an instance of that class.

B B Table 1. Three experiments sequentially performed within a simplified scenario. Inputs Maps Performance Scenario Object Type Spatial Relation Scene individual Scene class Learning [ms] Recognition [ms] BD D CD C Book(B,1) Book(D,.8) Book(B,.7) Book(D,1) Cup(C,.6) Book(B,.8) Book(D,1) Cup(C,.7) right(b,d,.9) right(b,c,.5) right(c,d,.9) right(b,d,.3) right(b,d,1) right(b,c,.2) right(d,c,.5) S hasbookright(.8) S hasbookright(.9+.3) hascupright(.5) S hasbookright(.8) hascupright(.2 +.5) Scene 1 hasbookright.atleast(.8) Scene 2 hasbookright.atleast(1.2) hascupright.atleast(.5) Scene 3 hasbookright.atleast(.8) hascupright.atleast(.7) 1128 873 2381 2115 3686 3389 4 Luca Buoncompagni, Fulvio Mastrogiovanni and Alessandro Saffiotti

Scene Learning, Recognition and Similarity Detection 5 In the recognition phase, a new fuzzy scene individual S can be classified as being an instance of one of three fuzzy scene classes (i.e., Scene 1, Scene 2 and Scene 3 ), whereas in the learning phase the hierarchy must be updated to create a new fuzzy scene class, which increases the overall computational time. It is noteworthy that learning and classification performance depend also on the number of objects in the scene and the related spatial relations. It is possible to observe that if Scene 2 or Scene 3 are classified, also the objects arrangement in Scene 1 holds with a full degree, given the qualitative nature of spatial relations. Furthermore, Scene 2 and Scene 3 share some similarity, even if not as clearly as in the previous case, which is represented by the reasoner with a low fuzzy implication value between them. Such a behavior is due to the Sigma Count approach, specifically to how the left-shoulder function changes between 0 and e jk. Table 1 shows also how the fuzzydl reasoner 1.0 Scene 1 1.0 Scene 2 0.32 Scene 3 0.24 Figure 1. The scene hierarchy obtained as a result of the learning process: circles are fuzzy scene classes, while arrows are fuzzy implications with the related degree of membership. can deal with vague spatial relations. It is noteworthy that, just for the sake of argument, degrees of membership in spatial relations are negatively correlated with the actual distance between objects. Finally, the framework can also deal with inaccurate scene recognitions. It could be the case that an objectbis classified as abook(b,.8) and also as acup(b,.2), which is slightly located on the left hand side ofd, i.e.,right(d,b,.3). In this case, applying (1) gives: e Book,right max{min{.2,.3},min{.8,.3}}. 4 Conclusions and Future Work We introduce a framework based on Fuzzy Logic to learn, recognise and hierarchically classify tabletop scenes presented to the robot by a human teacher. The framework can serve as a basis to ground human-robot communication processes: on the one hand, it can deal with the intrinsic vagueness associated with human perception of spatial relationships; on the other hand, its performance is sufficiently good for a natural interaction in human-robot interaction scenarios. The framework is under test to benchmark its scalability and representation capabilities. Currently, research activities focus on: (i) determining possible singularities in the scene representation to avoid degenerate cases; (ii) integration between natural spatial representations and speech-based interaction; (iii) evaluation of action planning methods to perform object manipulation with the aim of recreating a previously perceived scene. Acknowledgements This work has been partly supported by a grant of the Fondazione/Stiftelsen C.M. Lerici awarded to the first author.

6 Luca Buoncompagni, Fulvio Mastrogiovanni and Alessandro Saffiotti References 1. Bobillo, F., Straccia, U.: fuzzydl: an expressive fuzzy description logic reasoner. In: Proceedings of the 16th International Conference on Fuzzy Systems (FUZZ-IEEE 2008) (June 2008) 2. Bobillo, F., Straccia, U.: On qualified cardinality restrictions in fuzzy description logics under łukasiewicz semantics. In: Proceedings of the 12th International Conference on Information Processing and Management of Uncertainty in Knowledge-based Systems (IPMU-08). Malaga, Spain (June 2008) 3. Boutell, M.R., Luo, J., Shen, X., Christopher, M.: Learning multi-label scene classification. Pattern Recognition 37(9), 1757 1771 (2004) 4. Delson, N., West, H.: Robot programming by human demonstration: adaptation and inconsistency in constrained motion. In: Proceedings of the 1996 International Conference on Robotics and Automation (ICRA 1996) (May 1996) 5. Duan, Y., Andrychowicz, M., Stadie, B., Ho, J., Schneider, J., Sutskever, I., Abbeel, P., Zaremba, W.: One-shot imitation learning. arxiv preprint arxiv:1703.07326 6. Gangemi, A.: Ontology design patterns for semantic web content. In: Proceedings of the 2005 International Semantic Web Conference (ISWC 2005). Galway, Ireland (November 2005) 7. Glöckner, I.: Fuzzy quantifiers: a computational theory, Studies in Fuzziness and Soft Computing, vol. 193. Springer-Verlag Berlin Heidelberg (2008) 8. McGuinness, D., Harmelen, F.V.: OWL web ontology language overview. Tech. rep., W3C Working Group (2004)