SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2607.06652 · 2026

From Jumps to Signatures: a Generative Method for Temporal Point Processes

Vasileios Lampos, Niels Cariou-Kotlarek

arXiv · PDF

Code that ran

3 of 8 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 3 have no contract verdict; 0 failures of our instrument; 5 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/2607.06652.json · badge: /api/ran/2607.06652.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
Code-Cornelius/sigtpp community
Papers with Code archive
3 ran · 5 no recorded run
FunctionStatusWhere it lives
BasicNN Ran
ran on a synthesized input
Code-Cornelius/sigtpp/src/nn/nn/sigwgan_modules/rnn_sampling_generator_tpp.py
code served (permissive licence) · get_code("fc266dc2eb2c18a0")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) 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
import torch.nn as nn

# Define initialization arguments
INIT_ARGS = {
    'input_size': 4,
    'list_hidden_sizes': [8, 6],
    'output_size': 3,
    'biases': [True, True, True],
    'activation_functions': [nn.ReLU(), nn.ReLU()],
    'dropout': 0.2,
}

# Define forward pass arguments
ARGS = {
    'x': torch.randn(2, 4),
}

# Construct and call the class
if __name__ == '__main__':
    model = nn.Module.__new__(type('BasicNN', (nn.Module,), {
        'module_linearity': nn.Linear,
        '__init__': BasicNN.__init__,
        'set_layers': BasicNN.set_layers,
        'forward': BasicNN.forward,
        'init_weights': staticmethod(BasicNN.init_weights),
    }))
    
    # Import the class definition
    import torch.nn as nn
    from typing import List, Callable
    
    class BasicNN(nn.Module):
        """
        A basic feedforward neural network with configurable hidden layers, activation functions, and dropout.

        The architecture consists of:
        - Input layer
        - Sequence of hidden layers, each followed by an activation function and optionally a dropout layer
        - Output layer

        Args:
            input_size (int): The size of the input features.
            list_hidden_sizes (List[int]): A list containing the sizes of the hidden layers. If empty, the model becomes a linear model.
            output_size (int): The size of the output layer.
            biases (List[bool]): A list indicating whether to use bias for each layer. Must match the number of layers (hidden + output).
            activation_functions (List[Callable]): A list of activation functions to apply after each hidden layer.
            dropout (float): Dropout probability to apply after each hidden layer, between 0 and 1.

        Raises:
            TypeError: If input_size or output_size is not an integer.
            ValueError: If dropout is not between 0 and 1.
            ValueError: If the length of biases does not match the number of layers.
            ValueError: If the length of activation_functions does not match the number of hidden layers.
        """
        module_linearity = nn.Linear

        def __init__(self, input_size: int, list_hidden_sizes: List[int], output_size: int, biases: List[bool], activation_functions: List[Callable], dropout: float):
            super().__init__()
            if not isinstance(input_size, int) or not isinstance(output_size, int):
                raise TypeError('input_size and output_size must be integers.')
            if not isinstance(dropout, float) or not 0 <= dropout < 1:
                raise ValueError('dropout must be a float between 0 and 1.')
            if len(biases) != len(list_hidden_sizes) + 1:
                raise ValueError('Length of biases must match the number of layers (hidden + output).')
            if len(activation_functions) != len(list_hidden_sizes) and list_hidden_sizes:
                raise ValueError('Length of activation_functions must match the number of hidden layers.')
            self.input_size = input_size
            self.list_hidden_sizes = list_hidden_sizes
            self.output_size = output_size
            self.biases = biases
            self.activation_functions = activation_functions
            self.dropout = dropout
            self._layers = nn.ModuleList()
            self._apply_dropout = nn.Dropout(p=self.dropout)
            self.set_layers()
            return

        def set_layers(self):
            """Defines the layers of the network based on the initialization parameters."""
            layer_sizes = [self.input_size] + self.list_hidden_sizes + [self.output_size]
            for i in range(len(layer_sizes) - 1):
                self._layers.append(self.module_linearity(layer_sizes[i], layer_sizes[i + 1], self.biases[i]))
            self.apply(self.init_weights)
            return

        def forward(self, x: torch.Tensor) -> torch.Tensor:
            """
            Defines the forward pass of the network.

            Args:
                x (torch.Tensor): Input tensor.

            Returns:
                torch.Tensor: Output tensor after passing through the network.
            """
            assert x.shape[-1] == self.input_size, f'Input shape {x.shape} does not match input_size {self.input_size}.'
            for i, layer in enumerate(self._layers[:-1]):
                x = layer(x)
                x = self.activation_functions[i](x)
                x = self._apply_dropout(x)
            x = self._layers[-1](x)
            return x

        @staticmethod
        def init_weights(layer: nn.Module):
            """
            Applies Xavier initialization to layers.

            Args:
                layer (nn.Module): A layer in the neural network.
            """
            if isinstance(layer, nn.Linear) and layer.weight.requires_grad:
                gain = nn.init.calculate_gain('relu')
                torch.nn.init.xavier_uniform_(layer.weight, gain=gain)
                if layer.bias is not None and layer.bias.requires_grad:
                    layer.bias.data.fill_(0.0)

    model = BasicNN(**INIT_ARGS)
    output = model(**ARGS)
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
DoubleStateRecurrent Ran
ran on a synthesized input
Code-Cornelius/sigtpp/src/nn/nn/sigwgan_modules/rnn_sampling_generator_tpp.py
code served (permissive licence) · get_code("ae70869378080018")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) 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 torch
import torch.nn as nn

