Unlike BERT's static masking, where the same tokens are masked across training epochs, RoBERTa introduced dynamic masking. This technique randomly masks different tokens in each training example, exposing the model to a wider variety of masked contexts. This leads to more robust and generalizable language representations, contributing to RoBERTa's improved performance over BERT.