SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2606.01602 · 2026

Estimating Mutual Information between Time Series and Temporal Event Sequences Across Diverse Analysis Tasks

Haoji Hu, Yijun Lin, Yao-Yi Chiang, Xiaowei Jia, Minoh Jeong, Huaqing Mao, Jinwei Zhou

arXiv · PDF · Open in the Atlas

Code that ran

5 of 5 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 0 have no contract verdict; 5 failures of our instrument; 0 no recorded run), measured 2026-11-22; 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/2606.01602.json · badge: /api/ran/2606.01602.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
HaojiHu/Multimodal-Temporal-Data-Quantification community
Papers with Code archive
5 ran · 0 no recorded run
FunctionStatusWhere it lives
_obtain_repeated_values Ran
ran; our contract draft was wrong, not the code
HaojiHu/Multimodal-Temporal-Data-Quantification/humi/_mixture.py
code served (permissive licence) · get_code("0b4338cf618fde02")
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 defaultdict. 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.

from collections import defaultdict

# Analyze the function:
# - Takes time_series as parameter
# - Iterates over time_series with "for val in time_series"
# - Uses val as a dictionary key (hashable)
# - Returns a defaultdict with counts

# Create a simple time series with some repeated and non-repeated values
time_series = [1, 2, 2, 3, 3, 3, 4, 5, 5]

ARGS = {
    "time_series": time_series
}
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 defaultdict — a defaultdict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a defaultdict 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
_partition_data_pairs Ran
ran; our contract draft was wrong, not the code
HaojiHu/Multimodal-Temporal-Data-Quantification/humi/_mixture.py
code served (permissive licence) · get_code("7f509b1346568726")
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 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.

from collections import defaultdict
import numpy as np

# Analyze the function _partition_data_pairs:
# - Takes two parameters: disc and cont
# - disc is indexed by integer (disc[i])
# - cont is iterated over and indexed by integer (cont[i])
# - Both should be array-like with the same length
# - cont values are used as dictionary keys, so they should be hashable
# - The function partitions based on frequency of values in cont

# Create small test data
disc = np.array([10, 20, 30, 40, 50])  # discrete values
cont = np.array([1.0, 2.0, 1.0, 3.0, 2.0])  # continuous values with repeats

# Verify the logic:
# - val2freq will count: 1.0 appears 2 times, 2.0 appears 2 times, 3.0 appears 1 time
# - After filtering, val2freq will have: {1.0: 2, 2.0: 2}
# - dis_dis will contain pairs where cont value appears multiple times: [10, 1.0], [30, 1.0], [20, 2.0], [50, 2.0]
# - dis_cont will contain pairs where cont value appears once: [40, 3.0]

ARGS = {
    "disc": disc,
    "cont": cont
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy — 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
entropy_estimate_1d_continuous Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
HaojiHu/Multimodal-Temporal-Data-Quantification/humi/_mixture.py
code served (permissive licence) · get_code("87e1a3818edad3a4")
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 float64, ndim 0, 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 numpy as np
from scipy.special import gamma

np.random.seed(0)

# Create a small 1D continuous array of random samples
array = np.random.randn(10)

ARGS = {
    "array": array,
    "islog2": False,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float64, ndim 0, dtype family float — no output shape is stated: observe_signature.py recorded float ndim 0, which disagrees with the fixture run
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
entropy_estimate_1d_discrete Ran
ran; our contract draft was wrong, not the code
HaojiHu/Multimodal-Temporal-Data-Quantification/humi/_mixture.py
code served (permissive licence) · get_code("314b9524c8a573b6")
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 float64, ndim 0, 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 numpy as np

# The function takes an array-like object and iterates through it,
# counting occurrences of each element. It computes entropy.
# We need to provide:
# 1. arr: an iterable of discrete values (can be a list, numpy array, etc.)
# 2. islog2: a boolean flag

# Create a simple discrete array with some repeated elements
arr = [0, 1, 1, 2, 2, 2, 3, 3, 3, 3]

# islog2 parameter - test with False
islog2 = False

ARGS = {
    "arr": arr,
    "islog2": islog2,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float64, ndim 0, dtype family float — no output shape is stated: observe_signature.py recorded float ndim 0, which disagrees with the fixture run
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
mixture_mi Ran
ran; our contract draft was wrong, not the code
HaojiHu/Multimodal-Temporal-Data-Quantification/humi/_mixture.py
code served (permissive licence) · get_code("3c4cd8c40545314b")
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 float64, ndim 0, 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 numpy as np

# Create small test arrays for discrete and continuous data
np.random.seed(0)

# disc: discrete array - should have some repeated values for the function to work
disc = np.array([0, 1, 0, 1, 2, 2, 1, 0, 2, 1])

# cont: continuous array - mixture of repeated and unique values
# Some values repeated (to trigger the repeated values logic)
# Some values unique (to trigger the continuous entropy estimation)
cont = np.array([0.1, 0.2, 0.1, 0.3, 0.4, 0.4, 0.5, 0.6, 0.7, 0.8])

ARGS = {
    "disc": disc,
    "cont": cont,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float64, ndim 0, dtype family float — no output shape is stated: observe_signature.py recorded float ndim 0, which disagrees with the fixture run
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 5 samples lifted from this paper's linked repositories, 5 carry a function identity and 0 do not. Of the 5 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 5 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-22.

Repositories linked to this paper

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

Abstract

Pairwise dependence measures such as correlation and causality are fundamental to temporal data mining, yet there is still no principled and robust way to quantify dependence between heterogeneous data types, especially between continuous time series and discrete temporal event sequences. Existing approaches rely on ad hoc transformations or mutual-information estimators that are highly sensitive to quantization, repeated values, and event redundancy, leading to biased or unstable results in practice. We propose a nonparametric mutual information estimator that directly measures the dependence between time series and event sequences without data transformation, learning, or ad hoc discretization. Our method models the continuous-discrete duality of real-world time series to handle quantization and repeated-value artifacts and introduces a latent event clustering strategy to mitigate bias from event co-occurrence and redundancy. Together, these yield a robust and unified framework that bridges discrete and continuous mutual information. We evaluate the proposed estimator on four representative tasks: discrete-continuous time-delayed mutual information for causality analysis, global and local temporal repetition discovery, discrete covariate selection for time series forecasting, and continuous feature selection for classification. Experiments on synthetic and real-world datasets show consistent improvements over existing methods in accuracy, robustness, and interpretability, positioning our approach as a general-purpose dependence operator for heterogeneous temporal data, similar to Pearson correlation for homogeneous time series. Code: https://github.com/HaojiHu/Multimodal-Temporal-Data-Quantification

For agents

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

get_harvested_code_for_paper("2606.01602")
get_code_for_paper("2606.01602")
have("2606.01602")

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

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

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

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

Connect an agent — have() is free.