Dataset Viewer
Auto-converted to Parquet Duplicate
user_id
string
video_id
string
date
string
hourmin
string
time_ms
string
is_click
string
is_like
string
is_follow
string
is_comment
string
is_forward
string
is_hate
string
long_view
string
play_time_ms
string
duration_ms
string
profile_stay_time
string
comment_stay_time
string
is_profile_enter
string
is_rand
string
tab
string
item_id
int64
event_at
timestamp[us]
source_row
int64
subset
string
dataset_source
string
synthetic
bool
0
4354972
20220409
900
1649467982289
0
0
0
0
0
0
0
0
70100
0
0
0
0
0
4,354,972
2022-04-09T01:33:02.289000
1
1k
kuairand
false
0
1329429
20220409
900
1649467982289
0
0
0
0
0
0
0
0
51422
0
0
0
0
0
1,329,429
2022-04-09T01:33:02.289000
2
1k
kuairand
false
0
346081
20220409
900
1649467982289
0
0
0
0
0
0
0
0
11696
0
0
0
0
0
346,081
2022-04-09T01:33:02.289000
3
1k
kuairand
false
0
2058916
20220409
900
1649467982289
0
0
0
0
0
0
0
0
66433
0
0
0
0
0
2,058,916
2022-04-09T01:33:02.289000
4
1k
kuairand
false
0
2528540
20220409
900
1649467982289
1
0
0
0
0
0
0
5332
11450
0
0
0
0
0
2,528,540
2022-04-09T01:33:02.289000
5
1k
kuairand
false
0
1966868
20220409
900
1649467982289
0
0
0
0
0
0
0
0
22016
0
0
0
0
0
1,966,868
2022-04-09T01:33:02.289000
6
1k
kuairand
false
0
2378158
20220409
900
1649467982289
0
0
0
0
0
0
0
0
42633
0
0
0
0
0
2,378,158
2022-04-09T01:33:02.289000
7
1k
kuairand
false
0
3872621
20220409
900
1649467982289
0
0
0
0
0
0
0
0
24857
0
0
0
0
0
3,872,621
2022-04-09T01:33:02.289000
8
1k
kuairand
false
0
2291992
20220409
900
1649467982289
0
0
0
0
0
0
0
0
0
0
0
0
0
0
2,291,992
2022-04-09T01:33:02.289000
9
1k
kuairand
false
0
1252602
20220409
900
1649467982289
0
0
0
0
0
0
0
0
34898
0
0
0
0
0
1,252,602
2022-04-09T01:33:02.289000
10
1k
kuairand
false
0
1724077
20220409
900
1649467982289
0
0
0
0
0
0
0
0
179633
0
0
0
0
0
1,724,077
2022-04-09T01:33:02.289000
11
1k
kuairand
false
0
3173641
20220409
1100
1649475132652
0
0
0
0
0
0
0
791
95833
0
0
0
0
1
3,173,641
2022-04-09T03:32:12.652000
12
1k
kuairand
false
0
889528
20220409
1100
1649475132652
0
0
0
0
0
0
0
2683
20040
0
0
0
0
1
889,528
2022-04-09T03:32:12.652000
13
1k
kuairand
false
0
2650549
20220409
1100
1649475132652
0
0
0
0
0
0
0
1250
8333
0
0
0
0
1
2,650,549
2022-04-09T03:32:12.652000
14
1k
kuairand
false
0
2497952
20220409
1200
1649477382190
0
0
0
0
0
0
0
2366
0
0
0
0
0
1
2,497,952
2022-04-09T04:09:42.190000
15
1k
kuairand
false
0
2675156
20220409
1200
1649477382190
0
0
0
0
0
0
0
1734
177666
0
0
0
0
1
2,675,156
2022-04-09T04:09:42.190000
16
1k
kuairand
false
0
961686
20220409
1200
1649477382190
0
0
0
0
0
0
0
902
85700
0
0
0
0
1
961,686
2022-04-09T04:09:42.190000
17
1k
kuairand
false
0
4064737
20220409
1200
1649477382190
0
0
0
0
0
0
0
1300
110466
0
0
0
0
1
4,064,737
2022-04-09T04:09:42.190000
18
1k
kuairand
false
0
1262357
20220409
1200
1649477382190
0
0
0
0
0
0
0
982
17750
0
0
0
0
1
1,262,357
2022-04-09T04:09:42.190000
19
1k
kuairand
false
0
3553073
20220409
1200
1649477382190
0
0
0
0
0
0
0
907
40320
0
0
0
0
1
3,553,073
2022-04-09T04:09:42.190000
20
1k
kuairand
false
0
4015836
20220409
1200
1649477382190
0
0
0
0
0
0
0
947
6300
0
0
0
0
1
4,015,836
2022-04-09T04:09:42.190000
21
1k
kuairand
false
0
4313264
20220409
1200
1649477390308
0
0
0
0
0
0
0
1194
21103
0
0
0
0
1
4,313,264
2022-04-09T04:09:50.308000
22
1k
kuairand
false
0
3763376
20220409
1200
1649477390308
0
0
0
0
0
0
0
3154
169800
0
0
0
0
1
3,763,376
2022-04-09T04:09:50.308000
23
1k
kuairand
false
0
4067506
20220409
1200
1649477390308
1
0
0
0
0
0
1
18312
41241
0
0
0
0
1
4,067,506
2022-04-09T04:09:50.308000
24
1k
kuairand
false
0
1430410
20220409
1200
1649477390308
0
0
0
0
0
0
0
1016
30366
0
0
0
0
1
1,430,410
2022-04-09T04:09:50.308000
25
1k
kuairand
false
0
794763
20220409
2100
1649506531499
0
0
0
0
0
0
0
0
27865
0
0
0
0
0
794,763
2022-04-09T12:15:31.499000
26
1k
kuairand
false
0
1558161
20220409
2100
1649506531499
0
0
0
0
0
0
0
0
12450
0
0
0
0
0
1,558,161
2022-04-09T12:15:31.499000
27
1k
kuairand
false
0
3474911
20220409
2100
1649506531499
0
0
0
0
0
0
0
0
161200
0
0
0
0
0
3,474,911
2022-04-09T12:15:31.499000
28
1k
kuairand
false
0
2971211
20220409
2100
1649506531499
0
0
0
0
0
0
0
0
63000
0
0
0
0
0
2,971,211
2022-04-09T12:15:31.499000
29
1k
kuairand
false
0
2243054
20220409
2100
1649506531499
0
0
0
0
0
0
0
0
145633
0
0
0
0
0
2,243,054
2022-04-09T12:15:31.499000
30
1k
kuairand
false
0
3961840
20220409
2100
1649506531499
0
0
0
0
0
0
0
0
11491
0
0
0
0
0
3,961,840
2022-04-09T12:15:31.499000
31
1k
kuairand
false
0
20620
20220409
2100
1649506531499
0
0
0
0
0
0
0
0
7566
0
0
0
0
0
20,620
2022-04-09T12:15:31.499000
32
1k
kuairand
false
0
1809401
20220409
2100
1649506531499
0
0
0
0
0
0
0
0
10280
0
0
0
0
0
1,809,401
2022-04-09T12:15:31.499000
33
1k
kuairand
false
0
3393042
20220409
2100
1649506531499
0
0
0
0
0
0
0
0
105500
0
0
0
0
0
3,393,042
2022-04-09T12:15:31.499000
34
1k
kuairand
false
0
625209
20220409
2100
1649506531499
0
0
0
0
0
0
0
0
7800
0
0
0
0
0
625,209
2022-04-09T12:15:31.499000
35
1k
kuairand
false
0
554450
20220409
2100
1649506531499
0
0
0
0
0
0
0
0
70730
0
0
0
0
0
554,450
2022-04-09T12:15:31.499000
36
1k
kuairand
false
0
2343420
20220409
2100
1649506531499
0
0
0
0
0
0
0
0
79081
0
0
0
0
0
2,343,420
2022-04-09T12:15:31.499000
37
1k
kuairand
false
0
3556496
20220411
1800
1649673423739
1
0
0
0
0
0
1
25961
13291
0
0
0
0
0
3,556,496
2022-04-11T10:37:03.739000
38
1k
kuairand
false
0
4350346
20220411
1800
1649673423739
0
0
0
0
0
0
0
0
66600
0
0
0
0
0
4,350,346
2022-04-11T10:37:03.739000
39
1k
kuairand
false
0
243554
20220411
1800
1649673423739
0
0
0
0
0
0
0
0
503800
0
0
0
0
0
243,554
2022-04-11T10:37:03.739000
40
1k
kuairand
false
0
575509
20220411
1800
1649673423739
0
0
0
0
0
0
0
0
130816
0
0
0
0
0
575,509
2022-04-11T10:37:03.739000
41
1k
kuairand
false
0
2989538
20220411
1800
1649673423739
0
0
0
0
0
0
0
0
90896
0
0
0
0
0
2,989,538
2022-04-11T10:37:03.739000
42
1k
kuairand
false
0
2654982
20220411
1800
1649673423739
0
0
0
0
0
0
0
0
53243
0
0
0
0
0
2,654,982
2022-04-11T10:37:03.739000
43
1k
kuairand
false
0
1884535
20220411
1800
1649673423739
0
0
0
0
0
0
0
0
86283
0
0
0
0
0
1,884,535
2022-04-11T10:37:03.739000
44
1k
kuairand
false
0
432937
20220411
1800
1649673423739
0
0
0
0
0
0
0
0
22687
0
0
0
0
0
432,937
2022-04-11T10:37:03.739000
45
1k
kuairand
false
0
1446518
20220411
1800
1649673423739
0
0
0
0
0
0
0
0
184933
0
0
0
0
0
1,446,518
2022-04-11T10:37:03.739000
46
1k
kuairand
false
0
714100
20220411
1800
1649673423739
0
0
0
0
0
0
0
0
11495
0
0
0
0
0
714,100
2022-04-11T10:37:03.739000
47
1k
kuairand
false
0
3056911
20220411
1800
1649673423739
0
0
0
0
0
0
0
0
98600
0
0
0
0
0
3,056,911
2022-04-11T10:37:03.739000
48
1k
kuairand
false
0
3903054
20220411
1800
1649673458959
0
0
0
0
0
0
0
0
39583
0
0
0
0
0
3,903,054
2022-04-11T10:37:38.959000
49
1k
kuairand
false
0
2604361
20220411
1800
1649673458959
0
0
0
0
0
0
0
0
60000
0
0
0
0
0
2,604,361
2022-04-11T10:37:38.959000
50
1k
kuairand
false
0
766942
20220411
1800
1649673458959
0
0
0
0
0
0
0
0
163833
0
0
0
0
0
766,942
2022-04-11T10:37:38.959000
51
1k
kuairand
false
0
1364387
20220411
1800
1649673458959
0
0
0
0
0
0
0
0
11498
0
0
0
0
0
1,364,387
2022-04-11T10:37:38.959000
52
1k
kuairand
false
0
2993232
20220411
1800
1649673458959
0
0
0
0
0
0
0
0
68617
0
0
0
0
0
2,993,232
2022-04-11T10:37:38.959000
53
1k
kuairand
false
0
3458617
20220411
1800
1649673458959
0
0
0
0
0
0
0
0
83578
0
0
0
0
0
3,458,617
2022-04-11T10:37:38.959000
54
1k
kuairand
false
0
832276
20220411
1800
1649673458959
0
0
0
0
0
0
0
0
60000
0
0
0
0
0
832,276
2022-04-11T10:37:38.959000
55
1k
kuairand
false
0
2996868
20220411
1800
1649673604040
0
0
0
0
0
0
0
1266
435900
0
0
0
0
1
2,996,868
2022-04-11T10:40:04.040000
56
1k
kuairand
false
0
848202
20220411
1800
1649673604040
0
0
0
0
0
0
0
1100
16066
0
0
0
0
1
848,202
2022-04-11T10:40:04.040000
57
1k
kuairand
false
0
141914
20220411
1800
1649673604040
0
0
0
0
0
0
0
2599
51488
0
0
0
0
1
141,914
2022-04-11T10:40:04.040000
58
1k
kuairand
false
0
3576970
20220411
1800
1649673604040
0
0
0
0
0
0
0
1103
183134
0
0
0
0
1
3,576,970
2022-04-11T10:40:04.040000
59
1k
kuairand
false
0
7136
20220411
1800
1649673604040
0
0
0
0
0
0
0
1041
259066
0
0
0
0
1
7,136
2022-04-11T10:40:04.040000
60
1k
kuairand
false
0
4022823
20220411
1800
1649673604618
0
0
0
0
0
0
0
0
170398
0
0
0
0
0
4,022,823
2022-04-11T10:40:04.618000
61
1k
kuairand
false
0
1611622
20220411
1800
1649673604618
0
0
0
0
0
0
0
0
21389
0
0
0
0
0
1,611,622
2022-04-11T10:40:04.618000
62
1k
kuairand
false
0
861031
20220411
1800
1649673604618
0
0
0
0
0
0
0
0
205533
0
0
0
0
0
861,031
2022-04-11T10:40:04.618000
63
1k
kuairand
false
0
2264992
20220411
1800
1649673604618
0
0
0
0
0
0
0
0
56700
0
0
0
0
0
2,264,992
2022-04-11T10:40:04.618000
64
1k
kuairand
false
0
1410386
20220411
1800
1649673604618
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1,410,386
2022-04-11T10:40:04.618000
65
1k
kuairand
false
0
916036
20220411
1800
1649673604618
0
0
0
0
0
0
0
0
40366
0
0
0
0
0
916,036
2022-04-11T10:40:04.618000
66
1k
kuairand
false
0
2391766
20220411
1800
1649673604618
0
0
0
0
0
0
0
0
39445
0
0
0
0
0
2,391,766
2022-04-11T10:40:04.618000
67
1k
kuairand
false
0
1387715
20220411
1800
1649673604618
0
0
0
0
0
0
0
0
7974
0
0
0
0
0
1,387,715
2022-04-11T10:40:04.618000
68
1k
kuairand
false
0
1408119
20220411
1800
1649673604618
0
0
0
0
0
0
0
0
111266
0
0
0
0
0
1,408,119
2022-04-11T10:40:04.618000
69
1k
kuairand
false
0
1222406
20220411
1800
1649673604618
0
0
0
0
0
0
0
0
60516
0
0
0
0
0
1,222,406
2022-04-11T10:40:04.618000
70
1k
kuairand
false
0
3961647
20220411
1800
1649673604618
0
0
0
0
0
0
0
0
9827
0
0
0
0
0
3,961,647
2022-04-11T10:40:04.618000
71
1k
kuairand
false
0
2768069
20220411
1800
1649673604618
0
0
0
0
0
0
0
0
243600
0
0
0
0
0
2,768,069
2022-04-11T10:40:04.618000
72
1k
kuairand
false
0
986436
20220411
1800
1649673611472
0
0
0
0
0
0
0
0
205483
0
0
0
0
0
986,436
2022-04-11T10:40:11.472000
73
1k
kuairand
false
0
1239672
20220411
1800
1649673611472
0
0
0
0
0
0
0
0
180650
0
0
0
0
0
1,239,672
2022-04-11T10:40:11.472000
74
1k
kuairand
false
0
4355447
20220411
1800
1649673611472
0
0
0
0
0
0
0
0
69525
0
0
0
0
0
4,355,447
2022-04-11T10:40:11.472000
75
1k
kuairand
false
0
1246399
20220411
1800
1649673611472
0
0
0
0
0
0
0
0
73666
0
0
0
0
0
1,246,399
2022-04-11T10:40:11.472000
76
1k
kuairand
false
0
7136
20220411
1800
1649673611472
0
0
0
0
0
0
0
0
259066
0
0
0
0
0
7,136
2022-04-11T10:40:11.472000
77
1k
kuairand
false
0
497752
20220411
1800
1649673611472
0
0
0
0
0
0
0
0
212240
0
0
0
0
0
497,752
2022-04-11T10:40:11.472000
78
1k
kuairand
false
0
1803870
20220411
1800
1649673611472
0
0
0
0
0
0
0
0
34000
0
0
0
0
0
1,803,870
2022-04-11T10:40:11.472000
79
1k
kuairand
false
0
2280190
20220411
1800
1649673611472
0
0
0
0
0
0
0
0
10766
0
0
0
0
0
2,280,190
2022-04-11T10:40:11.472000
80
1k
kuairand
false
0
2538203
20220411
1800
1649673611472
0
0
0
0
0
0
0
0
53300
0
0
0
0
0
2,538,203
2022-04-11T10:40:11.472000
81
1k
kuairand
false
0
3491027
20220411
1800
1649673611472
0
0
0
0
0
0
0
0
313233
0
0
0
0
0
3,491,027
2022-04-11T10:40:11.472000
82
1k
kuairand
false
0
3596241
20220411
1800
1649673611472
0
0
0
0
0
0
0
0
66050
0
0
0
0
0
3,596,241
2022-04-11T10:40:11.472000
83
1k
kuairand
false
0
2376887
20220411
1800
1649673618997
0
0
0
0
0
0
0
0
18400
0
0
0
0
0
2,376,887
2022-04-11T10:40:18.997000
84
1k
kuairand
false
0
1437066
20220411
1800
1649673618997
0
0
0
0
0
0
0
0
64200
0
0
0
0
0
1,437,066
2022-04-11T10:40:18.997000
85
1k
kuairand
false
0
3338816
20220411
1800
1649673618997
0
0
0
0
0
0
0
0
37800
0
0
0
0
0
3,338,816
2022-04-11T10:40:18.997000
86
1k
kuairand
false
0
2706655
20220411
1800
1649673618997
0
0
0
0
0
0
0
0
42442
0
0
0
0
0
2,706,655
2022-04-11T10:40:18.997000
87
1k
kuairand
false
0
3585048
20220411
1800
1649673618997
0
0
0
0
0
0
0
0
57466
0
0
0
0
0
3,585,048
2022-04-11T10:40:18.997000
88
1k
kuairand
false
0
900295
20220411
1800
1649673618997
0
0
0
0
0
0
0
0
23966
0
0
0
0
0
900,295
2022-04-11T10:40:18.997000
89
1k
kuairand
false
0
2037933
20220411
1800
1649673618997
0
0
0
0
0
0
0
0
88166
0
0
0
0
0
2,037,933
2022-04-11T10:40:18.997000
90
1k
kuairand
false
0
3139581
20220411
1800
1649673618997
0
0
0
0
0
0
0
0
10833
0
0
0
0
0
3,139,581
2022-04-11T10:40:18.997000
91
1k
kuairand
false
0
3572329
20220411
1800
1649673618997
0
0
0
0
0
0
0
0
20900
0
0
0
0
0
3,572,329
2022-04-11T10:40:18.997000
92
1k
kuairand
false
0
4043290
20220411
1800
1649673618997
0
0
0
0
0
0
0
0
11500
0
0
0
0
0
4,043,290
2022-04-11T10:40:18.997000
93
1k
kuairand
false
0
1877570
20220411
1800
1649673618997
0
0
0
0
0
0
0
0
60733
0
0
0
0
0
1,877,570
2022-04-11T10:40:18.997000
94
1k
kuairand
false
0
3440219
20220411
1800
1649673618997
0
0
0
0
0
0
0
0
15866
0
0
0
0
0
3,440,219
2022-04-11T10:40:18.997000
95
1k
kuairand
false
0
2032475
20220411
1800
1649673626398
0
0
0
0
0
0
0
0
0
0
0
0
0
0
2,032,475
2022-04-11T10:40:26.398000
96
1k
kuairand
false
0
4316219
20220411
1800
1649673626398
0
0
0
0
0
0
0
0
11066
0
0
0
0
0
4,316,219
2022-04-11T10:40:26.398000
97
1k
kuairand
false
0
1088582
20220411
1800
1649673626398
0
0
0
0
0
0
0
0
60036
0
0
0
0
0
1,088,582
2022-04-11T10:40:26.398000
98
1k
kuairand
false
0
2627602
20220411
1800
1649673626398
0
0
0
0
0
0
0
0
143766
0
0
0
0
0
2,627,602
2022-04-11T10:40:26.398000
99
1k
kuairand
false
0
3597030
20220411
1800
1649673626398
0
0
0
0
0
0
0
0
15000
0
0
0
0
0
3,597,030
2022-04-11T10:40:26.398000
100
1k
kuairand
false
End of preview. Expand in Data Studio

