Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
LEARNING SLEEP STAGES FROM RADIO SIGNALS
Document Type and Number:
WIPO Patent Application WO/2018/183106
Kind Code:
A1
Abstract:
A method for tracking a sleep stage of a subject takes as input a sequence of observations sensed over an observation time period. The sequence of observation values is processed to yield a corresponding sequence of encoded observations using a first artificial neural network (ANN) and the sequence of encoded observation values is processed to yield a sequence of sleep stage indicators using a second artificial network. Each observation may correspond to an interval of the observation period (e.g., at least 30 seconds). The first ANN may be configured to reduce information representing a source of the sequence of observations in the encoded observations.

Inventors:
ZHAO MINGMIN (US)
YUE SHICHAO (US)
KATABI DINA (US)
JAAKKOLA TOMMI S (US)
Application Number:
PCT/US2018/023975
Publication Date:
October 04, 2018
Filing Date:
March 23, 2018
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
MASSACHUSETTS INST TECHNOLOGY (US)
International Classes:
G16H50/20
Domestic Patent References:
WO2016089313A12016-06-09
Foreign References:
CN104873173A2015-09-02
US20140088373A12014-03-27
US20170042432A12017-02-16
US9753131B22017-09-05
Other References:
TATARAIDZE ALEXANDER ET AL: "Sleep stage classification based on bioradiolocation signals", 2015 37TH ANNUAL INTERNATIONAL CONFERENCE OF THE IEEE ENGINEERING IN MEDICINE AND BIOLOGY SOCIETY (EMBC), IEEE, 25 August 2015 (2015-08-25), pages 362 - 365, XP032810203, DOI: 10.1109/EMBC.2015.7318374
Attorney, Agent or Firm:
ROHLICEK, Robin, J. (US)
Download PDF:
Claims:
CLAIMS

WHAT IS CLAIMED IS:

1. A method for tracking a sleep stage of a subject comprising: determining a sequence of observations ( x, ) by sensing the subject over an observation time period; processing the sequence of observations to yield a corresponding sequence of encoded observations ( z,. ), wherein the processing of the sequence of observations includes using a first artificial neural network (ANN) to process a first observation to yield a first encoded observation; and processing the sequence of encoded observations to yield a sequence of sleep stage indicators (Q(y \ z,.) ) representing sleep stage of the subject over the observation time period, including processing a plurality of the encoded observation values, which includes the first encoded observation value, using a second artificial network (ANN), to yield a first sleep stage indicator.

2. The method of claim 1 wherein each observation corresponds to at least a 30 second interval of the observation period.

3. The method of any of claims 1 and 2 wherein the first ANN is configured to reduce information representing a source of the sequence of observations in the encoded observations.

4. The method of any of claims 1 through 3 wherein the first ANN comprises a convolutional neural network (CNN).

5. The method of any of claims 1 through 3 wherein the second ANN comprises a recurrent neural network (RNN).

6. The method of any of claims 1 through 5 wherein the sequence of sleep stage indicators includes a sequence of inferred sleep stages ( y ) from a predetermined set of sleep stages.

7. The method of any of claims 1 through 5 wherein the sequence of sleep stage indicators includes a sequence of probability distributions of sleep stage across a predetermined set of sleep stages.

8. The method of any of claims 1 through 7 wherein determining the sequence of observations ( r ) includes acquiring a signal including at least a component representing the subject's breathing, and processing the acquired signal to produce the sequence of observations such that the observations in the sequence represent variation in the subject's breathing.

9. The method of any of claims 1 through 8 wherein acquiring the sequence of observation values includes emitting a radio frequency reference signal, receiving a received signal that includes a reflected signal comprising a reflection of the reference signal from the body of the subject, and processing the received signal to yield an observation value representing motion of the body of the subject during a time interval within the observation time period.

10. The method of claim 9 wherein processing the received signal includes selecting a component of the received signal corresponding to a physical region associated with the subject, and processing the component to represent motion substantially within that physical region.

11. The method of any of claims 1 through 8 wherein acquiring the sequence of observation values comprises acquiring signals from sensors affixed to the subject.

