IP Library Granted Patent US 12,682,244
Granted Patent B2
US 12,682,244 · App. 16/968,336 · Granted Jul 14, 2026

Neural network systems implementing conditional neural processes for efficient learning

Inventors: Tiago Miguel Sargento Pires Ramalho (Tokyo, JP); Dan Rosenbaum (London, GB); Marta Garnelo Abellanas (London, GB); Christopher Maddison (Toronto, CA); Seyed Mohammadali Eslami (London, GB); Yee Whye Teh (Oxford, GB); Danilo Jimenez Rezende (London, GB)
Assignee: GDM Holding LLC
G06N3/088A63F13/67G06N3/045G06N3/084G05D1/0221G06Q10/08
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,682,244
App. No.
16/968,336
Filed
Aug 7, 2020
Granted
Jul 14, 2026
Kind
B2
Art Unit
2127
USPC
706/25
Abstract

According to a first aspect a network system to generate output data values from input data values according to one or In more learned data distributions comprises an input to receive a set of observations, each comprising a respective first data value for a first variable and a respective second data value for a second variable dependent upon the first variable. The system may comprise an encoder neural network system configured to encode each observation of the set of observations to provide an encoded output for each observation. The system may further comprise an aggregator configured to aggregate the encoded outputs for the set of observations and provide an aggregated output. The system may further comprise a decoder neural network system configured to receive a combination of the aggregated output and a target input value and to provide a decoder output. The target input value may comprise a value for the first variable and the decoder output may predict a corresponding value for the second variable.

Claims (53)

1 . A system comprising one or more computers and one or more storage devices storing instructions that when executed by the one or more computers cause the one or more computers to perform operations comprising:

receiving a set of observations, each observation comprising image data and a classification of the image data;

for each observation in the set of observations, inputting the observation into an encoder neural network system to encode the observation including the image data and the classification of the image data to provide an encoded observation for the observation;

inputting the encoded observations for the set of observations that include both the encoded image data and the encoded classifications of the image data into an aggregator to aggregate the encoded observations and provide an aggregated parameter, the aggregating comprising applying a mean function to the encoded observations; and

inputting a combination of the aggregated parameter and target image data for a target observation that includes both the target image data and a target classification of the target image data into a decoder neural network system to provide a predicted classification of the target image data.

2 . The system of claim 1 , wherein the operations comprise, for each of a plurality of training steps:

selecting, the set of observations, a subset of training observations for input to the encoder neural network system and a set of training target observations for training the system;

encoding each training observation using the encoder neural network system to provide an encoded observation for each training observation;

aggregating the encoded observations;

combining the aggregate of the encoded observations with respective training target image data for each training target observation in the set of training target observations to provide a set of combinations for decoding;

decoding each of the set of combinations using the decoder neural network system to provide a predicted classification of the training target image data; and

training the encoder neural network system and the decoder neural network system with back propagation using a loss function dependent upon the predicted classifications for the set of training target observations and ground truth classifications for the set of training target observations.

3 . The system of claim 1 , wherein the operations comprise:

generating, by the decoder neural network system, a predicted distribution for the predicted classification of the target image data; and

determining the predicted classification of the target image data from the predicted distribution for the predicted classification of the target image data.

4 . The system of claim 3 wherein each of the image data comprises a vector defining the image data and wherein the predicted distribution for the predicted classification of the target image data defines a probability distribution over the classifications.

5 . The system of claim 4 , wherein the aggregator is configured to:

for each class of a plurality of potential classes for the classifications of the image data of the set of observations, determine an aggregate for the class based on the encoded image data for the observations in that class; and

determine the aggregated parameter by combining the aggregates for each class of the plurality of potential classes.

6 . The system of claim 1 , wherein the aggregated parameter is invariant under permutations of the set of observations.

7 . The system of claim 1 , wherein the combination received by the decoder neural network system further comprises a set of latent variables which together characterize the target image data.

8 . The system of claim 7 , wherein the operations further comprise determining parameters of a distribution of the set of latent variables, and sampling, by the decoder neural network system, from the distribution of the set of latent variables to provide the predicted classification of the target image data.