KuaiRand-Star

Star-schema Parquet for the official KuaiRand releases. pure, 1k, and 27k are separate subsets. Each subset has its own events, users, items, item_statistics, and item_tags tables. The tables are not joined. 27k is the full release. 1k samples 1,000 users from 27k and drops videos those users did not meet, so its side tables are a different release file. pure keeps the logs of the 7,583 candidate-pool videos. video_captions and video_categories are two shared configs from the supplementary Zenodo record. They are not split by subset. Field meanings below follow the descriptions on that homepage.

This is not the official repository. A config name is {subset}-{table}. The default config is 1k-events.

Rows

subset events users items item_statistics item_tags
pure 2,622,668 27,285 7,583 7,583 9,310
1k 11,756,073 1,000 4,371,868 4,371,868 5,207,822
27k 323,464,444 27,285 32,038,725 32,038,725 38,902,423

The events count is the official standard-policy interactions plus the random-policy interactions: pure 1,436,609 + 1,186,059, 1k 11,713,045 + 43,028, and 27k 322,278,385 + 1,186,059. pure and 27k each have 27,285 users, and their user_features CSVs are byte-identical. 1k has 1,000 users.

The official README counts 4,369,953 videos in the 1k standard-policy logs and 7,388 in the random log. 1k items has 4,371,868 rows, the number of distinct video_id values across both logs. 27k items has the official 32,038,725 videos. pure items has 7,583 rows, the candidate-pool size in the official random-policy row.

