3
Poster Abstract: A Model For Semantic Localization Matthew Weber University of California Berkeley 545M Cory Hall Berkeley, California [email protected] Edward Lee University of California Berkeley 545Q Cory Hall Berkeley, California [email protected] ABSTRACT We propose a model for Semantic Localization, i.e. estab- lishing positional relations on meaningful objects, to enable the principled integration of heterogenous localization clues – such as those derived from ubiquitous sensors in the Inter- net of Things. Our approach is two-pronged: we consider relation-structured Phenomenal Maps alongside spatially- organized Physical Maps. Phenomenal Maps may be used to answer semantic queries about the relative position of ob- jects without necessarily resorting to physical coordinates. Physical Maps are not restricted to purely Euclidian spaces, to the contrary we identify useful applications for topolog- ical, and metrical maps among others. We give the frame- work for a structured mechanism through which localization information in all these representations may be reconciled. Keywords Semantic Localization, Ubiquitous Computing, Modeling 1. INTRODUCTION Future ubiquitous computing scenarios enable novel classes of context aware applications in the coming ”Swarm”[2] of wireless embedded devices. These applications, which we will refer to as swarmlets, use real-world context to deter- mine appropriate action in the Internet of Things (IoT). In this environment, an event driven paradigm, in which swarmlet actions are triggered by the occurrence of some predicate on the context becoming true, is an intuitive way to program swarmlet logic. For example, a targeted adver- tising swarmlet could be triggered to send a message (the action) to a customer when he/she stops in front of a par- ticular display (the predicate). Due to the importance of location in swarmlet context, indoor localization as a service will surely be a crucial com- ponent of IoT infrastructure. However, as years of indoor lo- calization research can attest, different indoor places present radically different environments for sensing operations [3]. Even if satisfactory indoor localization can be provided in Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. To copy otherwise, to republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. IPSN ’15 Seattle, WA USA Copyright 20XX ACM X-XXXXX-XX-X/XX/XX ...$15.00. one building through a given technology, there is no guaran- tee it will be equally effective at different sites. To further complicate the situation, different swarmlets may likely use different predicates such as line-of-sight, distance between objects, or room containment, as the condition for action. 2. SEMANTIC LOCALIZATION AND PHE- NOMENAL MAPS We define semantic localization as the process of establish- ing positional relations on meaningful objects. In contrast to a conventional map where points on a Cartesian coor- dinate system are used to represent a location in physical space, semantic localization results can be formulated as a relation that is represented (at least for binary relations) in a graph structure where objects are nodes and relations are edges. Since each semantic relation refers to a“phenomenon” (literally an observable occurrence), we term these represen- tations“Phenomenal Maps”. For example, for entities A and B and time t, the predicate distance15m(A,B,t) is true if and only if it is known as a positive fact that A and B are within 15 meters of each other at time t. As suggested by the subscript “15m”, relations may be parameterized where appropriate. Other samples of useful phenomena are listed on the right of the table in Figure 1. Phenomenal maps are necessary because the purely phys- ical model breaks down when indoor localization technolo- gies shortcut directly to semantic knowledge without first generating precise physical information. For example, tech- nologies like visual light localization can be used for room identification without establishing location at a point gran- ularity [5]. A physical location as a coordinate in Cartesian space is a bad representation for this spatially fuzzy informa- tion because its placement at any particular location within the zone may imply other facts about the environment (e.g. proximity and distance to other entities) that are simply unverifiable. A logical relation is cleaner: for entity A and entity B, the relation Contains(A,B,t) captures the logical position of A and B without making any faulty claims about B’s position inside place A. 3. PHYSICAL MAPS AND FORMALISM For much the same reason, when considering physical (spa- tial) maps, different varieties of mathematical space are ap- propriate in different scenarios. Consider the scenario in which a topological map concerning the connectivity of land- marks is available as in [1]. Because distance is not defined in a topological space, assigning this perfectly legitimate

Poster Abstract: A Model For Semantic Localization...Semantic Localization, Ubiquitous Computing, Modeling 1. INTRODUCTION Future ubiquitous computing scenarios enable novel classes

  • Upload
    others

  • View
    12

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Poster Abstract: A Model For Semantic Localization...Semantic Localization, Ubiquitous Computing, Modeling 1. INTRODUCTION Future ubiquitous computing scenarios enable novel classes

Poster Abstract: A Model For Semantic Localization

Matthew WeberUniversity of California Berkeley

545M Cory HallBerkeley, California

[email protected]

Edward LeeUniversity of California Berkeley

545Q Cory HallBerkeley, California

[email protected]

