The dataset viewer is not available because its heuristics could not detect any supported data files. You can try uploading some data files, or configuring the data files location manually.
Dataset Description
The text data (title and abstract) of 164,230 arXiv preprints which are associated with at least one MSC (mathematical subject classification) code. Predicting 3-character MSC codes based on the cleaned text (processed title+abstarct) amounts to a multi-label classification task.
Dataset Structure
- The column
cleaned_text
should be used as the input of the text classification task. This is obtained from processing the text data (titles and abstracts) of math-related preprints. - The last 531 columns are one-hot encoded MSC classes, and should be used as target variables of the multi-label classification task.
- Other columns are auxiliary:
url
) the URL of the preprint (the latest version as of December 2023),title
) the original title,abstract
) the original abstract,primary_category
) the primary arXiv category (for this data, almost always a category of the math archive, or the mathematical physics archive).
- Subtask) Predicting
primary_category
based oncleaned_text
, a multi-class text classification task with ~30 distinct labels.
Data Splits
Stratified sampling was used for splitting the data so that the proportions of a target variable among the splits are not very different.
Dataset | Description | Number of instances |
---|---|---|
main.zip | the whole data | 164,230 |
train.zip | the training set | 104,675 |
val.zip | the validation set | 18,540 |
test.zip | the test set | 41,015 |
Data Collection and Cleaning
The details are outlined in this notebook. As for the raw data, with the help of the arxiv package, we scraped preprints listed, or cross-listed, under the math archive. This raw data was then processed:
- dropping preprints with an abnormally high number of versions,
- keeping only the last arXiv version,
- dropping preprints whose metadata does not include any MSC class,
- dropping entries with pre-2010 mathematics subject classification convention,
- concatenating abstract and title strings and carrying out the following steps to obtain the
cleaned_text
column:- removing the LaTeX math environment and URL citations,
- make the text lower case, normalizing accents and removing special characters,
- removing English and some corpus-specific stop words,
- stemming.
Citation
- Downloads last month
- 47