events.event_at on pure runs from 2022-04-09 03:46:03.278 through 2022-05-08 15:52:10.564. On 1k it runs from 2022-04-07 14:00:03.236 through 2022-05-08 15:52:09.022. On 27k it runs from 2022-04-07 13:59:26.592 through 2022-05-08 15:52:10.589.

Columns

Every original CSV field is kept as VARCHAR. Empty source fields stay null. They are not filled with zero.

On events, item_id is video_id as BIGINT and event_at is epoch_ms(time_ms). user_id stays the original decimal string because that is already the CSV column name. date, hourmin, and is_rand stay as released. Standard logs have is_rand 0 and the random log has is_rand 1. Rows that share user_id and event_at are kept.

On items and item_statistics, item_id is video_id as BIGINT. author_id stays author_id. items.tag stays the original comma-separated string. item_tags is that string split on comma, trimmed, with empty tokens omitted. position is the 1-based index in the original string. item_tags.source_row is the parent item row, so it is not unique. users, items, and item_statistics have no clock.

source_row on events, users, items, and item_statistics is the 1-based row number after concatenating the official files and before sorting the Parquet file. Log order is standard before random, then the 4_08_to_4_21 span before 4_22_to_5_08, then part number. Statistic parts concatenate in part order. The written events file is sorted by user_id, event_at, source_row.

dataset_source is kuairand and synthetic is false on every row. subset is pure, 1k, or 27k on the subset tables. The two shared configs have source_row, dataset_source, and synthetic, and they have no subset column. item_id on those configs is final_video_id as BIGINT.

Field meanings

The homepage describes three log files. log_standard_4_08_to_4_21 is standard recommendation for 2022-04-08 through 2022-04-21. log_standard_4_22_to_5_08 is standard recommendation in the later span. log_random_4_22_to_5_08 is the random intervention. The homepage says each recommended video had an equal chance of being replaced by a video drawn from the candidate pool, and that about 0.37% of interactions are those replacements. is_rand is 1 on a replaced row. tab is the scenario and takes an integer from 0 through 14, one value for each of the 15 policies.

field meaning on events
user_id User id. The same id space as users.
video_id Video id. The same id space as items.
date Interaction date as YYYYMMDD, for example 20220421.
hourmin Interaction time in the homepage's HHSS form, for example 400.
time_ms Interaction timestamp in milliseconds. event_at is epoch_ms of this value.
is_click Binary feedback. On the two-column UI it is a click. On the single-column UI it is a valid play: 1 when play_time_ms >= duration_ms if duration_ms <= 7000, and when play_time_ms > 7000 if duration_ms > 7000.
is_like The user hit like.
is_follow The user followed the author.
is_comment The user wrote a comment.
is_forward The user forwarded the video.
is_hate The user marked the video as hated.
long_view 1 when play_time_ms >= duration_ms if duration_ms <= 18000, and when play_time_ms >= 18000 if duration_ms > 18000.
play_time_ms View time in milliseconds.
duration_ms Video duration in milliseconds.
profile_stay_time Time spent on the author profile.
comment_stay_time Time spent in the comments.
is_profile_enter The user entered the author profile.
is_rand 1 when this impression is a random exposure.
tab Scenario id, 0 through 14.

