保留正文与补采附件。源页面当前未重新核验;具体限制见交付清单。

Revisit consent button We value your privacy We use cookies to enhance your browsing experience, serve personalised ads or content, and analyse our traffic. By clicking "Accept All", you consent to our use of cookies. Customise Reject All Accept All Customise Consent Preferences We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below. The cookies that are categorised as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... Show more NecessaryAlways Active Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

Functional Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

Analytics Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

Performance Performance cookies are used to understand and analyse the key performance indexes of the website which helps in delivering a better user experience for the visitors.

Advertisement Advertisement cookies are used to provide visitors with customised advertisements based on the pages you visited previously and to analyse the effectiveness of the ad campaigns.

Uncategorised Other uncategorised cookies are those that are being analysed and have not been classified into a category as yet. No cookies to display. Reject All Save My Preferences Accept All Toggle SearchToggle Mobile Navigation Publish AI, ML & data-science insights to a global community of data professionals. Sign inSubmit an Article LatestEditor's PicksNewsletterShipAI


Write For TDS LinkedInXToggle Search Deep Learning

Here Comes Mamba: The Selective State Space Model

Part 3 - Towards Mamba State Space Models for Images, Videos and Time Series Sascha Kirch September 3, 202418 min read

🐍 Towards Mamba State Space Models for Images, Videos and Time Series

Image by Sascha Kirch. Image by Sascha Kirch.

This is part 3 of my new multi-part series 🐍 Towards Mamba State Space Models for Images, Videos and Time Series. Mamba, the model to be said to replace the mighty Transformer, has come a long way from the initial idea of using state space models (SSMs) in deep learning. Mamba adds selectivity to state space models which results in Transformer-like performance while maintaining the sub-quadratic work complexity of SSMs. Their efficient selective scan is 40x faster than a standard implementation and can achieve 5x more throughput as a Transformer. Join me on this deep dive on Mamba where we will discover how selectivity solves the limitations of previous SSMs, how Mamba overcomes new obstacles that come with those changes and how we can incorporate Mamba into a modern deep learning architecture. Mamba State Space Models for Images, Videos and Time Series


Learn this step by step with the interactive Machine Learning roadmap.

Outline

  1. Introducing Selectivity to SSMs 2.1 The Big Picture 2.2 What is Selectivity? 2.3 How Selectivity Affects Tensor Dimensions 2.4 What's The Intuition Behind All Those Matrices?
  2. Let's Talk About Matrix A, Again! 3.1 Diagonal State Space Models 3.2 Mamba's Matrix A
  3. Fast Training Without Convolutional Representation 4.1 Parallel Associative Scan 4.2 Kernel Fusion 4.3 Recomputation of Gradients 4.4 How Fast Is It?
  4. Mamba as a General-Purpose Model 5.1 The Mamba Block 5.2 Where Are the Learnable Parameters? 5.3 How Do We Initialize the Model?
  5. Wrapping Up Mamba 6.1 Summary 6.2 Continue Reading Part 4

1. Where We Left Off in Part 2

Structured State Space Models Visually Explained We ended Part 2 with the introduction of the S4 model. By constraining the state matrix A to have a certain structure, the convolution kernel could be computed very efficiently making S4 30x faster using 400x less memory compared to previous SSMs, hence making it a feasible alternative to Transformers. We said that our structured state space models can be efficiently trained and efficiently inferred due to the duality of the recurrent and convolutional representations of LTI-Systems. ❗ The issue though: An LTI-System treats all its inputs equally and therefore cannot make data dependent decisions.


2. Introducing Selectivity to SSMs

Mamba addresses this problem by introducing a data dependent selection mechanism, but as we will see this comes at a cost. Later more about that. Let's start with some intuition.

2.1 The Big Picture

A fundamental problem of sequence modelling is to decide to which extent the context (meaning previous inputs) is compressed into the state of the model. Remember that the RNN achieves fast inference due to its highly compressed state that models long-range dependencies ineffectively. A Transformer on the other hand, explicitly does not compress the context at all. Each token can attend to each other token at any time, allowing very effective modelling of long-range dependencies at the cost of quadratic work complexity O(L²). The Structured SSM approximates the context using the HiPPO matrix resulting in some compression, while it can be trained more efficiently as the RNN because of its convolutional representation. Figure 1: Efficiency vs. performance of the RNN, SSM, Transformer and the Mamba model. Image by Sascha Kirch. Figure 1: Efficiency vs. performance of the RNN, SSM, Transformer and the Mamba model. Image by Sascha Kirch. What we want is something in between, or let's better say the best of both worlds. A performant and efficient model. And spoiler alert: Mamba might be a promising candidate.