12. A method for tracking a sleep stage of a subject comprising: acquiring a sequence of observations ( x, ) by sensing the subject over an observation time period; processing the sequence of observations to yield a corresponding sequence of encoded observations ( z, ), wherein the processing of the sequence of observations includes using a first parameterized transformation, configured with values of a first set of parameters ( 9e ), to process a first observation to yield a first encoded observation; and processing the sequence of encoded observations to yield a sequence of sleep stage indicators (Q(y \ z,.) ) representing sleep stage of the subject over the time period, including processing a plurality of encoded observations, which includes the first encoded observation, using a second parameterized transformation, configured with values of a second set of parameters ( 6> ), to yield a first sleep stage indicator; wherein the method includes determining the firsts set of parameter values and the second set of parameter values by processing reference data that represents a plurality of associations, each association including an observation ( x, ), a corresponding sleep stage (yt ), and a corresponding source value ( sj ), wherein the processing determines values of the first set of parameters to optimize a criterion ( ) to increase information in the encoded observations, determined from an observation according to the values of the first set of parameters, related to corresponding sleep stages, and to reduce information in the encoded observations related to corresponding source values.

13. The method of claim 12 wherein processing the reference data that represents a plurality of associations further includes determining values of a third set of parameters ( 0d ) associated with a third parameterized transformation, third parameterized transformation being configured to process an encoded observation to yield and indicator of a source value ( Q(s \ zt) ).

14. The method of claim 13 wherein the processing of the reference data determines values of the first set of parameters, values of the second set of parameters, and values of the third set of parameters to optimize the criterion.

15. The method of claim 14 wherein information in the encoded observations related to corresponding sleep stages depends on the values of the second set of parameter and information in the encoded observation values related to corresponding source values depends on the values of the third set of parameters.

16. A machine-readable medium comprising instructions stored thereon, which when executed by a processor cause the processor to perform all the steps of any of claims 1 through 15.

17. A machine-readable medium comprising instructions stored thereon, which when executed by a processor cause the processor to: determining a sequence of observations ( x, ) resulting from sensing a subject over an observation time period; processing the sequence of observations to yield a corresponding sequence of encoded observations ( z, ), wherein the processing of the sequence of observations includes using a first artificial neural network (ANN) to process a first observation to yield a first encoded observation; and processing the sequence of encoded observations to yield a sequence of sleep stage indicators (Q(y \ zt ) ) representing sleep stage of the subject over the observation time period, including processing a plurality of the encoded observation values, which includes the first encoded observation value, using a second artificial network (ANN), to yield a first sleep stage indicator.

18. A sleep tracker configured to perform all the steps of any of claims 1 through 15.

19. A sleep tracker comprising: a signal acquisition system (110), configured to determining a sequence of observations ( r ) resulting from sensing a subject over an observation time period; and a tracker (120) comprising an encoder (310) and a label predictor (320), wherein the encoder implements a parameterized transformation of the observations to form encoded observations according to stored parameters selected to reduce information representing a source of the sequence of observations in the encoded observations, and wherein the label predictor implements a parameterized transformation of the encoded observations to yield sleep stage indicators representing sleep stage of the subject over the observation time period.

Description:
LEARNING S LEEP S TAGE S F ROM RADI O S I GNAL S

CROSS-REFERENCE TO RELATED APPLICATIONS

[001] This application claims the benefit of U.S. Provisional Application No.

62/476,815, filed on March 26, 2017, titled "Learning Sleep Stages from Radio Signals," and U.S. Provisional Application No. 62/518,053, filed on June 12, 2017, titled "Learning Sleep Stages from Radio Signals," which is incorporated herein by reference. This application is also related to U.S. Pat. Pub. 2017/0042432, titled "Vital Signs Monitoring Via Radio Reflections," and to U.S. Pat. 9,753,131, titled "Motion Tracking Via Body Radio Reflections," which are also incorporated herein by reference.

BACKGROUND

[003] This invention relates to inference of sleep stages of a subject via radio signals.

[004] Sleep plays a vital role in an individual's health and well-being. Sleep progresses in cycles that involve multiple sleep stages: Awake, Light sleep, Deep sleep and REM (Rapid eye movement). Different stages are associated with different physiological functions. For example, deep sleep is essential for tissue growth, muscle repair, and memory consolidation, while REM helps procedural memory and emotional health. At least, 40 million Americans each year suffer from chronic sleep disorders. Most sleep disorders can be managed once they are correctly diagnosed. Monitoring sleep stages is critical for diagnosing sleep disorders, and tracking the response to treatment. [005] Prevailing approaches for monitoring sleep stages are generally inconvenient and intrusive. The medical gold standard relies on Polysomnography (PSG), which is typically conducted in a hospital or sleep lab, and requires the subject to wear a plethora of sensors, such as EEG-scalp electrodes, an ECG monitor, and a chest band or nasal probe for monitoring breathing. As a result, patients can experience sleeping difficulties which renders the measurements unrepresentative. Furthermore, the cost and discomfort of PSG limit the potential for long term sleep studies.

