A Complex Event Recognition Architecture Will Fitzgerald Kalamazoo College R. James Firby I/NET, Inc.

Slides:



Advertisements
Similar presentations
Chapter 11 Introduction to Programming in C
Advertisements

A small taste of inferential statistics
Assumptions underlying regression analysis
Design by Contract.
Associate Professor MIS Department UNLV
Chapter 17 Project Management McGraw-Hill/Irwin
Cognitive Systems, ICANN panel, Q1 What is machine intelligence, as beyond pattern matching, classification and prediction. What is machine intelligence,
A Graduate Course on Multimedia Technology 3. Multimedia Communication © Wolfgang Effelsberg Media Scaling and Media Filtering Definition of.
Executional Architecture
1 I256: Applied Natural Language Processing Marti Hearst Aug 30, 2006.
Chapter 14 The User View of Operating Systems
Chapter 3 Process Description and Control
Timing of the brain events underlying access to consciousness during the attentional blink Claire Sergent, Sylvain Baillet, & Stanislas Dehaene.
Lecture 8: Three-Level Architectures CS 344R: Robotics Benjamin Kuipers.
WHAT IS AN OPERATING SYSTEM? An interface between users and hardware - an environment "architecture ” Allows convenient usage; hides the tedious stuff.
Best-First Search: Agendas
Chapter 10 – Digital System Projects Using HDL Copyright © 2011, 2007, 2004, 2001, 1998 by Pearson Education, Inc. Upper Saddle River, New Jersey
1 Complexity of Network Synchronization Raeda Naamnieh.
Experiences with an Architecture for Intelligent Reactive Agents By R. Peter Bonasso, R. James Firby, Erann Gat, David Kortenkamp, David P Miller, Marc.
© Copyright Eliyahu Brutman Programming Techniques Course.
Simulation Waiting Line. 2 Introduction Definition (informal) A model is a simplified description of an entity (an object, a system of objects) such that.
Building Knowledge-Driven DSS and Mining Data
Cmpt-225 Simulation. Application: Simulation Simulation  A technique for modeling the behavior of both natural and human-made systems  Goal Generate.
OO Analysis and Design CMPS OOA/OOD Cursory explanation of OOP emphasizes ▫ Syntax  classes, inheritance, message passing, virtual, static Most.
Computer Organization
Why Analysis Process Refer to earlier chapters Models what the system will do makes it easier for understanding no environment considered (hence, system.
Network Kernel Architectures and Implementation ( ) Naming and Addressing Chaiporn Jaikaeo Department of Computer Engineering.
Computer Architecture Computational Models Ola Flygt V ä xj ö University
Benjamin Gamble. What is Time?  Can mean many different things to a computer Dynamic Equation Variable System State 2.
Analysis of Algorithms
Approaching a Problem Where do we start? How do we proceed?
Joseph Cordina 1/11 The Use of Model-Checking for the Verification of Concurrent Algorithms Joseph Cordina Department of C.S.&A.I.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
Situational Awareness Numerous aircraft and operational displays, when combined with effective and efficient communications and facilities, provide Air.
Prediction of Traffic Density for Congestion Analysis under Indian Traffic Conditions Proceedings of the 12th International IEEE Conference on Intelligent.
Contrasts & Inference - EEG & MEG Himn Sabir 1. Topics 1 st level analysis 2 nd level analysis Space-Time SPMs Time-frequency analysis Conclusion 2.
Dept. of Computer Science University of Rochester Rochester, NY By: James F. Allen, Donna K. Byron, Myroslava Dzikovska George Ferguson, Lucian Galescu,
Copyright © 2012, SAS Institute Inc. All rights reserved. ANALYTICS IN BIG DATA ERA ANALYTICS TECHNOLOGY AND ARCHITECTURE TO MANAGE VELOCITY AND VARIETY,
CPSC 372 John D. McGregor Module 3 Session 1 Architecture.
1 What is OO Design? OO Design is a process of invention, where developers create the abstractions necessary to meet the system’s requirements OO Design.
INFORMATION SYSTEM-SOFTWARE Topic: OPERATING SYSTEM CONCEPTS.
Logical view –show classes and objects Process view –models the executables Implementation view –Files, configuration and versions Deployment view –Physical.
Foundations (cont.) Complexity Testing explanations in psychology Cognitive Neuroscience.
Generic Tasks by Ihab M. Amer Graduate Student Computer Science Dept. AUC, Cairo, Egypt.
Chapter 1. Cognitive Systems Introduction in Cognitive Systems, Christensen et al. Course: Robots Learning from Humans Park, Sae-Rom Lee, Woo-Jin Statistical.
Human Activity Recognition at Mid and Near Range Ram Nevatia University of Southern California Based on work of several collaborators: F. Lv, P. Natarajan,
OPERATING SYSTEMS CS 3530 Summer 2014 Systems and Models Chapter 03.
Embedded Programming B. Furman 09MAY2011. Learning Objectives Distinguish between procedural programming and embedded programming Explain the Events and.
What’s Ahead for Embedded Software? (Wed) Gilsoo Kim
How conscious experience and working memory interact Bernard J. Baars and Stan Franklin Soft Computing Laboratory 김 희 택 TRENDS in Cognitive Sciences vol.
Artificial Intelligence: Research and Collaborative Possibilities a presentation by: Dr. Ernest L. McDuffie, Assistant Professor Department of Computer.
From Use Cases to Implementation 1. Structural and Behavioral Aspects of Collaborations  Two aspects of Collaborations Structural – specifies the static.
NATURAL LANGUAGE PROCESSING
From Use Cases to Implementation 1. Mapping Requirements Directly to Design and Code  For many, if not most, of our requirements it is relatively easy.
Gantenbein & Sung CAINE Task Scheduling in Distributed Data Mining for Medical Applications Rex E. Gantenbein, University of Wyoming, Laramie WY.
Jacob R. Lorch Microsoft Research
Object-Oriented Analysis and Design
Architecture Concept Documents
Artificial Intelligence Lecture No. 5
Intelligent Agents Chapter 2.
Model-Driven Analysis Frameworks for Embedded Systems
COT 5611 Operating Systems Design Principles Spring 2012
Objective of This Course
What Inquiry Skills Do Scientists Use?
SOFTWARE DESIGN (SWD) Instructor: Dr. Hany H. Ammar
Market-based Dynamic Task Allocation in Mobile Surveillance Systems
CS246: Information Retrieval
Presented By: Darlene Banta
COT 5611 Operating Systems Design Principles Spring 2014
From Use Cases to Implementation
Presentation transcript:

A Complex Event Recognition Architecture Will Fitzgerald Kalamazoo College R. James Firby I/NET, Inc.

A Complex Event Recognition Architecture Protecting us from the Metal Horde! Will Fitzgerald R. James Firby

What is … A Complex Event? A Complex Event? Complex events are hierarchical, discrete, time-stamped structures inferred from multi-channel, asynchronous signals. Complex events are hierarchical, discrete, time-stamped structures inferred from multi-channel, asynchronous signals.

What is … A Complex Event Recognition Architecture? A Complex Event Recognition Architecture? A description or implementation of typical patterns and recognition algorithms for complex events. A description or implementation of typical patterns and recognition algorithms for complex events.

A real example… Water Recovery System at NASA's Johnson Space Center Water Recovery System at NASA's Johnson Space Center Four complex subsystems, Four complex subsystems, About 200 sensors and actuators, About 200 sensors and actuators, Each subsystem asynchronously signals data. Each subsystem asynchronously signals data.

Detecting Safe Mode When a problem is detected internally, the Water Recovery System attempts to go into safe mode, which occurs when the four subsystems are safed. When a problem is detected internally, the Water Recovery System attempts to go into safe mode, which occurs when the four subsystems are safed. Safing of the four subsystems happen asynchronously. Safing of the four subsystems happen asynchronously. Safing detection for each subsystem differs from one another. Safing detection for each subsystem differs from one another. On recognizing that the WRS has gone into safe mode, signal an event that all subsystems have been safed. On recognizing that the WRS has gone into safe mode, signal an event that all subsystems have been safed.

Another example… To get directions to a location on the on- board map, the user says: Go here and Taps the display location within 200 ms. within 200 ms. (CNN photo)

Parsing the world Dynamic Predictive Memory Architecture (DPMA) Dynamic Predictive Memory Architecture (DPMA) KR and Semantic parsing KR and Semantic parsing Task execution and dialogue management Task execution and dialogue management complex, dynamic environments complex, dynamic environments Do similar techniques apply to … Do similar techniques apply to … multi-channel, asynchronous sensors? multi-channel, asynchronous sensors? multi-modal interface input? multi-modal interface input?

A Complex Event Recognition Architecture What assumptions are reasonable to make about the form of input data? What assumptions are reasonable to make about the form of input data? What useful general patterns are there in the data? What useful general patterns are there in the data? What recognition algorithms do we need? What recognition algorithms do we need?

NLP Assumptions Input to Natural Language Processing systems are typically assumed to be: Input to Natural Language Processing systems are typically assumed to be: Discrete events of one type (words) Discrete events of one type (words) Single channel Single channel Totally ordered by position; duration irrelevant Totally ordered by position; duration irrelevant timeflieslikeanarrow

More generally… Events of various types Events of various types Over multiple channels and asynchronous Over multiple channels and asynchronous Duration of event often important Duration of event often important Hierarchical model still useful Hierarchical model still useful putthesehere click and drag click and drag tap

Assumptions about Events Discrete: Individually distinict, non- continuous data (could be discretized). Discrete: Individually distinict, non- continuous data (could be discretized). Time-stamped: Event carries the start and end times (defining the event duration, which could be instanteneous). Time-stamped: Event carries the start and end times (defining the event duration, which could be instanteneous). Typed: Events form distinct types (e.g., words vs. taps). Typed: Events form distinct types (e.g., words vs. taps). Structured: Event may internal, hierarchical structure (complex). Structured: Event may internal, hierarchical structure (complex).

Standard Event Patterns Are there patterns of events which are particularly useful to identify? Are there patterns of events which are particularly useful to identify? Are there recognition algorithms to identify those patterns? Are there recognition algorithms to identify those patterns? Yes. Yes. ONE and BINDING ONE and BINDING IN-ORDER, ALL, ONE-OF IN-ORDER, ALL, ONE-OF Allen patterns Allen patterns WITHIN and WITHOUT WITHIN and WITHOUT

ONE and BINDING patterns ONE: The simple pattern of looking for a single event (of a particular type). ONE: The simple pattern of looking for a single event (of a particular type). BINDING: ONE pattern plus collecting and constraining state. BINDING: ONE pattern plus collecting and constraining state. Essentially event- driven programming; the stimulus in S-R. Essentially event- driven programming; the stimulus in S-R. ON-CLICK ON-CLICK A ONE pattern if just looking for the click A BINDING pattern if x,y coordinates are significant.

IN-ORDER patterns Events will occur in order Events will occur in order That is, saying two events, A and B, occur in order, the start time of B is the end time of A. That is, saying two events, A and B, occur in order, the start time of B is the end time of A. (IN-ORDER A B C D) (IN-ORDER A B C D) First an event of type A, then B, etc. First an event of type A, then B, etc.

IN-ORDER as NLP Combined with BINDING and signaling of subpatterns this is essentially a classic natural language processing pattern. Combined with BINDING and signaling of subpatterns this is essentially a classic natural language processing pattern. S NP VP NP DET N VP V NP The boy saw the girl. [S [NP [DET the][N boy]] [VP [V saw] [NP [DET the] [N girl]]]]

ALL Patterns Events will all occur, but in any order Events will all occur, but in any order With this, we leave (our) standard NLP approaches. With this, we leave (our) standard NLP approaches. For example, user will choose from all of the sets of options. For example, user will choose from all of the sets of options. For example, all subsystems will be safed, but in any order. For example, all subsystems will be safed, but in any order.

ALL patterns and contradiction The problem: user or system undoing an event that has already been seen (interpreting events as state changes). The problem: user or system undoing an event that has already been seen (interpreting events as state changes). Example: Class will start when all the students, Alice, Bob, Charles, Dominique, have arrived. Example: Class will start when all the students, Alice, Bob, Charles, Dominique, have arrived.

Consider this sequence for (ALL A B C D): 1. Charles arrives. 2. Alice and Bob arrive together. 3. Alice starts to sing. 4. Charles leaves. 5. Dominique arrives. 6. Charles arrives. Order is not relevant; Alices singing is not relevant; but Charless leaving undoes his earlier arrival.

ONE-OF Pattern Look for any of a set of event forms Look for any of a set of event forms Example: Office hours begin as soon as one of the professors A,B,C or D arrives. Example: Office hours begin as soon as one of the professors A,B,C or D arrives. (ONE-OF A B C D) (ONE-OF A B C D)

Time-based patterns Allen relationships Allen relationships WITHIN patterns WITHIN patterns WITHOUT patterns WITHOUT patterns

Allen Patterns James Allen described the relationships between two intervals. James Allen described the relationships between two intervals. Allen patterns look for temporal relationships between 2 events or an event and an interval. Allen patterns look for temporal relationships between 2 events or an event and an interval. 1. contains 2. finishes 3. starts 4. before 5. meets 6. overlaps 7. equal 8. overlapped by 9. after 10. met by 11. started by 12. finished by 13. during A contains B A … overlaps B

WITHIN and WITHOUT WITHIN patterns reflect that the duration of an event is no longer than a certain amount of time. WITHIN patterns reflect that the duration of an event is no longer than a certain amount of time. E.g., an ALL pattern wrapped in a WITHIN pattern. E.g., an ALL pattern wrapped in a WITHIN pattern. WITHOUT patterns reflect that an interval of time will pass without the occurrence of an event. WITHOUT patterns reflect that an interval of time will pass without the occurrence of an event. E.g., Sherlock Holmess significance of the barking dog. E.g., Sherlock Holmess significance of the barking dog.

Pattern Combination Go here and a tap within 200 ms. Go here and a tap within 200 ms. (within (all (in-order go here) (tap ?x ?y)) 200 ms) (CNN photo)

Safe mode recognizer (define-recognizer (safing-complete) (pattern (pattern '(all '(all (safing (system pbbwp) (status on)) (safing (system pbbwp) (status on)) (safing (system ro) (status on)) (safing (system ro) (status on)) (safing (system aes) (status on)) (safing (system aes) (status on)) (safing (system pps) (status on)))) (safing (system pps) (status on)))) (on-complete (st end) (on-complete (st end) (signal-event '(all-safed) st end))) (signal-event '(all-safed) st end))) Some details elided…

Parsing Algorithms The parsing algorithms and recognizer semantics are more fully described in the paper. The parsing algorithms and recognizer semantics are more fully described in the paper.

Implementation Details

Conclusions Standard patterns of events. Standard patterns of events. Standard recognizers for these patterns. Standard recognizers for these patterns. Good for monitoring complex (internal) system state. Good for monitoring complex (internal) system state. Useful for recognizing patterns of complex events over multiple modes, over time. Useful for recognizing patterns of complex events over multiple modes, over time.

Acknowledgments Work done under NASA SBIR contract NAS Work done under NASA SBIR contract NAS We would like to especially acknowledge collaborators at NASA, including Debra Schreckenghost, Pete Bonasso, Carrol Thronesbery and others. We would like to especially acknowledge collaborators at NASA, including Debra Schreckenghost, Pete Bonasso, Carrol Thronesbery and others. Pulp Images from Pulp of the Day: groups.yahoo.com/group/pulpoftheday Pulp Images from Pulp of the Day: groups.yahoo.com/group/pulpoftheday

Questions? Questions?