Jev vs Hugging Face Classifiers for ROS 2 Fault Triage
Can a fast structured decision model outperform a compact open classifier for DDS/QoS incident classification—and when is a local baseline more reliable?
Why this problem is interesting
A synthetic incident corpus contains DDS discovery, QoS mismatch, connectivity, resource pressure, healthy and unknown cases. Build proper train/dev/test partitions; do not assume an arbitrary general-purpose pretrained text model already knows these labels.
Falsifiable question
Where does Jev add value over a reproducible local HF classifier, if anywhere?
Working hypothesis
Jev Choice may change diagnosis quality or coverage, but hosted latency, cost, class calibration and outage behavior may make a local classifier or deterministic rules preferable.
Null hypothesis
Under the same held-out incidents, optional Jev achieves no better selective risk/coverage or utility than a licensed pinned Hugging Face classifier and rules.
Hugging Face capabilities involved
- HF Hub Model & Model Card
- HF Transformers / pinned tokenizer
- Jev Choice via optional hosted API
- Local deterministic rules
- Dataset splits + reproducible run manifest
Who can contribute?
Python NLP evaluation · AI benchmarking · Model calibration
Required prerequisites: Depends on #74/#75 fault PoC and evaluation, #84 synthetic casebook, #58 HF revision pinning. A model card or benchmark cannot be created honestly without an actual model/run.
Trace the proposed integration
Choose a completely fictional example. Step through how the system should decide which inputs or actions are eligible. This browser animation never calls Hugging Face, LeRobot, Jev, Kubernetes or a physical robot.
Illustrative stage 1 of 4: Normalize synthetic fault logs
Tap any stage or choose a case. User-initiated playback, pause and reduced-motion support are provided. Static explanatory content remains available without JavaScript.
Experimental variables, controls and metrics
A useful research scenario is more than a diagram. These are the testable claims and artifacts future contributors should implement or report.
| Design element | How it should be investigated |
|---|---|
| Evaluation arms | Majority/unknown control; rule baseline; CPU-friendly HF text classifier fine-tuned/mapped to classes; optional Jev Choice; optional constrained LLM. |
| Held-out split | Group by incident family and logger variant; unseen-root-cause/OOD subset and injected-log negative cases. |
| Variables | Class prevalence, missingness, prompt/choice order, model/tokenizer revision, hosted failures and network RTT. |
| Endpoints | Macro-F1, critical class recall, selective risk vs coverage, multiclass Brier/ECE where calibrated probabilities exist. |
| Operations | End-to-end p50/p95/p99 request time, memory/CPU, outage/429 rates, actual model-call costs; include rejected attempts. |
| Audit trail | HF model commit + dataset license, criteria/response model hash, seed, run manifest, raw predictions, failures, uncertainty. |
Proposed experimental steps
- Publish the synthetic taxonomy and incident-family split before selecting model outputs.
- Implement rule and majority baselines, explicit unknown/abstention and zero-network unit tests.
- Identify an open HF model license and pinned tokenizer; fine-tune or map labels on the permitted training split only.
- With explicit budget and a valid hosted account, optionally compare pinned Jev Choice using the same evidence.
- Publish raw test predictions, failures, cost and uncertainty only after actual executed runs.
Expected contributions
- Synthetic ROS2 incident dataset + classification rubric
- Pinned HF classifier/model card (only if actually trained/evaluated)
- Jev structured adapter (optional, hosted) + deterministic policy tests
- Fair benchmark code, calibration and abstention plots from verified runs
Publication gate: no result without a source revision, licensed data, raw positive and negative runs, exact method, uncertainty, and human review.
Current benchmark results: N/A
No valid experimental run has been recorded
These pages contain an experiment specification and a synthetic, conceptual animation. A proper Jev vs HF classifier result requires actual verified measurements; none are currently supplied. Do not turn example metadata or a model download into claimed accuracy or robot task success.
See results registry ↗Safety and deployment limitations
Do not ship private video, motor command streams, sensitive lab addresses, access tokens or unlicensed model weights. Hard eligibility, quotas, version checks, deadlines and actions remain in deterministic code. Jev is advisory only where included.
Hugging Face integration and external model services may require credentials, licensing review, a subscription or usage charges. Public demos must not claim any official partnership or endorsement.
Help build the first real experiment
Open contributor task #94
Issue #94 contains tasks, acceptance criteria, failing/unknown tests, risk controls, suggested deliverables and Claude Code/Codex handoff instructions. Students, PhD researchers and platform engineers are welcome to propose a reviewable portion.
Collaborate on GitHub ↗More Hugging Face robotics experiments
ROS 2 → LeRobot dataset
How can a ROS 2 episode become trustworthy training data—and when must a dataset be rejected before it reaches the Hugging Face Hub?
Read the research blueprintSCENARIO 07SmolVLA + LIBERO
What does it actually take to show that a Hugging Face robotics policy completes a simulated manipulation task rather than merely loading model weights?
Read the research blueprintSCENARIO 08LeRobot remote inference
Can a remote GPU help a simulated robot without making delayed action chunks unsafe or mistaking a network handshake for working robotics?
Read the research blueprint