Training of deep belief network

By using transfer learning and network expansion, the method addresses the inefficiencies of DBN training, reducing time and resource requirements while maintaining accuracy, especially in applications with human participant data.

JP2024122865APending Publication Date: 2024-09-09FUJITSU LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2023219759
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-02-28
Filing Date
2023-12-26
Publication Date
2024-09-09

AI Technical Summary

Technical Problem

Deep belief networks (DBNs) face challenges such as slow learning, getting stuck in local minima, requiring large training datasets, and high computational costs, especially when dealing with complex problems involving multiple types of input data.

Method used

A method involving transfer learning and network expansion is employed, where a simpler DBN is initially trained, and its weights are used to expand the network's width and depth, reducing training time and resource requirements by leveraging knowledge from the initial training phase.

Benefits of technology

This approach significantly reduces training time and resource consumption while maintaining or improving accuracy, particularly in applications involving human participant data, by transferring learned weights from a simpler to a more complex DBN structure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

To provide training of a deep belief network.SOLUTION: A computer-implemented method comprises: training a first deep belief network (DBN) using training data; adding at least one neuron to the first DBN to generate a second DBN; assigning weights to neurons in the second DBN according to weights of neurons in the trained first DBN; and training the second DBN using the training data.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to training deep belief networks (DBNs), and in particular to computer-implemented methods, computer programs, and information programming apparatus. [Background technology]

[0002] Deep belief networks (DBNs) were invented as a solution to problems encountered when using traditional neural networks, especially when training deep networks: slow learning, getting stuck in local minima due to poor parameter selection, and needing large training datasets, among others. DBNs can be expensive in terms of hardware and time consuming to perform classification on them, for example, and can have large data requirements, which can become more constraining when human participants become data providers. Summary of the Invention [Problem to be solved by the invention]

[0003] In view of the above, a method for training a DBN is desired. [Means for solving the problem]

[0004] According to an embodiment of a first aspect, a computer-implemented method is disclosed herein, comprising: training a first deep belief network (DBN) using training data (thereby generating a trained first DBN); adding at least one neuron to (a copy of) the (untrained) first DBN (or the first DBN without neuron weights) to generate a second DBN (enhanced compared to the first DBN); assigning weights to neurons in the second DBN according to weights of (corresponding) neurons in the trained first DBN (thereby generating a partially trained second DBN); and training the (partially trained) second DBN using the training data.

[0005] According to an embodiment of the second aspect, a computer-implemented method is disclosed herein, comprising: training a first deep belief network (DBN) using training data (thereby generating a trained first DBN); sequentially iterating an expansion-training process, in which the expansion-training process adds at least one neuron to (a copy of) the (untrained) first DBN (or the first DBN without neuron weights) to generate a second DBN (expanded compared to the first DBN); assigning weights to neurons in the second DBN according to weights of (corresponding) neurons in the trained first DBN (thereby generating a partially trained second DBN); and training the (partially trained) second DBN using the training data, wherein the (untrained) first DBN of each (subsequent) iteration is the (trained) second DBN of a previous iteration (or the iteration immediately preceding the subsequent iteration).

[0006] Training the first DBN may include using a symmetric divergent gradient approximation.

[0007] Training the first DBN may include training the first DBN for a predetermined / specific / set number of epochs.

[0008] Training the first DBN may include training the first DBN for n epochs, where n is an integer greater than (or equal to) 1.

[0009] Training the first DBN may include training the first DBN for a predetermined / specific / set length of time.

[0010] The computer-implemented method may further include, when training the first DBN, calculating a reconstruction error after each (or a (predetermined / set) number of) training epochs.

[0011] The computer-implemented method may further include calculating a reconstruction error at certain time intervals or after a (set / predetermined) amount of time when training the first DBN.

[0012] The computer-implemented method may further comprise terminating training of the first DBN after an epoch (or terminating the computer-implemented method / extended training process) if the (absolute) difference between the reconstruction error after that epoch and the reconstruction error after the previous epoch is less than a threshold.

[0013] Adding at least one neuron to the (copy of) the (untrained) first DBN may include adding at least one neuron to the (copy of) the (untrained) first DBN (thereby expanding the width of the network / (copy of) the (untrained) first DBN) and / or (then) adding at least one layer of neurons to the (copy of) the (untrained) first DBN to expand the depth of the network / (copy of) the (untrained) first DBN.

[0014] Adding at least one neuron to the (copy of) the (untrained) first DBN may include adding at least one neuron to at least one layer of the (copy of the) (untrained) first DBN (thereby expanding the width of the network / (copy of the) (untrained) first DBN) and / or (then) adding at least one layer of neurons to the (copy of the) (untrained) first DBN to expand the depth of the network / (copy of the) (untrained) first DBN.

[0015] Adding at least one neuron to the (copy of) the (untrained) first DBN may include adding at least one neuron to a layer of the (copy of the) first DBN (thereby expanding the width of the network / (copy of the) first DBN).

[0016] Adding at least one neuron to (a copy of) the (untrained) first DBN may include adding a plurality of neurons to (a copy of) the (untrained) first DBN.

[0017] Adding at least one neuron to the (copy of) the (untrained) first DBN may include adding at least one neuron to each layer of the (copy of) the (untrained) first DBN (thereby expanding the width of the network / (copy of) the (untrained) first DBN) and, optionally, adding at least one layer of neurons to the (copy of) the (untrained) first DBN (thereby expanding the depth of the network / (copy of) the (untrained) first DBN).

[0018] Adding at least one neuron to the (copy of) the (untrained) first DBN may include adding at least one layer of neurons to the (copy of) the (untrained) first DBN (thereby extending the depth of the network / (copy of) the (untrained) first DBN).

[0019] Assigning weights to neurons in the second DBN according to weights of (corresponding) neurons in the trained first DBN may include, for neurons in the second DBN that have corresponding neurons in the trained first DBN, assigning to each (said) neuron (in the second DBN) the weight of the corresponding neuron in the trained first DBN.

[0020] Assigning weights to neurons in the second DBN according to weights of (corresponding) neurons in the trained first DBN may include, for neurons in the second DBN that have no corresponding neurons in the trained first DBN (or for newly added neurons in the second DBN), assigning to each (said) neuron (in the second DBN) a weight of a neuron (randomly) sampled from the trained first DBN.

[0021] Assigning weights to neurons in the second DBN may include, if the same weight is sampled from the trained first DBN a threshold number of times or more, adjusting the weight for at least one of the neurons by a replication factor before assigning the weight to one of the neurons in the second DBN.

[0022] Training the second DBN may include using a symmetric divergent gradient approximation.

[0023] Training the second DBN may include training the second DBN for a predefined / specific / set number of epochs.

[0024] Training the second DBN may include training the second DBN for m epochs, where m is an integer greater than (or equal to) 1.

[0025] Training the second DBN may include training the second DBN for a predefined / specific / set length of time.

[0026] The computer-implemented method may further include calculating a reconstruction error after each (or a (set / predetermined) number of) training epochs when training the second DBN.

[0027] The computer-implemented method may further include calculating a reconstruction error at certain time intervals or after a (set / predetermined) amount of time when training the second DBN.

[0028] The computer-implemented method may further include terminating training of the second DBN after an epoch if an (absolute) difference between the reconstruction error after the epoch and the reconstruction error after a previous epoch is less than a (second) threshold.

[0029] The (second) threshold may be a stopping criterion.

[0030] The computer-implemented method may further include adding at least one neuron to (a copy of) the (untrained) second DBN (or the second DBN without neuron weights) to generate a third DBN (enhanced compared to the second DBN); assigning weights to neurons in the third DBN according to weights of (corresponding) neurons in the trained second DBN (thereby generating a partially trained third DBN); and training the (partially trained) third DBN using the training data.

