Dataset Viewer
Auto-converted to Parquet Duplicate
domain
string
user_id
int64
item_id
int64
user_type
string
item_type
string
true_preference_r_star
float64
c1_position_bias
float64
c2_popularity_bias
float64
c3_selection_bias
float64
c4_promotion_bias
int64
c5_temporal_bias
float64
y_observed
int64
Fast_Feed
4,012
1,883
Warm
Warm
-0.44566
0.607947
0.000049
1
0
-0.01211
1
E_Commerce
4,724
1,391
Warm
Warm
-2.160137
1.61416
0.000063
1
0
0.999475
1
E_Commerce
1,189
2,628
Warm
Warm
-5.798979
0.631657
0.000469
1
0
-0.506748
0
Fast_Feed
803
129
Warm
Warm
-4.016169
3.745167
0.00007
1
0
-0.976969
0
Fast_Feed
696
2,157
Warm
Warm
2.022194
0.15618
0.000136
1
0
-0.370619
1
E_Commerce
3,665
3,947
Warm
Warm
-1.666703
1.890101
0.00013
1
0
0.210043
0
Fast_Feed
258
3,813
Warm
Warm
2.525368
1.398997
0.000091
1
0
0.801517
1
Fast_Feed
9,301
353
Warm
Warm
4.824995
2.684936
0.000058
1
0
0.666741
1
E_Commerce
9,118
608
Warm
Warm
-2.225786
0.819092
0.000322
1
0
-0.454833
0
E_Commerce
7,929
4,508
Warm
Warm
-0.713761
2.043251
0.000057
1
1
0.379714
1
Fast_Feed
330
1,693
Warm
Warm
4.17805
0.117425
0.000069
1
0
-0.624659
1
Fast_Feed
884
26
Warm
Warm
-2.888763
0.243554
0.000114
1
0
0.155257
1
Fast_Feed
8,373
4,544
Warm
Warm
-1.034066
0.260228
0.000148
1
0
-0.356819
1
Fast_Feed
3,128
536
Warm
Warm
1.175855
0.347468
0.000087
1
0
0.469398
1
E_Commerce
6,897
600
Warm
Warm
-1.651916
0.892352
0.000119
1
0
0.952522
1
E_Commerce
3,447
1,455
Warm
Warm
1.500888
2.76805
0.000171
1
0
-0.953662
1
Fast_Feed
6,137
4,260
Warm
Warm
4.517149
1.32375
0.000053
1
1
0.893051
1
E_Commerce
5,959
1,729
Warm
Warm
0.521132
0.382862
0.000073
1
0
-0.658823
1
Fast_Feed
4,208
4,538
Warm
Warm
2.383584
0.448933
0.000055
1
0
0.945795
1
Fast_Feed
4,849
3,572
Warm
Warm
2.448582
1.17443
0.00011
1
1
-0.905955
1
E_Commerce
8,925
3,115
Warm
Warm
0.892971
1.466184
0.000201
1
1
-0.406708
1
E_Commerce
9,593
42
Warm
Warm
-7.040304
0.398536
0.000052
1
1
-0.616952
0
Fast_Feed
3,589
3,066
Warm
Warm
3.798371
0.082359
0.000089
1
0
0.928937
1
Fast_Feed
9,510
1,342
Warm
Warm
1.984165
1.156651
0.00008
1
0
0.193041
1
Fast_Feed
7,885
3,971
Warm
Warm
0.139738
1.536108
0.000064
1
0
-0.964249
1
E_Commerce
1,119
3,793
Warm
Warm
1.133337
0.977242
0.000432
1
0
-0.958112
1
Fast_Feed
6,131
2,839
Warm
Warm
2.614133
0.226649
0.000144
1
0
-0.992897
1
Fast_Feed
3,151
1,202
Warm
Warm
-0.318368
1.332248
0.00017
1
0
-0.423042
0
Fast_Feed
2,231
3,703
Cold
Warm
-0.324922
3.363219
0.000092
0.1
0
0.455407
1
Fast_Feed
7,433
4,207
Warm
Warm
-3.220092
0.643932
0.000076
1
0
0.148403
1
Fast_Feed
442
4,637
Warm
Warm
0.937873
0.36813
0.000073
1
1
0.916149
1
E_Commerce
1,786
2,121
Warm
Warm
-3.351984
2.466209
0.000052
1
0
0.631464
0
Fast_Feed
3,280
1,532
Warm
Warm
8.037529
1.71225
0.000094
1
0
-0.93178
1
E_Commerce
1,119
4,070
Warm
Warm
1.703603
0.25954
0.000072
1
0
-0.755567
1
Fast_Feed
3,461
3,327
Warm
Warm
0.528684
1.328474
0.000099
1
1
-0.002785
1
Fast_Feed
4,673
196
Warm
Warm
-9.232088
0.299629
0.000053
1
0
0.712616
0
Fast_Feed
5,406
2,132
Warm
Warm
3.630964
0.855066
0.000089
1
0
-0.926362
1
Fast_Feed
6,773
1,176
Warm
Warm
-1.137693
0.335996
0.001231
1
1
-0.645395
1
Fast_Feed
9,124
170
Warm
Warm
1.179048
1.114668
0.000048
1
1
0.609324
1
E_Commerce
3,249
4,473
Warm
Warm
3.484586
3.4582
0.00005
1
0
0.98789
1
Fast_Feed
6,734
942
Warm
Warm
-0.363565
0.228104
0.000249
1
0
0.890986
1
Fast_Feed
1,297
1,837
Warm
Warm
2.690575
1.03109
0.000059
1
0
0.988281
1
Fast_Feed
5,700
169
Warm
Warm
0.71611
3.157516
0.000793
1
0
0.883321
1
Fast_Feed
6,968
812
Warm
Warm
3.484447
3.848883
0.000068
1
0
0.639126
1
Fast_Feed
5,313
4,571
Warm
Warm
0.991365
3.468111
0.000054
1
0
0.716784
1
E_Commerce
6,700
4,018
Warm
Warm
-1.746245
0.03394
0.000072
1
0
-0.992408
0
E_Commerce
1,699
315
Warm
Warm
1.798242
0.951454
0.000157
1
0
-0.735742
1
E_Commerce
7,926
4,485
Warm
Warm
2.774864
1.519758
0.000116
1
0
-0.905231
1
E_Commerce
1,833
3,698
Warm
Warm
0.546678
1.736197
0.000538
1
0
-0.982644
1
E_Commerce
3,164
4,979
Warm
Warm
-3.762783
2.179499
0.000152
1
0
0.986688
0
Fast_Feed
1,132
1,822
Warm
Warm
-1.170387
0.543521
0.00011
1
0
-0.999079
1
Fast_Feed
4,749
160
Warm
Warm
0.904995
0.978196
0.000071
1
1
0.101942
1
Fast_Feed
5,340
2,614
Warm
Warm
-0.55379
0.016932
0.000113
1
0
-0.951453
1
Fast_Feed
9,823
3,284
Warm
Warm
-1.872359
1.11622
0.000098
1
0
-0.999771
0
E_Commerce
4,963
1,117
Warm
Warm
-2.451183
1.658892
0.000086
1
0
0.979409
0
Fast_Feed
3,115
3,053
Warm
Warm
-5.029444
1.216194
0.000244
1
0
-0.985117
0
Fast_Feed
5,496
3,991
Warm
Warm
-0.777471
0.040351
0.000065
1
0
0.374103
1
Fast_Feed
9,989
1,198
Warm
Warm
-1.972462
0.331506
0.000175
1
0
-0.225294
1
Fast_Feed
7,524
4,105
Warm
Warm
-0.260972
2.800843
0.000054
1
0
-0.908866
1
Fast_Feed
3,311
4,108
Warm
Warm
0.273042
1.229004
0.000068
1
0
0.881606
1
E_Commerce
265
4,847
Warm
Warm
-0.924375
0.398194
0.000079
1
0
0.019733
1
Fast_Feed
3,984
2,939
Warm
Warm
-2.37834
1.337354
0.000073
1
0
0.583013
0
E_Commerce
6,370
3,667
Warm
Warm
1.264257
0.748418
0.000133
1
0
-0.542365
1
Fast_Feed
1,679
4,638
Warm
Warm
0.03235
0.139009
0.000088
1
0
-0.051311
1
Fast_Feed
2,117
1,368
Warm
Warm
-1.58897
1.968646
0.000084
1
1
-0.923778
0
E_Commerce
4,326
1,805
Warm
Warm
-2.228619
0.18434
0.000075
1
0
-0.504811
1
Fast_Feed
4,971
2,165
Warm
Warm
0.15125
1.311514
0.000347
1
0
-0.973613
1
E_Commerce
1,244
2,938
Warm
Warm
4.509084
0.063774
0.000061
1
0
-0.999803
1
E_Commerce
6,489
4,792
Warm
Warm
2.030267
0.066469
0.000098
1
0
0.950788
1
Fast_Feed
5,137
3,770
Warm
Warm
1.388809
0.551771
0.000413
1
0
-0.196756
1
E_Commerce
5,590
4,089
Warm
Warm
1.256668
0.244681
0.000072
1
0
0.557435
1
E_Commerce
519
2,599
Warm
Warm
-1.742711
0.524426
0.000263
1
0
-0.875904
0
Fast_Feed
6,351
1,638
Warm
Warm
3.926509
2.906593
0.000056
1
1
0.997549
1
Fast_Feed
5,781
4,675
Warm
Warm
0.264176
1.439211
0.000289
1
0
0.770408
1
Fast_Feed
804
3,093
Warm
Warm
-0.324286
0.986265
0.000128
1
0
0.727709
1
Fast_Feed
1,194
4,706
Warm
Warm
-0.203263
0.033154
0.00005
1
1
-0.544307
1
E_Commerce
5,826
758
Warm
Warm
-3.764896
0.297005
0.000447
1
1
-0.588587
1
Fast_Feed
1,620
4,956
Warm
Warm
-1.455045
0.054113
0.000051
1
1
-0.93107
1
E_Commerce
4,712
3,829
Warm
Warm
-0.467596
0.510711
0.000081
1
0
0.704081
1
E_Commerce
5,855
94
Warm
Warm
3.028134
0.926226
0.000054
1
0
0.995598
1
E_Commerce
5,028
4,957
Warm
Warm
3.31719
0.38274
0.000057
1
0
-0.216578
1
Fast_Feed
3,219
4,873
Warm
Warm
-0.004211
1.235392
0.000077
1
0
-0.432792
0
Fast_Feed
1,147
568
Warm
Warm
2.440537
0.123349
0.0001
1
0
-0.993895
1
E_Commerce
8,082
3,246
Warm
Warm
-1.596225
0.020196
0.000049
1
0
0.894828
1
E_Commerce
2,431
4,679
Warm
Warm
0.726784
0.152042
0.00009
1
0
-0.231068
1
E_Commerce
9,952
2,941
Cold
Warm
2.685411
1.945253
0.0005
0.1
0
0.340904
1
E_Commerce
8,146
574
Warm
Warm
-0.356052
0.814333
0.000057
1
1
0.984934
1
Fast_Feed
6,245
3,343
Warm
Warm
3.595084
3.04155
0.000048
1
1
-0.303965
1
Fast_Feed
3,399
4,751
Warm
Warm
-0.382573
0.320757
0.000088
1
1
-0.987215
1
Fast_Feed
1,304
1,305
Warm
Warm
7.690623
1.750112
0.000055
1
0
-0.999893
1
Fast_Feed
9,335
3,978
Warm
Warm
-0.134976
0.439581
0.000078
1
0
-0.855399
1
E_Commerce
1,086
4,601
Warm
Warm
4.111033
0.027724
0.000069
1
0
-0.644603
1
E_Commerce
3,992
2,545
Warm
Warm
-1.834195
0.320052
0.000089
1
0
0.136154
0
E_Commerce
128
2,199
Warm
Warm
-0.906502
1.511125
0.000058
1
0
0.61645
1
E_Commerce
4,922
450
Warm
Warm
1.545727
0.392189
0.000096
1
0
-0.997777
1
E_Commerce
5,591
2,985
Warm
Warm
0.689964
1.002811
0.000676
1
0
-0.435396
1
Fast_Feed
9,277
3,469
Warm
Warm
-0.091875
0.819714
0.000113
1
0
0.335154
1
E_Commerce
5,953
1,636
Warm
Warm
-3.260493
0.772792
0.00006
1
0
-0.02405
0
E_Commerce
104
424
Warm
Warm
0.194983
0.238745
0.00008
1
0
0.682884
1
E_Commerce
9,038
4,362
Warm
Warm
-4.439958
0.795605
0.00012
1
0
-0.013858
0
End of preview. Expand in Data Studio

