A controller for selecting machine learning models from an ensemble of models and a method thereof
The method enhances control decision accuracy in smart systems by selecting overlapping machine learning models based on resource constraints and priority, addressing the challenge of optimizing model selection in connected lighting systems within multi-smart environments.
Patent Information
- Application Number
- PCT/EP2024/056365
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-28
- Filing Date
- 2024-03-11
- Publication Date
- 2024-09-19
AI Technical Summary
In multi-smart systems environments, selecting appropriate machine learning models from an ensemble to optimize control decisions while managing limited computational resources and ensuring accuracy is challenging, particularly in connected lighting systems that interact with various smart devices.
A method and system for selecting machine learning models from an ensemble, where a first controller interacts with second and third controllers by choosing overlapping models to enhance accuracy, considering resource constraints, request priority, and explainability, to optimize control decisions in actuation and sensing systems.
This approach improves the accuracy and efficiency of control decisions in smart systems by dynamically selecting machine learning models based on resource availability, request priority, and explainability, balancing complexity and inference performance across multiple smart devices.
Smart Images

Figure EP2024056365_19092024_PF_FP_ABST
Abstract
Description
[0001] A controller for selecting machine learning models from an ensemble of models and a method thereof
[0002] FIELD OF THE INVENTION
[0003] The invention relates to a method of selecting machine learning models from an ensemble of models. The invention further relates to a system controller, a system, and a computer program product for selecting machine learning models from an ensemble of models.
[0004] BACKGROUND
[0005] Connected lighting refers to a system of one or more lighting devices which are controlled not by (or not only by) a traditional wired, electrical on-off or dimmer circuit, but rather by using a data communications protocol via a wired or more often wireless connection, e.g., a wired or wireless network. These connected lighting networks form what is commonly known as Internet of Things (loT) or more specifically Internet of Lighting (loL). Typically, the lighting devices, or even individual lamps within a lighting device, may each be equipped with a wireless receiver or transceiver for receiving lighting control commands from a lighting control device according to a wireless networking protocol such as Zigbee, Wi-Fi or Bluetooth.
[0006] Connected lighting system can be a part of a smart home system which comprises other connected or smart systems arranged for monitoring and / or controlling home attributes such as climate, entertainment systems, and appliances. It may also include home security such as access control and alarm systems. When connected with the Internet, home devices are an important constituent of the Internet of Things (loT). Although the convention of smart ‘home’ system is used, the concept of connected / smart systems are equally used in other non-home environments such as offices, retail, hospitals etc.
[0007] SUMMARY OF THE INVENTION
[0008] The inventors have realized that the interactions between different smart systems in a multi-smart systems environment are constantly increasing and evolving. Even the number of smart systems in our surroundings are increasing with an unprecedented rate. A smart system typically uses an ensemble of machine learning models for determining control decisions, monitoring a building space (e.g., counting desk occupancy for space optimization in offices) and for interacting with a plurality of other smart systems.
[0009] The smart system, based on the interactions and its own individual monitoring / criteria, selects a subset of models to determine control decisions for controlling actuation and / or sensing system. Since, these smart systems are aimed at improving user experience in the environment or providing insights about human activities performed in the building space, the selection of appropriate machine learning models from the ensemble to obtain good accuracy especially in view of available (computational) resources becomes challenging.
[0010] It is therefore an object of the present invention to optimize the selection of machine learning models from an ensemble of models to increase overall accuracy of control decisions especially in view of available resources of the controller.
[0011] According to a first aspect, the object is achieved by a method of selecting machine learning models from an ensemble of models, wherein a first controller is arranged for using the ensemble of models for determining at least some of the control decisions and for interacting with a second controller and a third controller, and wherein each controller is arranged for controlling an actuation and / or a sensing system in an environment, wherein the method comprises receiving a request, at the first controller, for interaction from the second controller and the third controller, and selecting a second and a third machine learning model from the ensemble of models to interact with the second and the third controller respectively such that the accuracy of the ensemble of models for determining control decisions is increased, and wherein the second and the third machine learning models are at least partially overlapping.
[0012] The method relates to selecting machine learning models from an ensemble of models. A machine learning model may comprise a mathematical function or representation of a relationship between input(s) and output(s). A model is the result of a machine learning algorithm applied to a training data set. A model is often a parametrized mathematical formula, where parameters are learnt by a machine learning algorithm. Given input data, a model can produce a classification label or a regression value directly, or it can produce a probability for each possible value (input).
[0013] A first controller is arranged for using the ensemble of models for determining control decisions and for interacting with a second and a third controller. The determination may comprise inferring or predicting control decisions from the machine learning models based on individual monitoring / criteria of the first controller and further based on interactions with the second and the third controller. The ensemble of models comprises a plurality of machine learning models. In other words, the first controller may use or employ a plurality of machine learning models for inferring at least some of the control decisions. In an example, the control decision is a combination of individual decisions from (each of) the models in the ensemble. Alternatively, each or at least some of the machine learning models are arranged for predicting different control decisions. For example, the first controller may be arranged for controlling a first sensing system for presence sensing and a second sensing system for motion sensing via radiofrequency -based sensing, the first controller may use a first machine learning model for presence detection and may further use another machine learning model for motion detection.
[0014] Additionality, and / or alternatively, the first controller may use or employ a plurality of machine learning models for interacting with a second controller and a third controller. Different at least partially overlapping machine learning models may be used for the interaction with different controllers. The partial overlap may imply that the machine learning models may be not (completely) independent but partially overlapping, thus the control decision from a model may at least partially affect the decision of the other model.
[0015] In a typical loT system and multi-smart systems environment, a plurality of controllers is available, wherein each controller is arranged for controlling an actuation and / or sensing system. The actuation and / or sensing system may comprise attributes such as lighting, climate, entertainment systems, and appliances, e.g., HVAC system, connected lighting system, audio / video system, windows blinds etc. The first and the second controller with their respective actuation and / or sensing system may each form a smart system. A smart system may comprise functions of sensing, actuation and / or control in order to describe and analyze a situation in an environment and determine control decisions based on the available data in a predictive or adaptive manner, e.g., by using machine learning models, thereby performing smart actions.
[0016] In an example, the first, the second, and the third controller may comprise networking capabilities to communicate with each other or with other smart systems. For instance, the smart system comprises transceivers (or transmitter / receivers) to transmit and / or receive communi cation / control signals to and from the other smart systems. The communication may comprise a wireless communication or a wired communication. In most cases the “smartness” of the system can be attributed to autonomous operation based on closed loop control, energy efficiency, and networking capabilities. The environment may be an indoor environment such as a house, a hotel, an elderly care home, a hospital, a retail shop etc., or an outdoor environment such as a street, parking lot, a stadium etc.
[0017] The method comprises receiving a request, at the first controller, for interaction with the second controller and the third controller. The request may be received from the second controller, the third controller, and / or (directly) from the user. The user may use the second controller / third controller to send the request or use a user’s device such as mobile phone, tablet etc. to send the request. The interaction may comprise a request to adapt the actuation and / or sensing system controlled by the first controller. In another example, the interaction may comprise a request to provide information about the control decisions of the first controller. Yet in another example, the interaction may comprise a request to provide a joint actuation and / or sensing experience to a user in the environment and / or a joint mapping of complementary observations about a building space (e.g. activity detection to be subsequently used for office space optimization or re-layout of a retail store). It is to be noted that all these examples are not exhaustive (other examples are not excluded) and can be combined.
[0018] The method further comprises selecting a second and a third machine learning model from the ensemble of models to interact with the second and the third controller respectively such that the accuracy (and / or latency and / or power efficacy) of the ensemble of models for determining control decisions is increased, and wherein the second and the third machine learning models are at least partially overlapping. The accuracy of determining control decisions is based on an appropriate selection of the machine learning models. There is an inherent tradeoff between the level of details / complexity of the machine learning model and the accuracy of the inference. For instance, a detailed physics-based non-linear model may be very complex but may provide inference / predictions with increased accuracy compared to a simple linear machine learning model. The first controller may be limited by resources, e.g., computational resources, memory resources, run-time memory / computational resources, availability of complex machine learning models, lack of physical knowledge, lack of useful data to use or even obtain complex highly accurate machine learning models. Therefore, since the method comprises selecting a second and a third machine learning model from the ensemble of models to interact with the second and the third controller respectively such that the accuracy of the ensemble of models for determining control decisions is increased, an optimal tradeoff between the accuracy and complexity of the control determination can be made. The first controller may be arranged for interacting with the second controller in parallel with the third controller using the selected second and the third machine learning model respectively. The interaction with the second and the third controller may be performed in parallel such that the models are executed at the same time as well.
[0019] The second and the third machine learning models may be at least partially overlapping with respect to the model structure of the machine learning models. For example, some of the code for the first model and second model can be synergistic so that some processing for making inferences from the first controller’s data stream can be shared, for instance, both the models which run for the second and the third controller may require the identical low-level inference task of tracking of the spatial position of the limbs with radar sensing. The model structure may comprise the configuration of a model, e.g., for a neural network the hidden layers with optimized weights / biases may be shared with the second and the third models.
[0020] The first controller may be arranged for controlling a sensing system, and wherein the second and the third machine learning models may be at least partially overlapping with respect to a subset of the sensing tasks. Additionally, and / or alternatively, the overlap between the second machine learning model and the third machine learning model may be that a subset of their sensing tasks is overlapping, even though the two models nevertheless may apply different algorithms. For instance, the second machine learning model may be accurately detecting the breathing rate of a person in the near field of the sensor but may not detect the breathing rate of the second person standing being further away from the sensor. The third machine learning model may detect the breathing rates of both the first close-by and second far- way person, but only with moderate accuracy. This means that the second and the third machine learning model, respectively, at least partially do make the same decision (breathing rate of the first person).
[0021] The ensemble of models may comprise explainable machine learning models and nonexplainable machine learning models, and wherein determination of the control decision via the explainable models may be explainable and the first controller may be arranged for transmitting explainability information related to the determination of the control decisions with the second and / or the third controller.
[0022] The use of explainable and non-explainable machine learning models has a direct impact on the accuracy for predictions and complexity of models for the first controller. For example, the non-explainable machine learning model may provide higher accuracy at the expense of higher model complexity and performance with a higher need for processing power compared to explainable machine learning model which may have lower model complexity to enable explainability of its inferences but suffers from lower inference performance and possibly requires less processing power. Therefore, the selection of the explainable or non-explainable models is an important factor in improving accuracy for determining control decisions by the machine learning models of the first controller.
[0023] The explainability information may comprise information related to the determination of control decisions by the machine learning models, e.g., how machine learning model works and why a particular control decision is determined by the machine learning model. The explainability information may comprise transparency and / or interpretability information related to the determination of control decisions and of the machine learning models. The explainability information provides understanding of the machine learning models and the control decisions determined by the models. For example, the information may comprise the extent to which a cause and effect can be observed within an actuation and / or sensing system. Or, to put it another way, it is the extent to which it can be predicted what is going to happen, given a change in input or machine learning algorithmic parameters. Additionally, or alternatively, the information may comprise the extent to which the internal mechanics of a machine learning model can be explained in human-like terms. Since, the explainability information is transmitted to the controllers, the information is explained more in a ‘controller-like terms’ such that the controller may make use of the information. The information may also be directly or indirectly (e.g., via the second and / or the third controller) provided to a user. The knowledge of the explainability information to the second and the third controller may help the second and the third controller understand why a particular control decision is taken by the machine learning model of the first controller.
[0024] The selection of the second and the third machine learning model may be based on one or more of the request of interaction, a characteristic of the requested interaction with the second controller and the third controller, a characteristic of the second and / or the third controller.
[0025] The method may further comprise receiving a request of using explainable machine learning models from the second and / or the third controller for the interaction, and wherein the selection of the second and / or the third machine learning model may be based on the received request in view of the (computational) resources of the first controller.
[0026] The second and / or the third controller may require explainability of the control inference from the first controller, but the use of the explainable machine learning models comes usually at the cost of reduced accuracy of inference. Since, the method comprises selecting of the second and / or the third machine learning model based on the received request in view of the resources of the first controller, the available (computational / memory etc.) resources are considered, and thus overall accuracy of the control inference is increased.
[0027] The method may further comprise assigning a request priority value to the received request indicative of a level of priority of the received request, and wherein the selection of the second and / or the third machine learning model may be based on the assigned request priority value.
[0028] The selection may be advantageously based on the assigned request priority value. For example, based on time of the day, the request of interaction for a sensing task may have higher priority compared to other tasks, or may be based on the current monitoring for instance temperature measurement, the HVAC actuation may have higher priority. The request based on interaction of such events may be assigned higher priority and therefore the selection based on the assigned request priority value further improves overall accuracy of the determination of the control decisions.
[0029] The second and / or the third controller may be arranged for controlling a sensing system, and wherein the method may further comprise assigning a sensing priority value to the sensing outcome of the sensing system, and wherein the selection of the second and / or the third machine learning model may be based on the assigned sensing priority value.
[0030] For example, the second controller may be arranged for controlling a sensing system related to sensing a health-related sensing of an elderly, e.g., fall detection, breathing detection etc. Such a sensing may be assigned a higher sensing priority value compared to sensing e.g., ambient light in the environment. Even for the same sensing type, the sensing outcome may be assigned different sensing priority values, e.g., a fall detection event may be assigned a higher priority value compared to no fall or near fall event. Since the method may further comprise selecting the second and / or the third machine learning model based on the assigned sensing priority value, the overall accuracy of determining control decisions is further improved.
[0031] The selection of the second and the third machine learning model may be based on a characteristic of the second and / or the third controller, and wherein the characteristic of the second and / or the third controller may comprise a trustworthiness value indicative of a level of trustworthiness of the second and / or the third controller, and wherein the method may further comprise selecting a second and a third machine learning model based on the trustworthiness value. The trustworthiness value may be determined at least based on one or more of a previous interaction with the first controller, a security certificate of the second and / or the third controller etc. For example, the explainability information may be more suitable to a trustworthy second controller compared to a controller which is dubious or not known to the first controller, therefore optimizing the tradeoff of accuracy and explainability, thus further improving the determination of the control decisions in view of the available resources of the first controller.
[0032] The selection of the second and the third machine learning model may be based on a characteristic of the second and / or the third controller, and wherein the characteristic of the second and / or the third controller may comprise control decisions of the second and / or the third controller.
[0033] In an example, the second and / or the third controller is arranged for controlling an actuation system and using a machine learning model for determining control decisions, e.g., setting windows blinds, controlling climate in an environment etc. In such situations, the selection of the second and / or third machine learning model may be advantageously based on control decisions of the second controller.
[0034] The method further may comprise assigning a safety-critical control decision value indicative of a level of safety-critical control decisions, and wherein the selection of the second and / or the third machine learning model is based on the safety-critical control decision value.
[0035] The method may further comprise assigning a privacy sensitive control decision value and / or a discrimination sensitive control decision value indicative of a level of privacy sensitive and / or a discrimination sensitive control decisions of the second and / or the third controller respectively, and wherein the selection of the second and / or the third machine learning model is based on the privacy sensitive control decision value and / or the discrimination sensitive control decision value.
[0036] The first controller may be arranged for inferring a future interaction with the second and / or the third controller; and wherein the method may further comprise selecting a second and a third machine learning model based on a characteristic of the inferred future interaction with the second and / or the third controller. The first controller may be arranged for inferring a future interaction with the second and / or the third controller based on one or more of time of the day, a predetermined routine, historical data related to past interactions. For example, the first controller infers if it needs to collaborate with the second and / or the third controller. The first controller may then assess if it is possible to achieve its current control objectives (e.g., resulting in an actuation of lighting / heating / audio in the environment) with a predetermined improved accuracy.
[0037] The method may further comprise selecting a second and a third machine learning model based on an environment related contextual information.
[0038] The first controller may be arranged for controlling a connected lighting system, and the second controller may be arranged for controlling a smart speaker, and the third controller may be arranged for controlling an audio / video system.
[0039] According to a second aspect, the object is achieved by a system controller for selecting machine learning models from an ensemble of models, wherein a first controller is arranged for using the ensemble of models for determining control decisions and for interacting with a second controller and a third controller, and wherein each controller is arranged for controlling an actuation and / or a sensing system in an environment, wherein the system controller comprises a processor arranged for executing or at least controlling the execution of the steps of the method according to the first aspect.
[0040] According to a third aspect, the object is achieved by a system for selecting machine learning models from an ensemble of models, wherein a first controller is arranged for using the ensemble of models for determining control decisions and for interacting with a second controller and a third controller, and wherein each controller is arranged for controlling an actuation and / or a sensing system in an environment, wherein the system comprises at least the first controller, and a system controller according to the second aspect.
[0041] According to a fourth aspect, the object is achieved by a computer program product comprising instructions which, when the program is executed by a computer, cause the computer to carry out the steps of the method according to the first aspect. The object may be achieved by a computer program product comprising instructions which, when the program is executed by the processor of the system controller according to the second aspect, cause the processor to carry out the steps of the method according to the first aspect.
[0042] It should be understood that the computer program product, the system controller, and the system may have similar and / or identical embodiments and advantages as the above-mentioned methods.
[0043] BRIEF DESCRIPTION OF THE DRAWINGS
[0044] The above, as well as additional objects, features and advantages of the disclosed systems, devices and methods will be better understood through the following illustrative and non-limiting detailed description of embodiments of systems, devices and methods, with reference to the appended drawings, in which:
[0045] Fig. 1 shows schematically and exemplary an embodiment of a system for selecting machine learning models from an ensemble of models,
[0046] Fig. 2 shows schematically and exemplary an embodiment of a system controller for selecting machine learning models from an ensemble of models,
[0047] Fig. 3 shows schematically and exemplary a flowchart illustrating an embodiment of a method for selecting machine learning models from an ensemble of models.
[0048] All the figures are schematic, not necessarily to scale, and generally only show parts which are necessary in order to elucidate the invention, wherein other parts may be omitted or merely suggested.
[0049] DETAILED DESCRIPTION OF EMBODIMENTS
[0050] Fig. 1 shows schematically and exemplary an embodiment of a system 100 for selecting machine learning models from an ensemble of models, wherein a first controller 120 is arranged for using the ensemble of models for determining control decisions and for interacting with a second controller 140a-b and a third controller 150a-b, wherein each controller is arranged for controlling an actuation 120a-e and / or a sensing system 140a-b, 150a-b in an environment 101. In this example, the environment 101 is an indoor environment, i.e., a home. Alternatively, the indoor environment may be a hospital, a retail, an office etc. The environment 101 may be an outdoor environment such as a street, a parking lot. In the exemplary figure, the environment 101 comprises different subzones, e.g., rooms, such as living room 110a, bedroom 110b and a shower 110c.
[0051] In this exemplary figure, the first controller 120 is a lighting controller arranged for controlling a lighting actuation system comprising lighting devices 120a-e. A lighting device 120a-e is a device or structure arranged to emit light suitable for illuminating an environment 101, providing or substantially contributing to the illumination on a scale adequate for that purpose. A lighting device 120a-e comprises at least one light source or lamp, such as an LED-based lamp, gas-discharge lamp or filament bulb, etc., plus (or optionally) any associated support, casing or other such housing. Each of the lighting devices 120a-e may take any of a variety of forms, e.g., a ceiling mounted luminaire, a wall-mounted luminaire, a wall washer, or a free-standing luminaire (and the luminaires need not necessarily all be of the same type). In this exemplary figure, the lighting devices 120a-d are ceiling luminaires (e.g., in the bedroom 110b and in the living room 110a), and the lighting device 120e is a standing lamp. Any number and types of the lighting devices 120a-e may be present in the environment 101.
[0052] Additionally, or alternatively, the first controller 120 may be further arranged for controlling an actuation system such as window blinds, HVAC or any other actuation system in the environment 101. Yet additionally, or alternatively, the first controller 120 may be further arranged for controlling a sensing system, e.g., temperature sensing, radiofrequency-based sensing (RF sensing), RADAR sensing etc. In an example, radiofrequency signals communicated among (connected) lighting devices 120a-e may be used for radiofrequency -based sensing for presence, motion and for other sensing applications. In another example, RADAR sensors may be integrated in the lighting devices 120a-e for presence, motion of the user 130 in the environment 101, and for other sensing applications in the environment 101. In an example, a user device 132 such as a mobile phone, a tablet etc. may be a part of the sensing system. The other sensing applications may be related to healthcare applications such as fall detection, vital sign monitoring etc. In an example, the actuation of the lighting devices 120a-e may be based on the monitored sensing tasks.
[0053] In the exemplary figure, the second controller 140a-b may be arranged for controlling a vision system 140a-b (e.g., a camera in the living room 110a, and another camera in the bedroom 110b), and the third controller 150a-b may be arranged for controlling a smart speaker 150a-b (e.g., a speaker in the living room 110a, and another speaker in the bedroom 110b). Any other actuation and / or sensing system is not excluded, and the second controller 140a-b and the third controller 150a-b may be arranged for controlling the other non-disclosed actuation and / or sensing system. In the figure, the second controller 140a-b and the third controller 150a-b are shown to be integrated in the actuation / sensing system, the second controller 140a-b and / or the third controller 150a-b may be external to the actuation / sensing system.
[0054] The first controller 120 (and the second 140a-b and the third controller 150a- b) may comprise or arranged for using an ensemble of models to determine at least some of the control decisions for controlling the respective actuation and / or sensing system, e.g., in this exemplary figure, the lighting devices 120a-e. Examples of machine learning model may comprise and range from linear regression models (e.g., fitting a line) to any complex nonlinear models such as deep neural networks. Machine learning models may be trained based on supervised learning, unsupervised learning etc. The accuracy of determining control decisions is based on an appropriate selection of the machine learning models from the ensemble of the models. There is an inherent tradeoff between the level of details / complexity of the machine learning model with the accuracy of the inference. For instance, a detailed physics-based non-linear model may be very complex but may provide increased accuracy compared to a simple data-driven linear machine learning model.
[0055] The first controller 120 may be limited by the available resources to employ machine learning models, e.g., these ‘digital’ resources may comprise computational resources, memory resources, run-time memory / computational resources, availability of complex machine learning models, lack of physical knowledge, lack of useful data etc. to use or even obtain complex highly accurate machine learning models. Therefore, an appropriate selection of the machine learning models for interaction with the second 140a-b and the third 150a-b controller helps increasing overall accuracy of determining control decisions.
[0056] The first controller 120 may receive a request of interaction from the second controller 140a-b and the third controller 150a-b, and a second and a third machine learning model may be selected from the ensemble of models to interact with the second 140a-b and the third 150a-b controller respectively such that the accuracy of the ensemble of models for determining control decisions is increased. With appropriate selection of machine learning models, the first controller 120 may optimize the trade-off between the accuracy of determining its control decisions and the complexity of the machine learning models, thus increasing the accuracy of control decision and furthermore improving overall user 130 experience.
[0057] In the exemplary figure, the second controller 140a-b is arranged for controlling a vision system, which is arranged for controlling a sensing system, i.e., a vision sensor such as a camera. The vision system 140a-b may further comprise actuation means such as a light source (not shown). The third controller 150a-b may comprise a smart speaker 150a-b, which may be used as a voice command controller for controlling actuation and / or sensing systems in the environment 101. Any number of smart devices, such as lighting devices 120a-b, cameras 140a-b or smart system may co-exist in the multi-smart system environment 101.
[0058] Fig. 2 shows schematically and exemplary an embodiment of a system controller 210 for configuring an operating mode of a first controller 120. In an example, the system controller 210 is comprised in the first controller 120, e.g., the first controller 120 is the system controller 210, and the notation of the system controller 210 and the first controller 120 can be used interchangeably. The system controller 210 may comprise an input unit 214 and an output unit 215. The input 214 and the output 215 units may be comprised in a transceiver (not shown) or input 214 may be comprised in a receiver and the output 215 is comprised in a transmitter, arranged for receiving (input unit 214) and transmitting (output unit 215) radio frequency signals or any wireless signal for communicating with the first 120 and / or the second 140a-b and / or the third controller 150a-b according to any wireless communication protocol. The input 214 and output unit 215 may be arranged for wired communication, e.g., from the second 140a-b and / or the third controller 150a-b.
[0059] The system controller 210 may further comprise a memory 212 which may be arranged for storing communication IDs of the first 120, the second 140a-b, the third controller 150a-b, the lighting devices 120a-e and / or of any actuation / sensing device. The system controller 210 may comprise a processor 213 arranged for executing the steps or at least controlling the execution of the steps of the method according to the first aspect.
[0060] The system controller 210 may be implemented in a unit separate from the first controller 120, the second controller 140a-b, the third controller 150a-b, lighting devices 120a-e, user device 130, such as wall panel, desktop computer terminal, or even a portable terminal such as a laptop, tablet or smartphone. Alternatively, the system controller 210 may be incorporated into the same unit as the first controller 120, the second controller 140a-b, the third controller 150a-b, the user device 130, and / or the same unit as one of the lighting devices 120a-e. Further, the system controller 210 may be implemented in the environment 101 or remote from the environment 101 (e.g. on a server); and the system controller 210 may be implemented in a single unit or in the form of distributed functionality distributed amongst multiple separate units (e.g. a distributed server comprising multiple server units at one or more geographical sites, or a distributed control function distributed amongst the first controller 120, the second controller 140a-b, the third controller 150a-b, the user device 130, the lighting devices 120a-e. Furthermore, the system controller 210 may be implemented in the form of software stored on a memory (comprising one or more memory devices) and arranged for execution on a processor (comprising one or more processing units), or the system controller 210 may be implemented in the form of dedicated hardware circuitry, or configurable or reconfigurable circuitry such as a PGA or FPGA, or any combination of these.
[0061] To enable the system controller 210, for example, to receive or transmit communication signals, the communication may be implemented in by any suitable wired or wireless means such as a local (short range) RF network, e.g., a Wi-Fi, ZigBee, Bluetooth or Thread network, Power-over-Ethemet, power line or any combination of these and / or other means.
[0062] Fig. 3 shows schematically and exemplary a flowchart illustrating an embodiment of a method 300 for of selecting machine learning models from an ensemble of models, wherein a first controller 120 may be arranged for using the ensemble of models for determining control decisions The first controller 120 may be further arranged for interacting with a second controller 140a-b and a third controller 150a-b and each controller is arranged for controlling an actuation 120a-e and / or a sensing system 140a-b, 150a-b in an environment 101.
[0063] The first 120, the second 140a-b, and the third controller 150a-b may comprise or arranged for using respective machine learning models to determine control decisions for controlling the respective actuation 120 a-e and / or sensing system 140a-b, 150a-b. A machine learning model is a representation and preferably a mathematical representation or function that has been trained to recognize certain types of patterns in training data. The model is trained over a set of data, generally known as training dataset. An algorithm is provided that it can use to reason over and learn from those data. The data may comprise text data, image data, sound data etc. For example, the machine learning model may be trained on past samples of environmental variables and the respective control decisions and the trained machine learning model may be used to infer control decisions based on (unseen) environmental variables. The actuation 120a-e and / or sensing system 140a-b, 150a-b maybe controlled at least partially based on the control decisions inferred by the machine learning models.
[0064] The method 300 comprises receiving 310, at the first controller 120, a request for an interaction from the second controller 140a-b and the third controller 150a-b. The second controller 140a-b and the third controller 150a-b may request via a wired or wireless communication channel using appropriate wired or wireless protocol. The interaction of the first 120 with the second controller 140a-b and the third controller 150a-b may be based on equal rights basis, i.e., there is no master-slave configuration. The first 120, the second controller 140a-b, and the third controller 150a-b may be from different manufacturers, vendors etc., and so the first 120, the second controller 140a-b, and the third controller 150a- b may use or employ different machine learning models. Further each of the controllers, in general, may not have access to the machine learning models of each other.
[0065] The method 300 further comprises selecting 320 a second and a third machine learning model from the ensemble of models to interact with the second 140a-b and the third controller 150a-b respectively such that the accuracy of the ensemble of models for determining control decisions is increased, and wherein the second and the third machine learning models are at least partially overlapping. The first controller 120 may be arranged for interacting with the second controller 140a-b in parallel with the third controller 150a-b using the selected second and the third machine learning model respectively.
[0066] The overlap may be with respect to the model structure of the machine learning models or when the first controller 120 may be arranged for controlling a sensing system, and the overlap may be with respect to a subset of the sensing tasks.
[0067] The ensemble of models may comprise explainable machine learning models and nonexplainable machine learning models, and wherein determination of the control decision via the explainable models are explainable and the first controller 120 may be arranged for transmitting explainability information related to the determination of the control decisions with the second 140a-b and / or the third controller 150a-b.
[0068] In an example, the explainable machine learning models may comprise “white-box machine learning models” and non-explainable machine learning models may comprise “black-box machine learning models”. White-box models are machine models that provide results that are understandable for another smart system (e.g., the second controller 140a-b, the third controller 150a-b) in the smart home domain. Black-box models, on the other hand, are extremely hard to explain and can hardly be understood even by a sophisticated smart-home system.
[0069] However, in general, white box machine learning models perform worse at their tasks than black box models. Most often, the black box model has the highest model complexity and performance but requires also highest processing power, while the system designers choose for the white box model a lower model complexity to enable explainability of its inferences; however, the lower complexity model suffers from lower inference performance but possibly requires less processing power. If the white-box model uses a different, simpler model, it may have better latency.
[0070] On the other hand, the white box machine learning model may be also created by adding additional functionality to the black box model. In this case, the inference performance may remain similar, but the processing power and latency for making inferences may increase.
[0071] The explainability information may comprise information related to the determination of the control decisions by the machine learning models, e.g., how machine learning model works and why a particular control decision is determined by the machine learning model. The explainability information may comprise transparency and / or interpretability information related to the determination of control decisions and of the machine learning models. The explainability information provides understanding of the machine learning models and the control decisions determined by the models. For example, the information may comprise the extent to which a cause and effect can be observed within an actuation and / or sensing system. Or, to put it another way, it is the extent to which it can be predicted what is going to happen, given a change in input or machine learning algorithmic parameters. Additionally, or alternatively, the information may comprise the extent to which the internal mechanics of a machine learning model can be explained in human-like terms. The exchange of explainability information to the second controller 140a- b and / or the third controller 150a-b may help the second controller 140a-b and / or the third controller 150a-b understands why a particular control decision is taken by the machine learning model of the first controller 120.
[0072] For example, the machine learning model may comprise a deep neural network model, e.g., a convolutional neural network. The explainability information for the determination of the control decisions based on deep neural network model may comprise an explanation of the model structure of the deep neural network such as number of layers, parameters etc., which layer has learnt what kind of patterns of data, how input propagates, how many skip connections are used or which neurons are activated based on what kind of input feature etc.
[0073] In an example, the first controller 120 is arranged for controlling a connected lighting system 120a-e, and the second controller is arranged for controlling a smart speaker 150a-b. The explainability information for instance enables the second controller (smart speaker 150a-b) to understand the connected lighting system 120a-e cognition (both in realtime and after the fact). After receiving the explainability information, the smart speaker 150a-b will be able to learn / determine itself when it can fully trust the connected lighting system 120a-e vs when the connected lighting system 120a-e should be less trusted or even distrusted. In addition, the proposed explainability information enables the smart speaker 150a-b to verify the connected lighting system’s 120a-e adherence to ethical, sustainability and socio-legal values.
[0074] The method may further comprise receiving a request of using explainable machine learning models from the second 140a-b and / or the third controller 150a-b for the interaction, and wherein the selection of the second and / or the third machine learning model is based on the received request in view of the computational resources of the first controller 120.
[0075] The model selection 320 may be a dynamic process such that different models are selected at different times for the second 140a-b and the third controller 150a-b. When (dynamically) selecting the second and the third model for the first controller 120, there is a trade-off between (A) explainabilty, transparency, interpretability on the first controller 120 actions the one hand and (B) sacrificing of the inference performance and inference latency of the first controller 120 due to the usage of an explainable model on the other hand (C) sustainability of the Al algorithm (power consumption & carbon footprint).
[0076] To optimize the selection 320 of machine learning models from an ensemble of models to increase overall accuracy of control decisions in view of available resources of the first controller 120 in a multi-smart systems environment 101, different criteria for selection may be used.
[0077] For example, an inventory of machine learning model inferences to be made by the models from the ensemble of models and each of the inference requests may be associated with a priority. The first controller 120 allows the highest priority task (e.g. activity detection for the smart speaker 120a-b) to make the first pick about which model(s) to run on the first controller 120 (e.g., on lighting devices 150a-e). Then the first controller 120 also determines which inferences the second controller 140a-b and the third controller 150a-b is subscribed to. The first controller 120 then also maps which of the requested inference tasks at least partially overlap. Specifically, the first controller 120 then inventories all the models that have any kind of overlap with the model related to the currently highest priority task requested from the lighting control system.
[0078] Based on the priorities associated with the requests it can be determined which of the inferences to be supplied to the second 140a-b and / or the third controller 150a-b need to be explainable vs. non-explainable.
[0079] Subsequently, at least partially overlapping ensemble of machine learning models may be assigned to run in parallel on the first controlled 120 whereas some of the decisions by the machine learning models may be explainable and some decisions are not.
[0080] The assignment of which models to use for the ensemble may take into account the constraints of the first controller 120 (e.g., limited computing resources, battery status etc.) while utilizing for deciding the resource assignment the priorities / requested latencies of the respective requests from the second 140a-b and the third controller 150a-b. Therefore, via the selection of models, inference performance of the other overlapping models in the ensemble may be compromised to ensure maximum performance (inference accuracy and / or latency) for the high-priority inference task. In a further developed embodiment the performance degradation of the overlapping model is that the model is no longer explainable.
[0081] In an example, both the second controller 140-ab and the third controller 150a- b request activity detection inferences from the first controller 120. The second controller 140a-b requests a non-explainable model (for maximum inference accuracy as second controller 140a-b needs to determine the internal operation mode of its camera) while the third controller 150a-b requests an explainable model as it uses the first controller 120 (e.g., lighting controller) inference to eventually change the type of audio (e.g., songs) streamed. If due to the requests from other controllers 140a-b, 150a-b, there is a lack of computing resources, the first controller 120 may elect to only provide white-box inferences of the useractivity-detection to the second controller 140a-b (despite of the second controller 140a-b requesting a black box model to ensure maximum accuracy). In other words, the first controller 120 provides the activity detection results from the same white box model to both the second 140a-b and the third controller 150a-b.
[0082] The above example enables the third controller 150a-b to utilize the combination of the first explainable activity-detection inference performed by the first controller’s white-box activity detection model with a second explainable walking-speed inference made by another first controller’s white box model only for the third controller 150a-b (the second controller 140a-b has no interest in the elderly' s walking speed). In other words, the third controller can itself create a third explainable inference utilizing the first white-box and second white box inference of the first controller 120, for instance to infer whether the user is currently depressed as the user is hardly performing any activities today and when the user is walking his / her walking speed is very low. If the third controller 150a-b infers that the user is depressed, the third controller 150a-b then changes the song to try to move the user to an improved emotional state.
[0083] In practice, the multiple models of the ensemble of models run by the first controller 120 may always have certain overlaps in inference tasks. For instance, the first controller 120 may run a hyper-accurate black box model for body posture detection for the second controller 140a-b while running a white-box body body -posture detection for the third controller 150a-b which is used by the third controller 150a-b for inferring the user' s activity. If due to requests from other controllers 140a-b, 150a-b, there is a lack of computing resources, the first controller 120 may elect to only provide black-box inferences of the body posture detection to the third controller 150a-b (despite of the third controller 150a-b requesting a white box model).
[0084] In an example, an inventory describing which of the machine learning decisions of the first controller 120 currently need to be explainable may and which Al decisions do not need to be explainable may be created. The need for explainability may shift over time, for instance higher explainability may be needed whenever the machine learning model will make a certain decision which is likely to result in the end-user / other controllers 140a-b, 150a-b wanting an explanation for this machine learning-driven decisions (e.g. the decision to switch on the light during the night is more invasive for the user 130 than a slight circadian spectrum adjustment during the day).
[0085] Based on the current total need of explainability for the first controller 120 (e.g., lighting system) and explainability needs of the other controllers 140a-b, 150a-b the first controller 120 integrates with, the first controller 120 may determine which subset of machine learning models (at least comprising the second and / or the third model) from its total ensemble of at least partially overlapping machine learning models it will run in parallel on the first controller 120 (e.g., on the lighting devices 120a-e).
[0086] For instance, based on the inventory of explainability needs, the first controller 120 may decide to run the second model in parallel with the third model wherein the second model delivers explainability only for those specific context-awareness aspects deemed important for the second controller 140a-b, e.g., smart camera system, (e.g., the first glassbox machine learning model, for instance an expert system, will not provide explainability for any of the aspects deemed not important for the second controller 140a-b). The first controller 120 in parallel runs a third model which delivers explainability only for those aspects important for the third controller 150a-b. The first controller 120 may run a first model which is entirely black box, for instance a deep neural net, for the remaining aspects important only for the first controller 120 itself but not important to either the second controller 140a-b or the third controller 150a-b.
[0087] There may be a higher need for an explainable model if the output of the context sensing controlled by the first controller 120 is related to an end-user-facing actuation by at least one of the second 140a-b and third controller 15 a-b. For instance, the third controller 150a-b (e.g., smart speaker or audio system) may be interested in activity detection insights from the first controller 120 (e.g., is the user currently busy with computer work vs preparing a salad in the kitchen vs exercising) and based thereupon the third controller 150a- b adjusts the type of song played in the environment 101. Hence, it is much more likely that the end-user will demand full explainability for an unsatisfactory music decision made by the third controller 150a-b than the user 130 demanding an explanation from the second controller 140a-b controlled thermostat which adjusts its temperature setting by just one degree Celsius based on the first controller 120 inferring that the user is sleepy and will soon go to bed.
[0088] The first controller 120 may also need to use an explainable model if the output of its context sensing reveals privacy-sensitive information possible requiring a proactive / upon-request detailed disclosure of the ongoing data sharing (between the first, second and / or third controller) to the user 130 (The disclosure may include the offer for an explanation to the user 130 of why the first controller 120 inferences are shared with the other controllers 140a-b, 150a-b). For instance, the other controllers 140a-b, 150a-b fall detection system may use the first controller' s 120 vital sign information to argue with the user 130 that he has experienced a fall event (which the elderly may have not spoken the truth about) which should be reported to his caretaker.
[0089] On the other hand, if the output of the context sensing in only used by the controllers 140a-b, 150a-b in the background without clear user-facing impact (for instance to optimize the power consumption of an HVAC system, or increasing lifetime of lights, hardly noticeable adjustments in temperature set-points), a black box model can be applied as the user 130 is unlikely to challenge the machine learning-driven decisions of the other controllers 140a-b, 150a-b made based upon the inferences provided by the first controller 120 to the other controllers 140a-b, 150a-b. Similarly, the Wifi-based RF sensing context awareness insights of the first controller 120 may be only used to manage the WiFi network resources e.g. networking topology, channel choice, transmit power, which WiFi end devices should be assigned to which of the three WiFi mesh routers in the user' s house based on first controller 120 forecast of activities in the house (e.g. kids will soon start streaming in playroom while the parents will have a movie night in the living room 110a). In the latter WiFi network optimization case, there may be no need for the first controller 120 to use a white box model.
[0090] It is known in the art of machine learning that the one of the most convenient ways to achieve explainable results is to stick with intrinsically interpretable models such as Linear Regression, Logistic Regression, and Decision Trees by avoiding the use of “black box” models such as PCA, random forests or neural nets. However, usually, this natural explainability comes with a cost in model performance. The first controller 120 may use a Linear Regression model; in this case the predicted target consists of the weighted sum of input features. So, the weight or coefficient of the linear equation can be used as a medium of explaining the prediction to the second 140a-b and / or the third controller 150a-b if the total number of features used by the machine learning model is kept small. However, in cases where there are multiple correlated features, the distinct feature influence becomes indeterminable. Hence, to determine whether a certain linear regression model used by the first controller 120 constitutes as being black box or white box, it may be first assessed whether the model uses multiple correlated features. If yes, it is deemed black box even though it is a linear regression model. If principle component analysis (PCA) is used, the model is considered black-box.
[0091] In a further developed example, the first controller 120 may assess itself how pressing the need for interpretability / explainability of the first controller 120 to the other controllers really is. The first controller 120 may use the following criteria:
[0092] Who is accountable if things go wrong? If the first controller 120 is made responsible for a wrong decision, then the first controller 120 may use a white-box model.
[0093] How likely is it that things go wrong? If they go wrong how likely is the user to ask for explanation why the things went wrong?
[0094] If things are working well, how much benefit is there to the first controller 120 to understand why the model worked well (e.g., to leverage the collected insights in its own further model development)?
[0095] In an example, the decision which ensemble of white box and black box models to deploy across the house may also depend on the capabilities of the lighting node 120a-e whereupon the first controller 120, e.g., the lighting controller, are being run on.
[0096] In an example, a user dependent assignment of the ensemble of explainable and not-explainable models may be used. For instance, for a 3-year-old kid being home alone, explainability of machine learning decisions on which piece of art to display with the beamer is not required while explainability of detecting an open window is important, while if his parents are also in the room, the machine learning decisions could be challenged by them and hence should be explainable.
[0097] The deployed ensemble of machine learning models may differ between rooms 1 lOa-c in the environment 101. For instance, the third controller 150a-b such as a smart speaker / audio system may only be interested in explainability in the living room 110a and the bedroom 110b as these are the only two rooms in the house equipped with voice assistant speakers 150a-b capable of running the audio system. Hence, while the first controller 120 (e.g., the lighting controller) may deploy its third explainable machine learning white-box model on the lighting devices 120a-e in the living room 110a and the bedroom 110b, and it may decide to only deploy a black box model in the office room (not shown) and bathroom 110c.
[0098] The accuracy of inference for machine learning models depends on several factors. In general, the accuracy of the model prediction may be improved by adding more details to the model, which in turns makes model more complex. Therefore, there is always a tradeoff between the complexity of model and the level of accuracy which can be achieved. A complex high dimensional non-linear machine learning provides predictions with high confidence or accuracy but at the same time requires high computational, memory resources to run on a device. At the same time, explainability of the decisions by the machine learning model is also hampered with the increase of complexity.
[0099] In case when the first controller 120 uses an ensemble of models for its own predictions and for interacting with other controllers 140a-b, 150a-b, the choice of models is limited by the limited resources at the first controller 120. Furthermore, these interactions may be performed in parallel, and the models may be overlapping. The invention provides several criteria such that the (overlapping) models are selected such that the tradeoff of complexity / explainability vs. accuracy is addressed and the overall predictions from the model ensemble is improved.
[0100] The method 300 may be executed by computer program code of a computer program product when the computer program product is run on a processing unit of a computing device, such as the processor 213 of the system controller 210.
[0101] It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design many alternative embodiments without departing from the scope of the appended claims.
[0102] In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. Use of the verb "comprise" and its conjugations does not exclude the presence of elements or steps other than those stated in a claim. The article "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer or processing unit. In the device claim enumerating several means, several of these means may be embodied by one and the same item of hardware. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage.
[0103] Aspects of the invention may be implemented in a computer program product, which may be a collection of computer program instructions stored on a computer readable storage device which may be executed by a computer. The instructions of the present invention may be in any interpretable or executable code mechanism, including but not limited to scripts, interpretable programs, dynamic link libraries (DLLs) or Java classes. The instructions can be provided as complete executable programs, partial executable programs, as modifications to existing programs (e.g. updates) or extensions for existing programs (e.g. plugins). Moreover, parts of the processing of the present invention may be distributed over multiple computers or processors or even the ‘cloud’.
[0104] Storage media suitable for storing computer program instructions include all forms of nonvolatile memory, including but not limited to EPROM, EEPROM and flash memory devices, magnetic disks such as the internal and external hard disk drives, removable disks and CD-ROM disks. The computer program product may be distributed on such a storage medium, or may be offered for download through HTTP, FTP, email or through a server connected to a network such as the Internet.
Claims
CLAIMS:
1. A method of selecting machine learning models from an ensemble of models, wherein a first controller is arranged for using the ensemble of models for determining at least some of control decisions and for interacting with a second controller and a third controller, and wherein each controller is arranged for controlling an actuation and / or a sensing system in an environment, wherein the method comprises receiving a request, at the first controller, for interaction with the second controller and a request for interaction with the third controller, wherein said interaction comprises a request to provide a control inference about the actuation and / or sensing system controlled by the first controller, assigning a priority value to the received requests, and selecting a second and a third machine learning model from the ensemble of models to interact with the second and the third controller respectively such that the accuracy of the ensemble of models for determining control decisions for the high-priority request is increased, and wherein the second and the third machine learning models are at least partially overlapping with respect to a subset of the control decisions.
2. The method according to claim 1, wherein the first controller is arranged for interacting with the second controller in parallel with the third controller using the selected second and the third machine learning model respectively.
3. The method according to any of the preceding claims, wherein the second and the third machine learning models are at least partially overlapping with respect to the model structure of the machine learning models.
4. The method according to any of the preceding claims, wherein the ensemble of models comprises explainable machine learning models and nonexplainable machine learning models, and wherein determination of the control decision via the explainable models are explainable and the first controller is arranged for transmitting explainabilityinformation related to the determination of the control decisions with the second and / or the third controller.
5. The method according to claim 4, wherein the method further comprises receiving a request of using explainable machine learning models from the second and / or the third controller for the interaction, and wherein the selection of the second and / or the third machine learning model is based on the received request in view of the resources of the first controller.
6. The method according to any of the preceding claims, wherein the selection of the second and the third machine learning model is based on one or more features of the request of interaction: a characteristic of the requested interaction with the second controller and the third controller, a characteristic of the second and / or the third controller.
7. The method according to any of the preceding claims, wherein the second and / or the third controller is arranged for controlling a sensing system, and wherein the method further comprises assigning a sensing priority value to the sensing outcome of the sensing system, and wherein the selection of the second and / or the third machine learning model is based on the assigned sensing priority value.
8. The method according to any of the preceding claims, wherein the selection of the second and the third machine learning model is based on a characteristic of the second and / or the third controller, and wherein the characteristic of the second and / or the third controller comprises a trustworthiness value indicative of a level of trustworthiness of the second and / or the third controller, and wherein the method further comprises selecting a second and a third machine learning model based on the trustworthiness value.
9. The method according to any of the preceding claims, wherein the selection of the second and the third machine learning model is based on a characteristic of the second and / or the third controller, and wherein the characteristic of the second and / or the third controller comprises control decisions of the second and / or the third controller.
10. The method according to any of the preceding claims, wherein the first controller is arranged for inferring a future interaction with the second and / or the thirdcontroller; and wherein the method further comprises selecting a second and a third machine learning model based on a characteristic of the inferred future interaction with the second and / or the third controller.
11. A system controller for selecting machine learning models from an ensemble of models, wherein a first controller is arranged for using the ensemble of models for determining control decisions and for interacting with a second controller and a third controller, and wherein each controller is arranged for controlling an actuation and / or a sensing system in an environment, wherein the system controller comprises a processor arranged for executing the steps of the method according to any of the preceding claims.
12. A system for selecting machine learning models from an ensemble of models, wherein a first controller is arranged for using the ensemble of models for determining control decisions and for interacting with a second controller and a third controller, and wherein each controller is arranged for controlling an actuation and / or a sensing system in an environment, wherein the system comprises: at least the first controller, a system controller according to claim 11.
13. A computer program product comprising instructions which, when the program is executed by a computer, cause the computer to carry out the steps of the method of any one of claims 1-10.
Citation Information
Patent Citations
Automated presence detection and presence-related control within an intelligent controller
US20140101082A1
Systems and methods for managing environmental conditions
US20160091217A1
Systems and methods for locally modeling a target variable
US20200103888A1
Methods and apparatus to automatically update artificial intelligence models for autonomous factories
US20210325861A1
