File size: 2,929 Bytes
7b60bfd 0c6d648 7b60bfd 0c6d648 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 | ---
language:
- en
license: cc-by-4.0
task_categories:
- text-classification
size_categories:
- 1K<n<10K
tags:
- arxiv
- computer-science
- abstracts
- multi-class
---
# arXiv CS Sub-field Classification Dataset
Balanced, single-label classification dataset of recent arXiv abstracts across
six overlapping CS sub-fields. Each row carries one paper's title and abstract,
plus a label derived from its arXiv `primary_category`.
## Supported tasks
- `text-classification` — predict the arXiv sub-field given title + abstract.
## Languages
English (`en`).
## Data fields
| field | type | description |
|---|---|---|
| `id` | string | arXiv identifier (e.g. `2401.12345v1`) |
| `title` | string | Paper title, whitespace-normalised |
| `abstract` | string | Paper abstract, whitespace-normalised, LaTeX preserved |
| `text` | string | `title + ". " + abstract`, the field used as model input |
| `label` | string | Human-readable sub-field name |
| `primary_category` | string | Original arXiv primary category |
| `published` | string | ISO timestamp of first arXiv submission |
## Label space
The six target arXiv categories (`cs.CL`, `cs.LG`, `cs.CV`, `cs.IR`, `cs.AI`, `stat.ML`) map to human-readable names:
| arXiv primary_category | label |
|---|---|
| `cs.CL` | `cl_nlp` |
| `cs.LG` | `lg_ml` |
| `cs.CV` | `cv_vision` |
| `cs.IR` | `ir_retrieval` |
| `cs.AI` | `ai_general` |
| `stat.ML` | `stat_ml` |
## Splits
| split | rows |
|---|---|
| train | 3292 |
| validation | 412 |
| test | 412 |
| **total** | **4116** |
Splits are stratified 80/10/10 by label, seeded with `random_state=42`.
## Source
- arXiv API, queried with the `arxiv` Python package (`Client(delay_seconds=3.5)`).
- Time range: 2023-01-01 to 2025-12-31.
- Filtering rule: only papers whose `primary_category` equals the queried
category are kept (so the label is unambiguous), then each class is
down-sampled to the size of the smallest class for balance.
## Annotation process
Labels are arXiv `primary_category` values; no manual annotation was performed.
Boundary cases between e.g. `cs.AI` and `cs.LG` are inherently noisy and are
part of what makes the task interesting.
## Limitations
- Single-label simplification of a fundamentally multi-label problem
(most papers carry several arXiv categories).
- Class boundaries are noisy by construction.
- No temporal generalisation split — train, val and test all come from the
same time window.
## Licensing
arXiv abstracts are distributed under arXiv's non-exclusive license. This
dataset redistributes metadata + abstracts for non-commercial research use.
Each row keeps the arXiv `id` so users can verify the source.
## Citation
```bibtex
@misc{arxiv-cs-subfield,
author = { Tiansve },
title = { Tiansve/arxiv-cs-subfield },
year = 2026,
publisher = {Hugging Face},
howpublished = {\url{https://huggingface.co/datasets/Tiansve/arxiv-cs-subfield}}
}
```
|