Thank you for summarizing our paper nicely and highlighting the strengths. We find all comments constructive and have tried our best to address each of them in this rebuttal.
[part 1/2]
> “Using decoder-only pretrained models for retrieval is not entirely novel (e.g., as seen in GritLM [1] and discussed in Section 2.2). While the authors note differences in their specific training approach, this limits the novelty of this aspect.”
- Thank you for your comment. This work introduces innovations in model architecture (e.g., latent attention), training method (e.g., two-stage instruction tuning), and data curation strategies (e.g., hard-negative mining, synthetic dataset generation, and example-based multi-class labeling). By combining these techniques, we have optimized decoder-only LLMs to achieve state-of-the-art results. The NV-Embed-{v1, v2} series has not only secured and maintained the No. 1 ranking on the MTEB leaderboard but also demonstrated superior accuracy in out-of-domain tasks on the AIR Benchmark. We hope the sustained effectiveness of NV-Embed underscores the significance of our proposed methods in advancing text embedding performance in this rapidly evolving field.
> “Given this, the main contributions center on the latent attention layer and two-stage instruction tuning. However, the performance improvement from latent attention over mean pooling appears modest (see Table 2, bidirectional columns), raising questions about the added complexity for minimal gains.”
- Thank you for asking this question. We would like to contextualize that the score gaps of leading models on the MTEB benchmark (w/ 56 diverse tasks) are narrow, usually below 0.5. During the period of NV-Embed-{v1, v2} release, six other models have been released in MTEB leaderboard as noted below table, each contributing improvements of 0.1 to 0.8 points in MTEB averaged scores. The performance improvement from latent attention over mean pooling is 68.97 to 69.32 (+ 0.34 for NV-Embed-v1) and 71.71 to 72.31 (+0.6 for NV-Embed-v2), which are therefore significant and non-trivial relative to the improvements observed between competing approaches.
| MTEB Rank | Name | MTEB score | Released date |
|:---------:|:-----------------------:|:-----------------------------:|:-------------:|
| 1 | NV-Embed-v2 | 72.31 | Aug 30, 2024 |
| 2 | Bge-en-icl | 71.67 | July 25, 2024 |
| 3 | stella_en_1.5B_v5 | 71.19 | July 12, 2024 |
| 4 | SFR-Embedding-2_R | 70.31 | June 18, 2024 |
| 5 | gte-Qwen2-7B-instruct | 70.24 | June 17, 2024 |
| 6 | stella_en_400M_v5 | 70.11 | July 12, 2024 |
| 7 | bge-multilingual-gemma2 | 69.88 | July 25, 2024 |
| 8 | NV-Embed-v1 | 69.32 | May 24, 2024 |
| 9 | voyage-large-2-instruct | 68.23 | May 5, 2024 |
- Moreover, adding more parameters and computation can improve training capacity, but does not necessarily lead to improvement on test accuracy. For example, an even simpler way of adding a self-attention layer before mean pooling does not improve performance over mean pooling (results are in Table 3 and 4 of our manuscript). In contrast, the latent attention layer transforms the unrestricted representation from the transformer model to a vector space that has the bank of latent vectors as basis vectors. We hypothesize that this has a dictionary learning effect where the latent vectors learn useful sparse representations to construct the embedding.
> “Although the authors provide empirical support for the benefits of two-stage training, there is limited explanation or intuition behind why this approach works effectively.”
- Thank you for asking this question. In principle, the retrieval task presents greater difficulty compared to the other embedding tasks (such as Classification, Clustering, STS, etc), so our training strategy initially focuses on fine-tuning the model for retrieval in the first stage. Also, the two-stage training has an efficiency advantage, as the MTEB benchmark has various tasks across task types and domains, it is computationally expensive to evaluate all the tasks when iterating on experiments and to optimize data blends for performance across all tasks. With two-stage training, we could independently optimize the first stage solely for the retrieval tasks. After obtaining the best retrieval model, we could then fine-tune it in the second stage to achieve good performance in the other tasks by blending the remaining embedding tasks into the instruction-tuning.