a graph-based approach to context matching and

29
A Graph-Based Approach to Context Matching and some more title hello hello ——————————————————————— Andrei Olaru , Adina Magda Florea AI-MAS Group, University Politehnica Bucharest LIP6, University Pierre et Marie Curie, Paris 24.09.2010 1/ 14 Computer Science & Engineering Department . . Andrei Olaru , Adina Magda Florea . ACSys Workshop 2010 . Timisoara, Romania, 24.09.2010

Upload: others

Post on 16-Oct-2021

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: A Graph-Based Approach to Context Matching and

A Graph-Based Approach to Context Matching andsome more title hello hello———————————————————————

Andrei Olaru, Adina Magda Florea

AI-MAS Group, University Politehnica BucharestLIP6, University Pierre et Marie Curie, Paris

24.09.2010

1/ 14ComputerScience& EngineeringDepartment

.

. Andrei Olaru, Adina Magda Florea

. ACSys Workshop 2010

. Timisoara, Romania, 24.09.2010

Page 2: A Graph-Based Approach to Context Matching and

� Introduction

� Approach

� Context-Awareness

� Background

� Representation

� Patterns

� Matching

� Problems

� Conclusion

� Future Work

A Graph-Based Approach toContext Matching and somemore title hello hello——————————————-

overview

2/ 14ComputerScience& EngineeringDepartment

.

. Andrei Olaru, Adina Magda Florea

. ACSys Workshop 2010

. Timisoara, Romania, 24.09.2010

Page 3: A Graph-Based Approach to Context Matching and

��

A Graph-Based Approach toContext Matching and somemore title hello hello

�What is AmI?

� Approach

� Context-Awareness

� Background

� Representation

� Patterns

� Matching

� Problems

� Conclusion

� Future Work

Ambient Intelligence – or AmI – is an ubiquitous electronicenvironment that supports people in their daily tasks, in aproactive, but ”invisible” and non-intrusive manner.[?, ?]

Constraints:· limited storage· limited performance· large numbers· much information· context-awareness

3/ 14ComputerScience& EngineeringDepartment

.

. Andrei Olaru, Adina Magda Florea

. ACSys Workshop 2010

. Timisoara, Romania, 24.09.2010

Page 4: A Graph-Based Approach to Context Matching and

��

A Graph-Based Approach toContext Matching and somemore title hello hello

�What is AmI?

� Approach

� Context-Awareness

� Background

� Representation

� Patterns

� Matching

� Problems

� Conclusion

� Future Work

Ambient Intelligence – or AmI – is an ubiquitous electronicenvironment that supports people in their daily tasks, in aproactive, but ”invisible” and non-intrusive manner.[?, ?]

Constraints:· limited storage· limited performance· large numbers· much information· context-awareness

3/ 14ComputerScience& EngineeringDepartment

.

. Andrei Olaru, Adina Magda Florea

. ACSys Workshop 2010

. Timisoara, Romania, 24.09.2010

Page 5: A Graph-Based Approach to Context Matching and

��

A Graph-Based Approach toContext Matching and somemore title hello hello

�What is AmI?

� Approach

� Context-Awareness

� Background

� Representation

� Patterns

� Matching

� Problems

� Conclusion

� Future Work

Ambient Intelligence – or AmI – is an ubiquitous electronicenvironment that supports people in their daily tasks, in aproactive, but ”invisible” and non-intrusive manner.[?, ?]

Constraints:· limited storage· limited performance· large numbers· much information· context-awareness

3/ 14ComputerScience& EngineeringDepartment

.

. Andrei Olaru, Adina Magda Florea

. ACSys Workshop 2010

. Timisoara, Romania, 24.09.2010

Page 6: A Graph-Based Approach to Context Matching and

��

A Graph-Based Approach toContext Matching and somemore title hello hello

�What is AmI?

� Approach

� Context-Awareness

� Background

� Representation

� Patterns

� Matching

� Problems

� Conclusion

� Future Work

Ambient Intelligence – or AmI – is an ubiquitous electronicenvironment that supports people in their daily tasks, in aproactive, but ”invisible” and non-intrusive manner.[?, ?]

Constraints:· limited storage· limited performance· large numbers· much information· context-awareness

3/ 14ComputerScience& EngineeringDepartment

.

