Instructions to use m-polignano/decision4rec-kev-27b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use m-polignano/decision4rec-kev-27b with PEFT:
from peft import PeftModel from transformers import AutoModel base_model = AutoModel.from_pretrained("Qwen/Qwen3.8-27B") model = PeftModel.from_pretrained(base_model, "m-polignano/decision4rec-kev-27b") - Notebooks
- Google Colab
- Kaggle
Decision4Rec Kev-27B (pool reader)
The trained decision model of Decision4Rec-Full at 27B parameters, from
Decision4Rec: it reads the 30 best candidates of a multi-agent pool,
with item text, statements of the knowledge graph of the scenario and the agents that found each candidate, and returns
one probability per candidate in a single forward pass (System One protocol, choice question).
Model details
| Base model | Qwen/Qwen3.8-27B (revision 1d4bf0f2ff6012fd82039f2fa52739d0dd7c60c0), frozen |
| Starting point | the adapter release of jaredpalmer/kev-27b (tag v1-lora) and its pointer head; the current Kev-27B release is a full fine-tune with no adapter to start from |
| Trained parameters | rank-16 LoRA adapters on all linear layers, pointer head |
| Training data | a fixed random 8,000 (seed 2026) of the 34,667 real next choices used for the 0.8B and 4B models (Amazon Video Games, Amazon Musical Instruments, Steam), over the 30 best candidates of the pool; the same 8,000 records train the data-matched 0.8B, 4B, 9B and 27B models of the paper |
| Objective | likelihood of the item the user really chose next; no outputs of any commercial model were used |
| Recipe | one epoch, learning rate 2e-5, one-cycle schedule, micro-batch 1 x 8 accumulation (8 records per step), bf16, gradient checkpointing |
| Trainer | Kev kev.train, commit 84847f0, on one NVIDIA DGX Spark |
Version 2 of the paper
In version 2 this model is the 27B reader of the block "Same 8,000 records" of the size table. The 9B and 27B readers of the main results of version 2 are trained on all 34,667 records and are not this checkpoint: the 9B is decision4rec-kev-9b-all (seeds 1 and 2: -seed1, -seed2).
Information added by this model to the list of the pool, in nats per choice, on 2,000 development test users per setting whose target is among the 30 candidates:
| Video Games | Musical Instr. | Steam | Industrial & Sci. | ML-1M | ML-1M enr. | Mean | |
|---|---|---|---|---|---|---|---|
| this model | 0.085 | 0.058 | 0.034 | 0.069 | 0.025 | 0.027 | 0.050 |
Confirmation of the framework on fresh users
The headline numbers of version 2 use the 9B reader trained on all 34,667 records. Decision4Rec-Full against the strongest reference, NDCG@10 on 10,000 reserved users per domain that were never used during development (Holm-corrected p < 0.01 for every row):
| Domain | Reference | Reference NDCG@10 | Decision4Rec-Full | Gain |
|---|---|---|---|---|
| Video Games | SASRecF+ | 0.0478 | 0.0608 | +27.2% |
| Musical Instr. | SASRecF+ | 0.0278 | 0.0375 | +34.8% |
| Steam | SASRecF+ | 0.0613 | 0.0649 | +6.0% |
| Industrial & Sci. (unseen in training) | SASRecF+ | 0.0263 | 0.0326 | +23.9% |
On three scenarios never seen in training the gains over the best reference are +49.2% (CDs and Vinyl), +50.6% (Toys and Games) and +6.1% (Software).
Development results (version 1)
NDCG@10 of Decision4Rec-Full on 2,000 development test users per domain (full-catalogue ranking, leave-one-out). Industrial and Scientific was never seen in training.
| System | Video Games | Musical Instr. | Steam | Industrial & Sci. |
|---|---|---|---|---|
| best trained baseline | 0.0622 | 0.0370 | 0.0790 | 0.0310 |
| pool and residual ranker, no decision model | 0.0730 | 0.0468 | 0.0786 | 0.0386 |
| with this model (fused) | 0.0789 | 0.0492 | 0.0831 | 0.0402 |
Use
cd ~/kev && uv run --extra serve python -m kev.serve --run m-polignano/decision4rec-kev-27b --port 8009
decision4rec run --config configs/small/vg_rtm.yaml --backend configs/backends/kev-27B-rtm8k.yaml
Limitations
- Trained on English product and game catalogues; dense domains with long histories (MovieLens) gain less.
- The development results above come from the users used to design the system; the confirmation on reserved users is in the version 2 section.
- It ranks candidates it is given; it does not retrieve.
Licenses
The adapter and head are released under Apache-2.0. The base model keeps its own license. The training data come from public research datasets that are not redistributed here.
Citation
@article{polignano2026decision4rec,
title = {Decision4Rec: A Jev-Inspired Framework of Decision Models on Knowledge and Active Graphs for Multi-Agent Recommender Systems},
author = {Polignano, Marco and Mehta, Het Darshan and Lops, Pasquale and De Luca, Ernesto William and Semeraro, Giovanni},
year = {2026}
}
- Downloads last month
- 55
Model tree for m-polignano/decision4rec-kev-27b
Base model
Qwen/Qwen3.8-27B