SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2503.07608 · 2025

AlphaDrive: Unleashing the Power of VLMs in Autonomous Driving via Reinforcement Learning and Reasoning

arXiv · PDF · Open in the Atlas

Code that ran

3 of 3 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 3 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 0 failures of our instrument; 0 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2503.07608.json · badge: /api/ran/2503.07608.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
hustvl/alphadrive canonical (classifier label)
classifier basis: classifier_2025
3 ran · 0 no recorded run
FunctionStatusWhere it lives
plan_format_reward Ran
ran, honoured the contract we drafted
hustvl/alphadrive/src/r1-v/src/open_r1/grpo.py
code served (permissive licence) · get_code("1df0b402ce341b32")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import re

def plan_format_reward(completions, **kwargs):
    """Reward function that checks if the completion has a specific format."""
    pattern = '<think>.*?</think>\\s*<answer>.*?</answer>'
    completion_contents = [completion[0]['content'] for completion in completions]
    matches = [re.fullmatch(pattern, content, re.DOTALL) for content in completion_contents]
    return [1.0 if match else 0.0 for match in matches]


# Setup code to construct valid arguments
completions = [
    [{'content': '<think>reasoning here</think>\n<answer>final answer</answer>'}],
    [{'content': '<think>some thinking</think>  <answer>some answer</answer>'}],
]

ARGS = {
    'completions': completions,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
plan_path_reward Ran
ran, honoured the contract we drafted
hustvl/alphadrive/src/r1-v/src/open_r1/grpo.py
code served (permissive licence) · get_code("a79ceb0e16ce429f")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import re
from collections import Counter

# Define ARGS dictionary with valid arguments for plan_path_reward
ARGS = {
    'completions': [
        [{'content': '<answer>LEFT_TURN, STRAIGHT, RIGHT_CHANGE</answer>'}],
        [{'content': '<answer>RIGHT_TURN, LEFT_CHANGE</answer>'}],
    ],
    'solution': [
        '<answer>LEFT_TURN, STRAIGHT, RIGHT_CHANGE</answer>',
        '<answer>RIGHT_TURN, LEFT_CHANGE, STRAIGHT</answer>',
    ],
    'diversity_weight': 0.4,
    'complexity_weights': {
        'LEFT_TURN': 1.0,
        'RIGHT_TURN': 1.0,
        'LEFT_CHANGE': 1.0,
        'RIGHT_CHANGE': 1.0,
        'STRAIGHT': 0.8,
    },
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
plan_speed_reward Ran
ran, honoured the contract we drafted
hustvl/alphadrive/src/r1-v/src/open_r1/grpo.py
code served (permissive licence) · get_code("b81d05b9a1a309fa")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import re
from collections import Counter

# Construct valid arguments for plan_speed_reward

# The function expects:
# - completions: list of completions, each completion is a list with dict(s) containing 'content' key
# - solution: list of solution strings with <answer>...</answer> tags
# - diversity_weight: float (default 0.4)
# - complexity_weights: dict mapping decision words to weights (default provided)
# - **kwargs: additional keyword arguments (ignored)

# Build completions: list of lists of dicts with 'content' key
completions = [
    [{'content': '<answer>ACCELERATE, KEEP</answer>'}],
    [{'content': '<answer>DECELERATE, STOP</answer>'}],
]

# Build solution: list of strings with <answer>...</answer> tags
solution = [
    '<answer>ACCELERATE, KEEP, STOP</answer>',
    '<answer>DECELERATE, STOP</answer>',
]

# Build complexity_weights dict
complexity_weights = {
    'ACCELERATE': 0.9,
    'DECELERATE': 1.0,
    'STOP': 1.0,
    'KEEP': 0.8
}

# Build diversity_weight
diversity_weight = 0.4

# Additional kwargs (can be empty)
kwargs = {}

ARGS = {
    'completions': completions,
    'solution': solution,
    'diversity_weight': diversity_weight,
    'complexity_weights': complexity_weights,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block

Also present in other papers' code

Of 3 samples lifted from this paper's linked repositories, 3 carry a function identity and 0 do not. Of the 3 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 3 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

OpenAI o1 and DeepSeek R1 achieve or even surpass human expert-level performance in complex domains like mathematics and science, with reinforcement learning (RL) and reasoning playing a crucial role. In autonomous driving, recent end-to-end models have greatly improved planning performance but still struggle with long-tailed problems due to limited common sense and reasoning abilities. Some studies integrate vision-language models (VLMs) into autonomous driving, but they typically rely on pre-trained models with simple supervised fine-tuning (SFT) on driving data, without further exploration of training strategies or optimizations specifically tailored for planning. In this paper, we propose AlphaDrive, a RL and reasoning framework for VLMs in autonomous driving. AlphaDrive introduces four GRPO-based RL rewards tailored for planning and employs a two-stage planning reasoning training strategy that combines SFT with RL. As a result, AlphaDrive significantly improves both planning performance and training efficiency compared to using only SFT or without reasoning. Moreover, we are also excited to discover that, following RL training, AlphaDrive exhibits some emergent multimodal planning capabilities, which is critical for improving driving safety and efficiency. To the best of our knowledge, AlphaDrive is the first to integrate GRPO-based RL with planning reasoning into autonomous driving. Code will be released to facilitate future research.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2503.07608")
get_code_for_paper("2503.07608")
have("2503.07608")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2503.07608.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2503.07608.svg)](https://syntology.ai/paper/2503.07608)

Connect an agent — have() is free.