YAML Metadata Warning:The task_categories "recommendation" is not in the official list: text-classification, token-classification, table-question-answering, question-answering, zero-shot-classification, translation, summarization, feature-extraction, text-generation, fill-mask, sentence-similarity, text-to-speech, text-to-audio, automatic-speech-recognition, audio-to-audio, audio-classification, audio-text-to-text, voice-activity-detection, depth-estimation, image-classification, object-detection, image-segmentation, text-to-image, image-to-text, image-to-image, image-to-video, unconditional-image-generation, video-classification, reinforcement-learning, robotics, tabular-classification, tabular-regression, tabular-to-text, table-to-text, multiple-choice, text-ranking, text-retrieval, time-series-forecasting, text-to-video, image-text-to-text, image-text-to-image, image-text-to-video, visual-question-answering, document-question-answering, zero-shot-image-classification, graph-ml, mask-generation, zero-shot-object-detection, text-to-3d, image-to-3d, image-feature-extraction, video-text-to-text, keypoint-detection, visual-document-retrieval, any-to-any, video-to-video, other

CausalRec: A Multi-Domain, Multi-Confounder Benchmark Dataset for Debiasing and Cold-Start Recommendations

CausalRec is a large-scale synthetic benchmark dataset containing 2.5 million interactions explicitly designed to bridge the gap between causal debiasing and cold-start optimization in Recommendation Systems (RecSys).