[0031] The features relating to adding at least one neuron to an untrained copy of a first DBN may be applied to adding at least one neuron to an untrained copy of a second DBN.

[0032] The features relating to assigning weights to neurons in a second DBN according to the weights of neurons in a trained first DBN may be applied to assigning weights to neurons in a third DBN according to the weights of neurons in a trained second DBN.

[0033] The features relating to training a (partially trained) second DBN may be applied to training a (partially trained) third DBN.

[0034] The computer-implemented method may further include sequentially iterating adding at least one neuron to (a copy of) the (untrained) first DBN, assigning weights to the neurons in the second DBN, and training the second DBN, where the first DBN in each (subsequent) iteration is the (trained) second DBN of a previous iteration (or the iteration immediately preceding said subsequent iteration).

[0035] The computer-implemented method may further include successively iterating training a first DBN, adding at least one neuron to (a copy of) the (untrained) first DBN, and assigning weights to the neurons in the second DBN, where the (trained) second DBN of each iteration is the first DBN of the next iteration.

[0036] Adding at least one neuron to (a copy of) the (untrained) first DBN, assigning weights to the neurons in the second DBN, and training the second DBN may be considered as part of an extension-training process, and the method may include successively repeating the extension-training process, where the first DBN in each (subsequent) iteration is the (trained) second DBN of the previous iteration (or the iteration immediately preceding said subsequent iteration).

[0037] Training the second DBN may include training the second DBN for a predefined / specific / set number of epochs or for a predefined / specific / set length of time.

[0038] The computer-implemented method may further include calculating a reconstruction error after each training epoch when training the second DBN.

[0039] The computer-implemented method may further include iteratively adding at least one neuron to (a copy of) the (untrained) first DBN, assigning weights to the neurons in the second DBN, and training the second DBN until an (absolute) difference between the reconstruction error after the epoch and the reconstruction error after the previous epoch is less than a (second) threshold.

[0040] The untrained first DBN or a copy of the untrained first DBN or a (copy of) the first DBN without weights may be referred to as a first version of the first DBN. The trained first DBN may be referred to as a second version of the first DBN. The untrained second DBN may be referred to as a first version of the second DBN. The trained second DBN may be referred to as a second version of the second DBN.

[0041] The computer-implemented method may further include outputting the (trained) second DBN (after training) as an output DBN.

[0042] The trained second DBN (post-training second DBN) / output DBN may be for video processing.

[0043] The trained second DBN (post-training second DBN) / output DBN may be for object detection / tracking in videos / video data.

[0044] The trained second DBN (post-training second DBN) / output DBN may be configured to receive video data as input data and may be configured to detect / track at least one object in the video data (the training data is the video data).

