The problem in brief
You are shown the first two sentences of the abstracts of two arXiv papers and must say which of the two was submitted later. For training you get 37 177 papers, each with its two opening sentences, its exact submission date (2000 to April 2025) and its arXiv categories, sampled so that each of the 140 categories has at least 10 papers per year. You also get, as a bonus, the daily number of papers per category (the data of the home assignment). The test has 24 050 pairs built from other papers, drawn evenly over 2000 to 2025, and in every pair the two papers are at least two years apart. You answer 1 if the second paper is newer, 0 if the first one is.
The data comes from the Kaggle competition archive. The test labels are private and we never submitted anything, so all scores below come from our own validation on held-out training papers.
How you are scored
Plain accuracy over the pairs:
Guessing gives 0.50. The organisers turned the public-leaderboard accuracy into points with four benchmarks: 55 % = 30 points, 60 % = 60, 65 % = 90, 70 % = 120 (the maximum), plus points for the final rank. On the public leaderboard of the archive, the best entry is 0.718 and the next one 0.705.
First look at the data
The training papers are spread evenly over time (from about 1 100 per year in 2000 to 1 550 per year after 2017), and every paper is a short text of about 320 characters. Nothing like a date or an arXiv identifier is in the text, so the date has to be guessed from how and about what people wrote.
Two simple style signals are almost useless: the text length gives 0.54 pair accuracy and the number of $ signs (LaTeX formulas) gives 0.51. The signal is in the vocabulary, as the next figure shows.
To validate we keep 20 % of the training papers aside (7 436 papers) and build 20 000 random pairs from them with the same rule as the test: the two dates must be at least two years apart. With 20 000 pairs the standard error of an accuracy near 0.7 is about 0.3 points, so differences of 1 point are real.
A first baseline
Turn the pairwise question into a regression. Instead of learning on pairs, learn one function date, in years, on the 37 000 dated papers, and answer
The simplest is a ridge regression on TF-IDF features, which gives 0.69 with word 1-2 grams and 0.70 with word and character n-grams together, already at the top benchmark.

The weights read like a history of science writing. Old papers talk about the internet, the web, computer and mining, and use plain verbs like we describe, is discussed, deals with. New papers say deep, dataset, blockchain, LLMs, and have the inflated vocabulary of the last few years: crucial, insights, advancements, challenges. Many of the strongest "new" features are LaTeX commands (\mathbb, \mathcal, \mathrm): arXiv abstracts started to carry inline LaTeX much more often in recent years. Each of these words is a small clue; together they place a paper in time to within about five years.
The key idea
A pair is decided by the difference of two noisy date estimates, so what matters is ranking, not calibration. Look at the left panel below. The predicted dates are strongly pulled towards the middle (a 2001 paper is predicted around 2010, a 2024 paper around 2018). Ridge regression shrinks uncertain predictions towards the mean, so the mean absolute error is a poor 5 years. But this bias is almost monotonic: older papers still get lower predictions on average, and a monotonic distortion does not change which of two papers gets the larger value. That is why a model with a 5-year error can still answer most pairs correctly.

The right panel shows the other side of the same coin. If the prediction error of each paper is roughly Gaussian with spread , then for two papers years apart
which grows with the gap. Pairs 2 to 4 years apart are barely better than a coin (0.57), pairs more than 14 years apart are 0.87 right. Since the test pairs have random gaps of at least 2 years, the only way to gain is to shrink , that is to date each paper better, and to combine models whose errors are different, because averaging two independent errors divides the variance.
So we add a second dater of a different nature: a small pretrained sentence encoder, all-MiniLM-L6-v2 (22 M parameters), fine-tuned to output the date. TF-IDF sees exact words; the encoder sees meaning ("transformer-based language model" and "LLM" are close for it) and generalises to phrasings the ridge never saw. Used frozen (embeddings + ridge or MLP), MiniLM is worse than TF-IDF (0.65 to 0.67), because generic sentence embeddings are trained to ignore style and keep topic. Fine-tuned end to end, it learns what matters for dating and beats TF-IDF.
We also tried to use the shape of the problem more cleverly: a 26-class logistic regression gives a full distribution for each paper, and the probability that B is newer given that the gap is at least 2 years can be computed exactly,
It gave 0.702, the same as comparing expected years (0.703). The constraint carries little information once the predictions are this noisy.
The full solution
- Target: the fractional submission year, e.g. 2013.42.
- Dater 1: TF-IDF of words (1-2 grams, 200 000 features) and of characters (2-5 grams inside words, 200 000 features), sublinear term frequency, ridge regression with .
- Dater 2: all-MiniLM-L6-v2 with a mean-pooling layer and a linear head, trained 3 epochs with AdamW (learning rate , one-cycle schedule), smooth L1 loss on the standardised year, batches of 16 texts padded to 112 tokens:
h = self.enc(**e).last_hidden_state # (batch, tokens, 384)
k = e['attention_mask'].unsqueeze(-1).float()
date = self.head((h * k).sum(1) / k.sum(1)) # mean over real tokens, then linear
- Blend: average the two predicted years (weights 0.4 to 0.6 all give the same accuracy within 0.1 point).
- Answer: 1 if the blended date of the second paper is larger. For the test, both daters are retrained on all 37 177 papers.
What we did not use: the categories and the time series. The categories are not given for test papers, so they could only enter through a model that predicts the category from the text, and the date regressors already learn the topic implicitly (a paper about LLMs is new whatever its category). The time series tells when each category was busy, but the test papers were drawn evenly over time within each category, so it adds little.
Results
Accuracy on 20 000 held-out pairs (gap of at least 2 years) built from 20 % of the training papers; the official test labels are private.
| approach | pair accuracy |
|---|---|
| text length | 0.538 |
number of $ signs | 0.514 |
| frozen MiniLM embeddings + ridge | 0.652 |
| frozen MiniLM embeddings + MLP | 0.665 |
| TF-IDF words + ridge | 0.693 |
| TF-IDF characters + ridge | 0.698 |
| TF-IDF words + characters + ridge | 0.704 |
| 26-class logistic regression, expected year | 0.703 |
| same, exact "gap at least 2 years" probability | 0.702 |
| fine-tuned MiniLM regressor | 0.713 |
| average of TF-IDF ridge and fine-tuned MiniLM (final) | 0.724 |
The final blend reaches 0.724 on our held-out pairs, above the top benchmark (70 %, maximum points) and level with the best public-leaderboard entry (0.718). A held-out split from the training papers is a fair but not perfect stand-in for the test: the test papers were sampled differently (400 per category spread over time), and our ridge model dates test papers about 0.8 years later on average than validation papers, so the test mix leans a little more towards recent years.
What to remember
- Pairwise questions can be answered with a pointwise model. Learn a score per item (here a date) and compare scores. You use every labelled item once instead of building pairs, and the comparison is automatically consistent.
- For ranking, bias does not matter, noise does. A regressor that shrinks everything towards 2012 still ranks papers well. Measure what the task measures (pair accuracy), not the regression error.
- Look at the weights of a linear model. They show you what the data is really about: here, the drift of scientific vocabulary and of LaTeX habits.
- Frozen embeddings are not always better than TF-IDF. Generic sentence encoders are trained to ignore the style cues that date a text; fine-tuning on the real target fixes that.
- Blend models that make different mistakes. A bag of n-grams and a fine-tuned encoder err differently, and their plain average beats both by about 1 to 2 points.