[006] Recent advances in wireless systems have demonstrated that radio technologies can capture physiological signals without body contact. These technologies transmit a low power radio signal (i.e., 1000 times lower power than a cell phone transmission) and analyze its reflections. They extract a person's breathing and heart beats from the radio frequency (RF) signal reflected off her body. Since the cardio-respiratory signals are correlated with sleep stages, in principle, one could hope to learn a subject's sleep stages by analyzing the RF signal reflected off her body. Such a system would significantly reduce the cost and discomfort of today's sleep staging, and allow for long term sleep stage monitoring.

[007] There are multiple challenges in realizing the potential of RF measurements for sleep staging. In particular, RF signal features that capture the sleep stages and their temporal progression must be learned, and such features should be transferable to new subjects and different environments. A problem is that RF signals carry much information that is irrelevant to sleep staging, and are highly dependent on the individuals and the measurement conditions. Specifically, they reflect off all objects in the environment including walls and furniture, and are affected by the subject's position and distance from the radio device. These challenges were not addressed in past work which used hand-crafted signal features to train a classifier. The accuracy was relatively low (about 64%) and the model did not generalize beyond the single environment where the measurements were collected.

[008] Recent advances in use of Convolutional Neural Networks (CNN) and Recurrent Neural Networks (RNN) have led to successful use to model spatial patterns and temporal dynamics. Generative Adversarial Networks (GAN) and their variants have been used to model mappings from simple latent distributions to complex data distributions. Those learned mappings can be used to synthesize new samples and provide semantically meaningful arithmetic operations in the latent space. Bidirectional mapping has also been proposed to learn the inverse mapping for discrimination tasks.

SUMMARY

[009] In one aspect, in general, a method for tracking a sleep stage of a subject takes as input a sequence of observation values ( x ), which may be referred to as

"observations" for short, sensed over an observation time period. The sequence of observation values is processed to yield a corresponding sequence of encoded observation values ( z, ), which may be referred to as "encoded observations" for short. The processing of the sequence of observation values includes using a first artificial neural network (ANN) to process a first observation value to yield a first encoded observation value. The sequence of encoded observation values is processed to yield a sequence of sleep stage indicators ( j> ; , or Q(y \ z t ) ) representing sleep stage of the subject over the observation time period. This includes processing a plurality of the encoded observation values, which includes the first encoded observation value, using a second artificial network (ANN), to yield a first sleep stage indicator. [010] Aspects of the method for tracking sleep stage may include one or more of the following features.

[Oil] Each observation corresponds to at least a 30 second interval of the observation period.

[012] The first ANN is configured to reduce information representing a source of the sequence of observations in the encoded observations.

[013] The first ANN comprises a convolutional neural network (CNN), and the second ANN comprises a recurrent neural network (RNN).

[014] The sequence of sleep stage indicators includes a sequence of inferred sleep stages ( j> ; ) from a predetermined set of sleep stages, and/or includes a sequence of probability distributions of sleep stage across the predetermined set of sleep stages.

[015] Determining the sequence of observations ( , ) includes acquiring a signal including at least a component representing the subject's breathing, and processing the acquired signal to produce the sequence of observations such that the observations in the sequence represent variation in the subject's breathing.

[016] Acquiring the sequence of observation values includes emitting a radio frequency reference signal, receiving a received signal that includes a reflected signal comprising a reflection of the reference signal from the body of the subject, and processing the received signal to yield an observation value representing motion of the body of the subject during a time interval within the observation time period.

[017] The time interval for each observation value is at least 30 seconds in duration. [018] Processing the received signal includes selecting a component of the received signal corresponding to a physical region associated with the subject, and processing the component to represent motion substantially within that physical region.

[019] Acquiring the sequence of observation values comprises acquiring signals from sensors affixed to the subject.