[0045] The trained second DBN (post-training second DBN) / output DBN may be for quantifying an (individual / person's) exposure to the environment.

[0046] The trained second DBN (trained second DBN) / output DBN may be for quantifying an individual's / person's exposure to the environment based on sensor data including any of the following: air pollution; particulate matter concentration; (PM1; PM2.5; PM10;) oxidized gas concentration; reduced gas concentration; NH3 concentration; noise level (in decibels); and number of people in the individual's / person's vicinity.

[0047] The trained second DBN (second DBN after training) / output DBN may be for classifying well-being state of an individual / person based on sensor data including any of the following: air pollution; particulate matter concentration; (PM1; PM2.5; PM10;) oxidized gas concentration; reduced gas concentration; NH3 concentration; noise level (in decibels); and number of people in the (individual / person) vicinity; electrodermal activity; heart rate; heart rate variability; body temperature; blood volume pulse; body movement (by accelerometer).

[0048] Training the second / first DBN may include training the second / first DBN to classify well-being states based on the training data (which is the sensor data defined above) according to self-reported well-being states (by the individual / person) as ground truth data.

[0049] Sensor data (electrodermal activity; heart rate; heart rate variability; body temperature; blood volume pulse) may be obtained from at least one sensor attached to the person / individual's body.

[0050] The trained second DBN (post-training second DBN) / output DBN may be for estimating / predicting pollution levels in an environment based on data from a sensor.

[0051] The computer-implemented method may further include using the trained second DBN (post-training second DBN) / output DBN for video processing.

[0052] The computer-implemented method may further include using the trained second DBN (second DBN after training) / output DBN for object detection / tracking in the video / video data (detecting / tracking at least one object in the video / video data).

[0053] The computer-implemented method may further include outputting object detection / tracking results, which may include a determination of whether the object is present in the video and / or coordinates representing the location of the object in the video over time.

[0054] The computer-implemented method may further include using the trained second DBN (post-training second DBN) / output DBN to quantify exposure to the (individual / person) environment.

[0055] The computer-implemented method may further include using the trained second DBN (trained second DBN) / output DBN to quantify an individual's / person's exposure to the environment based on sensor data including any of the following: air pollution; particulate matter concentration; (PM1; PM2.5; PM10;) oxidized gas concentration; reduced gas concentration; NH3 concentration; noise level (in decibels); and number of people in the individual's / person's vicinity.

[0056] The computer-implemented method may include using the trained second DBN (trained second DBN) / output DBN to classify the well-being state of an individual / person based on sensor data including any of the following: air pollution; particulate matter concentration; (PM1; PM2.5; PM10;) oxidized gas concentration; reduced gas concentration; NH3 concentration; noise level (in decibels); and number of people in the (individual / person's) vicinity; electrodermal activity; heart rate; heart rate variability; body temperature; blood volume pulse; and body movement (via accelerometer).

[0057] The computer-implemented method may further include outputting a well-being score / outcome based on said classification according to the sensor data.

[0058] The computer-implemented method may further include using the trained second DBN (trained second DBN) / output DBN to estimate / predict a pollution level in an environment based on data from the sensor.

[0059] The computer-implemented method may further include outputting the contamination level prediction result.

[0060] The method may be implemented on heterogeneous hardware having multiple processors operating in parallel.

[0061] The computer-implemented method may include training a first DBN on a first processor and training a second DBN on a second processor.

[0062] The second processor may be larger and / or have more RAM / memory and / or be more powerful than the first processor.

[0063] The method (or extended-training process) may be implemented on / using a series of processors and the method may include using during / for each successive iteration a processor from the series of processors that is greater than the processor used in / for the previous iteration.

[0064] The method may include training a plurality of DBNs (using an extension-training process) on / using the set of processors, wherein the start time of training (the extension-training process) for each DBN being trained is staggered such that processors of the set of processors operate in parallel.

[0065] The first and second DBNs may be first-order first and second DBNs, and the method may include training a second-order DBN according to any method specified above.

[0066] The method may include training a primary first DBN using / on a first processor and simultaneously training a secondary second DBN using / on a second processor. The method may include training a primary second DBN using / on a second processor and simultaneously training a secondary first DBN using / on the first processor.

[0067] The second processor may be larger and / or have more RAM / memory and / or be more powerful than the first processor.

[0068] Training the (different, or “primary and secondary”) DBNs (the augmentation-training process) may use different training data.

[0069] According to an embodiment of the third aspect, a computer program (including instructions) is disclosed herein that, when run (or executed) on a computer, causes the computer to perform a method, comprising: training a first deep belief network (DBN) using training data (thereby generating a trained first DBN); adding at least one neuron to (a copy of) the (untrained) first DBN (or the first DBN without neuron weights) to generate a second DBN (enhanced compared to the first DBN); assigning weights to neurons in the second DBN according to weights of (corresponding) neurons in the trained first DBN (thereby generating a partially trained second DBN); and training the (partially trained) second DBN using the training data.

[0070] According to an embodiment of the fourth aspect, disclosed herein is an information processing apparatus having a memory and at least one processor connected to the memory, the at least one processor configured to perform the steps of: training a first deep belief network (DBN) using training data (thereby generating a trained first DBN); adding at least one neuron to (a copy of) the (untrained) first DBN (or the first DBN without neuron weights) to generate a second DBN (enhanced compared to the first DBN); assigning weights to neurons in the second DBN according to weights of (corresponding) neurons in the trained first DBN (thereby generating a partially trained second DBN); and training the (partially trained) second DBN using the training data.

[0071] The apparatus may comprise heterogeneous hardware having multiple processors operating in parallel.

[0072] The at least one processor may include multiple heterogeneous processors operating in parallel.

[0073] The at least one processor may include a first processor configured to train a first DBN and a second processor configured to train a second DBN.

[0074] The second processor may be larger and / or have more RAM / memory and / or be more powerful than the first processor.

[0075] The at least one processor may include a series of processors, and in / for each successive iteration, a processor from the series of processors that is greater than the processor used in / for the previous iteration may be configured to train the first DBN of that iteration.

[0076] The at least one processor / series of processors may be configured to train multiple DBNs (using an expansion-training process), and the start times of training (the expansion-training process) for each DBN being trained may be staggered such that the processors of the series of processors operate in parallel.

[0077] The first and second DBNs may be first-order first and second DBNs, and the at least one processor may be configured to train a second-order DBN as recited in any of the preceding claims.

[0078] The at least one processor may include a first and a second processor. The first processor may be configured to train a primary first DBN and the second processor may be configured to simultaneously train a secondary second DBN. The first processor may be configured to train a secondary first DBN and the second processor may be configured to simultaneously train a primary second DBN.

[0079] The second processor may be larger and / or have more RAM / memory and / or be more powerful than the first processor.

[0080] Features relating to any aspect / embodiment may be applied to any other aspect / embodiment. [Brief description of the drawings]

[0081] Reference will now be made, by way of example, to the accompanying drawings in which: [Figure 1] A useful diagram for understanding zero masking. [Diagram 2] 1 is a diagram useful for understanding an embodiment. [Diagram 3] FIG. [Figure 4] FIG. [Diagram 5] 1 is a diagram useful for understanding an embodiment. [Figure 6] FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0082] Definition of Terms Deep Belief Network - In machine learning, a deep belief network (DBN) is a class of generative graphical models, or alternatively, deep neural networks, that consist of multiple layers of latent variables ("hidden units"), with connections between the layers but no connections between units within each layer. [Non-Patent Document 1] https: / / en.wikipedia.org / wiki / Deep_belief_network

[0083] Restricted Boltzmann Machine - A Restricted Boltzmann Machine (RBM) is a generative probabilistic artificial neural network that can learn a probabilistic distribution over a set of its inputs. [Non-Patent Document 2] https: / / en.wikipedia.org / wiki / Restricted_Boltzmann_machine

[0084] Drop-out - Drop-out is a regularization method that approximates training multiple neural networks with different architectures in parallel. [Non-Patent Document 3] https: / / machinelearningmastery.com / dropout-for-regularizing-deep-neural-networks /

[0085] Zero Masking - The principle of the zero masking strategy is to reconstruct the initial input with corrupted input, which is beneficial for learning more robust features. Specifically, the values ​​of some input units are set to 0 with probability q. Figure 1 can be useful to understand zero masking. [Non-Patent Document 4] https: / / towardsdatascience.com / how-does-masking-work-in-an-rnn-and-variants-and-why-537bf63c306d

[0086] Reconstruction Error - A common definition of reconstruction error is the distance between the original data point and its projection (its "estimate") into a lower dimensional subspace. [Non-Patent Document 5] https: / / idswater.com / 2021 / 01 / 25 / what-is-reconstruction-error-in-autoencoder /

[0087] As mentioned above, deep belief networks (DBNs) were invented as a solution to problems encountered when using traditional neural networks, especially when training deep networks: slow learning, getting stuck in local minima due to poor parameter choices, and needing large training datasets, among others.

[0088] DBNs were initially introduced in [6] as probabilistic generative models to provide an alternative to the discriminative properties of traditional neural nets. [Non-Patent Document 6] "An empirical evaluation of deep architectures on problems with many factors of variation", https: / / www.researchgate.net / publication / 221345414_An_empirical_evaluation_of_deep_architectures_on_problems_with_many_factors_of_variation

[0089] Generative models provide a joint probability distribution over the input data and the labels, facilitating the estimation of both P(x|y) and P(y|x). In contrast, discriminative models only use the latter model P(y|x). DBNs consist of several layers of neural networks, also known as "Boltzmann Machines". DBNs can also be described as a stack of Restricted Boltzmann Machines. Each layer of a Restricted Boltzmann Machine (RBM) interconnects with the previous layer and with the subsequent layer. This means that the nodes of a single layer do not communicate with each other horizontally.

[0090] Boltzmann Machine Boltzmann machines are an integral part of mechanics and statistics, and can be useful, for example, in the domain of thermodynamics, to understand the influence of parameters such as temperature and entropy on quantum states. While almost all other similar machines use Stochastic Gradient Descent for the patterns to be learned and optimized, Boltzmann machines learn patterns without Stochastic Gradient Descent. When using Boltzmann machines, there is no typical 1 or 0 type output, but it is still possible to determine patterns.

[0091] Restricted Boltzmann Machine Restricted Boltzmann Machines (RBMs) can be thought of as a binary version of factor analysis. Instead of having many factors, a binary variable determines the network output. The extensive scope of RBNs allows for more efficient training of the generating weights of their hidden units. These hidden units are trained to capture the higher order data correlations observed in the visible units.

[0092] The generating weights are obtained using an unsupervised greedy layer-wise method enabled by contrastive divergence (7). The RBN training process, known as Gibbs sampling, begins by presenting a vector v to the visible units, which forward the values ​​to the hidden units. In the reverse direction, the visible unit inputs are found probabilistically to reconstruct the original inputs. Finally, these new visible neuron activations are forwarded, thereby achieving a single-step reconstruction of the hidden unit activations h. [Non-Patent Document 7] https: / / www.cs.toronto.edu / ~hinton / absps / tr00-004.pdf

[0093] RBMs are similar to BMs with a small difference: in a Restricted Boltzmann Machine there are no connections between nodes within groups, i.e. visible and hidden. This makes it easier to implement and train.

[0094] There have been proposals to improve the robustness of DBNs using dropout and zero-masking techniques. Nevertheless, problems can still persist in terms of the time and resources used in training DBNs. Not only are there expensive hardware, data, and time requirements, but the performance of the trained DBNs can also be lacking.

[0095] To dig deeper into the issues and inefficiencies during the training phase of DBN, we list the steps and those issues below. Initially, determining the structure and size of the DBN (number of neurons in each layer and number of layers) requires experience. If higher numbers are used, the computational cost may increase without adding much accuracy. More complex structures can provide improved ability to solve complex problems. However, longer training times are required while training more complex structures and sometimes, due to poor implementation, lower accuracy is achieved. Researchers generally tend to optimize the parameters of DBNs empirically, which can be time-consuming. The best network structure should be obtained with the least amount of effort to optimize training accuracy, data overfitting, and training time / resources.

[0096] Dropout techniques and zero-masking strategies are usually employed to increase the robustness of DBNs. Training DBNs is expensive and time-consuming due to bottlenecks that arise when using multiple layers of input data and multiple layers of RBMs. This is because, as mentioned above, a greedy learning algorithm is first used to train top-down weights for each layer, and then Gibbs sampling is used to extract the output layer. DBNs require training each RBM layer. Bottlenecks may arise in scenarios where the input data consists of multiple types and layers (e.g., environmental and physiological) in addition to multiple layers of RBMs. For example, bottlenecks may arise with more than three types of input data and more than five layers of RBMs.

[0097] To reduce training time / resources, a method for training a DBN is disclosed herein. The method for training a DBN includes expanding the DBN. FIG. 2 illustrates expanding the DBN. The method includes expanding the width of the DBN's network after the first training epoch (from left to center in FIG. 2). This step may include adding at least one neuron to at least one layer of the DBN. In FIG. 2, two dark grey neurons have been added. The method then includes expanding the depth of the DBN's network (from center to right in FIG. 2). This step may include adding at least one layer to the DBN, as shown. The new layer is shown using stripes for neurons corresponding to neurons in the original DBN and dark grey nodes for neurons corresponding to neurons added in the previous (width expansion) step. The new layer may initially have the same weights as another layer of the DBN. The method disclosed herein further includes using transfer learning to pass knowledge from the training in the first epoch to the new expanded network.

[0098] Again, using a larger (more node) DBN can provide improved accuracy, e.g., when using DBNs for classification, but with drawbacks in hardware and time requirements. This disclosure provides a method to first train a network, then extend the network width, and then extend the network depth to improve capacity and accuracy, followed by transfer learning and further training.

[0099] The use of transfer learning means that knowledge learned from the first training step is passed to subsequent training steps, and therefore no additional time is required when training the expanded network or when starting from scratch. That is, training the smaller network (before expansion) requires less time / resources than using the expanded network from scratch. The knowledge gained from this initial training step (i.e., node weights) is transferred to the expanded version of the network, and training then continues. Overall, the aspects disclosed herein may reduce the time and resource requirements and improve (or maintain) the accuracy of DBNs.

[0100] Aspects disclosed herein may be used to train DBNs for various tasks, such as video processing, object detection in video data, pollution level estimation / prediction based on sensor data from environmental, location, and physiological-based sensors, and well-being classification.

[0101] The transfer learning and network augmentation disclosed herein not only speeds up the training process and achieves the same or improved accuracy of the model, but also reduces the data requirements from people. That is, less data is needed to train a DBN using the aspects disclosed herein compared to traditional training methods to achieve the same accuracy. The data requirements may be more significant, for example, when data is collected in real time with people and sensors moving / commuting outdoors.

[0102] The use of DBNs has been widely studied in deep learning applications and has diverse applications, replacing convolutional neural networks in some cases. Aspects disclosed herein may reduce training time and hardware requirements, for example, when using DBNs for classification tasks. Furthermore, aspects disclosed herein may reduce the amount of data required, which is particularly useful in experimental situations involving human participants (as data may be more difficult to obtain in such scenarios), and may improve accuracy.

[0103] Aspects disclosed herein include the use of transfer learning and network expansion. Rather than training an expanded (large) DBN with a large number of neurons from scratch, transfer learning from a previously trained, simpler DBN is used. Initial training (e.g., using sensor data obtained from human participants in an experiment) is performed on the simpler DBN. This can be useful in updating model parameters and weights after an initial set of parameters, and is quicker (at least compared to performing such training on a larger (expanded) network) due to the smaller number of neurons in the network.

[0104] The learned weights from the initial training are transferred to the expanded DBN, which is expanded in width and then depth by adding at least one additional layer of neurons. Training continues on the more complex (i.e., expanded) DBN to improve accuracy, but using the weights learned from the previous, simpler network. This is required to complete the training phase, which may reduce the time and resources required for the training process in general. To understand the difference in time requirements between conventional methods and the aspects disclosed herein, some time-consuming training phase tasks and how they can be improved are listed below. Traditionally, determining the DBN structure required repeated manual experimentation. Aspects disclosed herein initialize with a simpler DBN to alleviate this problem, i.e., to reduce the time taken for this phase. Increasing the complexity of the network structure provides the ability to solve more complex problems, but at the cost of longer training times. Initial training on a simpler DBN reduces training time while learning the initial weights with some insight into the features required to solve the problem. By expanding the network and transferring the weights, solving more complex problems becomes possible with less training time. The network can be further expanded if it provides improved accuracy and does not meet the stopping criteria. This means that there is an automated procedure to improve accuracy and identify good network structures without the need for tedious manual experimentation or long training times and reconfigurations.

[0105] FIG. 3 shows the method, briefly summarized as follows (described in more detail below): A dataset (e.g., obtained from sensors attached to a human participant) is prepared for training. Model parameters may be initialized using expert knowledge to start training the simpler DBN. The simple DBN is then trained to update neuronal weights and quickly obtain an initial model. A reconstruction error may be calculated during training of the simple network to provide a sense of how close / far the model is to the correct answer and to avoid overfitting by assigning a threshold. Overfitting tends to occur when a model learns too much on the training data and does not generalize well to unseen test data. Due to the short duration of the training phase, overfitting is not expected to occur in this training phase of the simple DBN, but the reconstruction error may still be calculated to give an insight into how the model was trained and to provide a comparison for the reconstruction error of the complex DBN.

[0106] Furthermore, complex / extended DBNs are created by extending the simpler DBN (e.g., a copy of the simpler DBN, i.e., no weights) by adding at least one neuron in width, and then extending it by adding at least one layer of neurons in depth. This can be visualized as in Figure 2. The complex DBN uses transfer learning to pick up weights from the simple DBN and continues its own training.

[0107] The reconstruction error may be calculated and the difference in the reconstruction errors may be compared to a stopping criterion, which may be determined by expert knowledge and / or iterative testing.

[0108] The advantage of this method is that the initial training is much faster with a simpler network, and the next stage can provide higher accuracy than previous proposed methods in the literature. This can be particularly useful in experiments where data acquisition from human participants is difficult and scarce, and accuracy plays a key role in identifying behaviors.

[0109] In summary, the method involves initial training using a simple DBN (whose size is, for example, pre-determined), expansion by width and depth to obtain a more complex structure without sacrificing training time, transfer of weights learned before the expansion to the expanded DBN to retain knowledge from the first training step, and training of said more complex DBN. This method offers more capacity, faster training time, and / or lower resource specifications (compared to using only the simple DBN). In contrast, if the network is not expanded, the simple DBN may not be able to accurately model the complex problem, and thus the output layer may provide poor results, and using an expanded network from the beginning may quickly lead to a bottleneck, for example due to the range of input data and the greedy learning followed by Gibbs sampling training phase.

[0110] The method illustrated in FIG. 3 will now be described in more detail.

[0111] Step S1: Pre-processing the data set. This step can include, for example, following a standardization procedure for the sensor data. The standardization procedure includes, for example, removing noise and irrelevant data, and normalization in the range [0,1]. To normalize the data, the following formula can be used:

number

[0112] Step 2: Initialize model parameters for the DBN structure. For example, a simple structure with a depth and width of 4 can be used, including a visible layer, a hidden layer, and an output layer. The initial weights and biases for simple initial training, the learning rate, and the number of epochs can also be set. In an example where various sensor data from human experiments are used, batches of 20 data per epoch can be used to reduce computational requirements.

[0113] In one example, the initial weights, as well as the biases, may be initialized using N(0,0.1) normally distributed random numbers, the learning rate may be set to 0.01, and the number of initial simple training iterations (epochs) may be set to 2. This may allow a simple DBN structure to quickly learn basic features before expanding.

[0114] Step 3: Initial training with a simple DBN structure. A commonly used Contrastive Divergence (CD) Gradient Approximation algorithm can be used to complete the initial training on each RBM. This can be used to calculate and update the network parameters, weights, and biases in a bottom-up manner. The initial training on a simple structure can extract features and reduce the dimensionality of the data at low computational cost before transferring the learning to a more complex structure.

[0115] Step 4: At each training stage, a reconstruction error can be calculated to identify the difference between the input values ​​and the reconstructed values. The reconstruction error can be calculated as follows:

number

[0116] A stopping criterion can also be included to prevent overfitting. This is unlikely while training simple structures, but may be beneficial during complex training phases. If a stopping criterion is reached, the training and expansion of the network may be stopped and the method can proceed to the testing phase. A stopping criterion such as the following may be used:

number

[0117] Step 5: Proceed to generate / provide a complex DBN by expanding the width. This is shown as the first expansion step in Figure 2. The initial simple structure is of width 4 and the expanded structure (middle of Figure 2) is of width 6 neurons. The weights of the simple DBN are transferred to the complex DBN. Due to the increase in the size of the complex structure, there will be some neurons in the complex structure whose weights have not been transferred. To assign weights to those (additional) neurons, weights can be sampled from the simple DBN after training it. That is, the following method can be used to assign weights in the complex DBN:

number

[0118] Thus, for newly added neurons in a complex DBN, weights may be drawn, for example randomly, from previously learned weights. Although not shown in the above formula, some of the weights from the simple structure may be divided by a replication factor before being assigned to the complex DBN in order to adjust the weights in the network. This is to avoid having many copies of the same weight. For example, if the same weight is sampled six times in a row by randomly sampling from the weights from the simple structure, this replication factor changes the weight a little by dividing it to avoid these weights all being exactly the same. For example, if six different weights are sampled, the replication factor has no role. The replication factor is a very small number. The replication factor changes the weight a little in rare scenarios that occur (especially when assigning weights to neurons that extend the depth, for example) to avoid having the same weight multiple times, since having the same weight multiple times could mean that fewer features are being learned.

[0119] Step 6: Proceed to add to the complex DBN structure by extending the depth. This is shown in the second step of Figure 2, where this step adds more neurons to the depth. The added width allows for the learning of more features, and the added depth introduces the ability to learn more complex nonlinear features. The weights of the new neurons are calculated similarly as described in step 5 (i.e., random sampling). Depth extension may limit the use of activation functions to the linear rectified activation function (ReLU), since sigmoid and tanh functions may invalidate some criteria. This restriction may give a more robust activation function.

[0120] Step 7: Train the augmented DBN. This can be thought of as repeating step 3 with the augmented DBN instead of the plain DBN.

[0121] Step 8: Calculate the reconstruction error. The reconstruction error may be calculated as described with reference to step 4.

[0122] Step 9: Evaluate the stopping criterion. The difference between the reconstruction error after a training epoch and the reconstruction error of the previous training epoch may be compared to a threshold (the stopping criterion).

[0123] Step 10: If the difference exceeds (or is equal to) the threshold, the method can return to step 7. If the difference is less than the threshold, the next step is to store the network weights for the testing phase, i.e., terminate training.

[0124] None of steps 1, 2, and 4 may be part of the method. Steps 8-10 may not be part of the method. A different method of determining when to end training may be used in place of steps 8-10.

[0125] The simple DBN may be called the first DBN, and the complex DBN may be called the second DBN. The complex DBN may be generated by expanding the width and depth of (a copy of) the simple DBN, and weight assignment / knowledge transfer may be performed after the expansion.

[0126] The expansion includes adding at least one neuron to the simple DBN. The expansion can include adding to the depth and then adding to the width. The expansion may include adding at least one neuron to at least one layer, and / or adding at least one neuron to at least one other layer or layers, and / or adding at least one layer of neurons to the DBN.

[0127] FIG. 4 illustrates a method for training a DBN.

[0128] Step S20 involves training a first deep belief network (DBN) using the training data, resulting in a (partially) trained first DBN.

[0129] Step S40 includes extending the first DBN to generate a second DBN, for example by adding at least one neuron to the first DBN. Step S40 may be considered to include extending a copy of the first DBN, or a copy of the first DBN without weights, or a copy of the "untrained" first DBN. Step S40 may include adding at least one neuron to the untrained copy of the first DBN (or a copy of the first DBN but without weights). This step results in the generation of a second DBN (extended compared to the first DBN).

[0130] Step S60 includes assigning weights to neurons in the second DBN according to the weights of (corresponding) neurons in the trained first DBN. This step may be considered to result in a partially trained second DBN. The weight assignment may be as described with reference to FIG. 3.

[0131] Step S80 involves training a (partially trained) second DBN using the training data.

[0132] Training the first and second DBNs may include using contrastive divergence as described with reference to Figure 3. Other aspects of the method shown in Figure 4 may be as described with reference to Figure 3.

[0133] The first DBN and / or the second DBN may be trained for a predefined / specific / set number of epochs or for a predefined / specific / set length of time. As described with reference to FIG. 3, when training the first DBN and / or the second DBN, a reconstruction error may be calculated after each training epoch (or at a specific / set / predetermined time interval or after a specific number of training epochs). Training of the first DBN and / or the second DBN may be terminated after an epoch if the absolute difference between its reconstruction error after the epoch and the reconstruction error after the previous epoch is less than a threshold (stopping criterion).

[0134] Step S40 may include adding at least one neuron to (a copy of) the (untrained) first DBN to expand the width of the network, and adding at least one neuron to (a copy of) the (untrained) first DBN to expand the depth of the network. Step S40 may include adding at least one neuron to a layer of (a copy of) the (untrained) first DBN (to expand the width of the network) and optionally (then) adding at least one neuron to at least one other layer of (a copy of) the (untrained) first DBN (to further expand the width of the network). Step S40 may include adding at least one neuron to each layer of (a copy of) the (untrained) first DBN (to expand the width of the network). Step S40 may include adding at least one layer of neurons (to expand the depth). Computational cost may be saved by adding to the width first and then to the depth, but neurons may be added in a different order.

[0135] In one aspect, the method includes steps S20-S80, and the "successive iteration" dotted line may be ignored. In this aspect, the method may be considered to include outputting the trained second DBN as an output DBN for further use (the method may include using this output DBN as described below).

[0136] In another aspect, steps S40-S80 may be iterated once (for a second time) after step S80 is performed, as indicated by the dotted line of "sequential iteration." The trained second DBN of the first iteration is the first DBN of the second iteration. That is, the trained second DBN may be considered to be expanded (or a copy of the second DBN without weights, or a copy of the untrained second DBN) in step S40 in the second iteration to generate a third DBN, and then neurons in the third DBN are assigned weights based on the neurons in the trained second DBN in step S60 of the second iteration, and then the third DBN is trained in step S80 of the second iteration.

[0137] In another aspect, method steps S40-S80, sometimes referred to as an expansion-training process, are repeated multiple times, with the first DBN of each subsequent iteration being the (trained) second DBN of the previous iteration, i.e., the iteration preceding said subsequent iteration, i.e., the DBN may be continually expanded (or copies thereof expanded) and trained until an output DBN is generated.

[0138] The number of successive iterations may be fixed / set, or the training-extension process may be continually iterated until some criterion is met. For example, the training-extension process may be continually iterated (training the first / second DBN for a set number of epochs or a set length of time in each case) until a stopping criterion is met as described above (for the "second DBN").

[0139] Fig. 5 illustrates a concept of aspects disclosed herein. Training data (e.g., sensor data as shown in Fig. 5) is used to train a simple / first DBN and also an extended / complex / second DBN, and transfer learning is used to assign weights to neurons in the second DBN based on the weights in the first DBN.

[0140] application The aspects disclosed herein can be used in different technical applications / fields.

[0141] For example, aspects disclosed herein may be used in technology fields where DBNs are used with human participant data, e.g., in research where human behavior is sought to be simulated. An exemplary application of aspects disclosed herein is in human modeling in SDT (Social Digital Twin) projects. Aspects disclosed herein may, for example, improve classification of human well-being based on environmental factors. Such an application may show how reducing CO2 improves well-being (e.g., in places such as the Isle of Wight).

[0142] Technology not only provides a way to simplify work-related tasks, but the purpose of developing and advancing technology is to provide a better tomorrow for future generations. Nevertheless, while pushing the boundaries and achieving what previous generations thought was impossible, the environmental aspect has been ignored. It seems to be becoming evident that if the focus is not shifted to benefit the environment, the point of no return may be near. Addressing the flagrant problems that have arisen due to poor management of the environment and its resources is important not only for the benefit of the environment and future generations, but also for our own benefit. Exposure to particulate matter, gases, and noise can affect daily individual behavior and health. With the development of technology, the ability to collect large amounts of data and monitor the environment is becoming available. Moreover, sensor-based technologies can also collect individual-level data in real time without bothering the user. Sensing technologies and diverse models may then be used to understand the relationship between the environment, individual characteristics, behavior, and well-being.

[0143] Nottingham Trent University (NTU) presents a framework for quantifying an individual's exposure to the environment by utilizing a variety of technological, mobile sensing, and digital devices (https: / / doi.org / 10.48550 / arXiv.2101.12615). They propose the use of unsupervised 1-D deep belief networks (DBNs) to enable deep feature extraction from fused environmental and physiological data. DBNs can be used to classify five self-reported well-being states using pollution and physiological data. Unsupervised DBNs are beneficial because they learn to extract deep hierarchical representations of the training data, which can be used as features within supervised machine learning classifiers. Even using dropout techniques and zero-masking strategies to increase the robustness of DBNs, there are some issues.

[0144] As mentioned before, DBNs can be hardware-wise expensive and time-consuming to perform classification. There is also a requirement for large data that becomes more challenging when human participants are the data contributors. As mentioned above, DBNs consist of a stack of Restricted Boltzmann Machines (RBMs), where layers are interconnected with the previous layer, and typically a greedy learning algorithm is used to train the top-down weights for each layer, and Gibbs sampling is typically proposed to extract the output layer. Multiple layers to model complex problems, along with different types of input data, become a bottleneck in the training phase. With these in mind, NTU's framework still has the potential to improve accuracy, as it presented an 80% accuracy with its best network.

[0145] The aspects disclosed herein can improve the training procedure of DBNs used to classify participants' well-being from environmental and physiological data collected from sensors. The aspects can be applicable in any application with experimental data where DBNs can be used for classification tasks and can accelerate the training process. This can be a great addition to SDT projects, as the objective should also be to demonstrate care and research for people's well-being. Classifying people's well-being based on sensor data from environment, location, and physiological inputs provides insight into how those factors affect daily life. For SDT, it is very important to understand how external factors affect people in the community and help improve their well-being.

[0146] As mentioned above, aspects disclosed herein may be used in applications where DBNs are used to classify well-being based on sensor data (e.g., as proposed by NTU). In such applications, human participants may provide self-reported responses, but sensor data is also collected from a variety of sources. Examples of data that may be collected include: Environmental sensor data such as air quality, noise, etc. Human sensor data like heart rate, temperature etc. GPS location data from human participants · Human self-reported responses.

[0147] Further and / or more detailed examples of possible sensor data are as follows: Air pollution ·Particulate matter concentration PM1; PM2.5; PM10 (particulate matter concentration type) Oxidizing gas concentration Reducing gas concentration ·NH3 concentration Noise level (in decibels) Number of people in the vicinity (individual / person) Electrodermal activity Heart rate Heart rate variability Body temperature Blood volume pulse Body movements (via accelerometers).

[0148] A working example of using the aspects disclosed herein to classify well-being based on environmental and / or physiological and / or geographical data is described below. Data may be collected, for example, at intervals of a few seconds or over a period of time, and an app may, for example, ask a human participant to provide a response (reported well-being state). Sensor data typically has a higher collection frequency (than self-reported data) and provides insight into the surrounding situation. A standardization procedure is completed accordingly for all data obtained.

[0149] Model parameters are initialized for the DBN structure. The configuration described above with reference to FIG. 3 may, for example, be used to reduce the computational resources and time required to train the initial simple structure. The CD algorithm is used to train the simple structure for two epochs to obtain basic knowledge and features. The reconstruction error is calculated to identify the difference between the input and the reconstructed values. Due to the limited training, in this particular example, the stopping criterion was not reached.

[0150] The network (DBN) is expanded first by width and then by depth, and weights are transferred from the simple structure as previously described (with reference to Figures 3 / 4). The expansion allows the network to identify richer and more complex features to improve the robustness and accuracy of the DBN, but does so without the expensive resources and / or time required to train a complex structure from scratch. Transfer learning from the simple to the complex structure helps reduce the time it takes to initially train the network. The network continues training until a stopping criterion is reached.

[0151] The testing phase aims to identify performance improvements resulting from using the aspects disclosed herein, while also examining the accuracy of using sensors to classify human responses. Thus, in general, the aspects disclosed herein have the ability to improve the training time and accuracy of DBN network structures that aim to relate human responses to sensor data, for example. This is important in such scenarios, as such data is difficult to obtain and occurs only in the experimental phase, as human self-reported responses are required.

[0152] Training the second / first DBN may include training the second / first DBN to classify well-being states based on training data (which may be sensor data as defined above) according to the self-reported well-being states as ground truth data.

[0153] The aspects disclosed herein may also be applied in other fields.

[0154] In one example, the trained second DBN (output DBN) is for video processing, more specifically, for object detection / tracking in a video / video data. In one example, the trained second DBN (output DBN) is configured to receive video data as input data and configured to detect / track at least one object in the video data. In this example, the training data is video data. In one example, the method includes using the trained second DBN (output DBN) for video processing, specifically, for detecting / tracking at least one object in the video / video data.

[0155] In one example, the trained second DBN (output DBN) is for quantifying an individual's / person's exposure to an environment, e.g., based on sensor data as defined above. In one example, the method includes using the second / output DBN to thus quantify an individual's exposure to an environment.

[0156] In one example, the trained second DBN (output DBN) is for estimating / predicting pollution levels in an environment based on data from a sensor (data as defined above). In one example, the method includes using the second / output DBN for estimating / predicting pollution levels in this way.

[0157] The method (or any method aspect described herein) may be implemented on heterogeneous hardware having multiple processors operating in parallel. The method may include training a first DBN on / using a first processor and training a second DBN on / using a second processor. The second processor may be larger and / or have more RAM / memory and / or be more powerful than the first processor.

[0158] The method may be implemented on / using a set of processors and may include using during / for each successive iteration a processor from the set of processors that is greater than the processor used in / for the previous iteration. The method may include training a plurality of DBNs on / using the set of processors, each using any of the methods described herein, and the start time of training for each DBN being trained (the extension-training process) may be staggered such that the processors of the set of processors operate in parallel.

[0159] The first and second DBNs may be referred to as primary first and second DBNs, and the method may include training another DBN, i.e., a secondary DBN, according to any method described herein. The method may include training the primary first DBN on / using a first processor and simultaneously training the secondary second DBN on / using a second processor. The method may include training the primary second DBN on / using a second processor and simultaneously training the secondary first DBN on / using the first processor. The second processor may be larger and / or have more RAM / memory and / or be more powerful than the first processor. The training of the different or "primary and secondary" DBNs (the augmentation-training process) may use different training data.

[0160] The aspects disclosed herein provide transfer learning and network expansion for deep belief networks that allow for improved accuracy and reduced resource / time requirements. This can be particularly beneficial in experiments where human participants are required for data acquisition, as data acquisition is expensive in terms of time and resources. By leveraging learning made in previous, simpler iterative steps, the time required to train the network can be reduced without compromising accuracy. Network expansion is expected to improve accuracy. The combination of network expansion and transferring learned weights from a simple DBN to a complex DBN reduces training time, but also improves model accuracy.

[0161] Aspects disclosed herein relate to using transfer learning and network augmentation to improve performance and reduce resource requirements for the use of deep belief networks, for example in human participant experiments. Knowledge can be transferred between the trained simple network and the new augmented network before continuing training.

[0162] The term "weight of a neuron" as used herein may refer, for example, to the bias of that neuron and / or the weight of the connection between that neuron and any other neurons. The term "neuron" as used herein may refer, for example, to an RBM, and "node" may be used in place of "neuron."

[0163] Method aspects (particularly the training-expansion or expansion-training process) may include storing neuron weights, then adding at least one neuron to the network, and then sampling from the stored weights. When assigning weights to neurons of the second DBN, some of the neurons may already have weights based on the first DBN weights, and it is the newly added neurons that need to be assigned weights.

[0164] 6 is a block diagram of an information processing apparatus 10, such as a data storage server, or computing device 10, that may embody the present invention and that may be used to implement some or all of the operations of the methods embodying the present invention and to perform some or all of the tasks of the apparatus of an embodiment. The computing device 10 may be used to perform any of the method steps described above, such as any of steps S1-S10 and / or S20-S80.

[0165] The computing device 10 has a processor 993 and a memory 994. Optionally, the computing device also includes a network interface 997 for communicating with other such computing devices, such as other computing devices of the invention embodiments. Optionally, the computing device also includes one or more input mechanisms, such as a keyboard and mouse 996, and a display unit, such as one or more monitors 995. These elements can facilitate user interaction. Each component can be connected to each other via a bus 992.

[0166] The memory 994 may include a computer-readable medium, which term may refer to a single medium or multiple media (e.g., centralized or distributed databases and / or associated caches and servers) configured to carry computer-executable instructions. Computer-executable instructions may include, for example, instructions and data that are accessible by a computer (e.g., one or more processors) and cause the computer to perform one or more functions or operations. For example, computer-executable instructions may include instructions for implementing a method disclosed herein, or any of the method steps disclosed herein, e.g., any of steps S1-S10 and / or S20-S80. Thus, the term "computer-readable storage medium" may also include any medium capable of storing, encoding, or carrying a set of instructions for execution by a machine and causing a machine to perform any one or more of the method steps of the present disclosure. Thus, the term "computer-readable storage medium" may be interpreted to include, but is not limited to, solid-state memory, optical media, and magnetic media. By way of example, and not limitation, such computer-readable media may include non-transitory computer-readable storage media including random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), compact disk read-only memory (CD-ROM) or other optical disk storage, magnetic disk storage or other magnetic storage devices, flash memory devices (e.g., solid-state memory devices).