2.2 What is Selectivity?

Instead of attending to the entire history like the Transformer and instead of compressing the entire history into a single state like RNNs and SSMs, we want to selectively compress just the relevant data to end up with a highly performant and efficient model. Efficient in this context means not only inference speed but also relates to other resources like memory and data needed to train the model. Let's look at this simply example of predicting my name: Figure 2: Selectively put focus on a subset of inputs. Image by Sascha Kirch. Figure 2: Selectively put focus on a subset of inputs. Image by Sascha Kirch. Up until now all matrices A , B and C have been independent of the input data. They did not change for different time steps of the signal, hence we said we have a linear and time-invariant (LTI) system where the recurrent and convolutional representation were equal. Figure 3: Different representations of state space models. Image by Sascha Kirch. Figure 3: Different representations of state space models. Image by Sascha Kirch. Mamba changes this by making matrices B and C as well as the discretization parameter ∆ time dependent. This means for every input token we end up with a different set of parameters! Recall that matrix A is a structured matrix derived from the HiPPO matrix and approximates how the state evolves over time based on the history of previous states. Mamba keeps it that way.

2.3 How Selectivity Affects Tensor Dimensions

Making the SSM selective introduces new dimension into the matrices. Explicitly, we now need to consider each token from a sequence of length L parallelized to a batch size B. Figure 4: Tensor shapes of all matrices involved in the selective state space model. Image by Sascha Kirch. Figure 4: Tensor shapes of all matrices involved in the selective state space model. Image by Sascha Kirch. There are a few things to note here:

  1. Matrix A is of shape DxN , and does not change for individual tokens. It is hence still time-invariant. We'll talk more about Matrix A in chapter 3.
  2. Matrix A does perform a selection via the discretization step Δ, that is now dependent on the input. Hence the discretized matrix is of shape BxLxDxN.
  3. Inside the SSM, matrices B and C are still vectors that are applied on input tokens or result in output tokens respectively, it's just that they are now stacked to build a tensor.
  4. The discretized matrices are significantly larger than the non-discretized ones. More on that in chapter 4.
  5. These are the shapes of the matrices used in the SSM's equations, not the parameters that are learned! Those hide somewhere else. We will search for them in chapter 5.

❓ But, what does all this even mean? What is the intuition behind all those matrices and why are only some selective?

2.4 What's The Intuition Behind All Those Matrices?

Matrix A: The state-to-state matrix decides what from the previous state propagates into the next state. Matrix B: the input-to-state matrix transforms any incoming token. It must be selective to filter out irrelevant data or to focus on important data to allow only relevant data to enter into the new state. It resembles some sort of gating mechanism. Matrix C: The state-to-output matrix transforms the state to an output token. It must be selective to decide which information from the state is required to materialize the output. Hence, like matrix B , matrix C has also some connections to a gating mechanism. Matrix Δ: The discretization parameter is often referred to as the step-size of converting the continuous input signal into a discrete sequence. While in a classical SSM, this might be intuitive, in a deep learning setup it is not, especially when working with already discretized data or other modalities like text tokens. So, let's look at the extreme cases: if Δ→∞ the system focuses more (or longer) on the input, hence in the state equation the state update is dominated by the contribution of the input and less by the previous state. If Δ→0 , the opposite happens. That means that Δ can be seen as some sort of weighting between the importance of new samples compared to the previous state.

Get an email whenever Sascha Kirch publishes 🚀 _Get an email whenever Sascha Kirch publishes 🚀 Looking to learn more about deep learning or simply stay up to dat_e...medium.com


3. Let's Talk About Matrix A, Again!

Again, we must talk about the state matrix A. Have you noticed something when looking at the dimension of matrix A? We were always talking about matrix A being a square matrix of NxN , but in Mamba its of shape DxN. What is happening?

3.1 Diagonal State Space Models