[020] In another aspect, in general, a method for tracking a sleep stage of a subject includes acquiring a sequence of observation values ( x, ) by sensing the subject over an observation time period. The sequence of observation values is processed to yield a corresponding sequence of encoded observation values ( z, ). The processing of the sequence of observation values includes using a first parameterized transformation (e.g., a first ANN, for example a convolutional network), configured with values of a first set of parameters ( 0 e ), to process a first observation value to yield a first encoded observation value. The sequence of encoded observation values is processed to yield a sequence of sleep stage indicators ( Q(y \ z t ) ) representing sleep stage of the subject over the time period, including processing a plurality of encoded observation values, which includes the first encoded observation value, using a second parameterized transformation, configured with values of a second set of parameters ( 0 f ), to yield a first sleep stage indicator.

[021] The method can further include determining the firsts set of parameter values and the second set of parameter values by processing reference data that represents a plurality of associations (tuples), each association including an observation value ( x ), a corresponding sleep stage ( _>>,. ), and a corresponding source value ( s j ). The processing determines values of the first set of parameters to optimize a criterion ( V ) to increase information in the encoded observation values, determined from an observation value according to the values of the first set of parameters, related to corresponding sleep stages, and to reduce information in the encoded observation values related to corresponding source values.

[022] The processing of the reference data that represents a plurality of associations further may include determining values of a third set of parameters ( <¾ ) associated with a third parameterized transformation, third parameterized transformation being configured to process an encoded observation value to yield and indicator of a source value (Q(s \ z i ) ). For example, the processing of the reference data determines values of the first set of parameters, values of the second set of parameters, and values of the third set of parameters to optimize the criterion. In some examples, the information in the encoded observation values related to corresponding sleep stages depends on the values of the second set of parameter and information in the encoded observation values related to corresponding source values depends on the values of the third set of parameters.

[023] In another aspect, in general, a machine-readable medium comprising instructions stored thereon, which when executed by a processor cause the processor to perform the steps of any of the methods disclosed above.

[024] In another aspect, in general, a sleep tracker is configured to perform the steps of any of the methods disclosed above.

[025] In yet another aspect, in general, a training approach for data other than sleep related data makes use of tuples of input, output, and source values. A predictor of the output from the input includes an encoder, which produced encoded inputs, and a predictor that takes encoded input and yields a predicted output. Generally, parameters of the encoder are selected (e.g., trained) to increase information in the encoded inputs related to corresponding true output, and to reduce information in the encoded input related to corresponding source values.

[026] An advantage of one or more of the aspects outlined above or described in detail below is that the predicted output (e.g., predicted sleep stage) has high accuracy, and in particular is robust to difference between subjects and to difference is signal acquisition conditions.

[027] Another advantage of one or more aspects is an improved insensitivity to variations in the source of the observations rather than features of the observations that represent the sleep state. In particular, the encoder of the observations may be configured in an unconventional manner to reduce information representing a source of the sequence of observations in the encoded observations. A particular way of configuring the encoder is to determine parameters of an artificial neural network implementing the encoder using a new technique referred to below as "conditional adversarial training." It should be understood that similar approaches may be applied to other types of parameterized encoders than artificial neural networks. Generally, the parameters of the encoder may be determined according to an optimization criterion that both preserves the desired aspects of the observations, for example, preserving the information that helps predict sleep stage, while reducing information about undesired aspects, for example, that represent the source of the observations, such as the identity of the subject or the signal acquisition setup (e.g., the location, modes of signal acquisition, etc.).

[028] Other aspects and advantage are evident from the description below, and from the claims. DESCRIPTION OF DRAWINGS

[029] FIG. 1 is a block diagram of a runtime sleep stage processing system.

[030] FIG. 2 is a block diagram of a parameter estimation system for the runtime system of FIG. 1.

[031] FIG. 3 is an artificial neural network (ANN) implement of a sleep tracker.

[032] FIGS. 4-6 are a block diagrams of training systems; and

[033] FIG. 7 is a block diagram of a reflected radio wave acquisition system.

DETAILED DESCRIPTION