[0167] The processor 993 is configured to control the computing device and perform processing operations, e.g., execute computer program code stored in the memory 994 to perform any of the method steps described herein. The memory 994 stores data read and written by the processor 993, and may store the weights and / or networks (DBNs) and / or network representations and / or parameters and / or thresholds and / or stopping criteria and / or calculated values ​​and / or video data and / or sensor data and / or other data, and / or programs for performing any of the method steps described above. As referred to herein, a processor may include one or more general-purpose processing devices, such as a microprocessor, a central processing unit, etc. The processor may include a complex instruction set computing (CISC) microprocessor, a reduced instruction set computing (RISC) microprocessor, a very long instruction word (VLIW) microprocessor, or a processor implementing other instruction sets or a combination of instruction sets. The processor may include one or more special purpose processing devices, such as an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), a digital signal processor (DSP), a network processor, etc. In one or more embodiments, the processor is configured to execute instructions to perform the operations described above and herein. The processor 993 may be considered to include any of the modules discussed above. Any operation described as being implemented by a module may be implemented as a method by a computer, such as by the processor 993.

[0168] The processor 993 may be one of multiple processors (not shown) configured to execute the method steps / program instructions. The processor 993 may include multiple processors. In either case, the processors may be of different sizes and / or have different performance specifications / RAM / processing power. The processors may collectively be referred to as heterogeneous parallel computing hardware. The processors may perform the method steps in parallel as described above. For example, one such processor (or set of processors) may train a DBN while another processor (or set of processors) trains another DBN. The multiple processors may be a series of processors of increasing size and / or performance specifications / RAM / processing power, and the multiple DBNs may be trained in parallel as described above.

