Memory Efficient Neural Processes via Constant Memory Attention Block
Not on the map. Why?
Abstract (arXiv)
Neural Processes (NPs) are popular meta-learning methods for efficiently modelling predictive uncertainty. Recent state-of-the-art methods, however, leverage expensive attention mechanisms, limiting their applications, particularly in low-resource settings. In this work, we propose Constant Memory Attentive Neural Processes (CMANPs), an NP variant that only requires constant memory. To do so, we first propose an efficient update operation for Cross Attention. Leveraging the update operation, we propose Constant Memory Attention Block (CMAB), a novel attention block that (i) is permutation invariant, (ii) computes its output in constant memory, and (iii) performs constant computation updates. Finally, building on CMAB, we detail Constant Memory Attentive Neural Processes. Empirically, we show CMANPs achieve state-of-the-art results on popular NP benchmarks while being significantly more memory efficient than prior methods.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 39 of its 46 references that are in the map. First posted on arXiv 23 May 2023.
Builds on
39 of 46 references.
References · 39
- 2017Attention Is All You Needcited by 59,932
- 2014Deep Learning Face Attributes in the Wildcited by 3,679
- 2014Empirical Evaluation of Gated Recurrent Neural Networks on Sequence Modelingcited by 2,341
- 2017Deep Setscited by 1,394
- 2014On the Properties of Neural Machine Translation: Encoder-Decoder Approachescited by 1,303
- 2021Perceiver: General Perception with Iterative Attentioncited by 1,089
- 2021Transformers in Vision: A Surveycited by 1,009
- 2020Meta-Learning in Neural Networks: A Surveycited by 944
- 2023RWKV: Reinventing RNNs for the Transformer Eracited by 814
- 2021Perceiver IO: A General Architecture for Structured Inputs & Outputscited by 616
- 2019Predicting Dynamic Embedding Trajectory in Temporal Interaction Networkscited by 443
- 2018Conditional Neural Processescited by 421
27 more
- 2021A Survey of Transformerscited by 399
- 2018Neural Processescited by 307
- 2019Attentive Neural Processescited by 280
- 2020Transformer Hawkes Processcited by 230
- 2018Deep Bayesian Bandits Showdown: An Empirical Comparison of Bayesian Deep Networks for Thompson Samplingcited by 166
- 2021Self-attention Does Not Need O(n2) Memorycited by 152
- 2019Convolutional Conditional Neural Processescited by 139
- 2019Intensity-Free Learning of Temporal Point Processescited by 138
- 2019Fast and Flexible Multi-Task Classification Using Conditional Neural Adaptive Processescited by 131
- 2022Transformer Neural Processes: Uncertainty-Aware Meta Learning Via Sequence Modelingcited by 126
- 2022Transformers as Meta-Learners for Implicit Neural Representationscited by 79
- 2020Meta-Learning Stationary Stochastic Process Prediction with Convolutional Neural Processescited by 74
- 2020Memformer: A Memory-Augmented Transformer for Sequence Modelingcited by 63
- 2019Sequential Neural Processescited by 55
- 2020Bootstrapping Neural Processescited by 40
- 2021How to Certify Machine Learning Based Safety-critical Systems? A Systematic Literature Reviewcited by 36
- 2021Task-adaptive Neural Process for User Cold-Start Recommendationcited by 32
- 2023Autoregressive Conditional Neural Processescited by 32
- 2020Equivariant Learning of Stochastic Fields: Gaussian Processes and Steerable Conditional Neural Processescited by 29
- 2021Convolutional conditional neural processes for local climate downscalingcited by 29
- 2022Latent Bottlenecked Attentive Neural Processescited by 26
- 2022The Neural Process Family: Survey, Applications and Perspectivescited by 23
- 2023Meta Temporal Point Processescited by 16
- 2019Recurrent Neural Processescited by 10
- 2022Meta-Learning Regrasping Strategies for Physical-Agnostic Objectscited by 7
- 2021How Neural Processes Improve Graph Link Predictioncited by 6
- 2022Category-Agnostic 6D Pose Estimation with Conditional Neural Processescited by 4
Built on by
Citing papers per year: 2024: 4; 2025: 4; 2026: 1.
9 papers.
- 2024TuneTables: Context Optimization for Scalable Prior-Data Fitted Networkscited by 47
- 2024Revisiting Synthetic Human Trajectories: Imitative Generation and Benchmarks Beyond Datasauruscited by 8
- 2025ALINE: Joint Amortization for Bayesian Inference and Active Data Acquisitioncited by 8
- 2024Attention as an RNNcited by 6
- 2025Dimension Agnostic Neural Processescited by 5
- 2024Gridded Transformer Neural Processes for Large Unstructured Spatio-Temporal Datacited by 4
- 2025Efficient Autoregressive Inference for Transformer Probabilistic Modelscited by 4
- 2026Incremental Transformer Neural Processescited by 2
- 2025Scalable Spatiotemporal Inference with Biased Scan Attention Transformer Neural Processescited by 1
- 2026Incremental Transformer Neural Processes21 Feb 2026
- 2025Efficient Autoregressive Inference for Transformer Probabilistic Models10 Oct 2025
- 2025Scalable Spatiotemporal Inference with Biased Scan Attention Transformer Neural Processes10 Jun 2025
- 2025ALINE: Joint Amortization for Bayesian Inference and Active Data Acquisition8 Jun 2025
- 2025Dimension Agnostic Neural Processes28 Feb 2025
- 2024Gridded Transformer Neural Processes for Large Unstructured Spatio-Temporal Data9 Oct 2024
- 2024Revisiting Synthetic Human Trajectories: Imitative Generation and Benchmarks Beyond Datasaurus20 Sep 2024
- 2024Attention as an RNN22 May 2024
- 2024TuneTables: Context Optimization for Scalable Prior-Data Fitted Networks17 Feb 2024