[034] Referring to FIG. 1, a sleep stage processing system 100 monitors a subject 101, who is sleeping, and infers the stage of the subject's sleep as a function of time. Various sets of predefined classes can be used in classifying sleep stage. For example, the stages may include a predetermined enumeration including but not limited to a four-way categorization: "awake," "light sleep," "deep sleep," and "Rapid Eye Movement (REM)." The system 100 includes a signal acquisition system 110, which processes an input signal 102 which represents the subject's activity, for example, sensing the subject's breath or other motion. As discussed further below, the signal acquisition system 110 may use a variety of contact or non-contact approaches to sense the subject's activity by acquiring one or more signals or signal components that represent the subject's respiration, heartrate, or both, for example, representing the subject's motion induced by the subject's breathing and heartbeat. In one embodiment, the system may use reflected radio waves to sense the subject's motion, while in other embodiments the system may use an electrical sensor signal (e.g., a chest-affixed EKG monitor) coupled to the subject. [035] The output of the signal acquisition module 110 is a series of observation values 112, for instance with one observation value produced every 30 seconds over an observation period, for example spanning may hours. In some cases, each observation value represents samples of a series of acquired sample values, for example, with samples every 20 ms. and one observation value 112 represents a windowed time range of the sample values. In the description below, an observation value at a time index / ' is denoted , (i.e., a sequence or set of sample values for a single time index). Below, (boldface) denotes the sequence of observation values, x ; = (x x 2 , ..., X j ) , ending at the current time / ' , and in the case of a missing subscript, x represents the sequence up to the current time index.

[036] The series of observation values 112 passes to a sleep stage tracker 120, which processes the series and produces a series of an inferred sleep stages 122 for corresponding time indexes / ' , denoted as y t , based on the series of observation values x ; . Each value y t belongs to the predetermined set of sleep stages, and is an example of a sleep stage indicator. The sleep stage tracker 120 is configured with values of a set of parameters, denoted Θ 111, which controls the transformation of the sequence of observation values 112 to the sequence of inferred sleet stages 122. Approaches to determining these parameter values are discussed below with reference to FIG. 2.

[037] The series 122 of inferred sleep stages may be used by one or more end systems 130. For instance, a notification system 131 monitors the subject's sleep stage and notifies a clinician 140, for example, when the subject enters a light sleep stage and may wake up. As another example, a prognosis system 132 may process the sleep stage to provide a diagnosis report based on the current sleep stage sequence, or based on changes in the pattern of sleep stages over many days.

[038] Referring to FIG. 2 a configuration system 200 of the sleep processing system 100 of FIG. 1 is used to determine the values of a set of parameters Θ 111 used by at runtime by the sleep processing system 100. The configuration system uses a data set 220 collected from a set of subjects 205. For each of the training subjects, corresponding observation values x ; and known sleep stages y t are collected. For example, the observation values x t are produced using a signal acquisition module 110 of the same type as used in the runtime system, and the known sleep stages y t are determined by a process 210, for example, by manual annotation, or based on some other monitoring of the subject (e.g., using EEG data). Note that the sleep stages y t used in the configuration are treated as being "truth", while the inferred sleep stages y>i produced by the sleep tracker 120 of FIG. 1 are inferred estimates of those sleep stages, which would ideally be the same, but more generally will deviate from the "true" stages. The data from each subject is associated with a source identifier from an enumerated set of sources. A source value for each observation x i and stage y t is recorded and denoted s t . Therefore, the data used for determining the parameters consists of (or is stored in a manner equivalent to) a set of associations (tuples, triples) comprising (x h y S j ) , where S j denotes the source (e.g., an index of the training subject and/or the recording environment) corresponding the observation value x ; and true sleep stage y t .

[039] Once the system gathers the data set 220, a parameter estimation system 230 processes the training data to produce the values of parameters Θ 111. Generally, the system 230 processes the tuples with a goal that the sleep stage tracker 120 (shown in FIG. 1) configured with Θ will track sleep stage on new subjects in previously unseen environments by discarding all extraneous information specific to externalities (e.g., the specific training subject from whom a given tuple is derived, measurement conditions) so as to be left with sleep-specific subject-invariant features from input signals. The purpose of discarding such information is to enhance the system's ability to function for a wide range of subjects and a wide range of data acquisition methods.

[040] Referring to FIG. 3, the sleep stage tracker 120 includes multiple sequential stages of processes, labelled E (310), F (320), and M (330). Very generally, stage E 310 implements a "encoder" that takes a current observation value ( ; ) or more generally sequence of observation values x ; and outputs an encoded observation value ("encoding") z i = ^( , ) of those observation values. Stage F 320 implements a

