Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comparison of S4 with stateful transformers #48

Closed
andrewliu2001 opened this issue Jun 24, 2022 · 1 comment
Closed

Comparison of S4 with stateful transformers #48

andrewliu2001 opened this issue Jun 24, 2022 · 1 comment

Comments

@andrewliu2001
Copy link

Hi,

Wu et al. recently published a paper on Memorizing Transformers (transformers with states/memory), which extends their perceptive field to unbounded contexts (https://www.youtube.com/watch?v=5AoOpFFjW28&list=PL0NRmB0fnLJQJ3fuIk3yVULtm6_JnQ_zI, https://arxiv.org/abs/2203.08913). I am curious to hear what you think about how S4/Sashimi might compare with this new transformer model. My hunch is that S4 might be theoretically similar if you use the exponential measure density.

@albertfgu
Copy link
Contributor

This model seems somewhat different from S4 in spirit. The memorization mechanism seems more similar to the line of work on memory augmented neural networks (MANN), where the memory mechanisms are based on heuristic memory banks. In comparison, S4's mechanism has a precise mathematical interpretation of function reconstruction. I do think that S4's mechanism might not be sufficient for all settings and some form of memory augmentation could be useful.

For future questions that are not related to this codebase, please send an email instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants