Dataset Viewer
Auto-converted to Parquet Duplicate
Search is not available for this dataset
room_idx
int64
0
175k
room_label
int64
0
3
date
int64
20.3M
20.3M
0
0
20,250,602
1
0
20,250,531
2
0
20,250,528
3
0
20,250,602
4
0
20,250,601
5
1
20,250,521
6
1
20,250,524
7
0
20,250,524
8
3
20,250,520
9
0
20,250,531
10
0
20,250,531
11
0
20,250,531
12
0
20,250,531
13
0
20,250,531
14
0
20,250,531
15
0
20,250,528
16
0
20,250,603
17
0
20,250,531
18
0
20,250,531
19
0
20,250,531
20
0
20,250,531
21
0
20,250,531
22
0
20,250,531
23
0
20,250,531
24
0
20,250,531
25
0
20,250,531
26
3
20,250,531
27
0
20,250,528
28
2
20,250,530
29
0
20,250,531
30
0
20,250,531
31
3
20,250,527
32
0
20,250,528
33
3
20,250,531
34
0
20,250,528
35
0
20,250,521
36
0
20,250,531
37
0
20,250,531
38
0
20,250,531
39
0
20,250,531
40
0
20,250,531
41
1
20,250,522
42
0
20,250,531
43
3
20,250,531
44
0
20,250,603
45
0
20,250,522
46
2
20,250,603
47
0
20,250,530
48
2
20,250,529
49
0
20,250,603
50
0
20,250,530
51
0
20,250,520
52
0
20,250,531
53
0
20,250,531
54
2
20,250,529
55
0
20,250,525
56
0
20,250,531
57
0
20,250,531
58
0
20,250,521
59
0
20,250,522
60
0
20,250,521
61
0
20,250,522
62
0
20,250,522
63
0
20,250,522
64
0
20,250,525
65
0
20,250,530
66
0
20,250,531
67
0
20,250,602
68
0
20,250,525
69
0
20,250,520
70
0
20,250,530
71
0
20,250,602
72
0
20,250,523
73
0
20,250,525
74
0
20,250,522
75
0
20,250,523
76
0
20,250,530
77
0
20,250,522
78
0
20,250,531
79
0
20,250,521
80
0
20,250,522
81
1
20,250,529
82
0
20,250,524
83
0
20,250,523
84
0
20,250,521
85
0
20,250,526
86
0
20,250,521
87
0
20,250,523
88
0
20,250,531
89
2
20,250,603
90
2
20,250,524
91
0
20,250,601
92
0
20,250,521
93
2
20,250,528
94
0
20,250,521
95
0
20,250,525
96
0
20,250,523
97
3
20,250,521
98
0
20,250,523
99
0
20,250,601
End of preview. Expand in Data Studio

pretty_name: "Live or Lie — Live Streaming Room Risk Assessment (May/June 2025)" language: - zh tags: - live streaming risk assessment - fraud detection - weak supervision - multiple-instance-learning - behavior sequence license: other

Dataset Card: Live Streaming Room Risk Assessment (May/June 2025)


license: cc-by-4.0 pretty_name: "Live or Lie — Live Streaming Room Risk Assessment (May/June 2025)" language: - zh tags: - live-streaming - risk-assessment - fraud-detection - weak-supervision - multiple-instance-learning - behavior-sequence

Dataset Summary

This dataset contains live-streaming room interaction logs for room-level risk assessment under weak supervision. Each example corresponds to a single live-streaming room and is labeled as risky (> 0) or normal (= 0).

The task is designed for early detection: each room’s action sequence is truncated to the first 30 minutes, and can be structured into user–timeslot capsules for models such as AC-MIL.

File Structure

The dataset is organized into two time-indexed subsets (May and June). Large LMDB data files are provided in multiple .part chunks to comply with storage limits.

.
├── final_May_hard1_masked_encoded.lmdb/
│   ├── data.mdb.00.part
│   ├── data.mdb.01.part
│   ├── data.mdb.02.part
│   ├── data.mdb.03.part
│   └── lock.mdb
├── final_June_hard1_masked_encoded.lmdb/
│   ├── data.mdb.00.part
│   ├── data.mdb.01.part
│   └── lock.mdb
├── May_train.csv
├── May_val.csv
├── May_test.csv
├── June_train.csv
├── June_val.csv
└── June_test.csv

## Dataset Summary
This dataset contains **live-streaming room interaction logs** for **room-level risk assessment** under **weak supervision**. Each example corresponds to a single live-streaming room and is labeled as **risky (> 0)** or **normal (= 0)**.

