SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2111.08184 · 2021

$AIR^2$ for Interaction Prediction

arXiv · PDF · Open in the Atlas

Code that ran

5 of 13 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; 0 honoured the contract we drafted, 0 violated it and 5 have no contract verdict; 0 failures of our instrument; 8 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/2111.08184.json · badge: /api/ran/2111.08184.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
david9dragon9/air canonical (classifier label)
classifier basis not recorded on the link
5 ran · 8 no recorded run
FunctionStatusWhere it lives
compute_embeddings Ran
ran on a synthesized input
david9dragon9/air/DataPrep/rasterize.py
code served (permissive licence) · get_code("b586ded296f05264")
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, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type 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 tensorflow as tf
import numpy as np

class MockCNNModel(tf.Module):
    """Minimal CNN model that returns predictions of expected shape"""
    def __init__(self):
        super(MockCNNModel, self).__init__()
        self.dense = tf.keras.layers.Dense(16)
    
    def predict(self, x):
        # Input shape: (B, 224, 448, 3)
        # Output shape: (B, 224, 448, 16) - same spatial dims, different channels
        batch_size = tf.shape(x)[0]
        return tf.ones((batch_size, 224, 448, 16), dtype=tf.float32)

# Create batch_images: shape (B=2, 224, 448, 3)
batch_images = np.random.randn(2, 224, 448, 3).astype(np.float32)

# Create cnn_models dictionary with two models
model1 = MockCNNModel()
model2 = MockCNNModel()
cnn_models = {
    "model_a": model1,
    "model_b": model2
}

ARGS = {
    "batch_images": batch_images,
    "cnn_models": cnn_models
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
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
is_valid Ran
ran on a synthesized input
david9dragon9/air/dataset.py
code served (permissive licence) · get_code("6a8965350f3999b5")
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, through the batch API) and returned EagerTensor, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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 tensorflow as tf
import numpy as np

# Create a small batch dict with the required keys
batch_size = 2
num_future_steps = 91  # Need at least 12 steps for indexing [12:]
state_dim = 2

# Create gt_future_states: shape (batch_size, num_future_steps, state_dim)
gt_future_states_np = np.random.randn(batch_size, num_future_steps, state_dim).astype(np.float32)
gt_future_states = tf.constant(gt_future_states_np)

# Create gt_future_is_valid: shape (batch_size, num_future_steps)
# Need valid entries for indices 11:90 and 12: (which goes to 91)
gt_future_is_valid_np = np.ones((batch_size, num_future_steps), dtype=np.float32)
gt_future_is_valid = tf.constant(gt_future_is_valid_np)

x = {
    'gt_future_states': gt_future_states,
    'gt_future_is_valid': gt_future_is_valid
}

ARGS = {
    'x': x
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type EagerTensor, ndim 0, dtype family float, shape () — shape () as a later run recorded it
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
transform_matrix Ran
ran on a synthesized input
david9dragon9/air/utils.py
code served (permissive licence) · get_code("f5d7f6fa96260344")
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, through the batch API) and returned ndarray, ndim 2, dtype family float, shape (3, 3) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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 numpy as np

# Analyze the function signature and body
# The function takes three scalar parameters: cx, cy, yaw
# It performs trigonometric operations and arithmetic on them
# Returns a 3x3 numpy array

# Create small float values for the transformation parameters
cx = 1.5
cy = 2.3
yaw = 0.785  # approximately 45 degrees in radians

ARGS = {
    "cx": cx,
    "cy": cy,
    "yaw": yaw
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (3, 3) — shape (3, 3) as a later run recorded it
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
transform_points Ran
ran on a synthesized input
david9dragon9/air/utils.py
code served (permissive licence) · get_code("40756db9b6ed7d68")
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, through the batch API) and returned ndarray, ndim 2, dtype family float, shape (2, 2) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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 numpy as np

