Response to reviewer 1QzP 1/2
$\textbf{Q1}$: " Paper novelty is limited. The only thing new is adding a scaling factor on top of swiglu may not be a big novelty. Previous work already study similar smooth method on activation functions. e.g., Swish, SMU as smooth function for relu. "
$\textbf{A1}$: There may have been a misunderstanding here: Smooth-SwiGLU’s scaling factors do not smooth out the activations (as in Swish and SMU), as they appear before (and after) the quantization function (see Fig. 4), not before the activation. Note that without the quantization function, these scaling factors will cancel out. This scaling ensures stability for FP8 training without modifying SwiGLU's functional properties and with minimal implementation complexity. Perhaps our choice of the name `Smooth SwiGLU' was not optimal and led to this misunderstanding.
Moreover, please note our paper has several other novel contributions besides the smooth-SwiGLU (listed in the bullet list in the introduction section), such as the first FP8 training on a trillion-token dataset and pinpointing the FP8 stability issue to SwiGLU's weight alignment problem.
$\textbf{Q2}$: "FP8 optimizer contribution is just extending previous 1 momentum using FP8 to both momentum using FP8 may lack a bit novelty here. For example, Figure 5 shows empirical study for both FP8 momentum on llama2 100m, it shows second momentum using E5M2 format achieve similar model loss curve as bf16. But how does it generalize to bigger models (more practical models like llama 8b 70b)? Is second momentum always need larger dynamic range rather than higher precision? "
$\textbf{A2}$: Please note the result in Fig. 6: there we show we can train a 7B model also with an FP8 optimizer (first moment E4M3, second moment E5M2) --- i.e. we show the generalization of the FP8 optimizer recipe also for a practical model, as the reviewer required.
As noted in "general comments", training Llama2 7B takes about 2 weeks in 256 devices. Training a 70B model would require even more computational resources and time, which we do not currently have.
However, we indeed believe that the second moment would generally require a higher dynamic range than the first moment --- as it is natural to have a significantly larger range for the (estimator of the) square of the gradients than for the (estimator of the) gradients. We have clarified this point in the revised version of the manuscript. Thank you for bringing it to our attention.
$\textbf{Q3}$: "The only baseline is from this paper [3], how does this approach compared with nvidia transformer engine fp8. There is no comparison in either design or evaluation results. Please include a comparison with NVIDIA's Transformer Engine FP8 implementation, both in terms of methodology and empirical results. This comparison would provide valuable context for the paper's contributions. "
$\textbf{A3}$: Please note that both [3] and the Nvidia transformer engine use the same quantization configuration which includes delayed scaling, the E4M3 format for the forward phase, and the E5M2 format for the backward phase. In the paper, we use Gaudi's implementation for the transformer engine which is equivalent. We clarify this point in the experiment section (line 454). Unfortunately, there are no open-source models that were trained on FP8 with Nvidia's transformer engine with similar configurations, and running it requires extensive GPUs resources, which we do not have. Therefore, we cannot run FP8 training with Nvidia's transformer engine directly.
$\textbf{Q4}$: "Billion level token training is almost sufficient for most LLM downstream tasks (e.g. Apple [4]). This trillion-token improvement may not have wide application scenarios. Please discuss more on potential use cases where trillion-token training might be beneficial, and how this paper's method scales compared to existing approaches at different dataset sizes.
$\textbf{A4}$: Perhaps this is a misunderstanding: our paper refers to trillions of tokens, but the models can still have billions of parameters. Please note models in [4] are also trained for trillions of tokens. For example, in section 3.2.1, the `AFM-server' paragraph in [4]: "We train AFM server from scratch for 6.3T tokens...", and in the AFM-on-device paragraph "training for a full 6.3T tokens".
Moreover, one can find many modern foundation models that were trained for trillions of tokens, such as llama2 (2T tokens), llama3 (15T tokens), and mistral (8T tokens).
Thus, we believe trillion tokens training is a common real-world scenario. In this work, we show for the first time the ability to train in this scenario with FP8 precision.