The task is designed for early detection: each room’s action sequence is **truncated to the first 30 minutes**, and can be structured into **user–timeslot capsules** for models such as AC-MIL.


## Languages
  - Predominantly **Chinese (zh)**: user behaviors are presented in Chinese, e.g., "主播口播:...", these action descriptions are then encoded as action vectors via a **Chinese-bert**.


## Data Structure
Each room has a label and a sequence of **actions**:

- `room_id` (`string`)
- `label` (`int32`, {0,1,2,3}))
- `patch_list` (`list` of tuples):
  - `u_idx` (`string`): user identifier within a room
  - `t` (`int32`): time index along the room timeline
  - `l` (`int32`): capsule index
  - `action_id` (`int32`): action type ID 
  - `action_vec` (`list<float16>` or `null`): action features encoded from masked action descriptions
  - `timestamp` (`string`): action timestamp
  - `action_desc` (`string`): textual action descriptions
  - `user_id` (`string`): user indentifier across rooms

## Action Space
The paper’s setup includes both viewer interactions (e.g., room entry, comments, likes, gifts, shares, etc.) and streamer activities (e.g., start stream, speech transcripts via voice-to-text, OCR-based visual content monitoring). Text-like fields are discretized as part of platform inspection/sampling.

## Data Splits
The paper uses two datasets (“May” and “June”), each with train/val/test splits.
| Split | #Rooms | Avg. actions | Avg. users | Avg. time (min) |
|------:|------:|-------------:|-----------:|----------------:|
| May train | 176,354 | 709 | 35 | 30.0 |
| May val   | 23,859  | 704 | 36 | 29.6 |
| May test  | 22,804  | 740 | 37 | 29.7 |
| June train| 80,472  | 700 | 36 | 30.0 |
| June val  | 10,934  | 767 | 40 | 29.1 |
| June test | 11,116  | 725 | 37 | 29.1 |

## Quickstart

1. Reconstruct the LMDB files
Before loading the data, you must merge the split parts back into a single data.mdb file for each subset. Run the following commands in your terminal:
Below we provide a simple example showing how to load the dataset.

Reconstruct May Dataset

cd final_May_hard1_masked_encoded.lmdb cat data.mdb.*.part > data.mdb cd ..

Reconstruct June Dataset

cd final_June_hard1_masked_encoded.lmdb cat data.mdb.*.part > data.mdb cd ..


2. We use LMDB to store and organize the data. Please install the Python package first:

pip3 install lmdb


Here is a minimal demo for reading an LMDB record:
```python
import lmdb
import pickle

room_id = 0  # the room you want to read

env = lmdb.open(
    lmdb_path,
    readonly=True,
    lock=False,
    map_size=240 * 1024 * 1024 * 1024,
    readahead=False,
)

with env.begin() as txn:
    value = txn.get(str(room_id).encode())
    if value is not None:
        data = pickle.loads(value)
        patch_list = data["patch_list"]  # list of tuples: (u_idx, t, l, action_id, action_vec, timestamp, action_desc, global_user_idx)
        room_label = data["label"]

# close lmdb after reading
env.close()

Claim

To ensure the security and privacy of TikTok users, all data collected from live rooms has been anonymized and masked, preventing any content from being linked to a specific individual. In addition, action vectors are re-encoded from the masked action descriptions. As a result, some fine-grained behavioral signals are inevitably lost, which leads to a performance drop for AC-MIL. The corresponding results are shown below.

Split PR_AUC ROC_AUC R@P=0.9 P@R=0.9 R@FPR=0.1 FPR@R=0.9
May 0.6518 0.9034 0.2281 0.2189 0.7527 0.3215
June 0.6120 0.8856 0.1685 0.1863 0.7111 0.3935

Considerations for Using the Data

Intended Use
• Research on weakly-supervised risk detection / MIL in live streaming
• Early-warning room-level moderation signals
• Interpretability over localized behavior segments (capsule-level evidence)

Out-of-scope / Misuse \ • Do not use this dataset to identify, profile, or target individuals.
• Do not treat predictions as definitive enforcement decisions without human review.

Bias, Limitations, and Recommendations
• Sampling bias: negatives are downsampled (1:10); reported metrics and thresholds should account for this.
• Domain specificity: behavior patterns are platform- and policy-specific; transfer to other platforms may be limited.
• Weak supervision: only room-level labels are provided; interpretability at capsule level is model-derived.

License

This dataset is licensed under CC BY 4.0: https://creativecommons.org/licenses/by/4.0/

Downloads last month
-