SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2604.20472 · ICML · 2026

Temporal Difference Calibration in Sequential Tasks: Application to Vision-Language-Action Models

Mirco Mutti, Aviv Tamar, Yaniv Romano, Shelly Francis-Meretzki

arXiv · PDF · Open in the Atlas

Code that ran

10 of 16 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (1 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 9 failures of our instrument; 6 no recorded run), measured 2026-11-23; 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/2604.20472.json · badge: /api/ran/2604.20472.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
shellytechnion/TDQC canonical (classifier label)
classifier basis: census
9 ran · 2 no recorded run
vla-safe/SAFE community
Papers with Code archive
1 ran · 4 no recorded run
FunctionStatusWhere it lives
FunctionalPredictor Ran
ran on a synthesized input · constructed an object; no result was computed
vla-safe/SAFE/failure_prob/utils/conformal/functional_predictor.py
pointer only (licence: NONE) · get_code("d1b9a1067811236d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, vla-safe/SAFE when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

adjust_xshape Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
shellytechnion/TDQC/failure_prob/model/logpZO.py
code served (permissive licence) · get_code("a3cef716f6021db4")
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 Tensor, ndim 3, dtype family float, shape (2, 4, 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 torch

torch.manual_seed(0)

# Create a small tensor with batch size 2 and dimension 5
x = torch.randn(2, 5)

# in_dim parameter - should be a divisor or related to the feature dimension
in_dim = 3

ARGS = {
    "x": x,
    "in_dim": in_dim
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 3, dtype family float, shape (2, 4, 3) — shape (2, 4, 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
aggregate_monitor_loss Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
shellytechnion/TDQC/failure_prob/model/utils.py
code served (permissive licence) · get_code("5d90c3e1308ba1e6")
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, 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 torch

torch.manual_seed(0)

# Construct tiny valid arguments
B = 2  # batch size
T = 4  # sequence length
num_classes = 2

# losses: shape (B, T) - per-seq per-step losses
losses = torch.randn(B, T)

# valid_masks: shape (B, T) - binary masks indicating valid positions
valid_masks = torch.ones(B, T)
valid_masks[0, -1] = 0  # make one position invalid for variety

# labels: shape (B,) - class labels (0 for fail, 1 for success)
labels = torch.tensor([0, 1])

# weights: list[float] - weights for each class [fail_weight, success_weight]
weights = [1.0, 1.0]

# one_loss_per_seq: bool - whether to sample one loss per sequence
one_loss_per_seq = False

ARGS = {
    "losses": losses,
    "valid_masks": valid_masks,
    "labels": labels,
    "weights": weights,
    "one_loss_per_seq": one_loss_per_seq,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple 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
compute_cosine_dist Ran
ran; our contract draft was wrong, not the code
shellytechnion/TDQC/failure_prob/model/embed.py
code served (permissive licence) · get_code("f2e6dcaaebbd2eeb")
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 Tensor, ndim 2, dtype family float, shape (2, 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 torch

torch.manual_seed(0)

# Create small tensors with distinct dimensions
# x: (N, D) where N=2, D=4
x = torch.randn(2, 4)

# y: (M, D) where M=3, D=4
y = torch.randn(3, 4)

ARGS = {
    "x": x,
    "y": y,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 3) — shape (2, 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
compute_mahala_dist Ran
ran; our contract draft was wrong, not the code
shellytechnion/TDQC/failure_prob/model/embed.py
code served (permissive licence) · get_code("1b1cfdc89420f807")
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 Tensor, ndim 1, dtype family float, shape (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 torch

torch.manual_seed(0)

# Define small tensors with distinct dimensions
N = 2  # number of samples
D = 4  # feature dimension

# x: shape (N, D) - the data points
x = torch.randn(N, D)

# mean: shape (D,) - the mean of the distribution
mean = torch.randn(D)

# cov: shape (D, D) - the covariance matrix (make it positive definite)
cov_base = torch.randn(D, D)
cov = cov_base @ cov_base.T + torch.eye(D) * 0.1  # ensure positive definiteness

# chunk_size: must be less than N
chunk_size = 1

ARGS = {
    "x": x,
    "mean": mean,
    "cov": cov,
    "chunk_size": chunk_size,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 1, dtype family float, shape (2,) — shape (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
compute_td_lambda_targets Ran
ran; our contract draft was wrong, not the code
shellytechnion/TDQC/failure_prob/model/q_learning.py
code served (permissive licence) · get_code("1b1a070394903201")
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 Tensor, ndim 2, dtype family float, shape (2, 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 torch

torch.manual_seed(0)

# Create small tensors with distinct dimensions
B = 2  # batch size
T = 5  # time steps
max_horizon = 3  # smaller than T to get valid output shape

# next_q_values: (B, T) - Q-values for next states
next_q_values = torch.randn(B, T, dtype=torch.float32)

# success_labels: (B, T) - binary success indicators
success_labels = torch.randint(0, 2, (B, T), dtype=torch.float32)

# done_masks: (B, T) - 0 indicates episode end, 1 otherwise
done_masks = torch.ones(B, T, dtype=torch.float32)
done_masks[0, 2] = 0  # Mark one episode end

ARGS = {
    "next_q_values": next_q_values,
    "success_labels": success_labels,
    "done_masks": done_masks,
    "gamma": 0.99,
    "lambda_": 0.95,
    "max_horizon": max_horizon,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 3) — shape (2, 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
cumsum_stopgrad Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
shellytechnion/TDQC/failure_prob/model/utils.py
code served (permissive licence) · get_code("5e2c2800ac238431")
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 Tensor, ndim 2, dtype family float, shape (2, 4) 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 torch

torch.manual_seed(0)

# Create a small input tensor with distinct dimensions
# Shape: (2, 4) - batch of 2, feature dimension of 4
x = torch.randn(2, 4, requires_grad=True)

# Define dim parameter
dim = 0

# Construct ARGS dictionary
ARGS = {
    "x": x,
    "dim": dim,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) 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
get_time_weight Ran
ran; our contract draft was wrong, not the code
shellytechnion/TDQC/failure_prob/model/utils.py
code served (permissive licence) · get_code("77e32f3d4dbb9fbe")
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 Tensor, ndim 2, dtype family float, shape (2, 4) 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 torch

torch.manual_seed(0)

# Construct valid_masks: shape (B, T) where B=2, T=4
# valid_masks should be binary (0s and 1s) indicating which positions are valid
valid_masks = torch.tensor([
    [1, 1, 1, 0],
    [1, 1, 0, 0]
], dtype=torch.float32)

# Test with use_weighting=True
use_weighting_true = True

# Test with use_weighting=False
use_weighting_false = False

ARGS = {
    "use_weighting": use_weighting_true,
    "valid_masks": valid_masks
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) 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
hl_gauss_projection Ran
ran; our contract draft was wrong, not the code
shellytechnion/TDQC/failure_prob/model/q_learning.py
code served (permissive licence) · get_code("c4e9d50e6efc2bc7")
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 Tensor, ndim 3, dtype family float, shape (2, 4, 21) 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 torch

torch.manual_seed(0)

# The function expects:
# - q_values: torch.Tensor of shape (B, T) containing target Q-values
# - num_bins: int, number of bins for categorical distribution
# - v_min: float, minimum value of support
# - v_max: float, maximum value of support
# - sigma_ratio: float, controls label smoothing

# Create small tensors with distinct dimensions
batch_size = 2
time_steps = 4
q_values = torch.randn(batch_size, time_steps)

ARGS = {
    "q_values": q_values,
    "num_bins": 21,
    "v_min": 0.0,
    "v_max": 1.0,
    "sigma_ratio": 0.75,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 3, dtype family float, shape (2, 4, 21) — shape (2, 4, 21) 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
quantile_threshold Ran
ran; our contract draft was wrong, not the code
shellytechnion/TDQC/failure_prob/utils/conformal.py
code served (permissive licence) · get_code("10436213c3e4c1b3")
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 Tensor, 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 torch

torch.manual_seed(0)

# Create a 1D tensor of nonconformity scores
scores = torch.randn(10)

# Set significance level
alpha = 0.1

ARGS = {
    "scores": scores,
    "alpha": alpha,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, 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
AbstractPredictor Not yet run
unverified (harvested, no recorded run)
vla-safe/SAFE/failure_prob/utils/conformal/functional_predictor.py
pointer only (licence: NONE) · get_code("4d2590fa6f81dfbb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, vla-safe/SAFE when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

ModulationType Not yet run
unverified (harvested, no recorded run)
vla-safe/SAFE/failure_prob/utils/conformal/functional_predictor.py
pointer only (licence: NONE) · get_code("97edf0dcd10a3f2d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, vla-safe/SAFE when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

RegressionType Not yet run
unverified (harvested, no recorded run)
vla-safe/SAFE/failure_prob/utils/conformal/functional_predictor.py
pointer only (licence: NONE) · get_code("0fc1a2ede65800d6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, vla-safe/SAFE when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_unet Not yet run
unverified (harvested, no recorded run)
shellytechnion/TDQC/failure_prob/model/logpZO.py
code served (permissive licence) · get_code("ce7f9f6f0e73fb40")
How it ran

no invocation recorded.

regress Not yet run
unverified (harvested, no recorded run)
vla-safe/SAFE/failure_prob/utils/conformal/functional_predictor.py
pointer only (licence: NONE) · get_code("d17d2e53c445a424")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, vla-safe/SAFE when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

split_conformal_binary Not yet run
unverified (harvested, no recorded run)
shellytechnion/TDQC/failure_prob/utils/conformal.py
code served (permissive licence) · get_code("45a50d669261bacb")
How it ran

no invocation recorded.

Also present in other papers' code

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

Recent advances in vision-language-action (VLA) models for robotics have highlighted the importance of reliable uncertainty quantification in sequential tasks. However, assessing and improving calibration in such settings remains mostly unexplored, especially when only partial trajectories are observed. In this work, we formulate sequential calibration for episodic tasks, where tasksuccess confidence is produced along an episode, while success is determined at the end of it. We introduce a sequential extension of the Brier score and show that, for binary outcomes, its risk minimizer coincides with the VLA policy's value function. This connection bridges uncertainty calibration and reinforcement learning, enabling the use of temporal-difference (TD) value estimation as a principled calibration mechanism over time. We empirically show that TD calibration improves performance relative to the state-of-the-art on simulated and real-robot data. Interestingly, we show that when calibrated using TD, the VLA's singlestep action probabilities can yield competitive uncertainty estimates, in contrast to recent findings that employed different calibration techniques.

For agents

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

get_harvested_code_for_paper("2604.20472")
get_code_for_paper("2604.20472")
have("2604.20472")

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

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

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

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

Connect an agent — have() is free.