Code, benchmark, and results for the paper
Replacing Large Language Models with Jev Decision Models for Low-Latency Edge Service Orchestration Delong Li, Xu Wang, Haochen Gong, Rui Lang, and Guangsheng Yu. University of Technology Sydney. arXiv: 2609.22753
The EdgeIntent v1 benchmark, the experiment results, and the raw per-request run records are on Hugging Face: datasets/OniReimu/Edge-Computing-JEV. The RQ4 DistilBERT classifiers are at OniReimu/Edge-Computing-JEV-classifiers.
The paper places an interpreter in an edge-service admission path. The interpreter turns a natural-language request into a typed intent contract (service, locality, quality floor, urgency, and up to four further fields). Jev-1.13.0 (a hosted decision model) and two self-hosted decision models are compared with three hosted LLMs that are configured for short, structured JSON output.
| Experiment | Research questions | Where |
|---|---|---|
| Interpretation layer on the EdgeIntent v1 benchmark (8,280 verified requests, 33 conditions) | RQ1 input scale, RQ2 input quality, RQ3 task difficulty, RQ4 dynamic service catalog, plus tail latency, jitter, and energy | experiments/rq1-rq4-interpretation/ |
| End-to-end service outcome: live admission with modeled execution (Part A) and a real three-node OCR service (Part B) | RQ5 | experiments/rq5-end-to-end/ |
The two experiments were pre-registered with hypotheses H1–H5 (RQ1–RQ4) and H6–H8 (RQ5). Their decision rules are described in Section 4.6 of the paper.
data/edgebench/v1/ EdgeIntent v1 benchmark: 33 conditions, test and dev splits, service catalog, provenance
traces/ Frozen RQ5 Part A arrival traces (15 cells, seed 1)
calibration.json Frozen RQ5 Part B service-time calibration (median of 40 images per node and tier)
configs/edgebench/ Interpreter manifest (models.json), OCR worker image, cross-platform alignment configs
src/edgebench/ Library: contract, interpreters, runner, scoring, corpus builder, RQ5 admission and simulator, analysis
src/*.py Shared helpers used by the library (schema, rule parser, intent cache, OCR client, simulator)
scripts/ Command-line entry points (eb_*.py) and the figure/table generator (paper_assets.py)
tests/ Offline test suite (no API key, no GPU)
experiments/*/results/ The analysis outputs every number, figure, and table in the paper is computed from
paper_assets/ Figure/table manifest and SHA-256 hashes of the paper's figure and table files
requirements/ Pinned dependencies (lightweight, Apple Silicon, and CUDA environments)
Requirements: Python 3.13 and uv.
git clone https://github.com/OniReimu/Edge-Computing-JEV.git
cd Edge-Computing-JEV
uv venv --python 3.13
uv pip install -r requirements/edgebench.txt -r requirements/analysis.txt
# 1. Offline tests. Tests that need the self-hosted model libraries are skipped in this environment.
uv run python -m pytest tests -q
# 2. Rebuild the paper's figures and tables from the released results (written to paper_assets/)
uv run python scripts/paper_assets.pyThe runner records the commit of the code in every run for provenance, so use a git clone. If you downloaded a ZIP
archive, run git init && git add -A && git commit -m snapshot once before running tests or experiments.
The numbers quoted in the text are listed, with the table row each one comes from, in
experiments/rq1-rq4-interpretation/results/paper_numbers.md and experiments/rq5-end-to-end/results/paper_numbers.md.
The raw run records (about 400 MB) are in the runs/ folder of the Hugging Face dataset. They rebuild every file in
experiments/*/results/ without API keys or GPUs:
uv pip install huggingface_hub
uv run hf download OniReimu/Edge-Computing-JEV --repo-type dataset --include "runs/*" --local-dir hf
uv run python scripts/eb_analyze.py --runs-dir hf/runs/EXP-2026-001 \
--sensitivity-dir hf/runs/EXP-2026-001-sensitivity --out out/rq1-rq4
uv run python scripts/eb_rq5_analyze.py --root-a hf/runs/EXP-2026-002/rq5a \
--root-b hf/runs/EXP-2026-002/rq5b --traces-dir traces --out out/rq5The outputs match experiments/*/results/ byte for byte, apart from the generation timestamp in report.md.
Re-running the experiments makes live calls to hosted models and needs the self-hosted models. Each experiment README
gives the exact commands, and the analysis scripts rebuild experiments/*/results/ from new runs.
Hosted interpreters (Jev-1.13.0, DeepSeek-V4.1-Flash, GLM-5.3-Flash, Qwen3.8-Flash) are called through OpenRouter. Set the key in the environment:
export OPENROUTER_API_KEY=... # never commit it; src/credentials.py can also read ~/.config/jev/openrouter.env (mode 600)| Display name | Model (pinned revision) | Server | Default port |
|---|---|---|---|
| SemIf-Qwen3.5-4B | SemIf @ 23cf1f39 on Qwen/Qwen3.5-4B @ 851bf6e8 |
scripts/eb_serve_semif.py |
8601 |
| Laya | convaiinnovations/laya-typed-decisions @ bc76315b |
scripts/eb_serve_laya.py |
8602 |
| Qwen3.5-4B-JSON (generative reference) | Qwen/Qwen3.5-4B @ 851bf6e8, greedy, schema-constrained |
scripts/eb_serve_qwen_json.py |
8603 |
Environments:
- Apple Silicon (MLX / MPS):
uv pip install -r requirements/edgebench-local.txt, thenuv run python scripts/eb_local.py start semif(orlaya,qwen_json). Use the display names above. - Linux + NVIDIA GPU (the paper's runs used one H100 NVL): follow the header of
requirements/edgebench-cuda.txt, start a server with--backend cuda(SemIf, Qwen3.5-4B-JSON) or--device cuda(Laya), and use the@cudadisplay names (SemIf-Qwen3.5-4B@cuda,Laya@cuda,Qwen3.5-4B-JSON@cuda) fromconfigs/edgebench/models.json.
scripts/eb_align_check.py compares the choices and probabilities of the same server on two platforms on 20 fixed cases.
Only one self-hosted server runs at a time. The servers accept concurrent connections and serialize inference on one accelerator.
| Paper element | Generator | Source data |
|---|---|---|
| EdgeIntent v1 condition table | scripts/paper_assets.py (tab_corpus) |
data/edgebench/v1/stats.md, _yields.json |
| RQ1–RQ4 figures and tables, tail-latency/jitter/energy figures and table, pre-registered contrasts H1–H5 | scripts/paper_assets.py |
experiments/rq1-rq4-interpretation/results/*.csv (built by scripts/eb_analyze.py) |
| RQ5 figures and tables, H6–H8 | scripts/paper_assets.py |
experiments/rq5-end-to-end/results/*.csv (built by scripts/eb_rq5_analyze.py) |
paper_assets/figure-manifest.yml records, for every generated file, its generator function, source CSV, columns,
and filters.
Interpreters are identified by versioned display names throughout the code, the results, and the paper:
Jev-1.13.0, SemIf-Qwen3.5-4B, Laya, DeepSeek-V4.1-Flash, GLM-5.3-Flash, Qwen3.8-Flash, and Qwen3.5-4B-JSON (reference).
Reference interpreters are the rule parser (Rule) and the label oracle (Oracle) in RQ1–RQ3, and MiniLM-Reranker and the
DistilBERT classifiers (DistilBERT-Clf-All, -Frozen, -Retrained) in RQ4.
Condition keys in the code map to the paper's names as follows: pad_512 means padded to 512 tokens, k4 means four
requests per message, F8_high means eight contract fields at high constraint density, K254 means a catalog of 254
services, and churn25 means 25% catalog churn.
- IIIT5K-Word (scene-text images for the RQ5 OCR service) is downloaded by
scripts/eb_iiit5k.pyand is not redistributed. - Tesseract runs inside the OCR worker image built from
configs/edgebench/ocr-worker/Dockerfile. - Model weights are downloaded from Hugging Face at the pinned revisions above.
Each third-party component keeps its own license.
Code: MIT. EdgeIntent v1, the traces, the calibration file, and the experiment results: CC BY 4.0. If you use the benchmark or the code, please cite the paper above.