"label predictor" that processes a current encoding ( z i ), or more generally sequence of observation values z ; = (z ..., z i ) , and outputs a probability distribution over the possible sleep stages y , denoted Q F (y | z ; ) , which can also be considered to be a sleep stage indicator. Finally, stage M 330 implements a "label selector" that processes the distribution of the sleep stage, outputs a selected "best" sleep stage y t .

[041] In one embodiment, stage E 310 is implemented as a convolutional neural network (CNN) that is configured to extract sleep stage specific data from a sequence of observation values 112, while discarding information that is may encode the source or recording condition. In some embodiments, this sequence of observation values 112 may be presented to encoder E 310 as RF spectrograms. In this embodiment, each observation value x ; represents an RF spectrogram of the 30 second window. Specifically, the observation value includes an array with 50 samples per second and 10 frequency bins, for an array with 1,500 time indexes by 10 frequency indexes producing a total of 15,000 complex scalar values, or 30,000 real values with each complex value represented as either a real and imaginary part or as a magnitude and phase. The output of the encoder is a vector scalar values. The CNN of the encoder E 310 is configured with weights that are collectively denoted as 9 e 311, which is a subset of parameter variable Θ 111.

[042] In some embodiments, the label predictor F 320 is implemented as a recurrent neural network (RNN). The label predictor 320 takes as input the sequence of encoded values z i 312 and outputs the predicted probabilities over sleep stage labels y t . In this embodiment, the number of outputs of the label predictor 320 is the number of possible sleep stages, with each output providing a real value between 0.0 and 1.0, with the sum of the outputs constrained to be 1.0, representing a probability of that sleep stage. The recurrent nature of the neural network maintains internal stage (i.e., values that are fed back from an output at one time to the input at a next time) and therefore although successive encoded values z i are provided as input, the output distribution depends on the entire sequence of encoded values z ; .Together, the cascaded arrangement of E 310 and F 320 can be considered to compute a probability distribution Q F (y | x ; ) . The label predictor F 320 is configured by a set of parameters

Of , which is a subset of parameter variable Θ 111.

[043] In some embodiments, stage M 330 is implemented as a selector that determines the value y t that maximizes Qp{y | z ; ) over sleep stages y . In this embodiment, the selector 330 is not parameterize. In other embodiments the stage M may smooth, filter, track or otherwise process the outputs of the label predictor to estimate or determine the evolution of the sleep stage over time.

[044] Referring to FIG. 4, one conventional approach to determining the parameters 111 is to select the parameter values to minimize a cost function (also

referred to as a loss function) defined as

where the sum over i is over the training observations of the training data, in which )> ί is the "true" sleep stage, and ; is the input to the sleep stage tracker 120. Note that in the approach, the source Sj is ignored. In this approach the parameters of the encoder E 310 and label predictor F 320 are iteratively updated by the trainer 230A (a version of trainer 230 of FIG. 2) using a gradient approach in which the parameters are updated as

where the sum over i is over a mini-batch of training samples of size m , and the factors η β and control the size of the updates.

[045] Although the conventional approach may be useful in situations in which a large amount of training data is available, a first preferred approach, which is referred to as "conditional adversarial training" is used. Referring to FIG. 5, this training approach makes use of a parameterized "discriminator" D 420, which produces as output a distribution over possible sources s of an observation ; or observation sequence x j encoded by encoder E 310. The discriminator D 420 is parameterized by parameters 9 d , which are computed during the training process, but are not retained as part of the parameters Θ 111 used by the runtime system.

[046] It should be recognized that to the extent that the output of the discriminator D 420 successfully represents the true source, the following cost function will be low:

Therefore, the parameters 9 d that best extract information characterizing the source Sj of each training sample minimizes C d . The less information about the sources that is available from the encoded observations ?(x j ) , the greater C d will be.

[047] In this first preferred training approach, a goal is to encode the observations with the encoder E 310, such that as much information about the sleep stage is available in the output of the label predictor F 320, while as little information as feasible about the training source is available at the output of the discriminator D 420. To achieve these dual goals, a weighted cost function is defined as

and the overall cost function for each training sample is defined as

Note that the less information about the sources that is available from the encoded observations £(χ,) , the smaller V will be, as well as the more information about the sleep stage, the smaller V will be.