. Andrei Olaru, Adina Magda Florea

. ACSys Workshop 2010

. Timisoara, Romania, 24.09.2010

Page 7: A Graph-Based Approach to Context Matching and

��

A Graph-Based Approach toContext Matching and somemore title hello hello

�What is AmI?

� Approach

� Context-Awareness

� Background

� Representation

� Patterns

� Matching

� Problems

� Conclusion

� Future Work

Ambient Intelligence – or AmI – is an ubiquitous electronicenvironment that supports people in their daily tasks, in aproactive, but ”invisible” and non-intrusive manner.[?, ?]

Constraints:· limited storage· limited performance· large numbers· much information

· context-awareness

3/ 14ComputerScience& EngineeringDepartment

.

. Andrei Olaru, Adina Magda Florea

. ACSys Workshop 2010

. Timisoara, Romania, 24.09.2010

Page 8: A Graph-Based Approach to Context Matching and

��

A Graph-Based Approach toContext Matching and somemore title hello hello

�What is AmI?

� Approach

� Context-Awareness

� Background

� Representation

� Patterns

� Matching

� Problems

� Conclusion

� Future Work

Ambient Intelligence – or AmI – is an ubiquitous electronicenvironment that supports people in their daily tasks, in aproactive, but ”invisible” and non-intrusive manner.[?, ?]

Constraints:· limited storage· limited performance· large numbers· much information· context-awareness

3/ 14ComputerScience& EngineeringDepartment

.

. Andrei Olaru, Adina Magda Florea

. ACSys Workshop 2010

. Timisoara, Romania, 24.09.2010

Page 9: A Graph-Based Approach to Context Matching and

��

A Graph-Based Approach toContext Matching and somemore title hello hello

� Introduction

�Approach

� Context-Awareness

� Background

� Representation

� Patterns

� Matching

� Problems

� Conclusion

� Future Work

Elements of our approach:

· fully distributed system

· use of software agents

· use local information and local communication

4/ 14ComputerScience& EngineeringDepartment

.

. Andrei Olaru, Adina Magda Florea

. ACSys Workshop 2010

. Timisoara, Romania, 24.09.2010

Page 10: A Graph-Based Approach to Context Matching and

��

A Graph-Based Approach toContext Matching and somemore title hello hello

� Introduction

� Approach

�Context-Awareness

� Background

� Representation

� Patterns

� Matching

� Problems

� Conclusion

� Future Work

Any information that can be used to characterize thesituation of entities (i.e. whether a person, place orobject) that are considered relevant to the interactionbetween a user and an application, including the user andthe application themselves. [?]

Context-awareness enables:

· pro-activity – anticipate problems, detect compatible orincompatible contexts.

· non-intrusiveness – communicate with other agents,considering privacy, in order to obtain more informationon the context.

Our goal: A simple, generic formalism that allowsagents in a multi-agent system, that have only localknowledge, to share and process context-relatedinformation and to solve problems.

· context-matching ·

5/ 14ComputerScience& EngineeringDepartment

.

. Andrei Olaru, Adina Magda Florea

. ACSys Workshop 2010

. Timisoara, Romania, 24.09.2010

Page 11: A Graph-Based Approach to Context Matching and

��

A Graph-Based Approach toContext Matching and somemore title hello hello

� Introduction

� Approach

�Context-Awareness

� Background

� Representation

� Patterns

� Matching

� Problems

� Conclusion

� Future Work

Any information that can be used to characterize thesituation of entities (i.e. whether a person, place orobject) that are considered relevant to the interactionbetween a user and an application, including the user andthe application themselves. [?]

Context-awareness enables:

· pro-activity – anticipate problems, detect compatible orincompatible contexts.

· non-intrusiveness – communicate with other agents,considering privacy, in order to obtain more informationon the context.

Our goal: A simple, generic formalism that allowsagents in a multi-agent system, that have only localknowledge, to share and process context-relatedinformation and to solve problems.

· context-matching ·

5/ 14ComputerScience& EngineeringDepartment

.

. Andrei Olaru, Adina Magda Florea

. ACSys Workshop 2010

. Timisoara, Romania, 24.09.2010

Page 12: A Graph-Based Approach to Context Matching and

��

A Graph-Based Approach toContext Matching and somemore title hello hello