[0169] The display unit 995 may display a representation of the DBN or a representation of data stored by the computing device, such as the results of using the DBN for object detection / tracking or well-being classification or pollution level prediction / estimation, and / or may display GUI windows and / or interactive representations and / or any other output described above that allow a user to interact with the apparatus 10, for example by drag-and-drop or selection interactions, and may also display cursors and dialog boxes and screens that allow interaction between a user and programs and data stored on the computing device. The input mechanism 996 may allow a user to input data and instructions into the computing device, such as allowing a user to enter any user input (parameters, data, etc.).

[0170] The network interface (network I / F) 997 may be connected to a network such as the Internet and can be connected to other such computing devices via the network. The network I / F 997 controls data input and output to and from other devices via the network. Other peripheral devices such as microphones, speakers, printers, power supply units, fans, cases, scanners, trackballs, etc. may also be included in the computing device.

[0171] Methods embodying the present invention may be performed on a computing device / apparatus 10 as shown in FIG. 6. Such a computing device need not have all the components shown in FIG. 6, but may be composed of a subset of those components. For example, the apparatus 10 may comprise a processor 993 and a memory 994 connected to the processor 993. Alternatively, the apparatus 10 may comprise a processor 993, a memory 994 connected to the processor 993, and a display 995. Methods embodying the present invention may be performed by a single computing device in communication with one or more data storage servers over a network. The computing device may be a data storage device itself that stores at least a portion of said data.