# Set up small numpy arrays for the function
# points: shape (B, 2) - batch of 2D points
points = np.array([[1.0, 2.0], [3.0, 4.0]], dtype=np.float32)

# world_to_image: shape (3, 3) - 3x3 transformation matrix
world_to_image = np.array([
    [2.0, 0.5, 0.0],
    [0.0, 1.5, 0.0],
    [0.1, 0.2, 1.0]
], dtype=np.float32)

ARGS = {
    "points": points,
    "world_to_image": world_to_image
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (2, 2) — shape (2, 2) as a later run recorded it
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
truncate_predictions Ran
ran on a synthesized input
david9dragon9/air/utils.py
code served (permissive licence) · get_code("a0bd0fb04728cac9")
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, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type 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 tensorflow as tf
import numpy as np

# Set seed for reproducibility
tf.random.set_seed(0)

# Create small test tensors
batch_size = 2
num_trajectories = 4
num_points = 16
coord_dim = 2

# trajectories: shape (B, K, 16, 2)
trajectories = tf.constant(
    np.random.randn(batch_size, num_trajectories, num_points, coord_dim).astype(np.float32)
)

# confidences: shape (B, K)
confidences = tf.constant(
    np.random.rand(batch_size, num_trajectories).astype(np.float32)
)

# k parameter (number of top predictions to keep)
k = 6

ARGS = {
    "trajectories": trajectories,
    "confidences": confidences,
    "k": k,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
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
build_tf_examples Not yet run
unverified (harvested, no recorded run)
david9dragon9/air/DataPrep/generate_data.py
code served (permissive licence) · get_code("b3ded012bf284cba")
How it ran

no invocation recorded.

chunked_cluster Not yet run
unverified (harvested, no recorded run)
david9dragon9/air/clustering.py
code served (permissive licence) · get_code("b4ad70865a25d6ac")
How it ran

no invocation recorded.

cluster Not yet run
unverified (harvested, no recorded run)
david9dragon9/air/clustering.py
code served (permissive licence) · get_code("b79faa5e5d306089")
How it ran

no invocation recorded.

get_cyclist_dataset Not yet run
unverified (harvested, no recorded run)
david9dragon9/air/dataset.py
code served (permissive licence) · get_code("9c1a5d96149d2ec7")
How it ran

no invocation recorded.

get_dataset Not yet run
unverified (harvested, no recorded run)
david9dragon9/air/dataset.py
code served (permissive licence) · get_code("bb26ab6633379878")
How it ran

no invocation recorded.

get_trajectories Not yet run
unverified (harvested, no recorded run)
david9dragon9/air/clustering.py
code served (permissive licence) · get_code("bc819991b977eb3a")
How it ran

no invocation recorded.

rasterize Not yet run
unverified (harvested, no recorded run)
david9dragon9/air/DataPrep/rasterize.py
code served (permissive licence) · get_code("889cf3abd490b81f")
How it ran

no invocation recorded.

v2_build_tf_example Not yet run
unverified (harvested, no recorded run)
david9dragon9/air/DataPrep/generate_data.py
code served (permissive licence) · get_code("329b9c1441479944")
How it ran

no invocation recorded.

Also present in other papers' code

Of 13 samples lifted from this paper's linked repositories, 13 carry a function identity and 0 do not. Of the 13 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 13 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

The 2021 Waymo Interaction Prediction Challenge introduced a problem of predicting the future trajectories and confidences of two interacting agents jointly. We developed a solution that takes an anchored marginal motion prediction model with rasterization and augments it to model agent interaction. We do this by predicting the joint confidences using a rasterized image that highlights the ego agent and the interacting agent. Our solution operates on the cartesian product space of the anchors; hence the $"^2"$ in $AIR^2$. Our model achieved the highest mAP (the primary metric) on the leaderboard.

For agents

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

get_harvested_code_for_paper("2111.08184")
get_code_for_paper("2111.08184")
have("2111.08184")

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

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

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

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

Connect an agent — have() is free.