9 . The system of claim 8 , the operations further comprise determining, by a prior neural network, the parameters of a prior distribution of the set of latent variables from the set of observations and determining, by a posterior neural network, the parameters of a posterior distribution of the set of latent variables from the target observation.

10 . The system of claim 1 , wherein the combination of the aggregated parameter and the target image data for the target observation comprises a concatenation of the aggregated parameter and the target image data.

11 . A computer implemented method for generating decoder output data values from input data values according to one or more learned data distributions, the method comprising:

receiving a set of observations, each observation comprising image data and a classification of the image data;

for each observation in the set of observations, inputting the observation into an encoder neural network system to encode the observation including the image data and the classification of the image data to provide an encoded observation for the observation;

inputting the encoded observations for the set of observations that include both the encoded image data and the encoded classifications of the image data into an aggregator to aggregate the encoded observations and provide an aggregated parameter, the aggregating comprising applying a mean function to the encoded observations; and

inputting a combination of the aggregated parameter and target image data for a target observation that includes both the target image data and a target classification of the target image data into a decoder neural network system to provide a predicted classification of the target image data.

12 . The method of claim 11 , comprising, for each of a plurality of training steps:

selecting, the set of observations, a subset of training observations for input to the encoder neural network system and a set of training target observations for training the system;

encoding each training observation using the encoder neural network system to provide an encoded observation for each training observation;

aggregating the encoded observations;

combining the aggregate of the encoded observations with respective training target image data for each training target observation in the set of training target observations to provide a set of combinations for decoding;

decoding each of the set of combinations using the decoder neural network system to provide a predicted classification of the training target image data; and

training the encoder neural network system and the decoder neural network system with back propagation using a loss function dependent upon the predicted classifications for the set of training target observation and ground truth classifications for the set of training target observations.

13 . The method of claim 11 , further comprising:

generating, by the decoder neural network system, a predicted distribution for the predicted classification of the target image data; and

determining the predicted classification of the target image data from the predicted distribution for the predicted classification of the target image data.

14 . The method of claim 11 , wherein the aggregated parameter is invariant under permutations of the set of observations.

15 . The method of claim 11 , wherein the combination received by the decoder neural network system further comprises a set of latent variables which together characterize the target image data.

16 . The method of claim 15 , further comprising determining parameters of a distribution of the set of latent variables, and sampling, by the decoder neural network system, from the distribution of the set of latent variables to provide the predicted classification of the target image data.

17 . The method of claim 16 , further comprising determining, by a prior neural network, the parameters of a prior distribution of the set of latent variables from the set of observations and determining, by a posterior neural network, the parameters of a posterior distribution of the set of latent variables from the target observation.

18 . The method of claim 11 , wherein the combination of the aggregated parameter and the target image data for the target observation comprises a concatenation of the aggregated parameter and the target image data.

19 . A method for generating decoder output data values from input data values according to one or more learned data distributions, the method comprising:

receiving a target image data for a target observation;

combining the target image data with an aggregated parameter that is an aggregate of a plurality of encoded observations encoded via an encoder neural network from a set of training observations, each of the training observations comprising respective image data for a training observation and one or more respective classification for the training observation, the aggregating comprising applying a mean function to the encoded observations; and

inputting the combination of the target image data and the aggregated parameter into a decoder neural network system to provide a predicted classification for the target image data.

20 . The method of claim 19 , further comprising, for each of a plurality of training steps:

receiving a training set of observations, each comprising image data for the observation and corresponding ground truth classification for the observation;

combining the aggregated parameter with each of the image data-from the training set of observations to provide a set of combinations for decoding;

decoding each of the set of combinations using the decoder neural network system to provide a set of predicted classifications for the image data from the training set of observations; and