[0172] Certain methods embodying the invention may be performed by multiple computing devices operating in cooperation with each other. Features of implementing the method on multiple processors may be applied to implementing the method on multiple computing devices. That is, each processor (or set of processors) may be implemented in a separate computing device, and heterogeneous hardware may include multiple computing devices. One or more of the multiple computing devices may be data storage servers that store at least a portion of the data.

[0173] The invention may be implemented in digital electronic circuitry, or in computer hardware, firmware, software, or in combinations of them. The invention can also be implemented as a computer program or computer program product, i.e. a computer program tangibly embodied in a non-transitory information carrier, for example a machine-readable storage device or a propagated signal, for execution by or to control the operation of one or more hardware modules.

[0174] A computer program may be in the form of a stand-alone program, a computer program portion, or two or more computer programs, may be written in any form of programming language, including compiled or interpreted languages, and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a data processing environment. A computer program may be deployed to be executed on one module, or on multiple modules within one site, or may be distributed across multiple sites and interconnected by a communication network.

[0175] The method steps of the present invention may be performed by one or more programmable processors executing a computer program that performs the functions of the present invention by operating on input data and generating output. Apparatus of the present invention may also be implemented as programmed hardware or as special purpose logic circuitry including, for example, an FPGA (Field Programmable Gate Array) or an ASIC (Application Specific Integrated Circuit).

