Code Monkey home page Code Monkey logo

mamba_ssm's Introduction

Mamba_SSM

Mamba: Linear-Time Sequence Modeling with Selective State Spaces

Winter 2024, CSE 291 (L00): Theory of LLMs, UC San Diego

Deep learning applications have seen substantial advancements with the advent of the Transformer architecture and its attention mechanism. Despite its success, Transformers face challenges in handling long sequences due to their inherent computational inefficiency. Several subquadratic-time architectures have been proposed to address this limitation, but they have not matched attention-based models’ performance on crucial tasks such as language processing. In this report, we identify the inability of these models to perform content-based reasoning as a key weakness and focus on Mamba, a novel neural network architecture that integrates selective structured state space models (SSMs) to address this limitation.

Links

  1. Report
  2. Presentation

References

  1. Fu, D. Y., Dao, T., Saab, K. K., Thomas, A.W., Rudra, A., and Ré, C. Hungry hungry hippos: Towards language modeling with state space models, 2023.
  2. Gu, A., and Dao, T. Mamba: Linear-time sequence modeling with selective state spaces, 2023.
  3. Gu, A., Dao, T., Ermon, S., Rudra, A., and Re, C. Hippo: Recurrent memory with optimal polynomial projections, 2020.
  4. Gu, A., Goel, K., and Ré, C. Efficiently modeling long sequences with structured state spaces, 2022.
  5. Gu, A., Johnson, I., Goel, K., Saab, K., Dao, T., Rudra, A., and Ré, C. Combining recurrent, convolutional, and continuous-time models with linear state-space layers, 2021.
  6. Poli, M., Massaroli, S., Nguyen, E., Fu, D. Y., Dao, T., Baccus, S., Bengio, Y., Ermon, S., and Ré, C. Hyena hierarchy: Towards larger convolutional language models, 2023.
  7. Smith, J. T. H., Warrington, A., and Linderman, S. W. Simplified state space layers for sequence modeling, 2023.
  8. Tay, Y., Dehghani, M., Abnar, S., Shen, Y., Bahri, D., Pham, P., Rao, J., Yang, L., Ruder, S., and Metzler, D. Long range arena: A benchmark for efficient transformers, 2020.
  9. Tay, Y., Dehghani, M., Bahri, D., and Metzler, D. Efficient transformers: A survey, 2022.
  10. Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, L., and Polosukhin, I. Attention is all you need, 2023.

Collaborators

  1. Sanidhya Singal
  2. Aditya Gulati

mamba_ssm's People

Contributors

sayhitosandy avatar

Stargazers

Nafis avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.