SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2306.08401 · ACL · 2023

LiveChat: A Large-Scale Personalized Dialogue Dataset Automatically Constructed from Live Streaming

Yuzhuo Fu, Baoyuan Wang, Yixin Lian, Jingsheng Gao, Ziyi Zhou

arXiv · PDF · Open in the Atlas

Code that ran

7 of 9 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 7 have no contract verdict; 0 failures of our instrument; 2 no recorded run), measured 2026-11-22; 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/2306.08401.json · badge: /api/ran/2306.08401.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
gaojingsheng/livechat canonical (classifier label)
classifier basis: census
7 ran · 2 no recorded run
FunctionStatusWhere it lives
DotProDuctLoss Ran
ran on a synthesized input
gaojingsheng/livechat/Tasks/AddresseeRecognition/src/train_cobert.py
code served (permissive licence) · get_code("64043631a96154a1")
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
import torch.nn.functional as F

torch.manual_seed(0)

# Test case 1: 2D tensors (batch_size, emb_size)
batch_size = 2
emb_size = 4

batch_x_emb_2d = torch.randn(batch_size, emb_size)
batch_y_emb_2d = torch.randn(batch_size, emb_size)

ARGS = {
    "batch_x_emb": batch_x_emb_2d,
    "batch_y_emb": batch_y_emb_2d
}
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
cal_dist Ran
ran on a synthesized input
gaojingsheng/livechat/Tasks/Generation/src/metrics.py
code served (permissive licence) · get_code("8fa104a47ef1735e")
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.

from collections import Counter

# The function expects:
# - generate_corpus: an iterable of strings (the function iterates through them and calls .strip())
# - reference_corpus: optional, but not used in the function body, so can be None

# Create a simple list of strings as generate_corpus
generate_corpus = [
    "hello world this is a test",
    "this is another example string",
    "python code generation is fun",
    "distinct ngrams counter test"
]

reference_corpus = None