[0176] Processors suitable for the execution of a computer program include, by way of example, both general and special purpose microprocessors, and any one or more processors of any kind of digital computer. Generally, a processor receives instructions and data from a read-only memory or a random access memory or both. The essential elements of a computer are a processor for executing instructions coupled to one or more memory devices for storing instructions and data.

[0177] Any DBN may, for example, be stored / represented in the form of linked data nodes on at least one memory.

[0178] The above-described embodiments of the invention may be advantageously used independently of other embodiments or in any practicable combination with one or more other embodiments.

[0179] The aspects disclosed herein provide transfer learning and network expansion for deep belief networks that allow for improved accuracy and reduced resource / time requirements. This can be particularly beneficial in experiments where human participants are required for data acquisition, as data acquisition is expensive in terms of time and resources. By leveraging the learning done in previous, simpler iterations, the time required to train the network can be reduced without compromising accuracy. Network expansion is expected to improve accuracy. The combination of expanding the network and transferring learned weights from a simple DBN to a complex DBN reduces training time, but also improves the accuracy of the model.

[0180] Aspects disclosed herein relate to using transfer learning and network augmentation to improve performance and reduce resource requirements for the use of deep belief networks, for example in human participant experiments. Knowledge can be transferred between the trained simple network and the new augmented network before continuing training.