[048] A "min-max" training approach is used such that the parameters are selected to achieve

That is, for any particular choice of the parameters 9 d that allows D to

extract the most information about the source are selected by minimizing , and the choices of are jointly optimized to minimize the joint cost

[049] This min-max procedure can be expressed in the following nested loops: Procedure 1 : for a number of training iterations do

In this procedure, H(s) is the entropy defined as the expected value of - log P(s) over sources s , where P(s) is the true probability distribution of source values s , and are increment step sizes.

[050] In a second preferred training approach used Procedure 1. However, an alternative discriminator D 520 takes an input in addition to £(χ,) that represents the information of which sleep stage is present. In particular, the second input is the true distribution P(_y | x j ) . By including this second input, the discriminator essentially removes conditional dependencies between the sleep stages and the sources.

However, it should be recognized that P(_y | Xj ) may not be known, and must be approximated in some way.

[051] Referring to FIG. 6, a third preferred approach is similar to the second preferred approach but approximates P( | x j ) using Q F (y \ E( i )) output from the label predictor F 320. Note that in the inner loop of updating 9 d according to

Procedure 1, Qp (y \ E(Xj )) remains fixed. As introduced above, after completing the updating of the parameters (9 e , 9 -, 9 d ) according to Procedure 1, (9 e , 9 -) are retained and provided to configure the runtime system.

[052] As introduced above, the signal acquisition module 110 shown in FIG. 1 provides one multi-valued observation every 30 seconds. In one embodiment, the signal acquisition system uses an approach described in U.S. Pat. Pub. 2017/0042432, titled "Vital Signs Monitoring Via Radio Reflections," and in U.S. Pat. 9,753,131, titled "Motion Tracking Via Body Radio Reflections." Referring to FIG. 7, the signal acquisition module 110 acquires signals 102 from the subject 101 without requiring any physical contact with the subject. Signal acquisition system 110 includes at least one transmitting antenna 704, at least one receiving antenna 706, and a signal processing subsystem 708. Note that, in some examples, rather than having a single receiving antenna and a single transmitting antenna, the system 100 includes a plurality of receiving antennas and/or a plurality of receiving antennas. However, for the sake of simplifying the description only to a single receiving/single transmitting antenna are shown.

[053] In general, the signal acquisition module 110 transmits a low power wireless signal into an environment from the transmitting antenna 704. The transmitted signal reflects off of the subjects 101 (among other objects such as walls and furniture in the environment) and is then received by the receiving antenna 706. The received reflected signal is processed by the signal processing subsystem 708 to acquire a signal that includes components related to breathing, heart beating, and other body motion of the subject.

[054] The module 110 exploits the fact that characteristics of wireless signals are affected by motion in the environment, including chest movements due to inhaling and exhaling and skin vibrations due to heartbeats. In particular, as the subject breathes and as his or her hearts beat, a distance between the antennas of the module 110 and the subject 101 varies. In some examples, the module 110 monitors the distance between the antennas of the module and the subjects using time-of-flight (TOF) (also referred to as "round-trip time") information derived for the transmitting and receiving antennas 704, 706. In this embodiment, with a single pair of antennas, the TOF associated with the path constrains the location of the respective subject to lie on an ellipsoid defined by the three-dimensional coordinates of the transmitting and receiving antennas of the path, and the path distance determined from the TOF. Movement associated with another body that lies on a different ellipsoid (i.e., another subjects that are at different distances from the antennas) can be isolated and analyzed separately. [055] As is noted above, the distance on the ellipsoid for the pair of transmitting and receiving antennas varies slightly with to the subject's chest movements due to inhaling and exhaling and skin vibrations due to heartbeats. The varying distance on the path between the antennas 704, 706 and the subject is manifested in the reflected signal as a phase variation in a signal derived from the transmitted and reflected signals over time. Generally, the module generates the observation value 102 to represent phase variation from the transmitted and reflected signals at multiple propagation path lengths consistent with the location of the subject.

[056] The signal processing subsystem 708 includes a signal generator 716, a controller 718, a frequency shifting module 720, and spectrogram module 722.

[057] The controller 718 controls the signal generator 716 to generate repetitions of a signal pattern that is emitted from the transmitting antenna 104. The signal generator 716 is an ultra- wide band frequency modulated carrier wave (FMCW) generator 716. It should be understood that in other embodiments other signal pattems and bandwidth than those described below may be used while following other aspects of the described embodiments.

