SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2208.03812 · 2022

When can I Speak? Predicting initiation points for spoken dialogue agents

arXiv · PDF · Open in the Atlas

Code that ran

7 of 7 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; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 6 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/2208.03812.json · badge: /api/ran/2208.03812.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
siyan-sylvia-li/icarus_final canonical (classifier label)
classifier basis: classifier_2025
7 ran · 0 no recorded run
FunctionStatusWhere it lives
bucket_ts_loss Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
siyan-sylvia-li/icarus_final/icarus_min_trainer.py
code served (permissive licence) · get_code("2cc631bc9a7dafea")
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 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
import torch.nn

torch.manual_seed(0)

# The function expects:
# - output: a tensor that will be transposed (1, 2) and passed to CrossEntropyLoss
#   CrossEntropyLoss expects (N, C, ...) where C is num_classes
#   After transpose(1, 2), we need the result to be (batch, num_classes, seq_len)
#   So before transpose: (batch, seq_len, num_classes)
# - target: a tensor of class indices matching the output shape after transpose
#   For CrossEntropyLoss with (N, C, d1, d2, ...), target should be (N, d1, d2, ...)

batch_size = 2
num_classes = 4
seq_len = 3

# output shape: (batch_size, seq_len, num_classes) = (2, 3, 4)
# After transpose(1, 2): (2, 4, 3)
# This is valid for CrossEntropyLoss which expects (N, C, d1, ...) = (2, 4, 3)
output = torch.randn(batch_size, seq_len, num_classes)

# target shape should be (batch_size, seq_len) = (2, 3)
# with values in range [0, num_classes) = [0, 4)
target = torch.randint(0, num_classes, (batch_size, seq_len))

