Hybrid Edge-Cloud modular VLA(Vision Language Action) Pipeline using NVIDIA NIM for Autonomous Driving

I built a Hybrid Edge-Cloud modular VLA(Vision Language Action) Pipeline using NVIDIA NIM — detecting reasoning failures in autonomous driving, frame by frame. 🏎️

What comes next: the thesis

This proof-of-concept is the foundation of my thesis research. The full system design integrates a Reinforcement Learning layer directly into the pipeline, using the Consistency Index as a differentiable reward signal. Rather than penalizing the VLM post-hoc, the goal is to close the loop and train the model toward physically grounded decisions over time — moving from evaluation to active learning.

The architecture is already designed to support this extension. The bottleneck is compute. Training an RL agent on top of a vision-language backbone requires sustained GPU access that goes beyond what a standard laptop or university cluster can provide.

If anyone from the NVIDIA academic programs or developer relations team sees this, I would genuinely welcome a conversation about compute sponsorship or the NVIDIA Academic Hardware Grant program. The research direction directly aligns with the goals of NVIDIA Cosmos and the GROOT framework — verifiable, reasoning-consistent physical AI.

Open to connect: https://www.linkedin.com/in/imfarsi/

Autonomous driving is the most safety-critical software problem of our generation. And the core challenge remains unsolved: how do you verify that an AI’s driving decision is actually grounded in what the sensors see?

This is a proof-of-concept built as part of our thesis on building a reasoning-consistent VLA , the safety-first architecture that NVIDIA DRIVE demands before any model reaches public roads.
Demo:

⚙️ Layer 1 : Edge Perception (< 50ms, Zero Internet) Running YOLOv4-tiny locally via OpenCV DNN (simulating an NVIDIA Jetson), the system performs real-time object detection and converts raw pixel coordinates into a normalized 0–1000 mathematical grid. It then calculates each object’s screen-space area and applies class-specific physical thresholds, a pedestrian at 0.8% screen area is flagged CRITICAL, while a truck needs 3%. It also uses horizontal cx coordinates to classify cross-intersection traffic as hazards vs. safely parked vehicles.

🌐 Layer 2 : Cloud Reasoning ,The pipeline compresses the annotated visual payload by 70%, scaling to 512px with 50% JPEG compression, then transmits it with YOLO spatial metadata to Meta’s Llama 3.2 Vision on NVIDIA NIM. The model outputs structured JSON: steering, throttle, brake, confidence, and active_hazards.

🛡️ The Main Catch: A 6-Point Deterministic Safety Supervisor

After every NIM response, the system mathematically cross-validates the LLM’s output against ground-truth YOLO data through 6 hard contradiction rules:

🔴 Hallucinated Hazard (+0.35 penalty) — VLM declares hazard, YOLO detects nothing

🟠 Reality Neglect (+0.20) — YOLO detects objects, VLM brakes on empty road

🔴 Phantom Pedestrian (+0.40) — VLM sees a person that YOLO cannot find 🟡 Physical Impossibility (+0.25) — brake > 0.4 AND throttle > 0.5 simultaneously

🟡 Overconfident Guessing (+0.10) — Model confidence < 40%, yet commands speed > 80 km/h

🔵 Temporal Jitter (+0.15 × 2) — |Δsteering| > 0.3 or |Δthrottle| > 0.4 between frames, tracked via session memory

The system computes a Consistency Index per frame, plotted in real-time. When the AI contradicts itself the dashboard catches it, penalizes it, and flags a Contradiction Warning on screen.

📊 Post-Mission Diagnostic Report showing: Total AI contradictions detected Average Consistency Index across the mission YOLO avg inference time (ms) vs. NIM avg latency (s) A system-level diagnosis of whether the VLM is ready for deployment

🔗 Full open-source code + documentation: GitHub - imFARSI/VLA-Autonomous-Driving: A Hybrid Edge-Cloud Vision-Language-Action (VLA) pipeline with deterministic safety validation to solve autonomous driving hallucinations. · GitHub

Mail: 6farsi@gmail.com