SSM Models like Mamba theoretically needs to rely solely on its state vector to store past information, which makes them suitable for embeddings. The state vectors carry special update rules that allow them to be merged to recover collective information, making them suited for retrieval-augmented generation.
StripedHyena-Hessian-7B and mamba-2.8b-hf. These models contain stacked SSM layers. We experiment with each layer's state vector and use the best-performing layer's results in below.precision,pass@5,and pass@10. Each hagrid dataset instance contains a short query, a set of around 15 documents, at most 3 of which are gold documents relevant to the query. After ranking the documents by their embedding similarity to the query, precision is the ratio of gold labels in the top n documents, where n is the number of true gold docs in an instance. pass@k is a boolean flag of whether all gold documents are present in the top k documents. This benchmark is relatively small and superficially easy, used for proof of concept.| Model Name | Precision | pass@5 | pass@10 |
|---|---|---|---|
| random | 0.10 | 0.22 | 0.53 |
| *stripedhyena-7b | 0.52 | 0.8 | 0.93 |
| *mamba-2.8b | 0.96 | 0.99 | 0.99 |
| m2-bert-80M-8k-retrieval | 0.74 | 0.91 | 0.99 |
| mistral-embed | 1.0 | 1.0 | 1.0 |
| voyage-2 | 1.0 | 1.0 | 1.0 |
* indicate state vector embed models.
| Task Name | mamba-2.8b | stripedhyena-7b |
|---|---|---|
| contain | 0.6623 | 0.4535 |
SSM Models like Mamba theoretically needs to rely solely on its state vector to store past information, which makes them suitable for embeddings. The state vectors carry special update rules that allow them to be merged to recover collective information, making them suited for retrieval-augmented generation.
StripedHyena-Hessian-7B and mamba-2.8b-hf. These models contain stacked SSM layers. We experiment with each layer's state vector and use the best-performing layer's results in below.precision,pass@5,and pass@10. Each hagrid dataset instance contains a short query, a set of around 15 documents, at most 3 of which are gold documents relevant to the query. After ranking the documents by their embedding similarity to the query, precision is the ratio of gold labels in the top n documents, where n is the number of true gold docs in an instance. pass@k is a boolean flag of whether all gold documents are present in the top k documents. This benchmark is relatively small and superficially easy, used for proof of concept.| Model Name | Precision | pass@5 | pass@10 |
|---|---|---|---|
| random | 0.10 | 0.22 | 0.53 |
| *stripedhyena-7b | 0.52 | 0.8 | 0.93 |
| *mamba-2.8b | 0.96 | 0.99 | 0.99 |
| m2-bert-80M-8k-retrieval | 0.74 | 0.91 | 0.99 |
| mistral-embed | 1.0 | 1.0 | 1.0 |
| voyage-2 | 1.0 | 1.0 | 1.0 |
* indicate state vector embed models.
| Task Name | mamba-2.8b | stripedhyena-7b |
|---|---|---|
| contain | 0.6623 | 0.4535 |