# INIT_ARGS for DoubleStateRecurrent.__init__
INIT_ARGS = {
    'num_layers': 2,
    'bidirectional': True,
    'hidden_size': 8
}

# ARGS for DoubleStateRecurrent.forward
# The forward method expects x with shape (batch_size, ...)
# Based on the code, x.shape[0] is used as batch_size in get_hidden_states
# So x should have batch dimension as first dimension
ARGS = {
    'x': torch.randn(3, 5, 8)  # (batch_size=3, seq_len=5, feature_dim=8)
}
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
torch — 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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
SingleStateRecurrent Ran
ran on a synthesized input
Code-Cornelius/sigtpp/src/nn/nn/sigwgan_modules/rnn_sampling_generator_tpp.py
code served (permissive licence) · get_code("703f060d99a2e045")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) 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 torch
import torch.nn as nn

# INIT_ARGS for SingleStateRecurrent.__init__
INIT_ARGS = {
    'num_layers': 2,
    'bidirectional': True,
    'hidden_size': 8
}

# ARGS for SingleStateRecurrent.forward
# The forward method expects x with shape (batch_size, ...)
# Based on the code, x.shape[0] is used as batch_size in get_hidden_states
# The forward returns (x, hidden_states) where hidden_states has shape:
# (num_layers * (int(bidirectional) + 1), batch_size, hidden_size)
# So x should have batch_size as first dimension
ARGS = {
    'x': torch.randn(3, 5, 8)  # (batch_size=3, seq_len=5, feature_dim=8)
}
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
torch — 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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
Decoder4GANFullInput Not yet run
unverified (harvested, no recorded run)
Code-Cornelius/sigtpp/src/nn/nn/sigwgan_modules/rnn_sampling_generator_tpp.py
code served (permissive licence) · get_code("3c7dedd37b50c233")
How it ran

no invocation recorded.

RNNSamplingGeneratorTPP Not yet run
unverified (harvested, no recorded run)
Code-Cornelius/sigtpp/src/nn/nn/sigwgan_modules/rnn_sampling_generator_tpp.py
code served (permissive licence) · get_code("f5bd89346c8339e6")
How it ran

no invocation recorded.

RNNType Not yet run
unverified (harvested, no recorded run)
Code-Cornelius/sigtpp/src/nn/nn/sigwgan_modules/rnn_sampling_generator_tpp.py
code served (permissive licence) · get_code("43fdf52c2613dc44")
How it ran

no invocation recorded.

Recurrent_nn Not yet run
unverified (harvested, no recorded run)
Code-Cornelius/sigtpp/src/nn/nn/sigwgan_modules/rnn_sampling_generator_tpp.py
code served (permissive licence) · get_code("d2675ca9c35cb60c")
How it ran

no invocation recorded.

TimeEmbedding Not yet run
unverified (harvested, no recorded run)
Code-Cornelius/sigtpp/src/nn/nn/sigwgan_modules/rnn_sampling_generator_tpp.py
code served (permissive licence) · get_code("70cc48c789a59ba2")
How it ran

no invocation recorded.

Also present in other papers' code

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

Rough path signatures are a universal feature map for continuous paths and, via the expected signature, characterise path distributions. These guarantees do not directly extend to càdlàg paths of Temporal Point Processes (TPPs), limiting the use of signature methods for event sequences. Furthermore, neural TPP models, including recent generative approaches, optimise per-event objectives with no global sequence-level loss, while evaluation of variable-length event sequences lacks distributional discrepancy measures. This paper proposes a common pathwise framework for addressing these limitations. We introduce the interarrival embedding, a stable, injective lift from jump paths to continuous paths of bounded variation, extending signature methods to discrete event sequences. Our theoretical contributions give rise to SIGTPP, the first signature-based generative model for TPPs, trained using a path-level loss on complete trajectories. We further analyse the space of counting paths and derive 3 distributional discrepancies, providing mathematically justified tools for evaluating generative TPP models. Across synthetic and real-world datasets, SIGTPP achieves the best average rank based on 8 complementary metrics, outperforms or is within a standard error of the strongest baseline in 64% of the dataset-metric pairs, and according to a relative score, improves against every baseline by at least 19% on average. Source code and datasets: github.com/Code-Cornelius/sigtpp Preprint under review (2026).

For agents

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

get_harvested_code_for_paper("2607.06652")
get_code_for_paper("2607.06652")
have("2607.06652")

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

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

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

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

Connect an agent — have() is free.