ABSTRACTWe propose a model for Semantic Localization, i.e. estab-lishing positional relations on meaningful objects, to enablethe principled integration of heterogenous localization clues– such as those derived from ubiquitous sensors in the Inter-net of Things. Our approach is two-pronged: we considerrelation-structured Phenomenal Maps alongside spatially-organized Physical Maps. Phenomenal Maps may be usedto answer semantic queries about the relative position of ob-jects without necessarily resorting to physical coordinates.Physical Maps are not restricted to purely Euclidian spaces,to the contrary we identify useful applications for topolog-ical, and metrical maps among others. We give the frame-work for a structured mechanism through which localizationinformation in all these representations may be reconciled.

KeywordsSemantic Localization, Ubiquitous Computing, Modeling

1. INTRODUCTIONFuture ubiquitous computing scenarios enable novel classes

of context aware applications in the coming ”Swarm” [2] ofwireless embedded devices. These applications, which wewill refer to as swarmlets, use real-world context to deter-mine appropriate action in the Internet of Things (IoT).In this environment, an event driven paradigm, in whichswarmlet actions are triggered by the occurrence of somepredicate on the context becoming true, is an intuitive wayto program swarmlet logic. For example, a targeted adver-tising swarmlet could be triggered to send a message (theaction) to a customer when he/she stops in front of a par-ticular display (the predicate).

Due to the importance of location in swarmlet context,indoor localization as a service will surely be a crucial com-ponent of IoT infrastructure. However, as years of indoor lo-calization research can attest, different indoor places presentradically different environments for sensing operations [3].Even if satisfactory indoor localization can be provided in

Permission to make digital or hard copies of all or part of this work forpersonal or classroom use is granted without fee provided that copies arenot made or distributed for profit or commercial advantage and that copiesbear this notice and the full citation on the first page. To copy otherwise, torepublish, to post on servers or to redistribute to lists, requires prior specificpermission and/or a fee.IPSN ’15 Seattle, WA USACopyright 20XX ACM X-XXXXX-XX-X/XX/XX ...$15.00.

one building through a given technology, there is no guaran-tee it will be equally effective at different sites. To furthercomplicate the situation, different swarmlets may likely usedifferent predicates such as line-of-sight, distance betweenobjects, or room containment, as the condition for action.

2. SEMANTIC LOCALIZATION AND PHE-NOMENAL MAPS

We define semantic localization as the process of establish-ing positional relations on meaningful objects. In contrastto a conventional map where points on a Cartesian coor-dinate system are used to represent a location in physicalspace, semantic localization results can be formulated as arelation that is represented (at least for binary relations) ina graph structure where objects are nodes and relations areedges. Since each semantic relation refers to a“phenomenon”(literally an observable occurrence), we term these represen-tations“Phenomenal Maps”. For example, for entities A andB and time t, the predicate distance15m(A,B, t) is true ifand only if it is known as a positive fact that A and Bare within 15 meters of each other at time t. As suggested bythe subscript “15m”, relations may be parameterized whereappropriate. Other samples of useful phenomena are listedon the right of the table in Figure 1.

Phenomenal maps are necessary because the purely phys-ical model breaks down when indoor localization technolo-gies shortcut directly to semantic knowledge without firstgenerating precise physical information. For example, tech-nologies like visual light localization can be used for roomidentification without establishing location at a point gran-ularity [5]. A physical location as a coordinate in Cartesianspace is a bad representation for this spatially fuzzy informa-tion because its placement at any particular location withinthe zone may imply other facts about the environment (e.g.proximity and distance to other entities) that are simplyunverifiable. A logical relation is cleaner: for entity A andentity B, the relation Contains(A,B, t) captures the logicalposition of A and B without making any faulty claims aboutB’s position inside place A.

3. PHYSICAL MAPS AND FORMALISMFor much the same reason, when considering physical (spa-

tial) maps, different varieties of mathematical space are ap-propriate in different scenarios. Consider the scenario inwhich a topological map concerning the connectivity of land-marks is available as in [1]. Because distance is not definedin a topological space, assigning this perfectly legitimate

Page 2: Poster Abstract: A Model For Semantic Localization...Semantic Localization, Ubiquitous Computing, Modeling 1. INTRODUCTION Future ubiquitous computing scenarios enable novel classes

spatial representation arbitrary cartesian coordinates in aEuclidan space without additional information would onlyimply a false certainty about unknown quantities. Indeed avariety of non-Euclidian space representations are possible,and correspond to different classes of positional relations.Four examples of these spaces are given on the left handside of the table in Figure 1.

We define a physical map through the following defini-tions:

Space := (Domain, Structure)1

T ime := (I,≤)Entity ⊆ DomainLocalizationFunctiona,b :

P (Domaina)× T ime→ P (Domainb)2

