Response to all reviewers
We are glad of the mostly positive comments and scores from the reviewers, and we are very thankful for their very useful comments to help to improve our submission.
- All reviewers commented on the lack of natural language processing results and/or the challenges of applying Soft MoEs in this domain.
Indeed, NLP and text auto-regressive tasks in particular, are a highly important application in current ML trends. We want to emphasize that we are actively working on this, but we decided to limit the scope of the paper to vision tasks for a few reasons:
1. By narrowing the scope of domains, we can do a more in-depth analysis of Soft MoEs in vision tasks (see all the detailed investigation in the appendix).
2. Limiting the scope of tasks also makes the presentation of the experiments, and the overall reading and understanding of the model clearer (in our opinion), and allows one to focus on the fundamental aspects of the proposed method (we are glad that most reviewers value the quality of the presentation very highly).
3. We want to present our current (very good) results to the ML community, and encourage it to explore and improve the proposed approach for NLP and many other modalities and tasks. Certainly, tens or hundreds of researchers can make faster progress than just a handful, we believe.
- Reviewer HCxh commented:
> Unfortunately, the dataset that is being used for training is not publicly available; making it hard to be used for benchmarking with other papers.
We have used the rebuttal period to run additional experiments pre-training on the publicly available LAION-400M dataset (using SigLIP pre-training, as described in [1]). The results are consistent with those obtained on JFT. Other researchers will be able to replicate our results, since our code is open-sourced and we will release the configuration file to run the LAION pre-training.
Here we show different downstream results obtained from LAION-400M pre-trained models:
https://drive.google.com/file/d/16EN8jDbXxLC4-CGxWpBeP0EuU4dBIIva/view
As the plot shows, Soft MoE has better quality than both ViT and Experts Choice, when matching the number of steps (which also roughly matches training cost). We will include these (and more detailed) results obtained on this publicly available dataset in the final version of the paper, most likely in the appendix due to space limitations.
- Reviewer pKE3 said:
> When assessing the training and inference speed, the authors chose dense ViT as the baseline. It would be better to include the results for Sparse MoEs additionally.
We compare quality vs. comparing training and inference speed of Sparse MoEs and Dense in Figure 3 (main paper) and Table 9 (appendix J). For long training runs, we compare Soft MoE only with the already published results of ViT in [2], since these runs are very costly and we couldn’t afford to train all methods for millions of steps.
- Reviewer wHYN made some comments on the presentation.
Regarding Figure 2: we tried to imply that the dispatch and combine weights were used to map input tokens to slots (dispatch) and slots to output tokens (combine). We’ll try to find a better representation of this, or annotate the image for further clarification.
Regarding time complexity: indeed Figure 6 shows the fact that the time complexity of Sparse MoE is higher than Soft MoEs, due to the sorting operations: when the number of experts grows a lot, the sorting operations start to dominate the runtime and the throughput decreases a lot for Experts Choice and Tokens Choice. It’s a bit hard to visualize the time complexity in a single plot, since it depends on multiple factors such as the number of experts, the group size, and the model dimension. We’ll add additional plots in the appendix trying to visualize these dependencies.
We’ll also add additional references to where to find the supporting results when claims are made.
- Reviewer fyPo commented:
> I hope the authors can release as much details as possible of the implementation details. Looking forward to the adaptation into different fields.
We have already open-sourced our implementation, including details about the training hyperparameters used in this paper. We have excluded the link to the code in the draft to avoid breaking double-blind review process, but this will be part of the final version. We will also include the configuration files to replicate the LAION experiments mentioned above.
We hope that we have addressed your questions and concerns. Let us know if any further clarification is needed.
[1] Sigmoid Loss for Language Image Pre-Training, https://arxiv.org/abs/2303.15343
[2] Scaling Vision Transformers, https://arxiv.org/abs/2106.04560