users has 30 features plus user_id. user_active_degree is one of high_active, full_active, middle_active, or UNKNOWN. is_lowactive_period, is_live_streamer, and is_video_author are binary. follow_user_num, fans_user_num, and friend_user_num are counts, and the matching *_range columns are the released range labels. register_days is days since registration. Its range is one of 15-30, 31-60, 61-90, 91-180, 181-365, 366-730, or 730+. onehot_feat0 through onehot_feat17 are encrypted features. Each value is the position of the 1 in a one-hot vector. The homepage gives these ranges: feat0 is 0 or 1; feat1 is 0 through 6; feat2 is 0 through 49; feat3 is 0 through 1470; feat4 is 0 through 14; feat5 is 0 through 33; feat6 is 0, 1, or 2; feat7 is 0 through 117; feat8 is 0 through 453; feat9 is 0 through 6; feat10 and feat11 are 0 through 4; feat12 through feat17 are 0 or 1.

field meaning on items
author_id Author id. The homepage gives the range 0 through 8,839,734.
video_type NORMAL or AD.
upload_dt Upload date, for example 2020-07-08.
upload_type How the video was uploaded, for example ShortImport.
visible_status Visibility on the app in the released snapshot.
video_duration Duration in milliseconds. The released text can look like 17200.0.
server_width, server_height Frame size on the server.
music_id, music_type Background music id and type.
tag Comma-separated category labels, for example 12,65. item_tags is this list unnested.