Map := (Spacea, Spaceb, LocalizationFunctiona,b)The LocalizationFunctiona,b maps between entities at a

particular time from space a to entities in space b. Thismatches the intuitive notion of a map in the sense of a floorplan when Spacea consists of a set of semantically meaning-ful objects (perhaps a list of rooms and people) and Spacebis a two-dimensional Euclidian space.

4. LOGICAL INFERENCE ON MAPSA significant advantage of this mapping formalism is the

ability to logically infer additional information from a lim-ited set of known facts. Both phenomenal and physical mapscan be used in this manner.

As shown in Figure 1, there is a tight correspondencebetween phenomena and types of physical spaces. Followingthe bottom arrow from right to left, we see that a given phe-nomenal map corresponds to a family of physical maps suchthat all physical maps are consistent with the phenomenal

1Note that the structure of a space depends on the kind ofspace under consideration. So for a set, Structure = ∅ ; fora topology, Structure = O where O is the set of open sets;for a metric space Structure = M where M is the metricfunction; and so on.2P (A) indicates the power set of A.

Figure 1: A physical map is capable of describing phe-

nomena at an equal or lower level in the table. Seman-

tic phenomena may be read off of a physical map going

on the arc from left to right by applying the proper-

ties of the space (e.g., applying a metric to two points

in a physical map to get distance). Families of physical

maps may be constructed by moving from right to left

(e.g. applying the iterative trilateration algorithm in [4]

to a phenomenal map of distance to construct one of the

isometric family of consistent Euclidian physical maps)

one. In general, if we can prove a new phenomena must betrue about all members of the family we can infer that thecorresponding tuple can be safely added to the relation ofknown phenomena. For example, if we define the Containsrelation as {(A,B, t) : (A,B, t) ⊆ (Entity×Entity×T ) andA ⊆ B} , given (X1, X2, t), (X2, X3, t) ∈ Contains we caninfer (X1, X3, t) ∈ Contains as well, due to the transitivityof the subset relation on sets. The triangle inequality canbe used in a similar way to infer proximity information, byusing the properties of a metric.

In some cases, knowledge about the elements shared incommon between physical maps allows localization func-tion infernance. The transitive composition of localizationfunctions is a simple example: given a, b, c are spaces, e ∈Entity, t ∈ T ime, and F 1

a,b, F 2b,c, are (total) localization

functions, we can infer F 3a,c(e, t) = F 2(F 1(e, t), t).

5. CONCLUSIONSSwarmlets in the IoT need to correctly interpret heteroge-

nous representations of real-world location to perform theright actions on the physical world. In this poster abstractwe present a model through which the localization contextof a swarmlet may be evaluated. In addition, the modelallows for the refinement of location information throughthe process of logical inference on physical and phenomenalmaps. The result is a structured representation of semanticlocation that can handle heterogeneity in both localizationsystems and application requirements.

6. ACKNOWLEDGMENTSThis work was supported in part by TerraSwarm, one of

six centers of STARnet, a Semiconductor Research Corpo-ration program sponsored by MARCO and DARPA.

7. REFERENCES[1] R. Ghrist, D. Lipsky, J. Derenick, and A. Speranzon.

Topological landmark-based navigation and mapping.University of Pennsylvania, Department ofMathematics, Tech. Rep, 8, 2012.

[2] E. A. Lee, B. Hartmann, J. Kubiatowicz,T. Simunic Rosing, J. Wawrzynek, D. Wessel,J. Rabaey, K. Pister, A. Sangiovanni-Vincentelli, S. A.Seshia, D. Blaauw, P. Dutta, K. Fu, C. Guestrin,B. Taskar, R. Jafari, D. Jones, V. Kumar,R. Mangharam, G. J. Pappas, R. M. Murray, andA. Rowe. The swarm at the edge of the cloud. IEEEDesign & Test, 31(3):8–20, June 2014.

[3] L. Li, G. Shen, C. Zhao, T. Moscibroda, J.-H. Lin, andF. Zhao. Experiencing and handling the diversity indata density and environmental locality in an indoorpositioning service. pages 459–470. ACM Press, 2014.

[4] D. Moore, J. Leonard, D. Rus, and S. Teller. Robustdistributed network localization with noisy rangemeasurements. In Proceedings of the 2nd internationalconference on Embedded networked sensor systems,pages 50–61. ACM, 2004.

[5] N. Rajagopal, P. Lazik, and A. Rowe. Visual lightlandmarks for mobile devices. In IPSN-14 Proceedingsof the 13th International Symposium on InformationProcessing in Sensor Networks, pages 249–260, Apr.2014.