[0181] The following supplementary notes are further disclosed regarding the embodiments including the above examples. (Appendix 1) training a first deep belief network (DBN) using the training data; adding at least one neuron to the first DBN to generate a second DBN; assigning weights to neurons in the second DBN according to weights of neurons in the trained first DBN; training the second DBN using the training data. A computer-implemented method. (Appendix 2) 2. The computer-implemented method of claim 1, wherein training the first DBN includes training the first DBN for a predefined number of epochs or for a predefined length of time. (Appendix 3) 3. The computer-implemented method of claim 1 or 2, wherein assigning weights to neurons in the second DBN according to weights of neurons in the trained first DBN includes, for newly added neurons in the second DBN, assigning to each neuron a weight of a neuron sampled from the trained first DBN. (Appendix 4) 4. The computer-implemented method of any one of claims 1 to 3, wherein training the second DBN includes training the second DBN for a predefined number of epochs or for a predefined length of time. (Appendix 5) 5. The computer-implemented method of any one of claims 1 to 4, further comprising calculating a reconstruction error after a number of training epochs when training the second DBN or at a time interval when training the second DBN. (Appendix 6) 6. The computer-implemented method of claim 5, further comprising terminating training of the second DBN if, after an epoch, an absolute value of a difference between successive reconstruction errors is less than a threshold. (Appendix 7) adding at least one neuron to the second DBN to generate a third DBN; assigning weights to neurons in the third DBN according to weights of neurons in the trained second DBN; and training the third DBN using the training data. 7. A computer-implemented method according to any one of claims 1 to 6. (Appendix 8) 7. The computer-implemented method of any one of claims 1 to 6, further comprising sequentially repeating the steps of adding at least one neuron to the first DBN, assigning weights to neurons in the second DBN, and training the second DBN, wherein the first DBN in each iteration step is the second DBN in a previous iteration step. (Appendix 9) The second DBN trained was: Air pollution; particulate matter concentration; Oxidizing gas concentration; Reducing gas concentration; NH3 concentration; Noise level; Number of people in a neighborhood; electrodermal activity; Heart rate; Heart rate variability; Body temperature; Blood volume pulse; and Physical movement The present invention is directed to quantifying an individual's state of well-being based on sensor data including any of the following: 7. A computer-implemented method according to any one of claims 1 to 6. (Appendix 10) 9. The computer-implemented method of any one of claims 1 to 8, wherein the trained second DBN is for object detection or tracking in video data. (Appendix 11) 10. The computer-implemented method of any one of claims 1 to 9, wherein training the first DBN and the second DBN includes training the first DBN and the second DBN to classify a well-being state based on training data according to a self-reported well-being state as ground truth data. (Appendix 12) 12. The computer-implemented method of any one of claims 1 to 11, wherein the method is implemented on heterogeneous hardware having multiple processors operating in parallel. (Appendix 13) A computer program product which, when executed on a computer, causes the computer to carry out a method, the method comprising: training a first deep belief network (DBN) using the training data; adding at least one neuron to the first DBN to generate a second DBN; assigning weights to neurons in the second DBN according to weights of neurons in the trained first DBN; training the second DBN using the training data. Computer programs. (Appendix 14) An information processing device having a memory and at least one processor coupled to the memory, the at least one processor comprising: training a first deep belief network (DBN) using the training data; adding at least one neuron to the first DBN to generate a second DBN; assigning weights to neurons in the second DBN according to weights of neurons in the trained first DBN; and training the second DBN using the training data. Information processing device. (Appendix 15) 15. The information processing device of claim 14, wherein the device includes heterogeneous hardware having multiple processors operating in parallel. [Explanation of symbols]

[0182] S1 Prepare the dataset to be used S2 Initialize model parameters based on prior knowledge Train the model using the S3 dataset S4 Calculate the reconstruction error S5 Expanding the network width by adding neuron layers S6 Expanding network depth by adding neuron layers Retraining the model with the S7 augmented network S8 Calculate the reconstruction error S9 Check if reconstruction error exceeds threshold S10 Return to stage 7 and continue training Remember the network weights for the testing phase S20 Train the first DBN S40 Extend the first DBN to generate the second DBN S60 Assign weights to neurons in the second DBN S80 Train the second DBN

Claims

1. training a first deep belief network (DBN) using the training data; adding at least one neuron to the first DBN to generate a second DBN; assigning weights to neurons in the second DBN according to weights of neurons in the trained first DBN; training the second DBN using the training data. A computer-implemented method.

2. 2. The computer-implemented method of claim 1, wherein training the first DBN comprises training the first DBN for a predefined number of epochs or for a predefined length of time.

3. 3. The computer-implemented method of claim 1, wherein assigning weights to neurons in the second DBN according to weights of neurons in the trained first DBN comprises, for newly added neurons in the second DBN, assigning to each neuron a weight of a neuron sampled from the trained first DBN.

4. 3. The computer-implemented method of claim 1 or 2, wherein training the second DBN comprises training the second DBN for a predefined number of epochs or for a predefined length of time.

5. 3. The computer-implemented method of claim 1, further comprising: calculating a reconstruction error after a number of training epochs when training the second DBN or at a time interval when training the second DBN.

6. 6. The computer-implemented method of claim 5, further comprising terminating training of the second DBN if, after an epoch, an absolute value of a difference between successive reconstruction errors is less than a threshold.

7. adding at least one neuron to the second DBN to generate a third DBN; assigning weights to neurons in the third DBN according to weights of neurons in the trained second DBN; and training the third DBN using the training data.

3. A computer-implemented method according to claim 1 or 2.

8. 3. The computer-implemented method of claim 1, further comprising sequentially repeating the steps of adding at least one neuron to the first DBN, assigning weights to neurons in the second DBN, and training the second DBN, wherein the first DBN in each iteration step is the second DBN in a previous iteration step.

9. The second DBN was trained: Air pollution; Particulate matter concentration; Oxidizing gas concentration; Reducing gas concentration; NH3 concentration; Noise level; Number of people in the neighborhood; electrodermal activity; Heart rate; Heart rate variability; Body temperature; Blood volume pulse; and Physical movement The present invention is for quantifying an individual's state of well-being based on sensor data including any of the following:

3. A computer-implemented method according to claim 1 or 2.

10. The computer-implemented method of claim 1 or 2, wherein the trained second DBN is for object detection or tracking in video data.

11. 3. The computer-implemented method of claim 1 or 2, wherein training the first DBN and the second DBN includes training the first DBN and the second DBN to classify a well-being state based on training data according to a self-reported well-being state as ground truth data.

12. 3. A computer-implemented method according to claim 1 or 2, wherein the method is implemented on heterogeneous hardware having multiple processors operating in parallel.

13. A computer program which, when executed on a computer, causes the computer to carry out a method, the method comprising: training a first deep belief network (DBN) using the training data; adding at least one neuron to the first DBN to generate a second DBN; assigning weights to neurons in the second DBN according to weights of neurons in the trained first DBN; training the second DBN using the training data. Computer program.

14. An information processing device having a memory and at least one processor coupled to the memory, the at least one processor comprising: training a first deep belief network (DBN) using the training data; adding at least one neuron to the first DBN to generate a second DBN; assigning weights to neurons in the second DBN according to weights of neurons in the trained first DBN; and training the second DBN using the training data. Information processing device.

15. 15. The information processing apparatus of claim 14, wherein the apparatus comprises heterogeneous hardware having multiple processors operating in parallel.