Well, a lot has happened between the S4 paper and the release of Mamba. In particular, diagonal state space (DSS) models further simplified the DPLR (diagonal plus low-rank) formulation of S4 to be a simple diagonal matrix, by removing the low-rank term. When we talked about S4 in part 2 of this series, we said having a diagonal matrix A for the calculation of the convolution kernel K would actually be the ideal case, since it reduces the number of computations drastically! Figure 5: Truly diagonal state matrix A as proposed by the DSS paper. Image by Sascha Kirch. Figure 5: Truly diagonal state matrix A as proposed by the DSS paper. Image by Sascha Kirch. In a follow-up paper of S4's authors, they provided a thorough analysis of the effects on why this works and further suggests multiple new initialization schemes for the true diagonal case resulting in the S4D model. Long story short, Mamba uses the S4D-Real initialization, mentioned in a side note of the S4D paper, because it has the same spectrum as the original S4-LegS HiPPO Matrix. We will further talk about initialization in chapter 5.

3.2 Mamba's Matrix A

But now let's come back to Mamba's matrix A. Remember from part 2 of the series that if we have a diagonal matrix of NxN , we only need to store N values, meaning we can store it as a vector. The DxN matrix of Mamba is really just D times such a vector representing the diagonal matrix! Figure 6: Creating the diagonal matrices of the SSM from Matrix A. Image by Sascha Kirch. Figure 6: Creating the diagonal matrices of the SSM from Matrix A. Image by Sascha Kirch. This allows us to observe another interesting fact about Mamba and previous state space models: Each channel in D is processed independently which can be interpreted as each channel gets its own SSM! This fact becomes important in part 6 and part 7 when we look into the MambaMixer and Mamba-2 respectively.


4. Fast Training without Convolutional Representation

Having different parameters for different timesteps implies that our model is now time-variant. Hence the convolution representation is not valid anymore and we loose the benefit of fast training. A big portion of the Mamba paper is about how to overcome this problem. They introduce three strategies resulting in their selective scan algorithm : (1) parallel associative scan, (2) kernel fusion and (3) recomputation of gradients.

Note: These ideas are not completely new. The S5 layer (Simplified State Space Layer for Sequence Modelling) applied the parallel scan and H3 (Hungry Hungry Hippos) already worked with kernel fusion to speed up the training.

4.1 Parallel Associative Scan

Recall that the structured state space model is a time invariant system (LTI) since the matrices involved in updating the state (A and B) are identical for each new input. That allowed either using a recurrent representation or a convolution representation. In Mamba this changes since the discretized matrices A and B are now dependent on the input. That implies that we cannot use the convolution representation to speed up the training and we are left with the recurrent representation, this time with different matrices for each new input and update of the state: Figure 7: Recurrent representation of a selective state space model. Image by Sascha Kirch. Figure 7: Recurrent representation of a selective state space model. Image by Sascha Kirch. The recurrent execution has a work complexity of O(L) , meaning doubling the length L of the input sequence requires twice as much work to compute the final output. The one big issue with recurrency is that during training we don't want to calculate all the states sequentially, because we have access to the labels of all inputs beforehand. During inference, especially for an autoregressive sampling task (e.g. next word prediction) this would be totally fine though. ❓ The question is, how can we speed up the sequential update of the state, where each state strongly depends on the previous one? It's not like that we could run it in parallel, right? This particular type of recurrency, where each new state is the sum of the previous state and an input, is called scan. It is such a common problem in science and engineering, that even before we had parallel computers, in 1986 and 1990, techniques to parallelize a scan have been already been published. It wasn't until 2005 that these algorithms would be tested on a real GPU. Figure 8: Parallel scan algorithm. Image by Sascha Kirch. Figure 8: Parallel scan algorithm. Image by Sascha Kirch. The parallel scan has a work complexity of O(log L) , which is smaller than O(L). The longer the input sequence L , the higher the speed-up compared to the recurrent execution. Recall that a vanilla transformer has a work complexity of O(L²).

4.2 Kernel fusion