ARGS = {
    "output": output,
    "target": target,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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
calc_da_loss Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
siyan-sylvia-li/icarus_final/icarus_heatmap_trainer.py
code served (permissive licence) · get_code("87d7c55076c6cfc4")
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 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
import torch.nn

torch.manual_seed(0)

# Analyze the function:
# - output: tensor that gets transposed (1, 2) -> needs shape (batch, classes, seq_len) or similar
# - target: tensor for CrossEntropyLoss -> needs shape matching output after transpose
# - ws: weights tensor for element-wise multiplication with loss

# CrossEntropyLoss with reduction='none' expects:
# - input: (N, C, d1, d2, ...) where C is number of classes
# - target: (N, d1, d2, ...) with class indices
# After transpose(1, 2), output shape changes from (N, d1, C, ...) to (N, C, d1, ...)

# Let's use:
# - output shape: (2, 4, 3) -> batch=2, seq_len=4, classes=3
# - After transpose(1, 2): (2, 3, 4)
# - target shape: (2, 4) with class indices in range [0, 3)
# - ws shape: (2, 4) for weighting

batch_size = 2
seq_len = 4
num_classes = 3

output = torch.randn(batch_size, seq_len, num_classes)
target = torch.randint(0, num_classes, (batch_size, seq_len))
ws = torch.ones(batch_size, seq_len)

ARGS = {
    'output': output,
    'target': target,
    'ws': ws
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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
calc_loss Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
siyan-sylvia-li/icarus_final/icarus_gmm_trainer.py
code served (permissive licence) · get_code("a563b5d8b711445b")
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 Tensor, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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
import math

torch.manual_seed(0)

device = 'cpu'

# Create output dict with required keys: 'mu', 'sigma', 'h'
batch_size = 2
num_components = 4

mu = torch.randn(batch_size, num_components)
sigma = torch.abs(torch.randn(batch_size, num_components)) + 0.1
h = torch.softmax(torch.randn(batch_size, num_components), dim=-1)

output = {
    'mu': mu,
    'sigma': sigma,
    'h': h
}

# Create target tensor with shape (batch_size,)
target = torch.randn(batch_size)

# Create weights tensor with shape (batch_size,)
ws = torch.ones(batch_size)

ARGS = {
    'output': output,
    'target': target,
    'ws': ws
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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
calc_loss Ran
ran, honoured the contract we drafted
siyan-sylvia-li/icarus_final/icarus_heatmap_trainer.py
code served (permissive licence) · get_code("28b2e0c2fab85f9c")
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 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
import torch.nn as nn

torch.manual_seed(0)

# Create small tensors for the function
# output: model predictions, shape (batch_size, feature_dim)
output = torch.randn(2, 4)

# target: ground truth, same shape as output
target = torch.randn(2, 4)

# ws: weights for each sample in the batch, shape (batch_size,)
ws = torch.ones(2)

ARGS = {
    "output": output,
    "target": target,
    "ws": ws,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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
calc_loss Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
siyan-sylvia-li/icarus_final/icarus_min_trainer.py
code served (permissive licence) · get_code("4d417aa3b42feb48")
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 Tensor, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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
import torch.nn

torch.manual_seed(0)

# Create small tensors with distinct dimensions
# output shape: (batch=2, seq=3, features=2) - mean and std
output = torch.randn(2, 3, 2)

# target shape: (batch=2, seq=3) - scalar targets
target = torch.randn(2, 3)

# w_vec shape: (batch=2, seq=3) - weights matching norm_prob shape
w_vec = torch.ones(2, 3)

ARGS = {
    'output': output,
    'target': target,
    'w_vec': w_vec
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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
calc_loss_plot Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
siyan-sylvia-li/icarus_final/icarus_min_trainer.py
code served (permissive licence) · get_code("22a3fbffb874f01d")
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 Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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
import torch.nn

torch.manual_seed(0)

# The function expects:
# - output: tensor with shape (batch, seq_len, 2) where last dim has [mean, std]
# - target: tensor with shape (batch, seq_len) for the target values

batch_size = 2
seq_len = 4

output = torch.randn(batch_size, seq_len, 2)
output[:, :, 1] = torch.abs(output[:, :, 1]) + 0.1  # ensure positive for std

target = torch.randn(batch_size, seq_len)

ARGS = {
    'output': output,
    'target': target
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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
ce_da_loss Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
siyan-sylvia-li/icarus_final/icarus_gmm_trainer.py
code served (permissive licence) · get_code("9f0be7bd096906fb")
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 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
import torch.nn

torch.manual_seed(0)

# Analyze the function:
# - output: used with torch.transpose(output, 1, 2), then passed to st_ce (CrossEntropyLoss)
#   CrossEntropyLoss expects (N, C, ...) for output and (N, ...) for target
#   After transpose(1, 2): if input is (N, C, L), output becomes (N, L, C)
#   So before transpose, output should be (N, L, C) -> after transpose (N, C, L)
#   For CrossEntropyLoss to work on the transposed output, we need (N, C, L) shape
#   which after transpose becomes (N, L, C), and target should be (N, L)
#
# - target: used with st_ce, should be LongTensor with shape (N, L)
# - w_vec: used in multiplication with losses, should broadcast with losses shape

# Create output tensor: shape (batch=2, seq_len=3, num_classes=4)
# After transpose(1, 2): (2, 4, 3)
# This is the shape CrossEntropyLoss expects: (N, C, L) where N=2, C=4, L=3
output = torch.randn(2, 3, 4)

# Create target tensor: shape (batch=2, seq_len=3) with class indices
# CrossEntropyLoss expects target shape (N, L) with values in [0, num_classes)
target = torch.randint(0, 4, (2, 3))

# Create weight vector: should match the shape of losses
# After st_ce(output, target) with output shape (2, 4, 3) and target (2, 3),
# losses will have shape (2, 3)
w_vec = torch.ones(2, 3)

ARGS = {
    'output': output,
    'target': target,
    'w_vec': w_vec
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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

Also present in other papers' code

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

Current spoken dialogue systems initiate their turns after a long period of silence (700-1000ms), which leads to little real-time feedback, sluggish responses, and an overall stilted conversational flow. Humans typically respond within 200ms and successfully predicting initiation points in advance would allow spoken dialogue agents to do the same. In this work, we predict the lead-time to initiation using prosodic features from a pre-trained speech representation model (wav2vec 1.0) operating on user audio and word features from a pre-trained language model (GPT-2) operating on incremental transcriptions. To evaluate errors, we propose two metrics w.r.t. predicted and true lead times. We train and evaluate the models on the Switchboard Corpus and find that our method outperforms features from prior work on both metrics and vastly outperforms the common approach of waiting for 700ms of silence.

For agents

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

get_harvested_code_for_paper("2208.03812")
get_code_for_paper("2208.03812")
have("2208.03812")

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

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

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

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

Connect an agent — have() is free.