item_statistics is one row per video. The homepage says each value is the average of that statistic over each day and each scenario in one month. counts is the number of observations in that average. A video can contribute more than one observation on the same day when it is counted on more than one scenario. The table has no date, so it is not a changelog and it has no valid_from.

On that table, show_cnt is shows and show_user_num is users who received the video. play_cnt, play_user_num, and play_duration are plays, playing users, and total play time in milliseconds. play_progress is the average of play_duration / video_duration. A complete play finishes the video (play_duration >= video_duration). A valid play is play_duration >= video_duration when the video is at most 7 seconds, and play_duration > 7 seconds otherwise. A long-time play uses 18 seconds in that same pattern. A short-time play is play_duration < min(3 seconds, video_duration). Each of those four has a *_cnt and a *_user_num. The remaining pairs are likes, double-click likes (click_like_cnt, double_click_cnt), canceled likes, comments, direct comments, reply comments, deleted comments, comment likes, follows, canceled follows, successful shares, all share attempts (share_all_cnt), shares outside Kuaishou (outsite_share_all_cnt), downloads, reports, reduce-similar, collects, and canceled collects. comment_stay_duration is time in the comments. follow_cnt counts new follows attributed to the video.

Video captions and categories

These two configs are the supplementary files at https://zenodo.org/records/18159199. Each file is one table. The rows are not copied into pure, 1k, or 27k, and they are not joined to items. final_video_id stays the original text. The homepage says it is the re-indexed KuaiRand video id. source_row is the 1-based CSV row before sorting by final_video_id, source_row.