As you might know, any computer has different types of memory. Generally speaking, the farther away from the processing unit, the larger the memory and the more time it takes to read the data (mainly due to properties of the PCB and other electronic components that do not allow higher frequencies). What usually happens in a GPU is that variables are read from the larger but farther away HBM (high bandwidth memory) into the faster SRAM to perform a calculation and then the result is written back into the HBM. If a calculation requires multiple steps, this process of reading, processing and writing is repeated until the entire calculation is done. If a calculation requires less time for the actual calculation as for reading and writing, it is called memory bounded aka. I/O bounded. Figure 9: GPU utilization vs. memory I/O. Image by Sascha Kirch. Figure 9: GPU utilization vs. memory I/O. Image by Sascha Kirch. I/O bound operations use their computing hardware quite inefficiently since they spend most of the time waiting for data in an idle state. Basically, you want to avoid reading large amounts of data too frequently. ❓ But what can we do? Or better said: what did the authors of Mamba do? Instead of storing the discretized matrices A and B , only the continuous-time matrices are stored in global memory. Matrices A , B , C and Δ are read from the HBM into the SRAM and then the discretization is performed in SRAM. Here an example on how many values need to be read when either reading the continuous-time matrices or when reading the discretized matrices considering the shapes of the matrices as depicted earlier: Figure 10: Number of values needed to be read for discretized matrices vs. continuous matrices. Image by Sascha Kirch. Figure 10: Number of values needed to be read for discretized matrices vs. continuous matrices. Image by Sascha Kirch. Further, kernel fusion is applied to reduce the number of reads and writes from and to the HBM. In particular, they fuse the discretization, the selective scan and the multiplication with matrix C into a single kernel. Hence, they read all the data needed for an entire forward pass through all states, process those data and write back the final output y of shape BxLxD. The large states of shape BxLxDxN are not materialized to avoid memory requirements and reading large amount of data. Figure 11: Impact of kernel fusion on the GPU utilization. Image by Sascha Kirch. Figure 11: Impact of kernel fusion on the GPU utilization. Image by Sascha Kirch. Having heard about kernel fusion and the different memories involved allows us to finally have a look on the iconic illustration from the Mamba paper showing the interaction of the different matrices to calculate the new states and the outputs: Figure 12: Selective State Space Model with Hardware-aware State Expansion. Image by A. Gu et.al., annotated by Sascha Kirch. Figure 12: Selective State Space Model with Hardware-aware State Expansion. Image by A. Gu et.al., annotated by Sascha Kirch. Green indicates that those values are stored in the HBM while orange indicates that they are kept in the SRAM. Later in chapter 5 we will adapt this image to show what really happens and to find the trained parameters.

Paper Walkthroughs by Sascha Kirch

4.3 Recomputation of Gradients

Previously we saw that with kernel fusion we speed up inferring the model through a reduction of I/O operations and the fact that the hidden states are not saved in the HBM. However, to calculate the gradients and to back propagate the loss for the weight update, one needs those intermediate states. Since the kernel fusion is so effective, recomputing the intermediate states on demand as they are needed during back propagation is much more efficient than writing and reading the large intermediate states of shape BxLxDxN from the HBM.

4.4 How Fast Is It?

Having spent so much effort on making SSMs faster, one question remains: how fast is it compared to the most efficient attention implementation we know: FlashAttention-2. Figure 13: Efficiency Benchmarks of Mamba. Image by A. Gu et.al., annotated by Sascha Kirch. Figure 13: Efficiency Benchmarks of Mamba. Image by A. Gu et.al., annotated by Sascha Kirch.


5. Mamba as a General-Purpose Model

We are now equipped with the selective SSM, a state space model that is efficient, fast, scales linearly with the input sequence length L and that is also selective since each input is processed with its own set of parameters. The only thing left for us is to do is to wrap it into a block and stack multiple blocks on top of each other to build a deep learning model; the same way as we would stack the multi-headed Transformer block in a Transformer-Decoder.

5.1 The Mamba Block

Let's see what a model for an autoregressive next word prediction using Mamba could look like:

Note that the names of dimensions and names for the modules are the same as in the official code implementation of the Mamba Block to better understand how it can be configured and what is happening. Figure 14: Detailed block diagram of the Mamba-Block. In this example: L=4, d_model=3, expand=2, d_inner=6. Image by Sascha Kirch. Figure 14: Detailed block diagram of the Mamba-Block. In this example: L=4, d_model=3, expand=2, d_inner=6. Image by Sascha Kirch. The input projection simply projects each of the L tokens into a d_model-dimensional space. The head does the prediction using one or more output tokens from the stack of Mamba Blocks. Inside the Mamba Block , we first add the residuals from the previous layer to the hidden_states and then output their sum as the next residuals. We normalize using RMS Layer Normalization and then linearly project from d_model dimensions into 2*d_inner dimensions, where d_inner is defined as expand*d_model. Inside the code expand defaults to 2. This output of in_proj is then split into 2 different paths, both of which are now of dimension [1, d_inner] and both containing a SiLU non-linearity. The Selective SSM block is our state space model with the known state equations parametrized by the matrices A , B , C and Δ. Note that the vector dimension D from Figure 4 corresponds to d_inner. After the Selective SSM block, the two paths are combined, projected back from d_inner to d_model to form the final output. Note that both linear projections are broadcasted over the L tokens, meaning they use the same parameters for each of the tokens!

