DeepOSets: Non-Autoregressive In-Context Learning with Permutation-Invariance Inductive Bias

Shao-Ting Chiu, Junyuan Hong, Ulisses Braga-Neto
10/11/2024
cs.LG
transformer-attention

No confident code implementation found for this paper.

Abstract

In-context learning (ICL) is the remarkable ability displayed by some machine learning models to learn from examples provided in a user prompt without any model parameter updates. ICL was first observed in the domain of large language models, and it has been widely assumed that it is a product of the attention mechanism in autoregressive transformers.

Show full abstract

In this paper, using stylized regression learning tasks, we demonstrate that ICL can emerge in a non-autoregressive neural architecture with a hard-coded permutation-invariance inductive bias. This novel architecture, called DeepOSets, combines the set learning properties of the DeepSets architecture with the operator learning capabilities of Deep Operator Networks (DeepONets). We provide a representation theorem for permutation-invariant regression learning operators and prove that DeepOSets are universal approximators of this class of operators. We performed comprehensive numerical experiments to evaluate the capabilities of DeepOSets in learning linear, polynomial, and shallow neural network regression, under varying noise levels, dimensionalities, and sample sizes. In the high-dimensional regime, accuracy was enhanced by replacing the DeepSets layer with a Set Transformer. Our results show that DeepOSets deliver accurate and fast results with an order of magnitude fewer parameters than a comparable transformer-based alternative.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{chiu2024deeposets,
  title  = {DeepOSets: Non-Autoregressive In-Context Learning with Permutation-Invariance Inductive Bias},
  author = {Shao-Ting Chiu and Junyuan Hong and Ulisses Braga-Neto},
  year   = {2024},
  eprint = {2410.09298},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.09298v4}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.09298.svg)](https://codeofpaper.com/paper/2410.09298)

Discussion