Abstract
Convolutional deep sets is a neural network architecture that can model stationary stochastic processes. This architecture uses the kernel smoother and deep convolutional neural network to construct translation equivariant functional representations. However, the non-parametric nature of the kernel smoother can produce ambiguous representations when the number of data points is not given sufficiently. To address this issue, we introduce bayesian convolutional deep sets, which constructs random translation equivariant functional representations with a stationary prior. Furthermore, we present how to impose the task-dependent prior for each dataset because a wrongly imposed prior can result in an even worse representation than that of the kernel smoother. Empirically, we demonstrate that the proposed architecture alleviates the targeted issue in various experiments with time-series and image datasets.
Introduction: The Challenge of Task Ambiguity
Convolutional Conditional Neural Processes (ConvCNPs) have emerged as a powerful framework for modeling stochastic processes, such as time-series and spatial data. Their primary strength lies in translation equivariance—the ability to maintain consistent internal representations even when input data is shifted. However, ConvCNPs face a significant hurdle known as task ambiguity.
When data is scarce (a "small context set"), the non-parametric kernel smoother used by ConvCNPs often fails to capture the underlying structure, resulting in blurry or ambiguous functional representations. This paper introduces Bayesian Convolutional Deep Sets to overcome this limitation by incorporating task-dependent stationary priors.
Methodology: Injecting Prior Knowledge
The proposed Bayesian ConvDeepsets architecture resolves task ambiguity by "filling in the blanks" with learned prior knowledge.
- Amortized Task-Dependent Prior: The model evaluates a set of candidate stationary kernels (e.g., RBF, Matern, Periodic). A neural network analyzes the context data to assign probabilities to these kernels, effectively identifying the type of process.
- Random Functional Representations: Using the selected prior, the model generates random sample functions from a Gaussian Process (GP) posterior. This is achieved efficiently via path-wise sampling and Random Fourier Features (RFF), bypassing the high computational costs of traditional GPs.
- Preserving Equivariance: The authors provide mathematical proof that this Bayesian approach maintains the crucial property of translation equivariance, ensuring robustness to input shifts.
Key Insights: Priors as "In-filling"
The fundamental insight of this work is that when data is missing, a well-chosen prior provides the necessary "texture" or "shape" that a simple kernel smoother lacks. For instance, if the model identifies a task as likely periodic, the prior allows it to project that periodicity into the gaps between observed data points.
By using RFF to represent kernels in the frequency domain (Bochner’s Theorem), the complex GP sampling problem is transformed into a fast linear operation. This allows the model to be flexible and efficient, learning to select the right prior from a diverse set of training data.
Experimental Results
The model was rigorously tested across several domains:
- 1D and Multi-Channel Regression: On synthetic tasks with only 5 context points ($N^c=5$), the Bayesian model significantly outperformed standard ConvCNPs in log-likelihood, handling both single and multi-channel sinusoidal processes effectively.
- Image Completion: In predicting land surface temperatures from as little as 1% of pixels, the Bayesian model produced sharper and more accurate maps than the baseline.
- Generalization: The model excelled at "out-of-range" predictions, demonstrating a deep understanding of the underlying process physics rather than just interpolating between points.
Limitations and Future Work
While powerful, the model currently assumes stationarity, which may not hold for all real-world processes like financial regime shifts. Additionally, the model is limited by the initial set of basis kernels provided. Future research could focus on learning these kernels directly from data and automating the tuning of hyperparameters that balance the prior and data terms.
Summary updated