5.2 Where Are the Learnable Parameters?

While inside the Mamba Block it is pretty clear where the learned parameters are located (i.e. input projection in_proj, output projection out_proj and the 1D convolution conv1d) it is still a mystery where the learned parameters hide inside the selective SSM Block. I think we can best observe what's going on if we adapt Figure 12, to show what really happens inside the selective SSM (single token and no batch axis): Figure 15: Selective State Space Model with Hardware-aware State Expansion including the discretized matrices and the learnable linear projections. Image by Sascha Kirch. Figure 15: Selective State Space Model with Hardware-aware State Expansion including the discretized matrices and the learnable linear projections. Image by Sascha Kirch. Again, a lot is going on this figure, so let's start with two observations:

  1. Matrix A has no subscript t indicating it does not feature time-dependent selectivity, but the discretized Matrix A does.
  2. Matrices A and B are stored in the GPU's HBM, while the discretized matrices are only materialized inside the GPU SRAM as explained in section 4.2.

Now let's have a look on what is happening. Note that the time-dependent matrices B and C are the result of the linear projection x_proj of the input x at time t. Again, a single linear layer is used, likely for performance reasons. The output of x_proj is further projected from dt_rank to d_inner to form the final discretization matrix Δ. It is only Matrix A we optimize directly (In reality we keep track of log(A) for numerical stability during training). To conclude, inside the Selective SSM, we do not train the matrices used in the state equations, but we train the weights of linear projections that result in those matrices. It is only Matrix A we are optimizing directly. And with that, there is only one question left to answer...

5.3 How Do We Initialize the Model?