ARGS = {
    "generate_corpus": generate_corpus,
    "reference_corpus": reference_corpus
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
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 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
load_pk Ran
ran on a synthesized input
gaojingsheng/livechat/Tasks/AddresseeRecognition/src/utils.py
code served (permissive licence) · get_code("284d95b45459530e")
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 Dataset. 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 pickle as pk
import tempfile
import os

# Create a temporary pickle file with test data
temp_dir = tempfile.mkdtemp()
temp_file = os.path.join(temp_dir, 'test_data.pk')

# Create sample data matching the expected structure: (_, audiences, streamer)
test_data = [
    (None, ['audience1', 'audience2'], 'streamer1'),
    (None, ['audience3', 'audience4'], 'streamer2'),
]

# Write the pickle file
with open(temp_file, 'wb') as f:
    pk.dump(test_data, f)

ARGS = {
    'file_path': temp_file
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
datasets — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Dataset — a Dataset output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Dataset output the recorded ndim 1 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
load_pk Ran
ran on a synthesized input
gaojingsheng/livechat/Tasks/Generation/src/utils.py
code served (permissive licence) · get_code("75b1a1a5b32c73df")
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 Dataset. 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 pickle as pk
import tempfile
import os
from datasets import Dataset as Ddataset

# Create a temporary pickle file with test data
temp_dir = tempfile.mkdtemp()
temp_file = os.path.join(temp_dir, "test_data.pkl")

# Create sample data matching the expected format
# Each sample should have at least 3 elements: [something, query, response]
test_data = [
    [0, "What is the capital of France?", "Paris is the capital of France."],
    [1, "What is 2+2?", "2+2 equals 4."],
]

# Save to pickle file
with open(temp_file, 'wb') as f:
    pk.dump(test_data, f)

# Define ARGS
ARGS = {
    'file_path': temp_file
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
datasets — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Dataset — a Dataset output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Dataset output the recorded ndim 1 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
load_pk_persona Ran
ran on a synthesized input
gaojingsheng/livechat/Tasks/AddresseeRecognition/src/utils.py
code served (permissive licence) · get_code("7f85ab5b93172770")
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 Dataset. 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 pickle as pk
import json
import tempfile
import os

# Create temporary files for the test data
temp_dir = tempfile.mkdtemp()

# Create a mock id_list and save it as JSON
id_list = [101, 102, 103, 104, 105]
id_list_path = os.path.join(temp_dir, "id_list.json")
with open(id_list_path, 'w') as f:
    json.dump(id_list, f)

# Create mock data and save it as pickle
# Each sample is: [id_index, audiences, text]
data = [
    [0, ["user1", "user2"], "streamer content 1"],
    [1, ["user3"], "streamer content 2"],
    [2, ["user4", "user5", "user6"], "streamer content 3"],
]
file_path = os.path.join(temp_dir, "data.pkl")
with open(file_path, 'wb') as f:
    pk.dump(data, f)

ARGS = {
    'file_path': file_path,
    'personaId_list_path': id_list_path,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
datasets — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Dataset — a Dataset output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Dataset output the recorded ndim 1 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
postprocess_text Ran
ran on a synthesized input
gaojingsheng/livechat/Tasks/Generation/src/utils.py
code served (permissive licence) · get_code("c6948dc7082d01c7")
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 torch
import numpy as np

torch.manual_seed(0)

# Analyze the function:
# - preds: list of strings, each gets .strip() called, then checked for ''
# - labels: list of strings, each gets .strip() called
# - Return is a tuple of (preds, labels)

# Create test data
preds = ["  hello  ", "world", "  ", "test"]
labels = ["  label1  ", "label2", "  label3  "]

ARGS = {
    "preds": preds,
    "labels": labels
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, 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: none by the harness; any seed is in the setup block
process_index_to_str Ran
ran on a synthesized input
gaojingsheng/livechat/Tasks/ResponseModeling/src/utils.py
code served (permissive licence) · get_code("f385c3302abe91e0")
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 int, ndim 0, dtype family int, 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 numpy as np

def process_index_to_str(index, name):
    if name == 'age':
        if index == 1:
            return 16
        elif index == 2:
            return 22

ARGS = {
    'index': 1,
    'name': 'age'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type int, ndim 0, dtype family int, 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
cal_bleu Not yet run
unverified (harvested, no recorded run)
gaojingsheng/livechat/Tasks/Generation/src/metrics.py
code served (permissive licence) · get_code("31be6bb24d20e77b")
How it ran

no invocation recorded.

load_retrive_history_post Not yet run
unverified (harvested, no recorded run)
gaojingsheng/livechat/Tasks/AddresseeRecognition/src/utils.py
code served (permissive licence) · get_code("385d4f88a19adf9f")
How it ran

no invocation recorded.

Also present in other papers' code

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

Open-domain dialogue systems have made promising progress in recent years. While the state-of-the-art dialogue agents are built upon large-scale text-based social media data and large pre-trained models, there is no guarantee these agents could also perform well in fast-growing scenarios, such as live streaming, due to the bounded transferability of pretrained models and biased distributions of public datasets from Reddit and Weibo, etc. To improve the essential capability of responding and establish a benchmark in the live opendomain scenario, we introduce the LiveChat dataset, composed of 1.33 million real-life Chinese dialogues with almost 3800 average sessions across 351 personas and fine-grained profiles for each persona. LiveChat is automatically constructed by processing numerous live videos on the Internet and naturally falls within the scope of multi-party conversations, where the issues of Who says What to Whom should be considered. Therefore, we target two critical tasks of response modeling and addressee recognition and propose retrieval-based baselines grounded on advanced techniques. Experimental results have validated the positive effects of leveraging persona profiles and larger average sessions per persona. In addition, we also benchmark the transferability of advanced generation-based models on LiveChat and pose some future directions for current challenges. 1

For agents

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

get_harvested_code_for_paper("2306.08401")
get_code_for_paper("2306.08401")
have("2306.08401")

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

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

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

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

Connect an agent — have() is free.