EP3888003A1 - Method and system for adaptive sensor arrangement - Google Patents

Method and system for adaptive sensor arrangement

Info

Publication number
EP3888003A1
EP3888003A1 EP19817601.8A EP19817601A EP3888003A1 EP 3888003 A1 EP3888003 A1 EP 3888003A1 EP 19817601 A EP19817601 A EP 19817601A EP 3888003 A1 EP3888003 A1 EP 3888003A1
Authority
EP
European Patent Office
Prior art keywords
portions
events
sensor devices
domain
detected
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
EP19817601.8A
Other languages
German (de)
French (fr)
Inventor
James Grant
Alexis BOUKOUVALAS
David Leslie
Enrique MUNOZ DE COTE
Sebastian JOHN
Sattar VAKILI
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Secondmind Ltd
Original Assignee
Secondmind Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Secondmind Ltd filed Critical Secondmind Ltd
Publication of EP3888003A1 publication Critical patent/EP3888003A1/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/10Terrestrial scenes
    • G06V20/13Satellite images
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/10Terrestrial scenes
    • G06V20/17Terrestrial scenes taken from planes or by drones
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/50Context or environment of the image
    • G06V20/52Surveillance or monitoring of activities, e.g. for recognising suspicious objects

Definitions

  • the present invention relates to a method and system for arranging sensor devices for detecting events within a domain
  • UAVs unmanned aerial vehicles
  • astronomy automated telescopes may be used to detect cosmological events.
  • Automated sensor devices may detect events automatically, or alternatively may stream data to a computer system arranged to detect events within the streamed data.
  • a cost associated with operating a sensor device For example, there is a computational cost associated with processing data generated by a digital camera.
  • a sensor device illuminates a region, for example using an infra-red source
  • an energy cost associated with illuminating the region may increase with the number of deployed sensor devices.
  • the physical capabilities of a sensor device may constrain the extent and/or shape of regions that the sensor device can be used to detect events in.
  • the cost of operating a sensor device depends on an extent of the region and/or the duration of time for which the sensor device is deployed. Accordingly, it may be impractical or impossible to allocate sensor devices to detect events within the entirety of a domain of interest.
  • the rates at which events occur at different co-ordinates within a domain of interest is a priori unknown. Therefore, the rates at which events occur at different co-ordinates must be estimated on the basis of events detected by sensor devices. As more events are detected, the estimated rates will be updated, and therefore it will be desirable to allocate the sensor devices dynamically, to take advantage of the progressively improving rate estimates.
  • Dynamically allocating sensor devices to detect events within a domain leads to an exploration-exploitation dilemma. If the sensor devices are always allocated to subdomains where the most events are expected to occur, the sensor devices will not gather event data for other portions of the domain, and no insight will be gained into the rate of in events occurring in those portions. By contrast, if sensor devices are allocated to excessively large subdomains, or to subdomains that are chosen with too much variance, the cost of operating the sensor devices will be high for the number of events detected.
  • a computer-implemented method for arranging one or more sensor devices for detecting events within a domain having one or more dimensions includes iteratively: determining a plurality portions spanning the domain; estimating a normalised rate of events being detected in each portion; selecting, in dependence on the estimated normalised rates, one or more of the determined portions on the basis of an expected reward associated with allocating the one or more sensor devices to the selected one or more portions; arranging the one or more sensor devices to detect events in the selected one or more portions; and receiving event data from the one or more sensor devices, the event data being indicative of dimensional co-ordinates of events detected by the one or more sensor devices within the selected one or more portions.
  • the expected reward depends on an expected rate of events being detected by the one or more sensor devices, penalised by a sensing cost associated with the one or more sensor devices.
  • the number of determined portions increases with respect to the number of iterations in accordance with a predetermined relationship.
  • Figure 1 shows an example of two UAVs being arranged to detect events in a one-dimensional spatial domain.
  • Figure 2 shows an example of two UAVs being arranged to detect events in a two-dimensional spatial domain.
  • Figure 3 shows an example of a sensor device being arranged to detect events in a temporal domain.
  • Figure 4 is a flow diagram representing an example of a method of arranging sensor devices for detecting events in a domain.
  • Figure 5 shows an example of portions spanning a one-dimensional spatial domain.
  • Figure 6 shows plots of Bayesian regret against number of iterations for two examples of the present invention.
  • Figure 7 shows results of allocating sensor devices in accordance with two examples of the present invention.
  • Figure 8 is a flow diagram representing an example of a method for estimating a normalised rate of events being detected within a portion of a domain.
  • Figure 9 is a flow diagram representing a further example of a method for estimating a normalised rate of events being detected within a portion of a domain.
  • Figure 10 is a flow diagram representing an example of a method for determining a union of subdomains to which sensors are to be allocated.
  • Figure 11 shows an example of a union of subdomains being selected from a one-dimensional domain in accordance with the method of Figure 10.
  • Figure 12 is a flow diagram representing an example of a method for determining a union of subdomains to which sensors are to be allocated.
  • Figure 13 is a flow diagram representing an example of a method for determining a subdomain on the basis of a set of sampled normalised rates.
  • Figure 14 shows an example of a subdomain being selected from a two- dimensional domain in accordance with the method of Figure 13.
  • Figure 15 shows results of allocating sensor devices in accordance with two further examples of the present invention.
  • Figure 16 shows a computer system arranged to perform a method in accordance with the present invention.
  • FIG. 1 shows an example in which a computer system 100 is communicatively coupled to two UAVs 102a and 102b, referred to collectively as UAVs 102.
  • the UAVs 102 communicate with the computer system 100 over a wireless network, for example a Long Term Evolution (LTE) wireless network.
  • LTE Long Term Evolution
  • a UAV may communicate with a computer system using alternative means, for example over a Wi-Fi network or using Bluetooth or other radio signals.
  • the UAVs 102 are examples of sensor devices, and in this example are arranged to detect events within a domain 104 having a single spatial dimension. The extent of the domain 104 is given by the width W.
  • the UAVs 102 are equipped with global positioning system (GPS), and accordingly are able to associate dimensional co-ordinates with the detected events.
  • Each of the UAVs 102 includes an image sensor device and is arranged to detect events within a continuous subdomain of the domain 104 by processing image data captured by the image sensor device.
  • the computer device 100 dynamically allocates the UAVs 102 in dependence on event data corresponding to events that have been detected within the domain 104.
  • There is a sensing cost associated with operating the UAVs 102 which in the present example is proportional to the width or extent of the subdomains to which the UAVs 102 are allocated. The extent of the subdomains may be altered during the dynamic allocation of the UAVs 102.
  • the domain 104 is a border of a security-controlled facility, and the UAVs 102 are deployed at night to automatically detect intrusion events along the border, in which an unauthorised person attempts to enter the security-controlled facility.
  • the allocated subdomains are updated one or more times each night in accordance with the methods described hereafter.
  • FIG. 2 shows an example in which a computer system 200 is communicatively coupled to two UAVs 202a and 202b, referred to collectively as UAVs 202.
  • the UAVs 202 are arranged to detect events in a domain 204 having two spatial dimensions. The extent of the domain 204 is given by the area H x W of the domain.
  • Each of the UAVs 202 is arranged to detect events within a square subdomain of the domain 204.
  • the computer device 200 dynamically allocates the UAVs 202 in dependence on event data corresponding to events that have been detected within the domain 204.
  • the UAVs 202 There is a sensing cost associated with operating the UAVs 202, which in the present example is proportional to the area or extent of the subdomains to which the UAVs 202 are allocated.
  • the extent of the subdomains may be altered during the dynamic allocation of the UAVs 202.
  • the domain 204 is a region of a nature reserve, and the UAVs 202 are deployed at night to detect poaching events within the region.
  • the allocated subdomains are updated one or more times each night in accordance with the methods described hereafter.
  • Figure 3 shows an example in which a computer system 300 is communicatively coupled to a sensor device 302 which is used to detect events occurring within a domain 304 having a single periodic temporal dimension.
  • a single period of the domain 304 in this example corresponds to a single day, and the rate at which events are expected to occur depends on the time of day.
  • a single period of a periodic temporal domain may correspond to a year, and a rate at which events are expected to occur may depend on a time of year.
  • the sensor device 302 is used to detect events occurring at a single location, but only at certain times of day.
  • the computer device 300 dynamically allocates the sensor device 302 to subdomains of the temporal domain 304 in dependence on event data corresponding to events that have been detected within previous periods of the domain 304.
  • the extent of the subdomains may be altered during the dynamic allocation of the sensor device 302.
  • the present invention provides a computer-implemented method of arranging one or more sensor devices for detecting events within a domain.
  • a sensor device is an automated agent that is capable of observing discrete events.
  • Sensor devices may include one or more sensors, for example image sensing devices such as cameras, audio sensing devices such as microphones, and/or devices for detecting faults or other events within a communications network or within electrical circuitry.
  • a sensing cost is associated with deploying and operating the sensor devices, resulting in a need to balance the desire to detect as many events as possible with the desire to minimise the sensing cost associated with operating the sensor devices.
  • a computer system is set the task of maximising a cumulative expected reward, where the reward is given by the rate at which events are detected within the domain D, penalised by the sensing cost.
  • the method proceeds under the assumption that the events are distributed according to a non-homogeneous Poisson process with a rate function l: D ® M + that varies within the domain D .
  • the computer system sends a control signal to each of the one or more sensor devices, causing the one or more sensor devices to be arranged to detect events in a union A t of continuous subdomains of the domain D .
  • Each iteration is associated with an interval of fixed duration, such that the devices are arranged to detect events in each union A t for an equal duration.
  • each sensor device is capable of detecting events in a single continuous subdomain. In other examples (such as the example of Figure 3), each sensor device is capable of detecting events in more than one continuous subdomains.
  • the method proceeds on the basis that the union A t contains at most U continuous subdomains, where U is a predetermined integer. In the examples of Figures 1 and 2, U corresponds to the number of sensor devices. It is assumed that the sensor devices will detect any event that occurs in the union A t . The expected rate at which events will be detected by the sensor devices between iterations t and t + 1 is given by Equation (1):
  • the expected reward received in the interval associated with iteration t. is given by the expected rate of events being detected, penalised by the sensing cost.
  • the sensing cost depends on the extent of the union A t of subdomains.
  • the sensing cost is proportional to extent of the union A t , and the expected reward is given by Equation (2):
  • C is the sensing cost per unit extent of the union A t .
  • the sensing cost may depend on the extent of the union A t according to an alternative predetermined relationship, for example an exponential relationship.
  • the rate function l(c) is unknown, and in the present method Bayesian inference is used to estimate l(c) at each iteration.
  • the efficacy of the method may be characterised by the Bayesian regret, which is a measurement of how much the cumulative expected reward differs from the optimal cumulative expected reward.
  • the Bayesian regret for the first T iterations is given by Equation (3):
  • Equation (3) where A * is the union of subdomains that maximises the expected reward of Equation (2), and where the expectation in Equation (3) is taken with respect to a prior probability distribution over the rate function l (x) , as will be described in more detail hereafter.
  • the objective of the present method is to minimise the Bayesian regret of Equation (3).
  • Figure 4 shows a method implemented by a computer system to arrange one or more sensor devices for detecting events in a domain in accordance with the present invention.
  • the computer device determines, at S402, one or more portions of the domain D .
  • the portions are non-overlapping and span the entire domain D .
  • the determined portions have equal extents.
  • the portions may be spatial intervals of equal length.
  • the portions may be squares of rectangles of equal extent and shape.
  • the portions may be temporal intervals of equal duration.
  • the portions determined at a given iteration may have differing extents.
  • the number of portions determined by the computer system will be increase as the number of iterations increases.
  • the determined portions are used for binning of event data, such that events detected within each portion are effectively replaced by values representative of the portion as a whole.
  • the computer device estimates, at S404, a normalised rate ip k t of events of being detected in each portion B k t .
  • the normalised rate is defined by Equation (4): where ⁇ B k t ⁇ denotes the extent of the portion B k t .
  • the normalised rate is given by the integral of the rate function over the portion, divided by the extent of the portion. The normalised rate is therefore equivalent to a mean value of the rate function within the portion.
  • Estimating the normalised rate ip k t involves processing event data corresponding to events previously detected by the sensor devices.
  • the sensor devices transmits event data to the computer device, indicative of events detected by the sensor devices, including the dimensional co-ordinates of the detected events.
  • the computer device stores the event data cumulatively, and at each iteration uses the stored event data to estimate ip k t ⁇ Examples of methods for estimating the normalised rate ip k t are described in more detail below, with reference to Figures 8 and 9.
  • the computer system selects, at S406, in dependence on the estimated normalised rates il> k t , a union A t of continuous subdomains consisting of a subset of the portions B k t .
  • the subset of portions is selected from all possible subsets of portions (given the constraint that the union A t must contain at most U continuous subdomains, and that the continuous subdomains are permitted by any physical constraints imposed by the sensor devices) on the basis of the expected reward r(A t ) associated with allocating the one or more sensor to the union A t . More precisely, the computer system selects the union A t as a solution to the following optimisation problem:
  • each of the continuous subdomains consists of a subset of the determined portions B k t , and is permitted by the physical constraints imposed by the sensor device, and • at most one sensor device is allocated to each of the determined portions B k,t , where
  • the estimated reward is determined by assuming that the normalised rate within each portion B k t is given by the corresponding normalised rate estimated at S404.
  • the computer system precomputes, for each permitted continuous subdomain, an estimated reward associated with allocating a single sensor device to the subdomain, which converts the problem outlined above to an integer program that can be solved using a standard linear program solver.
  • the computer system arranges, at S408, the one or more sensor devices to detect events in the selected union A t of subdomains.
  • Arranging the one or more sensor devices generally involves sending control signals to the sensor devices.
  • the control signals may cause the sensor devices to move to appropriate locations within the domain, or otherwise to configure one or more associated sensors to detect events within the selected union A t .
  • the control signals may cause a sensor device to activate one or more sensors for selected timeframes.
  • the one or more sensor devices generate event data indicative of events detected within the union A t .
  • the event data includes dimensional co-ordinates of the detected events in the domain D. In the case of a spatial dimension, a dimensional co-ordinate corresponds to a location. In the case of a temporal domain, a temporal co ordinate corresponds to a time.
  • the computer device receives, at S410, the event data from the one or more sensor devices. At the following iteration, the received event data will be taken into account when estimating the normalised rates at S404.
  • the number of portions determined at S402 gradually increases with respect to the number of iterations in accordance with a predetermined relation.
  • the domain D is discretised progressively more finely as the computer device receives progressively more event data.
  • Increasing the number of portions may involve, at certain iterations, dividing previously-determined portions into a predetermined number of sub portions.
  • the method automatically provides a solution to the exploration-exploitation dilemma discussed above. Initially, when the computer system has received only a small amount of event data, the method favours exploration as the sensor devices are allocated to large subdomains. As progressively more event data is received, the determined portions become smaller, resulting in progressively more intricate selection of subdomains and a progressive shift towards exploitation.
  • the method includes determining, using predetermined convergence criteria, that the estimated normalised rate of events being detected in each portion has converged, in which case no further re-arranging of the sensing devices is performed.
  • Figure 5 shows an example a domain D having a single spatial dimension and an extent of W .
  • a single portion of the domain D is determined, spanning the entire extent W of the domain. In other examples, more than one portion may be determined at the initial iteration.
  • the domain is divided into progressively more portions of equal extent.
  • the number of portions is doubled at each of the iterations iq, t 2 , t , ....
  • the rate at which the number of determined portions increases is constant, or in other words the determined number of portions increases in proportion to the number of iterations, such that K t oc t.
  • the rate at which the determined number of portions increases may not be constant, and the determined number of portions may instead increase with the respect to the number of iterations in accordance with a nonlinear relationship.
  • the rate at which the determined number of portions increases may decrease with time, resulting in a sub linear relationship.
  • An example of a sub linear relation is one in which the number of determined portions increases in proportion to a predetermined power of the number of iterations, the predetermined power being greater than zero and less than one, such that K t oc t Y , where 0 ⁇ g ⁇ 1.
  • Figure 6 demonstrates the effect of the rate of re-discretisation of the domain D in a simulation corresponding to the example of Figure 5.
  • events are generated according to a non-homogeneous Poisson process with a predetermined rate function A(x), and a single sensor device is arranged to detect the events, using the method described above.
  • the smooth concave curve shows the predetermined rate function A(x)
  • the horizontal dashed line shows the cost C.
  • the region between the dashed vertical lines in each case corresponds to the subdomain A t selected according to the method described above.
  • Figure 7 also shows, for each case, the predicted rate function, which is an expectation value for estimations of ip k t in each portion. It is observed that the predicted rate function in Figure 7b, corresponding to the sub linear case, closely approximates the actual rate function A(x) in each portion, whereas the predicted rate function in Figure 7a, corresponding to the linear case, differs significantly from the actual rate function l(c) . As a result, the subdomain selected in Figure 7b is closer than the subdomain selected in Figure 7a to the optimal subdomain A * . Accordingly, the Bayesian regret is lower for the sublinear case, even though the discretisation of the domain is considerable coarser at the iteration shown.
  • Figure 8 shows an example of a method performed by a computer system for estimating a normalised rate of events being detected in a portion B k t of a domain D.
  • the method of Figure 8 is performed at S404 for each iteration t. For each iteration t > 1, the method takes account of event data received before that iteration.
  • the computer system determines, at S802, a count H k t of the cumulative number of events that have been detected in the portion B k t before the iteration t.
  • the computer device receives event data indicative of dimensional co-ordinates of detected events.
  • the computer device stores the event data, and uses the stored event data to determine the count H k t at each iteration t > 1.
  • the computer system determines, at S804, a count N k>t of the number of iterations for which a sensor device has been allocated to the portion B k t before iteration t.
  • the computer system determines, at S806, a probability distribution for the normalised rate ip k t of events being detected in the portion B k t , using the count H k t and the count N k t .
  • the prior parameters are chosen in dependence on a prior belief about the number of events that will be detected in each region. Provided the prior parameters a, b are not chosen to be too large, the mean of the probability distribution of Equation (5) will tend to H k t /N k t , which is the empirical mean rate of events being detected in the portion B k t . It will be appreciated that other forms of probability distribution could be used instead of the Gamma distribution shown in Equation (5), for example a normal distribution with mean and variance that depend on the counts N k t and H k t .
  • the probability distribution is a truncated gamma distribution, which has a density proportional to the gamma distribution of Equation (5), but with a truncated support [0, 2 max ], where A max is an additional prior parameter representing an upper bound on the rate function. It is recommended that A max is chosen conservatively (i.e. chosen to be significantly larger than the actual highest expected rate), in which case the performance of the method is equivalent to that resulting from the standard gamma function.
  • the computer system samples, at S808, a normalised rate ip k t in accordance with the probability distribution determined at S806.
  • the estimated normalised rate is then given by the sampled normalised rate.
  • the estimated normalised rate is given by a random sample drawn from the probability distribution determined at S806.
  • Figure 9 shows a second example of a method performed by a computer system for estimating a normalised rate of events being detected in a portion B k t of a domain D.
  • the computer system initialises, at S902, a prior Gaussian process for a latent function /(x) defined over the entire domain D, such that /(x) ⁇ GP(0, k(x, x')) for a predetermined kernel k(x, x').
  • the unknown rate function l(c) is related to the latent function /(x ) in accordance with a predetermined functional relationship.
  • the kernel k(x, x') may be, for example, a squared exponential kernel, a Matem kernel, a periodic kernel, or any other suitable form of kernel.
  • the kernel is a Matem kernel of half-integer order, which leads to attractive implementation properties, as will be explained in more detail hereafter.
  • the prior Gaussian process may depend on hyperparameters of the kernel k(x, x'), in which case initialising the prior Gaussian process includes initialising the hyperparameters of the kernel k(x, x').
  • the computer system conditions, at S904, the prior Gaussian process for the latent function /(x) on event data indicative of locations of events detected by the one or more sensor devices, to determine a posterior Gaussian process.
  • Conditioning the prior Gaussian process on the event data results in a posterior Gaussian process for the latent function / (x) such that / (x) ⁇ X ⁇
  • • p ( I A (x) ) is a probability distribution of the data X conditioned on the function A (x) , referred to as the likelihood;
  • Equation (7) the likelihood is given by Equation (7):
  • conditioning the prior Gaussian process on the event data involves substituting l(c) for /(x) in Equation (6) using the predetermined functional relationship between l(c) and /(x), resulting in a posterior distribution p (/ (x)
  • the integral in the denominator of Equation (6) is intractable, so an alternative method must be used to condition the prior Gaussian process on the event data.
  • the inducing variables correspond to outputs of the latent function /(x), and correspond to a set of M inducing inputs.
  • the inducing inputs are given by components 0 m (x) of a truncated Fourier basis spanning the domain D, and the inducing variables are given by the Reproducing Kernel Hilbert Space (RKHS) inner product of the latent function / (x) with the components ⁇ p m (x) of the truncated Fourier basis, i.e. u m o ( ⁇ Pm > f ( x )) H
  • the inducing variables U are distributed according to a variational distribution q(U).
  • Conditioning the prior Gaussian process on the event data finally involves optimising the parameters of the variational Gaussian process, including the variational parameters (m, ⁇ ) and the hyperparameters of the kernel k, such that the variational Gaussian process for the latent function / (x) fits the event data as closely as possible.
  • the parameter d may also be optimised.
  • the posterior Gaussian process p(f(x) ⁇ X) is determined as the optimised variational Gaussian process.
  • the parameters of the variational Gaussian process are optimised using a gradient- based optimisation method such that the Kuller-Leibler (KL) divergence between the Gaussian process q(/(x)) and the exact posterior p(f(x) ⁇ X) is minimised, or equivalently such that a variational lower bound on the marginal likelihood p(X) is maximised.
  • KL Kuller-Leibler
  • the variational lower bound is tractable using standard results.
  • alternative methods may be used for optimising the parameters of the variational Gaussian process, for example expectation propagation, Laplace-based methods, or Renyi divergence minimisation
  • the computer system evaluates, at S906, the posterior Gaussian process p(f(x) ⁇ X) within each of the determined portions B k t , to determine a respective posterior distribution for the latent function /(x) evaluated within each of the determined portions.
  • the computer system evaluates the posterior Gaussian process at the midpoint x k t of each of the determined portions B k t to determine a posterior distribution p(/(x fe t )
  • the computer may evaluate the latent function at alternative locations within the determined portions.
  • the computer system determines, at S908, respective posterior probability distributions p f° r the normalised rate of events being detected in each of the determined portions B k t .
  • the respective posterior distribution p is determined from the posterior distribution for the latent function f(x) evaluated within each of the determined portions using the predetermined functional relationship between the rate function A(x) and the latent function f(x).
  • the computer system samples, at S910, normalised rates ip k t in accordance with the posterior probability distributions determined at S908.
  • the estimated normalised rate is then given by the sampled normalised rate.
  • the estimated normalised rate is given by a random sample drawn from the probability distribution determined at S908.
  • the method of Figure 9 differs from the method of Figure 8 in that the normalised rates of events being detected in the individual portions are correlated due to the rate function l(c) being treated as continuous and smooth within the domain D.
  • the normalised rates are treated as being mutually independent. Treating the rate function l(c) as continuous and smooth may be appropriate for certain applications, and inappropriate for other applications. Accordingly, the methods of Figures 8 and 9 may each be more effective for certain applications.
  • the method of Figure 9 is typically more computationally-expensive than the method of Figure 8. In particular, the step of conditioning the prior Gaussian process in Figure 9 requires significant computational resources.
  • the method of Figure 8 may therefore be more appropriate when computational resources are scarce, for example in cases where the method is performed by a portable computer system such as a mobile phone or a laptop computer.
  • the methods of Figures 8 and 9 are both based on sampling approaches, where each estimated normalised rate of events being detected in a portion is given by a sample from a determined probability distribution.
  • the estimated rate may be determined on the basis of an upper confidence bound on the rate of events being detected. It is noted that a greedy approach, in which the estimated normalised rate is always given by the mean value H k t /N k>t , always favours exploitation over exploration, and accordingly does not lead to good performance of the method. By contrast, the sampling approaches of Figures 8 and 9 balance exploration against exploitation, resulting in improved performance of the method, as measured by the Bayesian regret.
  • the integer program implementation described above for selecting the union A t of subdomains, given the estimated normalised rates il> >t is guaranteed to return an optimal solution to the optimisation problem posed in bullet points.
  • the computational complexity of the integer program scales exponentially with the number K t of portions determined at time step t.
  • the integer program approach may therefore become prohibitively expensive in terms of time and/or computational resources (for example, memory or processing power) in cases where a large number of portions is determined, which is typically the case when the method of Figure 4 is performed over a large number of time steps.
  • alternative methods may be implemented for selecting the union A t at each time step.
  • the optimisation problem described above may be solved using a novel iterative merging method, as described hereafter.
  • the weight w(I u ) of an interval I u is defined by Equation (5): where y(c) is a piecewise constant function given by for x E B k t .
  • Equation (6) A solution to the optimisation problem is given by a union of intervals for which the sum of weights is maximised, as shown by Equation (6):
  • the iterative merging method proceeds as shown in Figure 10.
  • each interval I n is a union of one or more adjacent portions B k t) and
  • the portions B k _ l t and B k t belong to the same interval I n if and only if w(B k-l t ) and w(B k t ) have the same sign.
  • the number N of intervals in the candidate set 3 is not predetermined, and depends on the number of sign changes in weights w(B k t ) between neighbouring portions B k t .
  • Figure 11a shows an example of a one-dimensional domain D in which events occur randomly according to a rate function l (x) .
  • the curve 1100 represents the quantity l(c)— C within the domain D.
  • the dashed bars represent normalised rates ip k t estimated in accordance with the present invention for a set of portions B k t spanning the domain D.
  • N 5 intervals I n are determined in accordance with the changes of signs between neighbouring portions B k t .
  • the solid bars represent the weights w(/ n ) for these intervals.
  • the computer system determines, at SI 004, the number N + of intervals in the candidate set 3 that have positive weights, i.e. for which w(/ n ) > 0. If the determined number N + is equal to or less than the number U of sensors, the computer system selects, at S1010, the N + intervals with positive weights as the union A t of subdomains to which sensors are to be allocated.
  • the computer system determines, at SI 006, a set M of candidate intervals for merging.
  • the set M includes each interval I n in 3 which is adjacent on both sides to intervals whose weights have higher absolute magnitudes than that of I n .
  • the set M is given by the set of intervals I n for which
  • this set excludes intervals at the ends of the domain D .
  • the computer system selects, at S1010, the U intervals with the largest positive weights as the union A t of subdomains to which sensors are to be allocated.
  • the set M of candidate intervals for merging includes only the interval / 3 , as the adjacent intervals / 2 and / 4 both have weights with higher absolute magnitudes (as shown by the solid bars).
  • the computer system Having merged the intervals as described above, the computer system returns to SI 002, and determines an updated candidate set ⁇ ' of intervals in which the union of the intervals merged at S 1008 is treated as a single candidate interval.
  • Figure 1 lb shows an updated set ⁇ ' of candidate intervals in which the intervals / 2 , / 3 , and / 4 of Figure 11a have been merged to form a new interval I 2 .
  • the method of Figure 10 is guaranteed to reach an optimal solution of the optimisation problem posed at each time step. Furthermore, the computational complexity of the method of Figure 10 scales approximately linearly with the number K t of portions determined at time step t. More precisely, the computational cost scales asymptotically as O (K t log K t ) as K t ® oo. Accordingly, the method of Figure 10 remains practicable, even when modest computing resources are available, in cases where a large number of portions have been determined, and where the integer program approach has become prohibitively computationally expensive.
  • the method of Figure 10 efficiently determines an optimal selection of subdomains at a given time step for one-dimensional domains.
  • the integer program approach remains applicable, but can result in high computational cost.
  • An alternative method that is applicable for domains with more than one dimension is based on a sequential greedy method as described hereafter.
  • a computer system selects a union A t of subdomains according to a sequential greedy method as shown in Figure 12.
  • the computer system determines, at S1202, a subdomain to which a single sensor is to be allocated, on the basis that the determined subdomain has the highest estimated expected reward, based on the sampled normalised rates x k,t - Having determined the subdomain estimated to have the highest expected reward, the computer system allocates, at SI 204, a sensor to the determined subdomain.
  • the computer system then zeros, at SI 206, the normalised rates within the determined subdomain, reflecting the fact that there is no additional benefit in having a further sensor assigned to the same subdomain.
  • the computer system returns to the SI 202 and repeats the process until U subdomains have been selected.
  • the sequential greedy method of Figure 12 does not necessarily lead to an optimal union A t of subdomains, but the expected reward at each time step is guaranteed to be no less than 1— 1/e times the optimal expected reward at that time step.
  • the method of Figure 12 is applicable to domains with more than one dimension.
  • a brute force approach to determining the subdomain at SI 202 is computationally expensive and may rapidly become impracticable when a domain has been divided into a large number of portions.
  • the computer system initialises, at SI 302, a subdomain comprised of portions of the domain to which a sensor has not already been allocated.
  • the subdomain must be permitted by the physical constraints of a single sensor device, and may be initialised, for example, by randomly selecting a subdomain from the permitted subdomains to which a sensor has not already been allocated.
  • a subset of the portions contained within the subdomain are boundary portions that lie along the boundaries of the subdomain.
  • a domain 1400 is divided into a grid of square portions, and an initial subdomain 1402 is a square with comers at co-ordinates ⁇ c i > 7i), CU- Ti)’ ( x i > y 2 ), ( x 2 > ⁇ z) within the domain.
  • Boundary portions lie along each of the four sides of the subdomain 1402.
  • the computer system estimates, at SI 304, the gradient of the expected reward with respect to the position of each boundary of the subdomain, where the position of each boundary is measured with respect to the outward normal at that boundary.
  • a component of the estimated gradient with respect to the position of a given boundary is given by a sum of sampled normalised rates for boundary portions lying along that boundary.
  • the expected reward as a function of the positions of the boundaries of the subdomain 1402 is given by Equation (7): )dxdy (?) and the gradient g of the expected reward with respect to the position of each the boundary of the subdomain 1402 is given by Equation (8):
  • the computer system uses the estimated gradient to modify, at S1306, the subdomain using an approximate gradient ascent step.
  • the positions of the boundaries with respect to the respective outward normals are displaced in the direction of the approximate gradient.
  • the positions of the boundaries (with respect to the outward normals) are displaced according to Equation 10:
  • h is a learning parameter that may be chosen according to any method known in the art.
  • the learning parameter h may be a small constant, or may vary according to a predetermined schedule.
  • the modified subdomain is updated to correspond to a set of whole portions (in other words, the displaced positions of the boundaries are projected to a feasible set).
  • a subdomain does not necessarily correspond exactly to a set of whole portions, and the estimated gradient may be computed on the basis of the portions through which the boundary of the subdomains passes.
  • the computer system checks, at SI 308, for convergence of the subdomain. Convergence may be determined, for example, if the magnitude of the approximate gradient is less than a predetermined threshold value, or if the magnitude of each component of the approximate gradient is less than a predetermined threshold value. It will be appreciated that a range of convergence criteria are known in the art, and any suitable convergence criteria may be applied without departing from the scope of the invention.
  • the computer system returns to SI 304 and iteratively performs steps S1304-S1308 until the subdomain is determined to have converged. Once the subdomain is determined to have converged, the computer system returns the converged subdomain as the subdomain with the highest expected reward, based on the sampled normalised rates.
  • step SI 202 of Figure 12 results in a computationally efficient method for determining a union A t of U subdomains to which sensors are to be allocated, and is applicable for domains with any number of dimensions.
  • subdomain 1402 of Figure 14 is shown as a square for simplicity, the same method may be applied to other shapes of subdomain.
  • Figure 15 illustrates the performance of the method of Figure 4 in a simulation.
  • two sensor devices are arranged to detect events generated in accordance with a predetermined bimodal rate function l (x) .
  • Figure 15a corresponds to the sampling approach described above with reference to Figure 8
  • the piecewise concave curve shows the predetermined rate function A(x), and the horizontal dashed line shows the cost C.
  • the regions between the dashed vertical lines in each case corresponds to the subdomains selected using the corresponding method.
  • Figure 15 also shows, for each case, the predicted rate function, which is an expectation value for estimates of ip k t for each portion.
  • Figure 16 shows an example of a computer system 1600 arranged to implement a method in accordance with the present invention.
  • the computer system 1600 includes a power supply 1602 and a system bus 1604.
  • the system bus 1604 is connected to: a CPU 1606; a communication module 1608; and a memory 1610.
  • the memory 1610 holds: program code 1612; model data 1614; and event data 1616.
  • the model data 1614 includes parameters for determining probability distributions for the normalised rates ip k t (for example, prior parameters of the gamma distribution for the method of Figure 8, or hyperparameters of the kernel k for the method of Figure 9).
  • Executing the program code 1612 causes the CPU 1606 to, at each of a sequence of iterations: process the event data 1616 and the model data 1614 in accordance with the method of Figure 4, to determine control signals for one or more sensor devices; and transmit the determined control signals to the one or more sensor devices using the communication module 1608.
  • the computer system 1600 is a single computer device. In other examples, the methods described herein may be performed by a distributed computer system.
  • a computer system arranged to dynamically allocate sensor devices may include processing circuitry of the sensor devices themselves.
  • the computations necessary to dynamically allocate a fleet of UAVs may be performed in a distributed manner by the onboard processing circuitry of the UAVs.
  • a domain may have a spatial dimension and a temporal dimension.
  • the methods described herein provide a means of determining when and where to allocate sensor devices.
  • sensor devices may only be deployed at certain locations within a region, at certain times of night.
  • the rate at which events occur may be expected to change occasionally, in which case one of the methods described herein may be combined with a change-detection mechanism, and the method may reset or otherwise be altered when such a change is detected.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Multimedia (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Remote Sensing (AREA)
  • Strategic Management (AREA)
  • Educational Administration (AREA)
  • Tourism & Hospitality (AREA)
  • Quality & Reliability (AREA)
  • General Business, Economics & Management (AREA)
  • Operations Research (AREA)
  • Marketing (AREA)
  • Game Theory and Decision Science (AREA)
  • Development Economics (AREA)
  • Astronomy & Astrophysics (AREA)
  • Testing Or Calibration Of Command Recording Devices (AREA)

Abstract

A computer-implemented method for arranging sensor devices (202a, 202b) in a domain (204) having one or more dimensions includes iteratively: determining a plurality portions spanning the domain (204); estimating a normalised rate of events in each portion; selecting, in dependence on the estimated normalised rates, one or more of the determined portions on the basis of an expected reward associated with allocating the one or more sensor devices (202a, 202b) to the selected one or more portions; arranging the one or more sensor devices (202a, 202b) in the selected one or more portions; and receiving, from the one or more sensor devices (202a, 202b), event data indicative of dimensional co-ordinates of events detected within the selected one or more portions. The expected reward depends on an expected rate of detected events, penalised by a sensing cost associated with the one or more sensor devices (202a, 202b). The number of determined portions increases with respect to the number of iterations.

Description

METHOD AND SYSTEM FOR ADAPTIVE SENSOR ARRANGEMENT
Technical Field
The present invention relates to a method and system for arranging sensor devices for detecting events within a domain
Background
It has been proposed to use automated sensor devices to gather data that is processed to identify the occurrence of events occurring in a variety of physical systems. For example, in surveillance operations a fleet of unmanned aerial vehicles (UAVs) may be used to deploy cameras to image a border or region to detect intrusions or other prohibited activities. In astronomy, automated telescopes may be used to detect cosmological events. Automated sensor devices may detect events automatically, or alternatively may stream data to a computer system arranged to detect events within the streamed data.
There is generally a cost associated with operating a sensor device. For example, there is a computational cost associated with processing data generated by a digital camera. In examples where a sensor device illuminates a region, for example using an infra-red source, there is an energy cost associated with illuminating the region. The cost of operation may increase with the number of deployed sensor devices. The physical capabilities of a sensor device may constrain the extent and/or shape of regions that the sensor device can be used to detect events in. In many applications, the cost of operating a sensor device depends on an extent of the region and/or the duration of time for which the sensor device is deployed. Accordingly, it may be impractical or impossible to allocate sensor devices to detect events within the entirety of a domain of interest.
For most applications, the rates at which events occur at different co ordinates within a domain of interest is a priori unknown. Therefore, the rates at which events occur at different co-ordinates must be estimated on the basis of events detected by sensor devices. As more events are detected, the estimated rates will be updated, and therefore it will be desirable to allocate the sensor devices dynamically, to take advantage of the progressively improving rate estimates.
Dynamically allocating sensor devices to detect events within a domain leads to an exploration-exploitation dilemma. If the sensor devices are always allocated to subdomains where the most events are expected to occur, the sensor devices will not gather event data for other portions of the domain, and no insight will be gained into the rate of in events occurring in those portions. By contrast, if sensor devices are allocated to excessively large subdomains, or to subdomains that are chosen with too much variance, the cost of operating the sensor devices will be high for the number of events detected.
Summary
According to a first aspect of the present invention, there is provided a computer-implemented method for arranging one or more sensor devices for detecting events within a domain having one or more dimensions. The method includes iteratively: determining a plurality portions spanning the domain; estimating a normalised rate of events being detected in each portion; selecting, in dependence on the estimated normalised rates, one or more of the determined portions on the basis of an expected reward associated with allocating the one or more sensor devices to the selected one or more portions; arranging the one or more sensor devices to detect events in the selected one or more portions; and receiving event data from the one or more sensor devices, the event data being indicative of dimensional co-ordinates of events detected by the one or more sensor devices within the selected one or more portions. The expected reward depends on an expected rate of events being detected by the one or more sensor devices, penalised by a sensing cost associated with the one or more sensor devices. The number of determined portions increases with respect to the number of iterations in accordance with a predetermined relationship.
By increasing the number of determines portions in accordance with a predetermined relationship, the provided method automatically provides a solution to the exploration-exploitation dilemma inherent to the problem of arranging sensor devices. Further features and advantages of the invention will become apparent from the following description of preferred embodiments of the invention, given by way of example only, which is made with reference to the accompanying drawings.
Brief Description of the Drawings
Figure 1 shows an example of two UAVs being arranged to detect events in a one-dimensional spatial domain.
Figure 2 shows an example of two UAVs being arranged to detect events in a two-dimensional spatial domain.
Figure 3 shows an example of a sensor device being arranged to detect events in a temporal domain.
Figure 4 is a flow diagram representing an example of a method of arranging sensor devices for detecting events in a domain.
Figure 5 shows an example of portions spanning a one-dimensional spatial domain.
Figure 6 shows plots of Bayesian regret against number of iterations for two examples of the present invention.
Figure 7 shows results of allocating sensor devices in accordance with two examples of the present invention.
Figure 8 is a flow diagram representing an example of a method for estimating a normalised rate of events being detected within a portion of a domain.
Figure 9 is a flow diagram representing a further example of a method for estimating a normalised rate of events being detected within a portion of a domain.
Figure 10 is a flow diagram representing an example of a method for determining a union of subdomains to which sensors are to be allocated.
Figure 11 shows an example of a union of subdomains being selected from a one-dimensional domain in accordance with the method of Figure 10.
Figure 12 is a flow diagram representing an example of a method for determining a union of subdomains to which sensors are to be allocated. Figure 13 is a flow diagram representing an example of a method for determining a subdomain on the basis of a set of sampled normalised rates.
Figure 14 shows an example of a subdomain being selected from a two- dimensional domain in accordance with the method of Figure 13.
Figure 15 shows results of allocating sensor devices in accordance with two further examples of the present invention.
Figure 16 shows a computer system arranged to perform a method in accordance with the present invention.
Detailed Description
Figure 1 shows an example in which a computer system 100 is communicatively coupled to two UAVs 102a and 102b, referred to collectively as UAVs 102. In this example, the UAVs 102 communicate with the computer system 100 over a wireless network, for example a Long Term Evolution (LTE) wireless network. In other examples, a UAV may communicate with a computer system using alternative means, for example over a Wi-Fi network or using Bluetooth or other radio signals. The UAVs 102 are examples of sensor devices, and in this example are arranged to detect events within a domain 104 having a single spatial dimension. The extent of the domain 104 is given by the width W. The UAVs 102 are equipped with global positioning system (GPS), and accordingly are able to associate dimensional co-ordinates with the detected events. Each of the UAVs 102 includes an image sensor device and is arranged to detect events within a continuous subdomain of the domain 104 by processing image data captured by the image sensor device. According to the present invention, the computer device 100 dynamically allocates the UAVs 102 in dependence on event data corresponding to events that have been detected within the domain 104. There is a sensing cost associated with operating the UAVs 102, which in the present example is proportional to the width or extent of the subdomains to which the UAVs 102 are allocated. The extent of the subdomains may be altered during the dynamic allocation of the UAVs 102. In this present example, the domain 104 is a border of a security-controlled facility, and the UAVs 102 are deployed at night to automatically detect intrusion events along the border, in which an unauthorised person attempts to enter the security-controlled facility. In the present example, the allocated subdomains are updated one or more times each night in accordance with the methods described hereafter.
Figure 2 shows an example in which a computer system 200 is communicatively coupled to two UAVs 202a and 202b, referred to collectively as UAVs 202. In this example, the UAVs 202 are arranged to detect events in a domain 204 having two spatial dimensions. The extent of the domain 204 is given by the area H x W of the domain. Each of the UAVs 202 is arranged to detect events within a square subdomain of the domain 204. The computer device 200 dynamically allocates the UAVs 202 in dependence on event data corresponding to events that have been detected within the domain 204. There is a sensing cost associated with operating the UAVs 202, which in the present example is proportional to the area or extent of the subdomains to which the UAVs 202 are allocated. The extent of the subdomains may be altered during the dynamic allocation of the UAVs 202. In this present example, the domain 204 is a region of a nature reserve, and the UAVs 202 are deployed at night to detect poaching events within the region. In the present example, the allocated subdomains are updated one or more times each night in accordance with the methods described hereafter.
Figure 3 shows an example in which a computer system 300 is communicatively coupled to a sensor device 302 which is used to detect events occurring within a domain 304 having a single periodic temporal dimension. A single period of the domain 304 in this example corresponds to a single day, and the rate at which events are expected to occur depends on the time of day. In other examples, a single period of a periodic temporal domain may correspond to a year, and a rate at which events are expected to occur may depend on a time of year. In the present example the sensor device 302 is used to detect events occurring at a single location, but only at certain times of day.
The computer device 300 dynamically allocates the sensor device 302 to subdomains of the temporal domain 304 in dependence on event data corresponding to events that have been detected within previous periods of the domain 304. There is a sensing cost associated with operating the sensor device 302, which in the present example is proportional to the duration or extent of the subdomains to which the sensor device 302 is allocated. The extent of the subdomains may be altered during the dynamic allocation of the sensor device 302.
The present invention provides a computer-implemented method of arranging one or more sensor devices for detecting events within a domain. Within the meaning of the present disclosure, a sensor device is an automated agent that is capable of observing discrete events. Sensor devices may include one or more sensors, for example image sensing devices such as cameras, audio sensing devices such as microphones, and/or devices for detecting faults or other events within a communications network or within electrical circuitry. A sensing cost is associated with deploying and operating the sensor devices, resulting in a need to balance the desire to detect as many events as possible with the desire to minimise the sensing cost associated with operating the sensor devices. More precisely, a computer system is set the task of maximising a cumulative expected reward, where the reward is given by the rate at which events are detected within the domain D, penalised by the sensing cost. The method proceeds under the assumption that the events are distributed according to a non-homogeneous Poisson process with a rate function l: D ® M+ that varies within the domain D . According to the present method, at each of a sequence of iterations t = 1, 2, ..., the computer system sends a control signal to each of the one or more sensor devices, causing the one or more sensor devices to be arranged to detect events in a union At of continuous subdomains of the domain D . Each iteration is associated with an interval of fixed duration, such that the devices are arranged to detect events in each union At for an equal duration.
In some examples (such as the examples of Figures 1 and 2), each sensor device is capable of detecting events in a single continuous subdomain. In other examples (such as the example of Figure 3), each sensor device is capable of detecting events in more than one continuous subdomains. In any case, the method proceeds on the basis that the union At contains at most U continuous subdomains, where U is a predetermined integer. In the examples of Figures 1 and 2, U corresponds to the number of sensor devices. It is assumed that the sensor devices will detect any event that occurs in the union At. The expected rate at which events will be detected by the sensor devices between iterations t and t + 1 is given by Equation (1):
E (rate of detection)
The expected reward received in the interval associated with iteration t. is given by the expected rate of events being detected, penalised by the sensing cost. In an example, the sensing cost depends on the extent of the union At of subdomains. In a specific example, the sensing cost is proportional to extent of the union At, and the expected reward is given by Equation (2):
r(At) = E (rate of detection)
where C is the sensing cost per unit extent of the union At. In other examples, the sensing cost may depend on the extent of the union At according to an alternative predetermined relationship, for example an exponential relationship.
The rate function l(c) is unknown, and in the present method Bayesian inference is used to estimate l(c) at each iteration. The efficacy of the method may be characterised by the Bayesian regret, which is a measurement of how much the cumulative expected reward differs from the optimal cumulative expected reward. The Bayesian regret for the first T iterations is given by Equation (3):
T
BReg(T) = > E(r(A*)— r(At))
(3) where A* is the union of subdomains that maximises the expected reward of Equation (2), and where the expectation in Equation (3) is taken with respect to a prior probability distribution over the rate function l (x) , as will be described in more detail hereafter. The objective of the present method is to minimise the Bayesian regret of Equation (3).
The task described above leads to an exploration-exploitation dilemma, in which the need to explore the domain D in order to discover subdomains with high rates of events occurring must be balanced against the need to deploy sensors to detect events in subdomains that are already believed to have high rates of events occurring.
Figure 4 shows a method implemented by a computer system to arrange one or more sensor devices for detecting events in a domain in accordance with the present invention. At each iteration t, the computer device determines, at S402, one or more portions of the domain D . The portions are non-overlapping and span the entire domain D . In some examples, the determined portions have equal extents. For example, in a domain having one spatial dimension, the portions may be spatial intervals of equal length. In a domain having two spatial dimensions, the portions may be squares of rectangles of equal extent and shape. In a domain having a temporal dimension, the portions may be temporal intervals of equal duration. In other examples, the portions determined at a given iteration may have differing extents. As will be explained in more detail hereafter, the number of portions determined by the computer system will be increase as the number of iterations increases. At iteration t, the number of portions determined by the computer system is given by Kt, and the portions are labelled Bk t for k = 1, ... , Kt. As will be explained in more detail hereafter, the determined portions are used for binning of event data, such that events detected within each portion are effectively replaced by values representative of the portion as a whole.
The computer device estimates, at S404, a normalised rate ipk t of events of being detected in each portion Bk t. The normalised rate is defined by Equation (4): where \Bk t \ denotes the extent of the portion Bk t. In other words, the normalised rate is given by the integral of the rate function over the portion, divided by the extent of the portion. The normalised rate is therefore equivalent to a mean value of the rate function within the portion.
Estimating the normalised rate ipk t involves processing event data corresponding to events previously detected by the sensor devices. As will be explained in more detail hereafter, for each interval associated with an iteration, the sensor devices transmits event data to the computer device, indicative of events detected by the sensor devices, including the dimensional co-ordinates of the detected events. The computer device stores the event data cumulatively, and at each iteration uses the stored event data to estimate ipk t· Examples of methods for estimating the normalised rate ipk t are described in more detail below, with reference to Figures 8 and 9.
The computer system selects, at S406, in dependence on the estimated normalised rates il>k t, a union At of continuous subdomains consisting of a subset of the portions Bk t. The subset of portions is selected from all possible subsets of portions (given the constraint that the union At must contain at most U continuous subdomains, and that the continuous subdomains are permitted by any physical constraints imposed by the sensor devices) on the basis of the expected reward r(At ) associated with allocating the one or more sensor to the union At. More precisely, the computer system selects the union At as a solution to the following optimisation problem:
• maximise the estimated reward associated with allocating the sensor devices to U continuous subdomains of the domain D, such that
• each of the continuous subdomains consists of a subset of the determined portions Bk t, and is permitted by the physical constraints imposed by the sensor device, and • at most one sensor device is allocated to each of the determined portions Bk,t , where
• the estimated reward is determined by assuming that the normalised rate within each portion Bk t is given by the corresponding normalised rate estimated at S404.
In one implementation, the computer system precomputes, for each permitted continuous subdomain, an estimated reward associated with allocating a single sensor device to the subdomain, which converts the problem outlined above to an integer program that can be solved using a standard linear program solver.
It will be appreciated that other methods may be used to select the union At of subdomains (for example, by solving the optimisation problem above) without departing from the scope of the invention. Alternative methods are described hereinafter with reference to Figures 10-14.
The computer system arranges, at S408, the one or more sensor devices to detect events in the selected union At of subdomains. Arranging the one or more sensor devices generally involves sending control signals to the sensor devices. In the case of a domain having one or more spatial dimensions, the control signals may cause the sensor devices to move to appropriate locations within the domain, or otherwise to configure one or more associated sensors to detect events within the selected union At. In the case of a temporal domain, the control signals may cause a sensor device to activate one or more sensors for selected timeframes.
Having been arranged as described above, the one or more sensor devices generate event data indicative of events detected within the union At. The event data includes dimensional co-ordinates of the detected events in the domain D. In the case of a spatial dimension, a dimensional co-ordinate corresponds to a location. In the case of a temporal domain, a temporal co ordinate corresponds to a time. The computer device receives, at S410, the event data from the one or more sensor devices. At the following iteration, the received event data will be taken into account when estimating the normalised rates at S404.
In the present method, the number of portions determined at S402 gradually increases with respect to the number of iterations in accordance with a predetermined relation. In other words, the domain D is discretised progressively more finely as the computer device receives progressively more event data. Increasing the number of portions may involve, at certain iterations, dividing previously-determined portions into a predetermined number of sub portions. By gradually increasing the number of portions, the method automatically provides a solution to the exploration-exploitation dilemma discussed above. Initially, when the computer system has received only a small amount of event data, the method favours exploration as the sensor devices are allocated to large subdomains. As progressively more event data is received, the determined portions become smaller, resulting in progressively more intricate selection of subdomains and a progressive shift towards exploitation. Using the present method, there is an inevitable contribution to the Bayesian regret due to the fact that the domain is discretised into portions at each iteration, because the optimal union A* of subdomains is not likely to correspond exactly to a subset of the selected portions. By discretising the domain progressively more finely, the inevitable contribution due to discretisation eventually becomes insignificant. Furthermore, the estimated normalised rate of events being detected in each portion is expected to eventually converge to the true rate function A (x) evaluated within the portion. In some examples, the method includes determining, using predetermined convergence criteria, that the estimated normalised rate of events being detected in each portion has converged, in which case no further re-arranging of the sensing devices is performed.
Figure 5 shows an example a domain D having a single spatial dimension and an extent of W . In this example, at the initial iteration t = 1, a single portion of the domain D is determined, spanning the entire extent W of the domain. In other examples, more than one portion may be determined at the initial iteration. At later iterations U, t2, t3, ..., the domain is divided into progressively more portions of equal extent. In the present example, the number of portions is doubled at each of the iterations iq, t2, t , .... In some examples, the rate at which the number of determined portions increases is constant, or in other words the determined number of portions increases in proportion to the number of iterations, such that Kt oc t. In the example of Figure 5, this is achieved if the iterations satisfy the iterative relationship ti+1 = 2t for i = 1, 2, 3, ... In other examples, the rate at which the determined number of portions increases may not be constant, and the determined number of portions may instead increase with the respect to the number of iterations in accordance with a nonlinear relationship. For example, the rate at which the determined number of portions increases may decrease with time, resulting in a sub linear relationship. An example of a sub linear relation is one in which the number of determined portions increases in proportion to a predetermined power of the number of iterations, the predetermined power being greater than zero and less than one, such that Kt oc tY, where 0 < g < 1. In the example of Figure 5, this is achieved if the iterations satisfy the iterative relationship t +1 = 2 t for i = 1, 2, 3, ...
Increasing the determined number of portions in accordance a sublinear relationship is observed to result in improved performance of the method in comparison with increasing the determined number of portions in proportion to the number of iterations. The reason for this is that when the determined number of portions is increased in proportion to the number of iterations, after a few re-discretisations of the domain, most of the determined portions are associated with very little event data, and therefore the estimate of the normalised rate depends strongly on prior assumptions. Improved performance is observed when Kt oc tY, where 0 < g < 1, for example 0.2 < g < 0.5, 0.3 < g < 0.4, or g « 1/3. It can be shown that for a specific method of estimating the normalised rates being detected, described hereafter with reference to Figure 8, the choice of g = 1/3 results in a Bayesian regret that is asymptotically bounded at 0(T2^3 log1/2 T) as T ® oo.
Figure 6 demonstrates the effect of the rate of re-discretisation of the domain D in a simulation corresponding to the example of Figure 5. For the simulation, events are generated according to a non-homogeneous Poisson process with a predetermined rate function A(x), and a single sensor device is arranged to detect the events, using the method described above. The domain is re-discretised according to the relationship Kt <x tY, where y = 1 for the dashed curve 602 and y = 1/3 for the solid curve 604. The solid vertical lines correspond to iterations at which the domain is re-discretised for both the y = 1 case and the y = 1/3 case, and the dashed vertical lines correspond to iterations at which the domain is re-discretised only for the y = 1 case. For the y = 1 case, the domain is discretised at t = 1, 2, 4, 8, ..., and the corresponding numbers of portions are given by Kt = 2, ,8, 16, .... For the y = 1/3 case, the domain is discretised at t = 1, 8, 64, 512, ..., and the corresponding numbers of portions are given by Kt = 4, 8, 16, 32, .... It is observed that the Bayesian regret is consistently lower for the sub linear y = 1/3 case than for the linear g = 1 case.
Figure 7 shows the state of the simulation described above with reference to Figure 6 at iteration t = 1024. Figure 7a corresponds to the linear case withy = 1, and Figure 7b corresponds to the sub linear case with y = 1/3. In each case, the smooth concave curve shows the predetermined rate function A(x), and the horizontal dashed line shows the cost C. The maximum reward r(At) is achieved by arranging the sensor device to detect events in the subdomain for which l(c) > C, which in this case corresponds to the subdomain A* = [3,7] The region between the dashed vertical lines in each case corresponds to the subdomain At selected according to the method described above. Figure 7 also shows, for each case, the predicted rate function, which is an expectation value for estimations of ipk t in each portion. It is observed that the predicted rate function in Figure 7b, corresponding to the sub linear case, closely approximates the actual rate function A(x) in each portion, whereas the predicted rate function in Figure 7a, corresponding to the linear case, differs significantly from the actual rate function l(c) . As a result, the subdomain selected in Figure 7b is closer than the subdomain selected in Figure 7a to the optimal subdomain A*. Accordingly, the Bayesian regret is lower for the sublinear case, even though the discretisation of the domain is considerable coarser at the iteration shown.
Figure 8 shows an example of a method performed by a computer system for estimating a normalised rate of events being detected in a portion Bk t of a domain D. In accordance with the method of Figure 4, the method of Figure 8 is performed at S404 for each iteration t. For each iteration t > 1, the method takes account of event data received before that iteration.
The computer system determines, at S802, a count Hk t of the cumulative number of events that have been detected in the portion Bk t before the iteration t. The count Hk t at iteration t = 1 may be zero for k = 1, ... , K1 because the computer device has not yet received any event data. As mentioned above, for each interval between iterations, the computer device receives event data indicative of dimensional co-ordinates of detected events. The computer device stores the event data, and uses the stored event data to determine the count Hk t at each iteration t > 1.
The computer system determines, at S804, a count Nk>t of the number of iterations for which a sensor device has been allocated to the portion Bk t before iteration t. The count Nk t at iteration t = 1 may be zero for k = 1 , ... , Kt because the sensor devices have not been allocated to any portions before the iteration t = 1.
The computer system determines, at S806, a probability distribution for the normalised rate ipk t of events being detected in the portion Bk t, using the count Hk t and the count Nk t . In a specific example, the probability distribution is a gamma distribution, as shown in Equation (5): where a, b are prior parameters of the Gamma distribution, and \Bk t \ is the extent of the portion Bk t (for example, in the case of a one-dimensional domain divided into Kt equal portions, the extent of a portion is given by \Bk t \ = 1 /Kt). The prior parameters are chosen in dependence on a prior belief about the number of events that will be detected in each region. Provided the prior parameters a, b are not chosen to be too large, the mean of the probability distribution of Equation (5) will tend to Hk t/Nk t, which is the empirical mean rate of events being detected in the portion Bk t. It will be appreciated that other forms of probability distribution could be used instead of the Gamma distribution shown in Equation (5), for example a normal distribution with mean and variance that depend on the counts Nk t and Hk t . In another example, the probability distribution is a truncated gamma distribution, which has a density proportional to the gamma distribution of Equation (5), but with a truncated support [0, 2max], where Amax is an additional prior parameter representing an upper bound on the rate function. It is recommended that Amax is chosen conservatively (i.e. chosen to be significantly larger than the actual highest expected rate), in which case the performance of the method is equivalent to that resulting from the standard gamma function.
The computer system samples, at S808, a normalised rate ipk t in accordance with the probability distribution determined at S806. The estimated normalised rate is then given by the sampled normalised rate. In other words, the estimated normalised rate is given by a random sample drawn from the probability distribution determined at S806.
Figure 9 shows a second example of a method performed by a computer system for estimating a normalised rate of events being detected in a portion Bk t of a domain D. The computer system initialises, at S902, a prior Gaussian process for a latent function /(x) defined over the entire domain D, such that /(x) ~ GP(0, k(x, x')) for a predetermined kernel k(x, x'). The unknown rate function l(c) is related to the latent function /(x ) in accordance with a predetermined functional relationship. In one example, the rate function is given by the natural exponent of the latent function, such that l(c) = exp(/(x)). In another example, the rate function is given by a quadratic function of the latent function, such that A(x) = (/(x) + 5)2, where 5 is a parameter. The kernel k(x, x') may be, for example, a squared exponential kernel, a Matem kernel, a periodic kernel, or any other suitable form of kernel. In a specific example, the kernel is a Matem kernel of half-integer order, which leads to attractive implementation properties, as will be explained in more detail hereafter. The prior Gaussian process may depend on hyperparameters of the kernel k(x, x'), in which case initialising the prior Gaussian process includes initialising the hyperparameters of the kernel k(x, x').
The computer system conditions, at S904, the prior Gaussian process for the latent function /(x) on event data indicative of locations of events detected by the one or more sensor devices, to determine a posterior Gaussian process. The event data includes a set X = {xn)n=i of N points, each point corresponding to dimensional co-ordinates of an event detected within the domain D . Conditioning the prior Gaussian process on the event data results in a posterior Gaussian process for the latent function / (x) such that / (x) \X ~
GP where mp, kp denote a posterior mean function and a posterior kernel respectively. Conditioning the prior Gaussian process on the event data involves application of Bayes theorem in the form of Equation (6): where:
• p (A (x) | ) is the posterior distribution of the rate function A (x) ;
• p ( I A (x) ) is a probability distribution of the data X conditioned on the function A (x) , referred to as the likelihood;
• p(A(x)) is a prior probability distribution of function A(x); and
• p(X) is the marginal likelihood, which is calculated by marginalising the likelihood over the rate function A (x), such that p(X) =
In the present example, the likelihood is given by Equation (7): In principle, conditioning the prior Gaussian process on the event data involves substituting l(c) for /(x) in Equation (6) using the predetermined functional relationship between l(c) and /(x), resulting in a posterior distribution p (/ (x) | ) for the latent function /(x) . In practice, the integral in the denominator of Equation (6) is intractable, so an alternative method must be used to condition the prior Gaussian process on the event data. In a specific example, conditioning the prior Gaussian process on the event data is achieved by first conditioning the prior Gaussian process on a set U = {um}^l=1 of M inducing variables, where M < N. The inducing variables correspond to outputs of the latent function /(x), and correspond to a set of M inducing inputs. In a specific example, the inducing inputs are given by components 0m(x) of a truncated Fourier basis spanning the domain D, and the inducing variables are given by the Reproducing Kernel Hilbert Space (RKHS) inner product of the latent function / (x) with the components <pm (x) of the truncated Fourier basis, i.e. um º (<Pm> f (x)) H The inducing variables U are distributed according to a variational distribution q(U). In an example, the variational distribution is a multivariate normal distribution such that q(U) = N(U\m, å), where the mean m and the variance å of the multivariate normal distribution are treated as variational parameters. Conditioning the prior Gaussian process on the inducing variables results in an intermediate Gaussian process given by Equation (8): where the vector function ku (x) has components given by the covariance of the inducing variables um with latent function evaluations /(x) under the kernel k, such that ku (x) [m] = cov(um,/(x)). The matrix Kuu is defined as the covariance between the inducing variables under the kernel k, such that ^[m, m'] = cov(um, um' ). Marginalising the intermediate distribution of Equation (8) over the variational distribution q(U) results in a variational Gaussian process q(/(x)) for the latent function / (x) given by Equation (9):
Conditioning the prior Gaussian process on the event data finally involves optimising the parameters of the variational Gaussian process, including the variational parameters (m, å) and the hyperparameters of the kernel k, such that the variational Gaussian process for the latent function / (x) fits the event data as closely as possible. In the example that the rate function is given by a quadratic function of the latent function, the parameter d may also be optimised. The posterior Gaussian process p(f(x)\X) is determined as the optimised variational Gaussian process.
In a specific implementation, referred to as variational Bayes, the parameters of the variational Gaussian process are optimised using a gradient- based optimisation method such that the Kuller-Leibler (KL) divergence between the Gaussian process q(/(x)) and the exact posterior p(f(x)\X) is minimised, or equivalently such that a variational lower bound on the marginal likelihood p(X) is maximised. In an example where the inducing inputs are given by components of a truncated Fourier basis, and where the kernel k is given by a Matem kernel of half-integer order, the variational lower bound is tractable using standard results. In other examples, alternative methods may be used for optimising the parameters of the variational Gaussian process, for example expectation propagation, Laplace-based methods, or Renyi divergence minimisation
The computer system evaluates, at S906, the posterior Gaussian process p(f(x) \X) within each of the determined portions Bk t, to determine a respective posterior distribution for the latent function /(x) evaluated within each of the determined portions. In one example, the computer system evaluates the posterior Gaussian process at the midpoint xk t of each of the determined portions Bk t to determine a posterior distribution p(/(xfe t) |A) for the latent function evaluated at the midpoints. In other examples, the computer may evaluate the latent function at alternative locations within the determined portions.
The computer system determines, at S908, respective posterior probability distributions p r the normalised rate of events being detected in each of the determined portions Bk t. The respective posterior distribution p is determined from the posterior distribution for the latent function f(x) evaluated within each of the determined portions using the predetermined functional relationship between the rate function A(x) and the latent function f(x).
The computer system samples, at S910, normalised rates ipk t in accordance with the posterior probability distributions determined at S908. The estimated normalised rate is then given by the sampled normalised rate. In other words, the estimated normalised rate is given by a random sample drawn from the probability distribution determined at S908.
The method of Figure 9 differs from the method of Figure 8 in that the normalised rates of events being detected in the individual portions are correlated due to the rate function l(c) being treated as continuous and smooth within the domain D. By contrast, in the method of Figure 8, the normalised rates are treated as being mutually independent. Treating the rate function l(c) as continuous and smooth may be appropriate for certain applications, and inappropriate for other applications. Accordingly, the methods of Figures 8 and 9 may each be more effective for certain applications. The method of Figure 9 is typically more computationally-expensive than the method of Figure 8. In particular, the step of conditioning the prior Gaussian process in Figure 9 requires significant computational resources. The method of Figure 8 may therefore be more appropriate when computational resources are scarce, for example in cases where the method is performed by a portable computer system such as a mobile phone or a laptop computer. The methods of Figures 8 and 9 are both based on sampling approaches, where each estimated normalised rate of events being detected in a portion is given by a sample from a determined probability distribution. In other examples, alternative methods may be used for estimating the normalised rate. For example, in an e-greedy approach, the estimated normalised rate is given by the mean rate Hk t/Nk t with probability p = 1— e, and the estimated normalised rate is sampled from a determined probability distribution with p = e, where e is a predetermined small parameter such that 0 < e « 1. In another example, the estimated rate may be determined on the basis of an upper confidence bound on the rate of events being detected. It is noted that a greedy approach, in which the estimated normalised rate is always given by the mean value Hk t/Nk>t, always favours exploitation over exploration, and accordingly does not lead to good performance of the method. By contrast, the sampling approaches of Figures 8 and 9 balance exploration against exploitation, resulting in improved performance of the method, as measured by the Bayesian regret.
The integer program implementation described above for selecting the union At of subdomains, given the estimated normalised rates il> >t, is guaranteed to return an optimal solution to the optimisation problem posed in bullet points. However, the computational complexity of the integer program scales exponentially with the number Kt of portions determined at time step t. The integer program approach may therefore become prohibitively expensive in terms of time and/or computational resources (for example, memory or processing power) in cases where a large number of portions is determined, which is typically the case when the method of Figure 4 is performed over a large number of time steps. In order for the present invention to be practicable in such cases, alternative methods may be implemented for selecting the union At at each time step. For example, in the case of a one-dimensional domain D, the optimisation problem described above may be solved using a novel iterative merging method, as described hereafter. For a one-dimensional domain, the union At selected at time step t consists of U disjoint intervals denoted Iu for u = 1, ... , U. The weight w(Iu) of an interval Iu is defined by Equation (5): where y(c) is a piecewise constant function given by for x E Bk t. A solution to the optimisation problem is given by a union of intervals for which the sum of weights is maximised, as shown by Equation (6):
At = a
The iterative merging method proceeds as shown in Figure 10. The computer system determines, at SI 002, a candidate set of intervals 3 = {In}n=i , satisfying the following properties:
• each interval In is a union of one or more adjacent portions Bk t) and
• for k = 2, ... Kt, the portions Bk_ l t and Bk t belong to the same interval In if and only if w(Bk-l t ) and w(Bk t ) have the same sign. The number N of intervals in the candidate set 3 is not predetermined, and depends on the number of sign changes in weights w(Bk t ) between neighbouring portions Bk t.
Figure 11a shows an example of a one-dimensional domain D in which events occur randomly according to a rate function l (x) . The curve 1100 represents the quantity l(c)— C within the domain D. The dashed bars represent normalised rates ipk t estimated in accordance with the present invention for a set of portions Bk t spanning the domain D. According to the present implementation, N = 5 intervals In are determined in accordance with the changes of signs between neighbouring portions Bk t. The solid bars represent the weights w(/n) for these intervals.
Returning to Figure 10, the computer system determines, at SI 004, the number N+ of intervals in the candidate set 3 that have positive weights, i.e. for which w(/n) > 0. If the determined number N+ is equal to or less than the number U of sensors, the computer system selects, at S1010, the N+ intervals with positive weights as the union At of subdomains to which sensors are to be allocated. In the example of Figure 11a, the number of intervals with positive weight is given by N+ = 2 (intervals I2 and /4). In the case that two or more sensors are to be allocated to the domain D, then the selected union At of subdomains is given by At = /2 U /4.
If the number N+ of intervals determined at SI 004 is greater that the number U of sensors, it is not possible for sensors to be assigned to all of these intervals. In this case, the computer system determines, at SI 006, a set M of candidate intervals for merging. The set M includes each interval In in 3 which is adjacent on both sides to intervals whose weights have higher absolute magnitudes than that of In. In other words, the set M is given by the set of intervals In for which |w(/n)| < |u/(/n-1| and |w(/n) | < |w(/n+1 |. Clearly, this set excludes intervals at the ends of the domain D .
If no candidate intervals for merging are determined, or in other words if the set M is empty, the computer system selects, at S1010, the U intervals with the largest positive weights as the union At of subdomains to which sensors are to be allocated.
If candidate intervals for merging are determined at SI 006, i.e. the set M is non-empty, the computer system identifies, at SI 008, the interval in the set M that has the lowest absolute weight, and merges the identified interval with the adjacent intervals on either side. In other words, the computer system merges Iv with Iv-1 and Iv+1, where v = argminM |w(/n) | . In the example of Figure 11a, the set M of candidate intervals for merging includes only the interval /3, as the adjacent intervals /2 and /4 both have weights with higher absolute magnitudes (as shown by the solid bars). Having merged the intervals as described above, the computer system returns to SI 002, and determines an updated candidate set ΰ' of intervals in which the union of the intervals merged at S 1008 is treated as a single candidate interval. Figure 1 lb shows an updated set ΰ' of candidate intervals in which the intervals /2, /3, and /4 of Figure 11a have been merged to form a new interval I2.
The routine of Figure 10 continues until S1010 is reached, at which point the union At is selected and the sensors are allocated accordingly. In the example of Figure 11 , in the case that a single sensor is to be assigned to the domain D, then the selected union At of subdomains is given by At = l2.
The method of Figure 10 is guaranteed to reach an optimal solution of the optimisation problem posed at each time step. Furthermore, the computational complexity of the method of Figure 10 scales approximately linearly with the number Kt of portions determined at time step t. More precisely, the computational cost scales asymptotically as O (Kt log Kt) as Kt ® oo. Accordingly, the method of Figure 10 remains practicable, even when modest computing resources are available, in cases where a large number of portions have been determined, and where the integer program approach has become prohibitively computationally expensive.
The method of Figure 10 efficiently determines an optimal selection of subdomains at a given time step for one-dimensional domains. For domains having more than one dimension (for example, more than one spatial dimension, or a combination of spatial and temporal dimensions), the integer program approach remains applicable, but can result in high computational cost. An alternative method that is applicable for domains with more than one dimension is based on a sequential greedy method as described hereafter.
According to an implementation of the present invention, a computer system selects a union At of subdomains according to a sequential greedy method as shown in Figure 12. The computer system determines, at S1202, a subdomain to which a single sensor is to be allocated, on the basis that the determined subdomain has the highest estimated expected reward, based on the sampled normalised rates x k,t- Having determined the subdomain estimated to have the highest expected reward, the computer system allocates, at SI 204, a sensor to the determined subdomain. The computer system then zeros, at SI 206, the normalised rates within the determined subdomain, reflecting the fact that there is no additional benefit in having a further sensor assigned to the same subdomain. The computer system returns to the SI 202 and repeats the process until U subdomains have been selected.
Unlike the integer program approach and the merging approach of Figure 10, the sequential greedy method of Figure 12 does not necessarily lead to an optimal union At of subdomains, but the expected reward at each time step is guaranteed to be no less than 1— 1/e times the optimal expected reward at that time step. The method of Figure 12 is applicable to domains with more than one dimension. However, a brute force approach to determining the subdomain at SI 202 (for example, by employing an exhaustive search) is computationally expensive and may rapidly become impracticable when a domain has been divided into a large number of portions.
An alternative to the brute force approach of determining the subdomain at SI 202 is to use a novel approximate gradient method as shown in Figure 13. According to this method, the computer system initialises, at SI 302, a subdomain comprised of portions of the domain to which a sensor has not already been allocated. The subdomain must be permitted by the physical constraints of a single sensor device, and may be initialised, for example, by randomly selecting a subdomain from the permitted subdomains to which a sensor has not already been allocated. A subset of the portions contained within the subdomain are boundary portions that lie along the boundaries of the subdomain. In Figure 14, a domain 1400 is divided into a grid of square portions, and an initial subdomain 1402 is a square with comers at co-ordinates {ci> 7i), CU- Ti)’ (xi> y2), (x2> ϊz) within the domain. Boundary portions (shown using diagonal lines) lie along each of the four sides of the subdomain 1402.
The computer system estimates, at SI 304, the gradient of the expected reward with respect to the position of each boundary of the subdomain, where the position of each boundary is measured with respect to the outward normal at that boundary. A component of the estimated gradient with respect to the position of a given boundary is given by a sum of sampled normalised rates for boundary portions lying along that boundary. In the example of Figure 14, the expected reward as a function of the positions of the boundaries of the subdomain 1402 is given by Equation (7): )dxdy (?) and the gradient g of the expected reward with respect to the position of each the boundary of the subdomain 1402 is given by Equation (8):
where the minus signs result from the fact that the positions of the boundaries are defined with respect to the outward normals. The estimation g of the gradient g determined at SI 304 is given by Equation (9): where fc£ for i = 1,2, 3, 4 are the respective sets of boundary portions lying along each of the four boundaries of the subdomain.
The computer system uses the estimated gradient to modify, at S1306, the subdomain using an approximate gradient ascent step. The positions of the boundaries with respect to the respective outward normals are displaced in the direction of the approximate gradient. In the example of Figure 14, the positions of the boundaries (with respect to the outward normals) are displaced according to Equation 10:
Where again the minus signs result from the positions of the boundaries being defined with respect to the outward normal. In Equation (10), h is a learning parameter that may be chosen according to any method known in the art. For example, the learning parameter h may be a small constant, or may vary according to a predetermined schedule. In some examples, following SI 306 the modified subdomain is updated to correspond to a set of whole portions (in other words, the displaced positions of the boundaries are projected to a feasible set). In other examples, a subdomain does not necessarily correspond exactly to a set of whole portions, and the estimated gradient may be computed on the basis of the portions through which the boundary of the subdomains passes.
The computer system checks, at SI 308, for convergence of the subdomain. Convergence may be determined, for example, if the magnitude of the approximate gradient is less than a predetermined threshold value, or if the magnitude of each component of the approximate gradient is less than a predetermined threshold value. It will be appreciated that a range of convergence criteria are known in the art, and any suitable convergence criteria may be applied without departing from the scope of the invention.
If the subdomain is determined not to have converged, the computer system returns to SI 304 and iteratively performs steps S1304-S1308 until the subdomain is determined to have converged. Once the subdomain is determined to have converged, the computer system returns the converged subdomain as the subdomain with the highest expected reward, based on the sampled normalised rates.
The application of the method of Figure 13 to perform step SI 202 of Figure 12 results in a computationally efficient method for determining a union At of U subdomains to which sensors are to be allocated, and is applicable for domains with any number of dimensions. Although the subdomain 1402 of Figure 14 is shown as a square for simplicity, the same method may be applied to other shapes of subdomain.
Figure 15 illustrates the performance of the method of Figure 4 in a simulation. In this example, two sensor devices are arranged to detect events generated in accordance with a predetermined bimodal rate function l (x) . Figure 15a corresponds to the sampling approach described above with reference to Figure 8, and Figure 15b corresponds to an e-greedy approach with p = 0.01. The plots of Figure 15 show the state of the simulation at iteration t = 1000. In each case, the piecewise concave curve shows the predetermined rate function A(x), and the horizontal dashed line shows the cost C. The maximum reward r(At) is achieved by arranging the sensor device to detect events in the regions for which l(c) > C, which in this case corresponds to the union of subdomains A* = [[0.13,2.8], [6.75,8.82]] . The regions between the dashed vertical lines in each case corresponds to the subdomains selected using the corresponding method. Figure 15 also shows, for each case, the predicted rate function, which is an expectation value for estimates of ipk t for each portion. Figure 15 further shows the estimates of the rate function xpk t sampled at iteration t = 1000. It is observed that the sampling method of Figure 8 outperforms the e-greedy approach in this example. This is due to the fact that the sampling method automatically provides a solution to the exploration- exploitation dilemma. By contrast, for the e-greedy approach, the balance between exploration and exploitation is dependent on the user-selected parameter e. This makes the sampling method more practical for real-life applications, where selecting the parameter e is not straightforward. Further, even for an empirically-optimal selection of the parameter e, the e-greedy method is outperformed by the sampling method of Figure 8.
Figure 16 shows an example of a computer system 1600 arranged to implement a method in accordance with the present invention. The computer system 1600 includes a power supply 1602 and a system bus 1604. The system bus 1604 is connected to: a CPU 1606; a communication module 1608; and a memory 1610. The memory 1610 holds: program code 1612; model data 1614; and event data 1616. The model data 1614 includes parameters for determining probability distributions for the normalised rates ipk t (for example, prior parameters of the gamma distribution for the method of Figure 8, or hyperparameters of the kernel k for the method of Figure 9). Executing the program code 1612 causes the CPU 1606 to, at each of a sequence of iterations: process the event data 1616 and the model data 1614 in accordance with the method of Figure 4, to determine control signals for one or more sensor devices; and transmit the determined control signals to the one or more sensor devices using the communication module 1608. In the present example, the computer system 1600 is a single computer device. In other examples, the methods described herein may be performed by a distributed computer system.
The above embodiments are to be understood as illustrative examples of the invention. Further embodiments of the invention are envisaged. For example, a computer system arranged to dynamically allocate sensor devices may include processing circuitry of the sensor devices themselves. For example, the computations necessary to dynamically allocate a fleet of UAVs may be performed in a distributed manner by the onboard processing circuitry of the UAVs. In some examples, a domain may have a spatial dimension and a temporal dimension. In this case, the methods described herein provide a means of determining when and where to allocate sensor devices. For example, in surveillance applications, sensor devices may only be deployed at certain locations within a region, at certain times of night. In some examples, the rate at which events occur may be expected to change occasionally, in which case one of the methods described herein may be combined with a change-detection mechanism, and the method may reset or otherwise be altered when such a change is detected.
It is to be understood that any feature described in relation to any one embodiment may be used alone, or in combination with other features described, and may also be used in combination with one or more features of any other of the embodiments, or any combination of any other of the embodiments. Furthermore, equivalents and modifications not described above may also be employed without departing from the scope of the invention, which is defined in the accompanying claims.

Claims

1. A computer-implemented method for arranging one or more sensor devices for detecting events within a domain having one or more dimensions, the method comprising iteratively:
determining a plurality of portions spanning the domain;
estimating a normalised rate of events being detected in each portion;
selecting, in dependence on the estimated normalised rates, one or more of the determined portions on the basis of an expected reward associated with allocating the one or more sensor devices to the selected one or more portions;
arranging the one or more sensor devices to detect events in the selected one or more portions; and
receiving event data from the one or more sensor devices, the event data being indicative of dimensional co-ordinates of events detected by the one or more sensor devices within the selected one or more portions,
wherein the expected reward depends on an expected rate of events being detected by the one or more sensor devices, penalised by a sensing cost associated with the arrangement of the one or more sensor devices, and
wherein the number of determined portions increases with respect to the number of iterations in accordance with a predetermined relationship.
2. The method of claim 1, wherein estimating the normalised rate of events being detected in a portion comprises:
determining a probability distribution for the normalised rate of events being detected in the portion; and
sampling, in accordance with the determined probability distribution, a normalised rate of events being detected in the portion.
3. The method of claim 2, wherein determining the probability distribution for the normalised rate of events being detected in the portion comprises:
determining first data comprising a count of the cumulative number of events detected by the one or more sensor devices within the portion;
determining second data comprising a count of the number of iterations for which one of the one or more sensor devices has been allocated to the portion; and
processing the first data and the second data to determine the probability distribution for the normalised rate of events being detected in the portion.
4. The method of claim 2, wherein the determining the probability distribution comprises determining parameters of a gamma distribution or a truncated gamma distribution.
5. The method of claim 2, wherein determining the probability distribution for the normalised rate of events being detected in the portion comprises:
initialising a prior Gaussian process for a latent function defined over the domain, the latent function being related to a rate of events occurring within the domain in accordance with a predetermined functional relationship;
conditioning the prior Gaussian process on event data indicative of dimensional co-ordinates of events detected by the one or more sensor devices, to determine a posterior Gaussian process;
evaluating the posterior Gaussian process within the portion to determine a respective latent distribution; and
determining, from the respective latent distribution and the predetermined functional relationship, the respective probability distribution for the normalised rate of events being detected in the portion.
6. The method of any preceding claim, wherein the domain has one dimension, and wherein the selecting the one or more portions comprises: determining, for each of the plurality of portions spanning the domain, a weight value on the basis of the estimated normalised rate of events being detected in that portion;
determining a set of candidate intervals bounded by sign changes of the determined weight values, each candidate interval in the set each comprising a respective set of adjacent portions and having a total weight value dependent on a sum of the determined weight values of the portions in the respective set; iteratively merging selected candidate intervals in the set of candidate intervals to determine an updated set of candidate intervals, wherein the selecting is on the basis of the total weight values of the candidate intervals; and when the number of candidate intervals in the updated set of candidate intervals is equal to the number of the sensor devices, selecting the one or more portions in accordance with the updated set of candidate intervals.
7. The method of any of claims 1 to 5, wherein the selecting the one or portions comprises sequentially, for each of the one or more sensor devices: selecting, in dependence on the estimated normalised rates, a subdomain comprising one or more of the plurality of portions on the basis of an expected reward associated with allocating a single sensor device to the selected subdomain; and
zeroing the estimated normalised rates for each portion in the selected subdomain.
8. The method of claim 7, wherein the selecting the subdomain comprises : initialising an intermediate subdomain comprising a plurality of portions, a subset of the plurality of portions being boundary portions associated with one or more boundaries of the intermediate subdomain; and iteratively: estimating a gradient, with respect to positions of the boundaries of the intermediate subdomain, of an expected reward associated with allocating a single sensor device to the intermediate subdomain; and modifying the positions of the boundaries of the intermediate subdomain on the basis of the estimated gradient, to increase the expected reward associated with allocating the single sensor device to the intermediate subdomain,
wherein the gradient at each iteration is estimated on the basis of a sum of the estimated normalised rates of events being detected in the boundary portions of the intermediate subdomain.
9. The method of any preceding claim, wherein the number of determined portions increases with respect to the number of iterations in accordance with a sub linear relationship.
10. The method of any preceding claim, wherein the sensing cost is proportional to a total extent of the selected one or more portions.
11. The method of any preceding claim, wherein each of the one or more sensor devices comprises an image sensing device.
12. The method of any preceding claim, wherein each of the one or more sensor devices is an unmanned aerial vehicle (UAV).
13. A computer system arranged to perform the method of any of claims 1 to 12.
14. A system for detecting events within a domain having one or more dimensions, the system comprising:
one or more sensor devices operable to detect events within the domain; and a computer system communicatively coupled to each of the one or more sensor devices and operable to arrange the one or more sensor devices in accordance with the method of any of claims 1 to 12.
15. A computer program product comprising machine -readable instructions which, when executed by processing circuitry of a computer system, cause the computer system to perform the method of any of claims 1 to 12.
EP19817601.8A 2018-11-30 2019-11-27 Method and system for adaptive sensor arrangement Withdrawn EP3888003A1 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
GR20180100545 2018-11-30
EP19160156.6A EP3660732B1 (en) 2018-11-30 2019-02-28 Method and system for adaptive sensor arrangement
PCT/EP2019/082805 WO2020109423A1 (en) 2018-11-30 2019-11-27 Method and system for adaptive sensor arrangement

Publications (1)

Publication Number Publication Date
EP3888003A1 true EP3888003A1 (en) 2021-10-06

Family

ID=65657299

Family Applications (3)

Application Number Title Priority Date Filing Date
EP19160156.6A Active EP3660732B1 (en) 2018-11-30 2019-02-28 Method and system for adaptive sensor arrangement
EP20210480.8A Withdrawn EP3822847A1 (en) 2018-11-30 2019-02-28 Method and system for adaptive sensor arrangement
EP19817601.8A Withdrawn EP3888003A1 (en) 2018-11-30 2019-11-27 Method and system for adaptive sensor arrangement

Family Applications Before (2)

Application Number Title Priority Date Filing Date
EP19160156.6A Active EP3660732B1 (en) 2018-11-30 2019-02-28 Method and system for adaptive sensor arrangement
EP20210480.8A Withdrawn EP3822847A1 (en) 2018-11-30 2019-02-28 Method and system for adaptive sensor arrangement

Country Status (2)

Country Link
EP (3) EP3660732B1 (en)
WO (1) WO2020109423A1 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10037041B2 (en) * 2016-12-20 2018-07-31 Bio Cellular Design Aeronautics Africa Sa System and apparatus for integrating mobile sensor platforms into autonomous vehicle operational control

Also Published As

Publication number Publication date
WO2020109423A1 (en) 2020-06-04
EP3660732A1 (en) 2020-06-03
EP3822847A1 (en) 2021-05-19
EP3660732B1 (en) 2021-05-05

Similar Documents

Publication Publication Date Title
Kantas et al. Sequential Monte Carlo methods for high-dimensional inverse problems: A case study for the Navier--Stokes equations
Liebig et al. Predictive trip planning-smart routing in smart cities.
Seong et al. Selective unsupervised learning-based Wi-Fi fingerprint system using autoencoder and GAN
KR101876051B1 (en) Machine learning system and method for learning user controlling pattern thereof
US20210209507A1 (en) Processing a model trained based on a loss function
US20140334689A1 (en) Infrastructure assessment via imaging sources
US8805858B1 (en) Methods and systems for spatial filtering using a stochastic sparse tree grid
KR102358472B1 (en) Method for scheduling of shooting satellite images based on deep learning
CN112363251A (en) Weather prediction model generation method, weather prediction method and device
CN111898578A (en) Crowd density acquisition method and device, electronic equipment and computer program
CN111505740A (en) Weather prediction method, weather prediction device, computer equipment and storage medium
WO2022026402A1 (en) Shape-based vehicle classification using laser scan and neural network
KR20220065694A (en) Apparatuses and methods to determine a high-resolution qos prediction map
Lark Multi-objective optimization of spatial sampling
CN116745653A (en) Proximity forecasting using a generative neural network
US8847948B2 (en) 3D model comparison
WO2020109423A1 (en) Method and system for adaptive sensor arrangement
Tao et al. Error variance estimation for individual geophysical parameter retrievals
Kovarskiy et al. Comparison of RF spectrum prediction methods for dynamic spectrum access
An et al. Self-clustered GAN for precipitation nowcasting
Farias et al. Method for flood risk estimation in a tropical basin
WO2020070792A1 (en) Vessel detection system, method, and program
Selvi et al. FCM: Fuzzy C-Means Clustering–A View in Different Aspects
EP2283615A1 (en) Auto-adaptive network
Battistelli et al. MAP moving horizon state estimation with binary measurements

Legal Events

Date Code Title Description
STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: UNKNOWN

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: THE INTERNATIONAL PUBLICATION HAS BEEN MADE

PUAI Public reference made under article 153(3) epc to a published international application that has entered the european phase

Free format text: ORIGINAL CODE: 0009012

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: REQUEST FOR EXAMINATION WAS MADE

17P Request for examination filed

Effective date: 20210630

AK Designated contracting states

Kind code of ref document: A1

Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR

DAV Request for validation of the european patent (deleted)
DAX Request for extension of the european patent (deleted)
REG Reference to a national code

Ref country code: DE

Ref legal event code: R079

Free format text: PREVIOUS MAIN CLASS: G06K0009000000

Ipc: G06V0020130000

GRAP Despatch of communication of intention to grant a patent

Free format text: ORIGINAL CODE: EPIDOSNIGR1

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: GRANT OF PATENT IS INTENDED

RIC1 Information provided on ipc code assigned before grant

Ipc: G06Q 10/063 20230101ALI20230413BHEP

Ipc: G06V 20/52 20220101ALI20230413BHEP

Ipc: G06V 20/17 20220101ALI20230413BHEP

Ipc: G06V 20/13 20220101AFI20230413BHEP

INTG Intention to grant announced

Effective date: 20230502

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: THE APPLICATION IS DEEMED TO BE WITHDRAWN

18D Application deemed to be withdrawn

Effective date: 20230913