Re: [Geopriv] A new draft on Bayesian Location Identifiers

"Christian Hoene" <hoene@uni-tuebingen.de> Fri, 22 October 2010 06:03 UTC

Return-Path: <hoene@uni-tuebingen.de>
X-Original-To: geopriv@core3.amsl.com
Delivered-To: geopriv@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8D9D83A6887 for <geopriv@core3.amsl.com>; Thu, 21 Oct 2010 23:03:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.249
X-Spam-Level:
X-Spam-Status: No, score=-6.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Zgd-5E+1E9HU for <geopriv@core3.amsl.com>; Thu, 21 Oct 2010 23:03:21 -0700 (PDT)
Received: from mx06.uni-tuebingen.de (mx06.uni-tuebingen.de [134.2.3.3]) by core3.amsl.com (Postfix) with ESMTP id 6D2D63A6867 for <geopriv@ietf.org>; Thu, 21 Oct 2010 23:03:20 -0700 (PDT)
Received: from hoeneT60 (dslb-094-216-253-211.pools.arcor-ip.net [94.216.253.211]) (authenticated bits=0) by mx06.uni-tuebingen.de (8.13.6/8.13.6) with ESMTP id o9M64kRQ006617 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri, 22 Oct 2010 08:04:52 +0200
From: Christian Hoene <hoene@uni-tuebingen.de>
To: "'Thomson, Martin'" <Martin.Thomson@andrew.com>, geopriv@ietf.org
References: <000601cb6bc1$1d7d9260$5878b720$@de> <8B0A9FCBB9832F43971E38010638454F03F31EAC37@SISPE7MB1.commscope.com>
In-Reply-To: <8B0A9FCBB9832F43971E38010638454F03F31EAC37@SISPE7MB1.commscope.com>
Date: Fri, 22 Oct 2010 08:04:47 +0200
Organization: Universität Tübingen
Message-ID: <004201cb71af$0c482020$24d86060$@de>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Office Outlook 12.0
Content-language: de
Thread-index: ActrwCw43BQA9QnAR6aWwjwIw533nAAAD7tQAXXfscAABXxuoA==
X-AntiVirus: NOT checked by Avira MailGate (version: 3.0.0-4; host: mx06)
Cc: behlec@informatik.uni-tuebingen.de, krebs@informatik.uni-tuebingen.de, mark.schmidt@wsii.uni-tuebingen.de
Subject: Re: [Geopriv] A new draft on Bayesian Location Identifiers
X-BeenThere: geopriv@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Geographic Location/Privacy <geopriv.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/geopriv>, <mailto:geopriv-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/geopriv>
List-Post: <mailto:geopriv@ietf.org>
List-Help: <mailto:geopriv-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/geopriv>, <mailto:geopriv-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Oct 2010 06:03:23 -0000

Great Martin,

thank you very much for your fast and detailed comments! We will consider and address them in an updated version. Let's meet in Beijing to discuss how to progress.

See you then

 Christian

---------------------------------------------------------------
Dr.-Ing. Christian Hoene
Interactive Communication Systems (ICS), University of Tübingen 
Sand 13, 72076 Tübingen, Germany, Phone +49 7071 2970532 
http://www.net.uni-tuebingen.de/

-----Original Message-----
From: Thomson, Martin [mailto:Martin.Thomson@andrew.com] 
Sent: Friday, October 22, 2010 7:13 AM
To: Christian Hoene; geopriv@ietf.org
Cc: behlec@informatik.uni-tuebingen.de; krebs@informatik.uni-tuebingen.de; mark.schmidt@wsii.uni-tuebingen.de
Subject: RE: [Geopriv] A new draft on Bayesian Location Identifiers

Hi Christian,

This is certainly interesting work.

My biggest concern is that this is not necessarily the right forum for this sort of work.  I find that to be a little disappointing, but you might find that there is insufficient expertise to deal with this here.

==Commentary

My primary concern regards how a recipient of this data might use it.  I can certainly see how being able to essentially transfer the state of a filter between entities might be useful where each performs location determination.  I struggle a little more in how I might imagine a typical location-based application using the data.

Providing motivation, use cases, or examples would help greatly.

The state of a Kalman filter is relatively easily converted into an ellipsoid shape.  Sure, the process is lossy, but it becomes more readily understood.  The challenge for you is to motivate the inclusion of the covariance matrix.

In some respects the particle filter is (to me) the most likely to be useful to a generic application.  In describing a field of relative probabilities you are able to convey a much richer representation of location.  This is not necessarily the product of a particle filter as assumed in the draft; other location determination methods are able to produce probability distributions that do not readily fit a neat distribution.

If we were to look solely at filter usage alone, I've found that Kalman filters are still far more commonplace.  The additional processing required for particle filters is prohibitive, particularly for mobile devices that have power consumption constraints.  The additional flexibility provided by the particle filter simply isn't necessary either, since it is easy to assume linear progress when time increments are quite small - as they often are.

I'll admit to not being familiar with Gaussian sum particle filters.  Since the state here is very similar to the Kalman filters with the only difference being the number of mean+covariance tuples, it might be sensible to try to unify the representation of these.

==Coordinate Systems and Datums