Unlike standard datasets that merge all biases into a single observable signal, CausalRec tracks 5 distinct system and context confounders as isolated variables alongside the absolute unpolluted ground-truth preference ($R^*$).

πŸ“Š Dataset Structure

The benchmark is split into two distinct, structured interaction environments:

  1. Fast-Feed (1.5M rows): Simulates high-velocity infinite scroll apps (e.g., Short Video platforms). Highly distorted by Position Bias ($C_1$) and Temporal Bias ($C_5$).
  2. E-Commerce (1.0M rows): Simulates high-intent marketplace catalogs. Highly distorted by Popularity Bias ($C_2$), Selection Bias ($C_3$), and Promotion Bias ($C_4$).

Data Fields

Each row represents a single simulated exposure event containing:

Column Name Type Description
domain String Environment source (Fast_Feed or E_Commerce)
user_id Integer Unique identifier for the user ($N=10,000$)
item_id Integer Unique identifier for the item ($N=5,000$ per domain)
user_type String Cohort classification: Warm or Cold (10% structural User Cold-Start pool)
item_type String Cohort classification: Warm or Cold (10% structural Item Cold-Start pool)
true_preference_r_star Float Ground Truth ($R^$)*: Pristine, unpolluted dot product of latent vectors
c1_position_bias Float Confounder 1: Layout presentation depth (Exponential scale)
c2_popularity_bias Float Confounder 2: Global Power-Law/Zipfian distribution impact
c3_selection_bias Float Confounder 3: Algorithmic exposure filter based on user profile historical volume
c4_promotion_bias Integer Confounder 4: Paid advertisement injection indicator (0 = Organic, 1 = Sponsored)
c5_temporal_bias Float Confounder 5: Cyclical continuous periodic wave variation
y_observed Integer Target Label ($Y$): The final corrupted, observable click outcome (0 or 1)

πŸš€ Quick Start (Usage)

You can load this benchmark instantly into any Python machine learning pipeline using the Hugging Face datasets library:

from datasets import load_dataset

# Load the benchmark dataset
dataset = load_dataset("alihassan1437/CausalRec")

# Inspect train/test structure
print(dataset)
Downloads last month
-