[058] The repetitions of the signal pattern emitted from the transmitting antenna 704 reflect off of the subject 101 and other objects in the environment, and are received at the receiving antenna 706. The reflected signal received by receiving antenna 706 is provided to the frequency shifting module 720 along with the transmitted signal generated by the FMCW generator 716. The frequency shifting module 720 frequency shifts (e.g., "downconverts" or "downmixes") the received signal according to the transmitted signal (e.g., by multiplying the signals) and transforms the frequency shifted received signal to a frequency domain representation (e.g., via a Fast Fourier Transform (FFT)) resulting in a frequency domain representation of the frequency shifted received signal. Because of the FMCW structure of the transmitted signal, a particular path length for the reflected signal corresponds to a particular FFT bin.

[059] The frequency domain representation of the frequency shifted signal is provided to the spectrogram module which selects a number of FFT bins in the vicinity of a primary bin in which breathing and heart rate variation is found. For example, 10 FFT bins are selected in the spectrogram module 722. In this

embodiment, an FFT is taken every 20 ms, and a succession of 30 seconds of such FFT are processed to produce one observation value 102 output from the signal acquisition module 110.

[060] It should be understood that other forms of signal acquisition may be used. For example, EEG signals may be acquired with contact electrodes, breathing signals may be acquired with a chest expansion strap, etc. But it should be recognized that the particular form of the signal acquisition module does not necessitate different processing by the remainder of the sleep tracking system.

[061] Experiments were conducted with a dataset referred to as the "RF-sleep" dataset. RF-Sleep is a dataset of RF measurements during sleep with corresponding sleep stage labels. The sleep studies are done in the bedroom of each subject. A radio device was installed in the bedroom. As described above, the signal acquisition module of the device transmits RF signals and measure their reflections while the subject is sleeping on the bed.

[062] During the study, each subject sleeps with an FDA-approved EEG-based sleep monitor, which collects 3-channel frontal EEG. The monitor labels every 30-second of sleep with the subject's sleep stage. This system has human-level comparable accuracy.

[063] The dataset includes 100 nights of sleep from 25 young healthy subjects (40% females). It contains over 90k 30-second epochs of RF measurements and their corresponding sleep stages provided by the EEG-based sleep monitor. Approximately 38,000 epochs of measurements have also been labeled by the sleep specialist.

[064] Using a random split into training and validation sets (75% / 25%), the inferred sleep stages were compared to the EEG-based sleep stages. The sleep stages ( s ) can be "Awake," "REM," "Light," and "Deep." For these four stages, the accuracy of the system was 80%.

[065] The approach to training the system using the conditional adversarial approach, as illustrated in FIG. 6, is applicable to a wide range of situations other than in sleep tracking. That is, the notion that the cascade of an encoder (E) and a classifier (F) should be trained to match desired characteristics (e.g., the sleep stage), while explicitly ignoring known signal collection features (e.g., the subject/condition), can be applied to numerous situations in which the encoder and classifier are meant to explicitly extrapolate beyond the known signal collection features. Furthermore, although described in the context of training artificial neural networks, effectively the same approach may be used for a variety of parameterized approaches that are not specifically "neural networks."

[066] Aspects of the approaches described above may be implemented in software, which may include instruction stored on a non-transitory machine-readable medium. The instructions, when executed by a computer processor perform function described above. In some implementations, certain aspects may be implemented in hardware. For example the CNN or RNN may be implemented using special-purpose hardware, such as Application Specific Integrated Circuits (ASICs) of Field Programmable Gate Arrays (FPGAs). In some implementations the processing of the signal may be performed locally to the subject, while in other implementations, a remote computing server may be in data communication with a data acquisition device local to the user. In some examples the output of the sleep stage determination for a subject is provided on a display, for example, for viewing or monitoring by a medical clinician (e.g., a hospital nurse). In other examples, the determined time evolution of sleep stage is provided for further processing, for example, by a clinical diagnosis or evaluation system, or for providing report-based feedback to the subject.

[067] It is to be understood that the foregoing description is intended to illustrate and not to limit the scope of the invention, which is defined by the scope of the appended claims. Other embodiments are within the scope of the following claims.