video_captions has 32,038,725 rows and 32,038,725 distinct final_video_id values. The intersection with items.video_id is 7,583 of the 7,583 pure video_id values, 4,371,868 of the 4,371,868 1k video_id values, and 32,038,725 of the 32,038,725 27k video_id values. That is the same id set as 27k items.video_id. Every video_id in pure and 1k is in this file.

field meaning on video_captions
final_video_id Re-indexed video id. The homepage types it as int64.
caption Caption text, including hashtags and mentions.
show_cover_text Text on the video cover. It may be empty.
duration Duration in milliseconds. The released text keeps the fractional form, for example 114500.0.

video_categories has 32,038,725 rows and 32,038,725 distinct final_video_id values. The intersection with items.video_id is 7,583 of the 7,583 pure video_id values, 4,371,868 of the 4,371,868 1k video_id values, and 32,038,725 of the 32,038,725 27k video_id values. That is the same id set as 27k items.video_id. Every video_id in pure and 1k is in this file.

video_categories is a four-level category prediction. Each level is already a column: an id, a name, and a probability. The levels are not unnested. A missing level uses id -124 and name UNKNOWN in the homepage description. The id and probability columns stay the original CSV text, including a trailing .0 when the file has one.

field meaning on video_categories
first_level_category_id, first_level_category_name, first_level_category_prob Top category id, name, and predicted probability.
second_level_category_id, second_level_category_name, second_level_category_prob Second-level category.
third_level_category_id, third_level_category_name, third_level_category_prob Third-level category, when the file has one.
fourth_level_category_id, fourth_level_category_name, fourth_level_category_prob Fourth-level category. The homepage example of a missing level is id -124.0 and name UNKNOWN.