� Introduction

� Approach

�Context-Awareness

� Background

� Representation

� Patterns

� Matching

� Problems

� Conclusion

� Future Work

Any information that can be used to characterize thesituation of entities (i.e. whether a person, place orobject) that are considered relevant to the interactionbetween a user and an application, including the user andthe application themselves. [?]

Context-awareness enables:

· pro-activity – anticipate problems, detect compatible orincompatible contexts.

· non-intrusiveness – communicate with other agents,considering privacy, in order to obtain more informationon the context.

Our goal: A simple, generic formalism that allowsagents in a multi-agent system, that have only localknowledge, to share and process context-relatedinformation and to solve problems.

· context-matching ·

5/ 14ComputerScience& EngineeringDepartment

.

. Andrei Olaru, Adina Magda Florea

. ACSys Workshop 2010

. Timisoara, Romania, 24.09.2010

Page 13: A Graph-Based Approach to Context Matching and

��

A Graph-Based Approach toContext Matching and somemore title hello hello

� Introduction

� Approach

�Context-Awareness

� Background

� Representation

� Patterns

� Matching

� Problems

� Conclusion

� Future Work

Any information that can be used to characterize thesituation of entities (i.e. whether a person, place orobject) that are considered relevant to the interactionbetween a user and an application, including the user andthe application themselves. [?]

Context-awareness enables:

· pro-activity – anticipate problems, detect compatible orincompatible contexts.

· non-intrusiveness – communicate with other agents,considering privacy, in order to obtain more informationon the context.

Our goal: A simple, generic formalism that allowsagents in a multi-agent system, that have only localknowledge, to share and process context-relatedinformation and to solve problems.

· context-matching ·

5/ 14ComputerScience& EngineeringDepartment

.

. Andrei Olaru, Adina Magda Florea

. ACSys Workshop 2010

. Timisoara, Romania, 24.09.2010

Page 14: A Graph-Based Approach to Context Matching and

��

A Graph-Based Approach toContext Matching and somemore title hello hello

� Introduction

� Approach

�Context-Awareness

� Background

� Representation

� Patterns

� Matching

� Problems

� Conclusion

� Future Work

Any information that can be used to characterize thesituation of entities (i.e. whether a person, place orobject) that are considered relevant to the interactionbetween a user and an application, including the user andthe application themselves. [?]

Context-awareness enables:

· pro-activity – anticipate problems, detect compatible orincompatible contexts.

· non-intrusiveness – communicate with other agents,considering privacy, in order to obtain more informationon the context.

Our goal: A simple, generic formalism that allowsagents in a multi-agent system, that have only localknowledge, to share and process context-relatedinformation and to solve problems.

· context-matching ·5/ 14

ComputerScience& EngineeringDepartment

.

. Andrei Olaru, Adina Magda Florea

. ACSys Workshop 2010

. Timisoara, Romania, 24.09.2010

Page 15: A Graph-Based Approach to Context Matching and

��

A Graph-Based Approach toContext Matching and somemore title hello hello

� Introduction

� Approach

� Context-Awareness

�Background

� Representation

� Patterns

� Matching

� Problems

� Conclusion

� Future Work

· infrastructures for the processing of context informationhave been proposed [?, ?, ?, ?, ?, ?].

· context as associations [?, ?].

· semantic networks, concept maps [?] and conceptual graphs[?].

· graph matching (e.g. for image processing [?])

· we are not discussing ontology alignement [?].

6/ 14ComputerScience& EngineeringDepartment

.

. Andrei Olaru, Adina Magda Florea

. ACSys Workshop 2010

. Timisoara, Romania, 24.09.2010

Page 16: A Graph-Based Approach to Context Matching and

��

A Graph-Based Approach toContext Matching and somemore title hello hello

� Introduction

� Approach

� Context-Awareness

� Background

�Representation of Context

� Patterns

� Matching

� Problems

� Conclusion

� Future Work

The agent of a user holds a context graph G :

G = (V ,E )

V = {vi},E = {ek}, ek = (vi , vj , value)

where vi , vj ∈ V , i , j = 1, n, k = 1,m

values are strings or URI identifiers.

7/ 14ComputerScience& EngineeringDepartment

.

. Andrei Olaru, Adina Magda Florea