Page 3: Poster Abstract: A Model For Semantic Localization...Semantic Localization, Ubiquitous Computing, Modeling 1. INTRODUCTION Future ubiquitous computing scenarios enable novel classes

http://terraswarm.org/

TerraSwarm TerraSwarm

Sponsored by the TerraSwarm Research Center, one of six centers administered by the STARnet phase of the Focus Center Research Program (FCRP) a Semiconductor Research Corporation program sponsored by MARCO and DARPA.

A Model for Semantic Localization

January 25, 2015 Matthew Weber, Edward Lee, UC Berkeley

The language describes real world phenomena.

•  Formulate queries •  Specify event conditions A phenomenon is given as a relation. Example: Looking for a place to find

strawberry ice cream.

∃x IceCream(x) ⋀ Pink(now, x) ⋀ Temperature<0

degrees C(now, x) ⋀ Proximity<20m(now, me, x) ⋀ Contains(now, y, x)

First Order Context Language

Contains(a, b)

DOP Center Lounge

a b

Room 545Q

DOP Center

Microwave

DOP Center

Swarm Lab

Disjoint(a, b) a b

Physical Map Phenomenal Map

Abstract

Physical Map Phenomenal Map Euclidean Space (i.e. Inner Product

Space) Angle and Orientation

Metric Space Distance and Proximity Topological Space Path, Direct Path, Line of Sight

Set Contains Construct Family of Physical Maps from

Phenomena

Observe Phenomena by Examining Physical Map

S1 S2 S3 F1,2 F2,3

F1,3

F1,3(e,t) = F2,3(F1,2(e, t), t)

Physical Map Inference

S1

S2 S3 F3,2

F1,3

me Sa = ( {me, cooler, lounge, 545S, 545Q, …, 545Z } , ∅ )

Sb = E2

Fa,b : P(Da) ⨯ T → P(Db)

T = R+

Fa,b(me,  5:00pm)  =  (27,  34)  Fa,b(cooler,  5:00pm)  =  (30,  15)  Fa,b(lounge,  5:00pm)  =  {  (x,  y)  ∊  Db  :  28  ≤  x  ≤  32  ⋀  12  ≤  y  ≤  18  }      Note:  Fa,b(cooler,  5:00pm)  ⊆  Fa,b(lounge,  5:00pm)  Therefore  Sa  ,  Sb  ,  and  Fa,b  ⊧    Contains(  5:00pm,  lounge,  cooler)  

Sa is acting as a “label space”

Space := (Domain, Structure) Time := (I, ≤)

Entity ⊆ Domain

Localization Functiona,b: P(Domaina) ⨯ Time → P(Domainb)

Map := A space localized with meaningful entities

Physical Mapping Formalism

Example: Floor Plan

y = Ice Cream Cooler, Lounge

We propose a model for Semantic Localization, i.e. establishing positional relations on meaningful objects, to enable the principled integration of heterogenous localization clues -- such as those derived from ubiquitous sensors in the Internet of Things. Our approach is two-pronged: we consider relation-structured Phenomenal Maps alongside spatially-organized Physical Maps. Phenomenal Maps may be used to answer semantic queries about the relative position of objects without necessarily resorting to physical coordinates. Physical Maps are not restricted to purely Euclidian spaces, to the contrary we identify useful applications for topological, and metrical maps among others. We give the framework for a structured mechanism through which localization information in all these representations may be reconciled.

•  Enable heterogeneous composition of space models •  Structure the event language for location-driven predicates with

phenomenal maps •  Privacy

•  Mode 1: Provide full access to inner space but don’t give a localization function from inner to outer

•  Mode 2: Don’t share anything about inner space? •  Mode 3: Determine which phenomenal questions can be

answered without giving away the location of things in the inner space.

Applications

Phenomenal Map Inference

Example: Function Composition

A

Before

Proximity<x(a, b) a b

Anti-Proximity≥x (a, b) a b

B

C

D

x

x 30m 20m

20m 30m

A

After

Proximity<x(a, b) a b

An#-­‐Proximity≥x  (a,  b)  a b

B

C

D

x

x 30m 20m

20m 30m

40m

Apply  the  triangle  inequality  

Example: Proximity Inference

Future ubiquitous computing scenarios enable novel classes of context aware applications. In this environment, an event driven paradigm in which swarmlet actions are triggered by the occurrence of some predicate on the context becoming true is an intuitive model of computation. A first order language of localization supports this.

Example: Shared Origin Space

If a common set of preimage entities have localization function images in two distinct spaces, we can infer facts about how the two image spaces are related.

Localization functions in physical maps may be related to each other in such a way that they logically imply additional information about the system.

Take a phenomenal map and determine the corresponding family of physical maps. If a fact is true for every physical map in the family, add it to the phenomenal map