Source files

  • pure events: log_standard_4_08_to_4_21_pure.csv (1,141,112), log_standard_4_22_to_5_08_pure.csv (295,497), log_random_4_22_to_5_08_pure.csv (1,186,059)
  • pure users: user_features_pure.csv (27,285)
  • pure items: video_features_basic_pure.csv (7,583)
  • pure item_statistics: video_features_statistic_pure.csv (7,583)
  • 1k events: log_standard_4_08_to_4_21_1k.csv (5,055,984), log_standard_4_22_to_5_08_1k.csv (6,657,061), log_random_4_22_to_5_08_1k.csv (43,028)
  • 1k users: user_features_1k.csv (1,000)
  • 1k items: video_features_basic_1k.csv (4,371,868)
  • 1k item_statistics: video_features_statistic_1k.csv (4,371,868)
  • 27k events: log_standard_4_08_to_4_21_27k_part1.csv (68,148,288), log_standard_4_08_to_4_21_27k_part2.csv (68,148,288), log_standard_4_22_to_5_08_27k_part1.csv (93,062,020), log_standard_4_22_to_5_08_27k_part2.csv (92,919,789), log_random_4_22_to_5_08_27k.csv (1,186,059)
  • 27k users: user_features_27k.csv (27,285)
  • 27k items: video_features_basic_27k.csv (32,038,725)
  • 27k item_statistics: video_features_statistic_27k_part1.csv (10,679,575), video_features_statistic_27k_part2.csv (10,679,575), video_features_statistic_27k_part3.csv (10,679,575)
  • video_captions: kuairand_video_captions.csv (32,038,725)
  • video_categories: kuairand_video_categories.csv (32,038,725)

Original sources

License

CC BY-SA 4.0, the license of the official KuaiRand release.

Citation

@inproceedings{gao2022kuairand,
  author = {Gao, Chongming and Li, Shijun and Zhang, Yuan and Chen, Jiawei and Li, Biao and Lei, Wenqiang and Jiang, Peng and He, Xiangnan},
  title = {KuaiRand: An Unbiased Sequential Recommendation Dataset with Randomly Exposed Videos},
  booktitle = {Proceedings of the 31st ACM International Conference on Information and Knowledge Management},
  series = {CIKM '22},
  year = {2022},
  pages = {3953--3957},
  doi = {10.1145/3511808.3557624}
}
Downloads last month
-