. ACSys Workshop 2010

. Timisoara, Romania, 24.09.2010

Page 17: A Graph-Based Approach to Context Matching and

��

A Graph-Based Approach toContext Matching and somemore title hello hello

� Introduction

� Approach

� Context-Awareness

� Background

�Representation of Context

� Patterns

� Matching

� Problems

� Conclusion

� Future Work

The agent of a user holds a context graph G :

G = (V ,E )

V = {vi},E = {ek}, ek = (vi , vj , value)

where vi , vj ∈ V , i , j = 1, n, k = 1,m

values are strings or URI identifiers.

7/ 14ComputerScience& EngineeringDepartment

.

. Andrei Olaru, Adina Magda Florea

. ACSys Workshop 2010

. Timisoara, Romania, 24.09.2010

Page 18: A Graph-Based Approach to Context Matching and

��

A Graph-Based Approach toContext Matching and somemore title hello hello

� Introduction

� Approach

� Context-Awareness

� Background

�Representation of Context

� Patterns

� Matching

� Problems

� Conclusion

� Future Work

The agent of a user holds a context graph G :

G = (V ,E )

V = {vi},E = {ek}, ek = (vi , vj , value)

where vi , vj ∈ V , i , j = 1, n, k = 1,m

values are strings or URI identifiers.7/ 14

ComputerScience& EngineeringDepartment

.

. Andrei Olaru, Adina Magda Florea

. ACSys Workshop 2010

. Timisoara, Romania, 24.09.2010

Page 19: A Graph-Based Approach to Context Matching and

��

A Graph-Based Approach toContext Matching and somemore title hello hello

� Introduction

� Approach

� Context-Awareness

� Background

� Representation

�Patterns

� Matching

� Problems

� Conclusion

� Future Work

Problem: Alice should also think about some means oftransportation to the concert.

· patterns are also graphs. The graph for pattern s:

GPs = (V P

s ,EPs )

V Ps = {vi}, vi = string | URI | ?, i = 1, n

EPs = {ek}, ek = (vi , vj ,E RegExp), vi , vj ∈ V P

s , k = 1,m

where E RegExp is a regular expression formed of strings orURIs.

8/ 14ComputerScience& EngineeringDepartment

.

. Andrei Olaru, Adina Magda Florea

. ACSys Workshop 2010

. Timisoara, Romania, 24.09.2010

Page 20: A Graph-Based Approach to Context Matching and

��

A Graph-Based Approach toContext Matching and somemore title hello hello

� Introduction

� Approach

� Context-Awareness

� Background

� Representation

� Patterns

�Pattern Matching

� Problems

� Conclusion

� Future Work

The pattern matches subgraph G ′ of the context graph G ifevery non-? vertex from the pattern must match a differentvertex from G ′; every non-regular-expression edge from thepattern must match an edge from G ′; and every regularexpression edge from the pattern must match a series(possibly void, if the expression allows it) of edges from G ′.

A pattern GPs k-matches a subgraph G ′ of G , if the

condition for edges above is fulfilled for m − k edges in EPs ,

k ∈ [1,m − 1], m = ||EPs || and G ′ remains connected.

9/ 14ComputerScience& EngineeringDepartment

.

. Andrei Olaru, Adina Magda Florea

. ACSys Workshop 2010

. Timisoara, Romania, 24.09.2010

Page 21: A Graph-Based Approach to Context Matching and

��

A Graph-Based Approach toContext Matching and somemore title hello hello

� Introduction

� Approach

� Context-Awareness

� Background

� Representation

� Patterns

� Matching

�Solving Problems

� Conclusion

� Future Work

· agents can communicate and share information.

· information sharing is done by starting from sharedcontext and try to extend the common context.

10/ 14ComputerScience& EngineeringDepartment

.

. Andrei Olaru, Adina Magda Florea

. ACSys Workshop 2010

. Timisoara, Romania, 24.09.2010

Page 22: A Graph-Based Approach to Context Matching and

��

A Graph-Based Approach toContext Matching and somemore title hello hello

� Introduction

� Approach

� Context-Awareness

� Background

� Representation

� Patterns

� Matching

�Solving Problems

� Conclusion

� Future Work

10/ 14ComputerScience& EngineeringDepartment

.

. Andrei Olaru, Adina Magda Florea