training the decoder neural network system with back propagation using a loss function dependent upon the set of predicted classifications and the ground truth classifications for the image data from the training set of observations.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 6, 2025
From: DEEPMIND TECHNOLOGIES LIMITED
To: GDM HOLDING LLC
Reel/Frame 071498/0210 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 1, 2020
From: RAMALHO, TIAGO MIGUEL SARGENTO PIRES; ROSENBAUM, DAN; GARNELO, MARTA; MADDISON, CHRISTOPHER; ESLAMI, SEYED MOHAMMADALI; TEH, YEE WHYE; REZENDE, DANILO JIMENEZ
To: DEEPMIND TECHNOLOGIES LIMITED
Reel/Frame 053656/0494 →
Continuity (2)
Provisional Application 62628899 · Feb 9, 2018
Related Publication 20210097401A1 · Apr 1, 2021
References Cited (61)
US 10276149B1 · Liang · 2019 [cited by examiner]
US 10936947B1 · Flunkert · 2021 [cited by examiner]
US 20130222377A1 · Bruls · 2013 [cited by examiner]
US 20170147944A1 · Csurka · 2017 [cited by examiner]
US 20170200076A1 · Vinyals · 2017 [cited by examiner]
US 20170228662A1 · Gu · 2017 [cited by examiner]
US 20170243131A1 · Kephart et al. · 2017 [cited by applicant]
US 20170293836A1 · Li · 2017 [cited by examiner]
US 20180025257A1 · van den Oord · 2018 [cited by examiner]
US 20180032082A1 · Shalev-Shwartz · 2018 [cited by examiner]
US 20180196800A1 · Volkovs · 2018 [cited by examiner]
US 20190026631A1 · Carr · 2019 [cited by examiner]
US 20190057683A1 · Sak · 2019 [cited by examiner]
US 20190095798A1 · Baker · 2019 [cited by examiner]
US 20190188882A1 · Son · 2019 [cited by examiner]
US 20190228312A1 · Andoni · 2019 [cited by examiner]
CN 107346326 · 2017 [cited by applicant]
Paul Glasserman, The Normal Distribution (from Columbia Business School), Fall 2001 (Year: 2001). [cited by examiner]
Germain, CriPAV: Street-Level Crime Patterns Analysis and Visualization (Year: 2015). [cited by examiner]
Yang, High-Resolution Image Inpainting using Multi-Scale Neural Patch Synthesis (Year: 2017). [cited by examiner]
Aaron van den Oord, Pixel Recurrent Neural Networks (Year: 2016). [cited by examiner]
Van den Oord, Conditional Image Generation with PixelCNN Decoders, 2016 (Year: 2016). [cited by examiner]
Blundell et al., “Weight uncertainty in neural networks,” CoRR, May 2015, 10, arXiv:1505.05424, 10 pages. [cited by applicant]
Bornschein et al., “Variational memory addressing in generative models,” Advances in Neural Information Processing Systems, 2017, pp. 3920-3929. [cited by applicant]
Damianou et al., “Variational auto-encoded deep Gaussian processes,” CoRR, Nov. 2015, arXiv:1511.06455, 11 pages. [cited by applicant]
Devlin et al., “Neural program metainduction,” Advances in Neural Information Processing Systems, 2017, pp. 2080-2088. [cited by applicant]
Edwards et al., “Towards a neural statistician,” CoRR, Jun. 2016, arXiv:1606.02185, 13 pages. [cited by applicant]
Finn et al., “Model-agnostic meta-learning for fast adaptation of deep networks,” CoRR, Mar. 2017, arXiv:1703.03400, 13 pages. [cited by applicant]
Gal et al., “Dropout as a bayesian approximation: Representing model uncertainty in deep learning,” International conference on machine learning, Jun. 2016, pp. 1050-1059. [cited by applicant]
Garnelo et al., “Conditional Neural Processes,” CoRR, Jul. 2018, arxiv.org/abs/1807.01613, 10 pages. [cited by applicant]
Garnelo et al., “Towards deep symbolic reinforcement learning,” CoRR, Sep. 2016, arXiv:1609.05518, 13 pages. [cited by applicant]
Gregor et al., “Draw: A recurrent neural network for image generation,” arXiv preprint arXiv:1502.04623, Feb. 2015, 10 pages. [cited by applicant]
Hewitt et al., “The variational homoencoder: Learning to learn high capacity generative models from few examples,” CoRR, Jul. 2018, arXiv:1807.08919, 10 pages. [cited by applicant]
Kingma et al., “Adam: A method for stochastic optimization,” CoRR, Dec. 2014, arXiv:1412.6980, 15 pages. [cited by applicant]
Kingma et al., “Auto-encoding variational bayes,” CoRR, Dec. 2013, arXiv:1312.6114, 14 pages. [cited by applicant]
Koch et al., “Siamese neural networks for one-shot image recognition,” ICML Deep Learning Workshop, Jul. 2015, 2:30. [cited by applicant]
Lake et al. “Human-level concept learning through probabilistic program induction,” Science, Dec. 2015, 350(6266):1332-1338. [cited by applicant]
Lake et al., “Building machines that learn and think like people,” Behavioral and Brain Sciences, 2017, 40:58. [cited by applicant]
LeCun et al., “Gradient-based learning applied to document recognition,” Proceedings of the IEEE, Nov. 1998, 86(11):2278-2324. [cited by applicant]
Liu et al., “Deep learning face attributes in the wild,” Proceedings of International Conference on Computer Vision, Dec. 2015, pp. 3730-3738. [cited by applicant]
Louizos et al., “Bayesian compression for deep learning,” Advances in Neural Information Processing Systems, 2017, pp. 3290-3300. [cited by applicant]
Louizos, “Multiplicative normalizing flows for variational bayesian neural networks,” CoRR, Mar. 2017, arXiv:1703.01961, 11 pages. [cited by applicant]
PCT International Preliminary Report on Patentability in International Appln. No. PCT/EP2019/053327, dated May 17, 2019, 12 pages. [cited by applicant]
PCT International Search Report and Written Opinion in International Appln. No. PCT/EP2019/053327, dated Aug. 20, 2020, 18 pages. [cited by applicant]
Rasmussen et al., “Gaussian processes in machine learning,” Advanced lectures on machine learning, Feb. 2003, pp. 63-71. [cited by applicant]
Reed et al., “Few-shot autoregressive density estimation: Towards learning to learn distributions,” CoRR, Oct. 2017, arXiv:1710.10304, 11 pages. [cited by applicant]
Rezende et al., “One-shot generalization in deep generative models,” International Conference on Machine Learning, Mar. 2016, pp. 1521-1529. [cited by applicant]
Rezende et al., “Stochastic backpropagation and approximate inference in deep generative models,” CoRR, Jan. 2014 , arXiv:1401.4082, 14 pages. [cited by applicant]
Salimbeni et al., “Doubly stochastic variational inference for deep gaussian processes,” Advances in Neural Information Processing Systems, 2017, pp. 4591-4602. [cited by applicant]
Santoro et al., “One-shot learning with memory-augmented neural networks,” CoRR, May 2016, arXiv:1605.06065, 13 pages. [cited by applicant]
Snelson et al., “Sparse gaussian processes using pseudo-inputs,” Advances in neural information processing systems, 2006, pp. 1257-1264. [cited by applicant]
Snoek et al., “Scalable bayesian optimization using deep neural networks,” Proceedings of the 32 nd International Conference on Machine Learning, Jul. 2015, 37:2171-2180. [cited by applicant]
Van den Oord et al., “Conditional image generation with pixelcnn decoders,” Advances in Neural Information Processing Systems, 2016, pp. 4790-4798. [cited by applicant]
Vinyals et al. “Matching networks for one shot learning,” Advances in Neural Information Processing Systems, 2016, pp. 3630-3638. [cited by applicant]
Wang et al., “Learning to reinforcement learn,” CoRR, Nov. 2016, arXiv:1611.05763, 17 pages. [cited by applicant]
Wilson et al., “Deep kernel learning,” Artificial Intelligence and Statistics, May 2016, pp. 370-378. [cited by applicant]
Office Action in European Appln. No. 19704799.6, dated Sep. 28, 2022, 11 pages. [cited by applicant]
Hao et al., “Advances on application of deep learning for video object tracking,” Acta Automatica Sinica, Jun. 15, 2016, 42(6):834-847. [cited by applicant]
Office Action in Chinese Appln. No. 20198009347.3, dated Jan. 3, 2024, 25 pages. [cited by applicant]
Notice of Allowance in Chinese Appln. No. 201980009347.3, dated Jul. 25, 2024, 6 pages (with English translation). [cited by applicant]
Vaswani et al., “Attention Is All You Need,” 31st Conference on Neural Information Processing System, 2017, 11 pages. [cited by applicant]