NewsReX: A More Efficient Approach to News Recommendation with Keras 3 and JAX
Paper β’ 2508.21572 β’ Published
DIGAT news recommendation model trained on MIND-small using the NewsReX framework (JAX).
| Seed | AUC | MRR | NDCG@5 | NDCG@10 |
|---|---|---|---|---|
| 123 | 0.6762 | 0.3241 | 0.3590 | 0.4219 |
| 42 * | 0.6784 | 0.3272 | 0.3638 | 0.4254 |
| 456 | 0.6734 | 0.3222 | 0.3554 | 0.4188 |
| mean Β± std | 0.6760Β±0.0021 | 0.3245Β±0.0021 | 0.3594Β±0.0035 | 0.4220Β±0.0027 |
* Best seed (weights at repo root)
model:
name: digat
architecture:
news_encoder:
type: msa
msa_head_num: 16
msa_head_dim: 25
attention_dim: 256
graph_encoder:
type: digat
graph_depth: 3
sag_hops: 2
sag_neighbors: 5
click_predictor:
type: dot_product
embedding:
size: 300
trainable: true
dropout_rate: 0.2
seed: 42
inputs:
title:
max_length: 32
history:
max_length: 50
impressions:
max_length: 5
process_title: true
process_abstract: false
process_category: true
process_subcategory: false
process_user_id: false
training:
loss:
name: categorical_crossentropy
from_logits: true
reduction: sum_over_batch_size
label_smoothing: 0.0
optimizer: adam
learning_rate: 0.0001
batch_size: 64
grad_accum_steps: 1
num_epochs: 20
gradient_clip_val: 1.0
early_stopping:
patience: 5
min_improvement: 0.01
negative_sampling:
strategy: random
candidates: 4
evaluation:
mode: fast
evaluator: default
metrics:
- auc
- mrr
- ndcg@5
- ndcg@10
batch_size: 256
newsrex/DIGAT-JAX-MIND-small/
βββ model.safetensors β best seed (42)
βββ test_results.json
βββ training_run_summary.json
βββ seed_123/model.safetensors
βββ seed_42/model.safetensors
βββ seed_456/model.safetensors
βββ README.md
git clone https://github.com/igor17400/NewsReX.git
cd NewsReX && uv sync
# Run evaluation with best seed weights
uv run python src/eval.py \
experiment=mind/digat \
framework=jax \
weights=hf://newsrex/DIGAT-JAX-MIND-small/model.safetensors
# Run evaluation with a specific seed
uv run python src/eval.py \
experiment=mind/digat \
framework=jax \
weights=hf://newsrex/DIGAT-JAX-MIND-small/seed_42/model.safetensors
@misc{newsrex2026,
title={NewsReX: An Open-Source Multi-Framework for Neural News Recommendation},
author={Igor L. R. Azevedo and Toyotaro Suzumura and Yuichiro Yasui},
year={2025},
eprint={2508.21572},
archivePrefix={arXiv},
primaryClass={cs.IR},
url={https://arxiv.org/abs/2508.21572},
}