. ACSys Workshop 2010

. Timisoara, Romania, 24.09.2010

Page 23: A Graph-Based Approach to Context Matching and

��

A Graph-Based Approach toContext Matching and somemore title hello hello

� Introduction

� Approach

� Context-Awareness

� Background

� Representation

� Patterns

� Matching

�Solving Problems

� Conclusion

� Future Work

If a pattern GPs = (V P

s ,EPs ) k-matches the subgraph G ′ =

(V ′,E ′) of G , we can define a problem p as a tuple (GPs ,GP

p ),where GP

p is the problem’s graph:GP

p = G ′ ∪ GPx

GPx = (V P

x ,EPx )

V Px = {v ∈ V P

s , v /∈ dom(f )}EPx = {e ∈ EP

s for which condition (2) is not fulfilled}Note that GP

x (the unsolved part of the problem) is a subgraphof GP

s .

10/ 14ComputerScience& EngineeringDepartment

.

. Andrei Olaru, Adina Magda Florea

. ACSys Workshop 2010

. Timisoara, Romania, 24.09.2010

Page 24: A Graph-Based Approach to Context Matching and

��

A Graph-Based Approach toContext Matching and somemore title hello hello

� Introduction

� Approach

� Context-Awareness

� Background

� Representation

� Patterns

� Matching

�Solving Problems

� Conclusion

� Future Work

One more pattern:

10/ 14ComputerScience& EngineeringDepartment

.

. Andrei Olaru, Adina Magda Florea

. ACSys Workshop 2010

. Timisoara, Romania, 24.09.2010

Page 25: A Graph-Based Approach to Context Matching and

��

A Graph-Based Approach toContext Matching and somemore title hello hello

� Introduction

� Approach

� Context-Awareness

� Background

� Representation

� Patterns

� Matching

� Problems

�Conclusion

� Future Work

Why?

· need to have decentralized, local, not pre-definedcontext-awareness.

· need a mechanism that is simple and generic.

What we presented:

· a generic representation for context, based on graphs.

· the notion of context matching for the detection ofcompatible contexts, and a possible generic mechanism forsolving problems.

11/ 14ComputerScience& EngineeringDepartment

.

. Andrei Olaru, Adina Magda Florea

. ACSys Workshop 2010

. Timisoara, Romania, 24.09.2010

Page 26: A Graph-Based Approach to Context Matching and

��

A Graph-Based Approach toContext Matching and somemore title hello hello

� Introduction

� Approach

� Context-Awareness

� Background

� Representation

� Patterns

� Matching

� Problems

�Conclusion

� Future Work

Why?

· need to have decentralized, local, not pre-definedcontext-awareness.

· need a mechanism that is simple and generic.

What we presented:

· a generic representation for context, based on graphs.

· the notion of context matching for the detection ofcompatible contexts, and a possible generic mechanism forsolving problems.

11/ 14ComputerScience& EngineeringDepartment

.

. Andrei Olaru, Adina Magda Florea

. ACSys Workshop 2010

. Timisoara, Romania, 24.09.2010

Page 27: A Graph-Based Approach to Context Matching and

��

A Graph-Based Approach toContext Matching and somemore title hello hello

� Introduction

� Approach

� Context-Awareness

� Background

� Representation

� Patterns

� Matching

� Problems

� Conclusion

�Future Work

Future work:

I devise an efficient algorithm for context matching.

I large context graphs, many matching (contradictory?)context patterns.

I work on the idea of incompatible contexts.

I uncertainty of information.

I temporality, history of context.

12/ 14ComputerScience& EngineeringDepartment

.

. Andrei Olaru, Adina Magda Florea

. ACSys Workshop 2010

. Timisoara, Romania, 24.09.2010

Page 28: A Graph-Based Approach to Context Matching and

13/ 14ComputerScience& EngineeringDepartment

.

. Andrei Olaru, Adina Magda Florea

. ACSys Workshop 2010

. Timisoara, Romania, 24.09.2010

Page 29: A Graph-Based Approach to Context Matching and

Thank you!———————————————————————

Any Questions?

14/ 14ComputerScience& EngineeringDepartment

.

. Andrei Olaru, Adina Magda Florea

. ACSys Workshop 2010

. Timisoara, Romania, 24.09.2010