This part of the draft seems a little out of place.  We've already done a lot of work restricting the coordinate systems (and coordinate reference systems) that are permitted in PIDF-LO.

GML already covers a lot of this area.  If you feel that you need to use a different coordinate reference system, then it seems likely that there is already support for the system that you are looking for.  If there isn't, we should discuss your needs, and maybe that might be the subject of a separate work item.

I'd recommend that you remove this section and the corresponding additions to the PIDF-LO entirely.

==Representations

The representations that you use could use some more rigorous definition.  This requires that you define the structure and semantics of each of the elements that you are looking to define.  Ultimately, an XML schema that defines elements in a specific XML namespace is going to be necessary.  Prior to that, we need to know exactly what to include, where to include it, and how to interpret it.

The Kalman filter example is quite good.  Attaching a covariance matrix to the point location is good.  However, I'd like to see a more explicit indication of the units of the covariance matrix (I assume that this is metres) and the number of dimensions.

Leaving messy namespace declarations out, something like this might be good:

  <gp:location-info>
    <filter:KalmanFilterState srsName="urn:ogc:def:crs:EPSG::4979">
      <gml:pos>-34.407242 150.882518 34</gml:pos>
      <filter:covariance dim="3" uom="urn:ogc:def:uom:EPSG::9001">
        1 0 0
        0 4 0
        0 0 16
      </filter:covariance>
    </filter:KalmanState>
  </gp:location-info>

Notice how I use <location-info> to establish context.  (BTW, that matrix is almost too neat to be real :)

The particle filter results map very nicely onto an existing GML construct: the coverage.  Take a look at Section 19 of the latest GML specification for more detail of this.  In effect, we are describing the value of the weight function at discrete points.

Borrowing from the GML definitions and having ParticleFilterState, we might get something like:

  <gp:location-info>
    <filter:ParticleFilterState>
      <gml:domainSet>
        <gml:MultiPoint srsName="urn:ogc:def:crs:EPSG::4979">
          <gml:pointMembers>
            <gml:Point><gml:pos>-34.407242 150.882518 34</gml:pos></gml:Point>
            <gml:Point><gml:pos>-34.5 150 34</gml:pos></gml:Point>
            <gml:Point><gml:pos>-34.4 151 34</gml:pos></gml:Point>
          <gml:pointMembers>
        </gml:MultiPoint>
      </gml:domainSet>
      <gml:rangeSet>
        <gml:ValueArray>
          <gml:valueComponents>
            <filter:Weight uom="urn:ogc:def:uom:EPSG::9201">0.5</filter:Weight> 
            <filter:Weight uom="urn:ogc:def:uom:EPSG::9201">0.25</filter:Weight>
            <filter:Weight uom="urn:ogc:def:uom:EPSG::9201">0.25</filter:Weight> 
          </gml:valueComponents>
        </gml:ValueArray>
      </gml:rangeSet>
    </filter:KalmanState>
  </gp:location-info>

Coverages are very well defined in GML.  As a result there are lots of options.  For instance, it's probably better to use a DataBlock when the number of points starts to get large.

The Gaussian sum particle filter might be addressed by adding multiple pos+covariance pairs to a new GaussianSumParticleFilter element.

You'll note that I've omitted the time component on each of these.  PIDF already provides a timestamp mechanism that we already use.  Even where GML provides the capability to convey time, we've opted to use the PIDF mechanisms instead, since these help us better integrate data with existing frameworks.

--Martin


-----Original Message-----
From: geopriv-bounces@ietf.org [mailto:geopriv-bounces@ietf.org] On Behalf Of Christian Hoene
Sent: Friday, 15 October 2010 3:59 AM
To: geopriv@ietf.org
Cc: behlec@informatik.uni-tuebingen.de; krebs@informatik.uni-tuebingen.de; mark.schmidt@wsii.uni-tuebingen.de
Subject: [Geopriv] A new draft on Bayesian Location Identifiers

Hello,

we just have finished a first version of a draft, what presents a transmission format for uncertain, relative and transformed location estimates: http://www.ietf.org/id/draft-hoene-geopriv-bli-00.txt
Any comments and any feedback are welcomed.

With best regards,

 Christian Hoene

---------------------------------------------------------------
Dr.-Ing. Christian Hoene
Interactive Communication Systems (ICS), University of Tübingen 
Sand 13, 72076 Tübingen, Germany, Phone +49 7071 2970532 
http://www.net.uni-tuebingen.de/

-----Original Message-----
From: IETF I-D Submission Tool [mailto:idsubmission@ietf.org] 
Sent: Thursday, October 14, 2010 10:51 AM
To: hoene@uni-tuebingen.de
Cc: krebs@informatik.uni-tuebingen.de; behlec@informatik.uni-tuebingen.de; mark.schmidt@wsii.uni-tuebingen.de
Subject: New Version Notification for draft-hoene-geopriv-bli-00 


A new version of I-D, draft-hoene-geopriv-bli-00.txt has been successfully submitted by Christian Hoene and posted to the IETF repository.

Filename:	 draft-hoene-geopriv-bli
Revision:	 00
Title:		 Bayesian Location Identifier
Creation_date:	 2010-10-14
WG ID:		 Independent Submission
Number_of_pages: 11

...