Tuesday 25 March 2025
Recently, a team of researchers has made significant progress in enhancing multilingual large language model (LLM) pretraining using model-based data selection techniques. The goal of this project was to develop a more effective method for filtering out low-quality data and retaining high-quality samples during the pretraining process.
The LLM is a type of artificial intelligence that can be trained on vast amounts of text data to learn patterns and relationships between words and phrases. This training enables the model to generate human-like language and respond to user input with remarkable accuracy. However, the quality of the data used for pretraining has a direct impact on the performance of the LLM.
The researchers developed three different approaches to filter out low-quality data: FastText-based filtering, Multi-Layer Perceptron (MLP) filtering, and Cosine Similarity (CS) filtering. Each approach uses a unique algorithm to assess the quality of individual documents in the dataset and retain only those that meet specific criteria.
The first approach, FastText-based filtering, relies on a type of neural network called FastText to analyze the semantic meaning of each document. This network is trained on a large corpus of text data and can recognize patterns and relationships between words and phrases. The researchers used this network to calculate a score for each document based on its similarity to other documents in the dataset.
The second approach, MLP filtering, uses a Multi-Layer Perceptron to analyze the linguistic features of each document. This neural network is trained to recognize patterns in language and can identify specific characteristics that distinguish high-quality documents from low-quality ones.
The third approach, CS filtering, relies on the Cosine Similarity algorithm to assess the similarity between individual documents and other documents in the dataset. This algorithm calculates a score based on the angle between two vectors, with smaller angles indicating higher similarity.
To evaluate the effectiveness of these approaches, the researchers used a dataset called FineWeb-2, which contains over 1 billion documents in multiple languages. They compared the performance of LLMs trained using each filtering approach to those trained without filtering, and found that the models trained with filtered data significantly outperformed those trained on unfiltered data.
The results showed that the FastText-based filtering approach was particularly effective at retaining high-quality documents and removing low-quality ones. The MLP filtering approach also performed well, while the CS filtering approach had more variable results depending on the specific dataset used.
Cite this article: “Enhancing Multilingual Large Language Model Pretraining with Model-Based Data Selection Techniques”, The Science Archive, 2025.
Here Are The Keywords: Large Language Model, Pretraining, Data Selection, Fasttext, Multi-Layer Perceptron, Cosine Similarity, Neural Network, Filtering, Multilingual, Linguistic Features