Not an easy question to be answered, since not only reading the papers is complicated due to the complicated matter of the subject, but also the code is quite convoluted. The first thing to notice: There is the initialization of a stand-alone Mamba Block and then there is a reinitialization, depending on the final architecture of the deep learning model that stacks multiple blocks together i.e. by using the [_init_weights()](https://github.com/state-spaces/mamba/blob/62db608da60f6fc790b8ed9f4b3225e95ca15fde/mamba_ssm/models/mixer_seq_simple.py#L85-L115) function. Let's fist look at the Mamba Block itself. All modules are initialized with pytorch's default initializer of the respective type of module (e.g. uniform for Conv1D and Linear) with two exceptions: Matrix A and dt_proj, the linear projection used to construct Δ. Matrix A is relatively straight forward to initialize using the S4D-Real initialization mentioned earlier: Figure 16: S4D-Real initialization of state matrix A. Image by Sascha Kirch. Figure 16: S4D-Real initialization of state matrix A. Image by Sascha Kirch. The timescale on the other hand is a bit more complicated. I recommend you to check out the "How to Train your Hippo" paper for more details. The short version is: The bias of dt_proj shall be initialized by log-uniformly sampling in a range of (Δmin=0.001, Δmax= 0.1). A very important side note in that paper that is easy to oversee: You can increase the performance if you set 1/Δmin to be approximately in the range of the sequence length. So 0.001 would be approximately 10³ samples. For example, look at this plot from the paper on a benchmark dataset with a sequence length of L=16,384 : Figure 17: Impact of choice of timescales on validation accuracy on Path-X benchmark. Image by A. Gu et.al., annotated by Sascha Kirch. Figure 17: Impact of choice of timescales on validation accuracy on Path-X benchmark. Image by A. Gu et.al., annotated by Sascha Kirch. Finally, and without going too much into detail, here is the[_init_weights()](https://github.com/state-spaces/mamba/blob/62db608da60f6fc790b8ed9f4b3225e95ca15fde/mamba_ssm/models/mixer_seq_simple.py#L85-L115) function with some annotations that is used to overwrite already initialized weights when they are used inside the MixerModel and the MambaLMHeadModel the authors provided:

This function is actually called in both those classes meaning they overwrite the overwritten weights from the initial initialization 😵 But jokes aside, if working under time pressure and finding the most performant solution there is not always enough time to write clean code. Yet another trade-off... Figure 18: Annotating the _init_weights function from the Mamba repository that is used to overwrite model weights after they have been initialized. Code taken from here, annotated by Sascha Kirch. Figure 18: Annotating the _init_weights() function from the Mamba repository that is used to overwrite model weights after they have been initialized. Code taken from here, annotated by Sascha Kirch.


6. Wrapping up Mamba

6.1 Summary

With Mamba we now end up with a sequence model as powerful as the Transformer and as efficient as an RNN. We saw that while we lost the duality of the recurrent and the convolutional representation by adding selectivity, we were able speed up the model again by implementing the selective scan algorithm. The transformer is a general-purpose architecture, applied to all data modalities you can think of. So far, when talking about Mamba, we were only talking about sequence-like data such as text tokens or analog signals. ❓ But, can we apply Mamba to non-sequence data? Let's say images?

Thank You!

🤝 I'd like to thank you, t he readers of my stories, for your constant support, clapping for my stories and, following me to never miss any of my latest articles. It is you who motivates me to continue writing, dive deep into complex topics, and become a better engineer/researcher by writing about them. You are awesome!

6.2 Continue Reading Part 4

Vision Mamba: Like a Vision Transformer but Better In part 4 we will see how Mamba-like models can be applied on non-sequential data types such as images. We'll revisit certain design choices of the Vision Transformer (e.g. patch size, image resolution and position encodings) and see if they are still valid when using Mamba instead of attention. Vision Mamba ends up being 2.8x faster than DeiT and saves 86,8% GPU Memory, and we will see how this is possible. So stay tuned!


7. Further Readings & Resources

Mamba State Space Models for Images, Videos and Time Series Paper Walkthroughs by Sascha Kirch

Blog Posts

Papers:

Code

Register Now to Continue Reading

Unlock Towards Data Science with a Free Account

All articles on Towards Data Science are available to registered users. Create a free account today to access this article and thousands more. Register for freeSign in to your account


Written By

Sascha Kirch

See all from Sascha Kirch Deep DivesDeep LearningMamba Image Video SignalParallel ComputingState Space Model Share This Article

Towards Data Science is a community publication. Submit your insights to reach our global audience and earn through the TDS Author Payment Program. Write for TDS

Related Articles

Zero Human Code: What I Learned from Forcing AI to Build (and Fix) Its Own Code for 27 Straight Days

Artificial Intelligence An experiment in pure AI development that challenges everything you've heard about coding assistants. Daniel Bentes February 19, 202510 min read

How to use BERT from the Hugging Face transformer library

Artificial Intelligence How to use BERT from the Hugging Face transformer library for four important tasks Saketh Kotamraju January 18, 202112 min read

How to Apply Artificial Bee Colony Algorithm to Solve Unconventional Problems

Data Science Solve a puzzle for fun. Learn a new Algorithm. Win-win. Full code. Naresh Ram April 10, 202211 min read

Writing custom CUDA kernels with Triton

Artificial Intelligence Triton is a language compiler to write highly optimized CUDA kernels. Learn the basics of GPU programming and how to use Triton. Kushajveer Singh September 12, 20218 min read

Classifying emotions using audio recordings and Python

Deep Learning The theory of Sound and Acoustics could be used for cutting edge Emotion-Recognition technologies. here's how we can apply it using Python Tal Baram February 25, 202110 min read

Science, Passion, and the Future of Multi-Objective Optimization

Science An In-Depth Interview with Professor Coello Coello Emil Rijcken October 6, 202313 min read

Paired t-test to evaluate Machine Learning classifiers using Python

Artificial Intelligence Learn how to compare classifiers using hypothesis testing Marcello Politi July 6, 20225 min read

Getting TensorFlow Developer certified

Deep Learning Steps you can use to pass, too - even if you got an M1 Mac Pascal Janetzky July 31, 20217 min read

What is batch normalization?

Artificial Intelligence How does it help? NVS Yashwanth September 18, 20204 min read

Your home for data science and AI. The world's leading publication for data science, data analytics, data engineering, machine learning, and artificial intelligence professionals. Subscribe to Our NewsletterWrite For TDS•About•Advertise•Privacy Policy•Terms of Use © Insight Media Group, LLC 2026•The New Stack•roadmap.sh•Creator Network word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word

mmMwWLliI0fiflO&1
mmMwWLliI0fiflO&1
mmMwWLliI0fiflO&1
mmMwWLliI0fiflO&1
mmMwWLliI0fiflO&1
mmMwWLliI0fiflO&1
mmMwWLliI0fiflO&1

Recommended Articles

Close