Dataset Viewer
Auto-converted to Parquet Duplicate
text
stringlengths
23
497
[d108472] 32266,32561,32673,33143,33364,33437,33772,34163,34391,34685,34885,34944,35212,35649,35804,36204,36397,36570,36749,37204,37409,37666,37889,38147
[d1842] 32318,32392,32696,33059,33393,33509,33837,33961,34412,34544,34805,35173,35453,35632,35954,36057,36343,36689,36819,37004,37487,37702,37808,38231
[d54870] 32252,32573,32780,33020,33369,33451,33801,33977,34249,34539,34735,34983,35381,35650,35933,36116,36247,36502,36971,37177,37447,37628,37777,38242
[d118713] 32154,32559,32646,33118,33271,33449,33770,33977,34416,34678,34718,34998,35428,35563,35934,36182,36388,36597,36912,37219,37325,37662,37931,38248
[d269237] 32211,32398,32677,32913,33248,33586,33858,34064,34219,34505,34812,34995,35342,35629,35901,36043,36273,36707,36819,37035,37356,37757,37899,38094
[d174111] 32234,32546,32803,32989,33401,33493,33760,34034,34345,34573,34880,35046,35413,35517,35737,36090,36348,36702,36762,37219,37371,37600,38002,38248
[d149686] 32232,32386,32860,32961,33214,33567,33896,33975,34360,34602,34713,35155,35317,35686,35854,36141,36401,36531,36846,37151,37343,37743,37809,38073
[d42150] 32169,32516,32780,32960,33308,33521,33895,34170,34399,34641,34783,34969,35254,35553,35849,36187,36333,36691,36897,37073,37404,37693,37786,38219
[d90442] 32332,32557,32651,33083,33261,33513,33795,34102,34378,34646,34847,35023,35390,35697,35954,35975,36458,36701,36819,37190,37278,37759,37873,38250
[d6709] 32313,32622,32714,33089,33368,33434,33769,34033,34320,34634,34865,34969,35373,35549,35736,36029,36443,36696,36848,37137,37249,37707,38007,38052
[d12636] 32265,32414,32822,33028,33176,33460,33743,34135,34316,34573,34928,35046,35246,35667,35748,36190,36348,36702,36746,37099,37414,37728,37976,38096
[d11794] 32207,32512,32696,33102,33192,33519,33796,33978,34397,34541,34845,35082,35446,35478,35929,36054,36264,36554,36779,37113,37280,37645,37886,38118
[d69888] 32311,32516,32780,32980,33304,33580,33832,34093,34200,34633,34739,35129,35264,35650,35712,36177,36265,36502,36756,37140,37447,37563,38015,38266
[d49878] 32156,32485,32819,33092,33365,33412,33907,34088,34413,34446,34846,35078,35355,35604,35858,36084,36343,36722,36827,37091,37431,37614,37939,38153
[d126540] 32306,32630,32791,32911,33159,33592,33783,34033,34381,34586,34766,35152,35280,35483,35781,36145,36478,36499,36834,37129,37483,37701,37822,38224
[d84076] 32372,32468,32691,32926,33234,33430,33726,34124,34408,34686,34866,34996,35453,35697,35867,36023,36367,36689,36805,37190,37278,37596,37927,38250
[d11655] 32336,32493,32747,32941,33394,33418,33726,34084,34349,34666,34762,35109,35203,35691,35819,36156,36454,36661,36776,37116,37391,37682,37971,38215
[d34947] 32372,32468,32847,32926,33395,33430,33726,34124,34408,34686,34866,34996,35453,35697,35867,36023,36367,36694,36805,37172,37278,37573,37873,38250
[d2948] 32256,32472,32740,33027,33203,33564,33700,34079,34388,34462,34705,35148,35385,35539,35887,36147,36374,36694,36911,37179,37329,37584,37923,38198
[d277141] 32349,32527,32643,33148,33234,33535,33910,33959,34196,34628,34855,35128,35453,35570,35783,36197,36369,36597,36900,37138,37292,37705,37823,38112
[d234059] 32279,32615,32871,33058,33224,33569,33748,33965,34188,34650,34698,35144,35333,35496,35749,36051,36404,36704,36950,37201,37272,37555,37899,38200
[d243472] 32245,32485,32664,33092,33172,33601,33880,34033,34228,34522,34846,35105,35339,35593,35806,36089,36343,36689,36937,37190,37431,37703,37823,38153
[d1888] 32354,32511,32794,32977,33203,33564,33700,34079,34220,34598,34705,35036,35385,35480,35747,36049,36374,36694,36911,36993,37329,37584,37923,38091
[d67401] 32243,32461,32647,33056,33340,33611,33894,34115,34248,34674,34890,34959,35379,35518,35771,36223,36296,36656,36901,37042,37332,37505,37959,38062
[d42897] 32237,32435,32680,33037,33158,33640,33787,34156,34377,34577,34888,34953,35269,35691,35819,36152,36370,36551,36790,37242,37325,37512,37960,38020
[d103255] 32182,32564,32657,33065,33205,33533,33757,34140,34225,34551,34806,35189,35365,35568,35754,36009,36224,36616,36752,37191,37491,37738,37833,38218
[d141334] 32210,32546,32834,33010,33223,33614,33743,34061,34257,34528,34811,35046,35364,35655,35742,35985,36309,36551,36786,37099,37353,37712,37885,38044
[d74169] 32378,32454,32646,32964,33263,33593,33887,34034,34397,34524,34818,35044,35430,35482,35762,36164,36277,36620,36877,37040,37436,37585,37979,38182
[d93001] 32265,32586,32815,33008,33177,33544,33900,33971,34315,34582,34785,34986,35393,35634,35849,36140,36228,36715,36928,37046,37311,37642,37860,38042
[d86146] 32224,32586,32730,33118,33298,33472,33747,33972,34392,34517,34723,34986,35280,35710,35959,36162,36228,36595,36753,37133,37405,37587,37781,38262
[d10666] 32275,32447,32865,33082,33293,33558,33870,33933,34412,34674,34688,34946,35440,35566,35874,36011,36261,36666,36791,37038,37286,37608,37813,38019
[d116851] 32150,32618,32789,33117,33233,33458,33789,33944,34275,34616,34744,35070,35209,35710,35944,36211,36455,36708,36968,37117,37373,37536,37771,38173
[d42148] 32169,32516,32780,32960,33368,33521,33895,34170,34399,34582,34783,34994,35254,35553,35933,36029,36333,36691,36754,37073,37404,37694,37786,38219
[d51734] 32378,32454,32786,32964,33280,33593,33760,33941,34390,34590,34818,35044,35430,35482,35747,36164,36277,36620,36736,37040,37436,37585,37979,38182
[d145992] 32312,32607,32877,33009,33245,33479,33704,34162,34333,34459,34780,35178,35399,35508,35863,36091,36333,36728,36855,37084,37300,37756,37985,38245
[d50569] 32129,32435,32786,32921,33374,33534,33787,34137,34419,34647,34690,34987,35297,35691,35742,36030,36377,36550,36868,37005,37408,37583,37960,38033
[d243471] 32160,32485,32664,33148,33172,33601,33826,34033,34228,34522,34866,35105,35201,35593,35806,35969,36343,36689,36937,37172,37431,37703,37823,38153
[d124648] 32286,32485,32645,33148,33172,33530,33880,34033,34205,34522,34866,35105,35453,35626,35838,36023,36351,36695,36745,37032,37313,37703,37815,38115
[d4362] 32129,32385,32646,33118,33352,33593,33770,34091,34354,34640,34811,34970,35428,35563,35819,36182,36478,36597,36912,37071,37325,37636,37960,38214
[d130142] 32129,32595,32786,32907,33280,33651,33915,34097,34192,34559,34915,35094,35286,35598,35888,36112,36328,36663,36953,37194,37295,37635,37984,38041
[d50730] 32240,32578,32815,33038,33406,33650,33900,33999,34315,34472,34844,35033,35327,35484,35959,36129,36345,36609,36928,37016,37254,37587,37870,38244
[d16898] 32327,32557,32820,32926,33195,33607,33778,34124,34378,34686,34911,35181,35453,35697,35955,36069,36367,36678,36805,37190,37278,37680,37873,38019
[d91518] 32150,32597,32668,33117,33369,33448,33789,34043,34332,34456,34744,35117,35363,35651,35925,36120,36455,36647,36778,37228,37340,37744,37956,38171
[d54552] 32197,32612,32665,32936,33286,33493,33783,34033,34239,34565,34700,34944,35228,35483,35798,35983,36389,36499,36806,37005,37322,37736,37835,38218
[d129305] 32353,32533,32819,33092,33305,33601,33726,34022,34379,34644,34866,34996,35241,35697,35867,36023,36399,36732,36849,37075,37313,37736,37927,38108
[d373485] 32198,32516,32791,32980,33350,33429,33895,34033,34407,34514,34925,35086,35381,35596,35781,36116,36265,36532,36834,37176,37462,37695,37777,38076
[d69864] 32228,32428,32714,33089,33308,33440,33769,34087,34320,34656,34851,34969,35373,35549,35736,36007,36443,36696,36848,37208,37249,37609,38007,38052
[d63040] 32194,32567,32667,33061,33201,33613,33795,34110,34324,34521,34880,35106,35235,35642,35947,36194,36456,36587,36758,37194,37368,37510,37857,38271
[d114007] 32269,32498,32714,33128,33159,33642,33918,34050,34200,34436,34747,34969,35315,35599,35730,36029,36420,36487,36756,37215,37486,37623,38004,38140
[d23971] 32212,32576,32847,32938,33175,33617,33782,34045,34305,34638,34915,35045,35371,35476,35902,36147,36335,36528,36844,37058,37413,37564,37868,38057
[d54046] 32265,32544,32760,33040,33191,33460,33775,34050,34326,34451,34940,35046,35364,35685,35737,36155,36246,36695,36746,37070,37349,37665,37929,38110
[d27280] 32241,32561,32795,33017,33364,33414,33793,34120,34176,34566,34930,35055,35212,35598,35804,36057,36397,36570,36763,37100,37409,37693,37889,38147
[d5248] 32191,32522,32647,33020,33319,33493,33740,34172,34230,34660,34840,35167,35424,35532,35774,35993,36443,36591,36754,37102,37381,37723,37991,38061
[d37492] 32252,32452,32817,33064,33368,33632,33910,34020,34230,34502,34933,34988,35263,35478,35920,36116,36247,36488,36849,36996,37447,37671,37920,38070
[d56567] 32301,32401,32746,32980,33369,33433,33755,34061,34255,34633,34735,34983,35360,35586,35933,36116,36247,36502,36971,37177,37447,37723,37777,38177
[d95802] 32211,32523,32703,33003,33326,33477,33671,34016,34317,34512,34832,35028,35319,35583,35726,36038,36459,36596,36791,37036,37432,37578,37852,38194
[d34307] 32234,32568,32680,33028,33351,33659,33787,34002,34346,34600,34928,35079,35353,35641,35900,36030,36415,36731,36859,37176,37452,37640,37920,38097
[d142620] 32252,32573,32780,32939,33369,33451,33801,33977,34255,34539,34925,34983,35228,35587,35923,36116,36247,36488,36756,37080,37447,37642,37777,38076
[d60361] 32349,32486,32736,33148,33312,33520,33876,34019,34247,34674,34750,35128,35358,35634,35848,36068,36449,36597,36937,37198,37386,37614,38008,38112
[d91641] 32272,32567,32731,33120,33323,33599,33877,33940,34236,34506,34819,34992,35284,35601,35775,35970,36472,36494,36758,37032,37277,37584,37847,38060
[d401] 32378,32385,32650,33071,33263,33457,33837,34146,34336,34686,34913,35173,35336,35664,35954,36101,36369,36689,36819,37004,37487,37702,37927,38230
[d17646] 32271,32485,32645,33148,33323,33535,33880,34033,34345,34509,34866,35105,35453,35626,35721,36025,36369,36658,36900,37032,37313,37525,37815,38191
[d84505] 32240,32578,32815,33038,33404,33650,33900,33999,34315,34472,34844,35033,35327,35484,35959,36081,36345,36609,36928,37016,37460,37587,37870,38080
[d24286] 32370,32445,32752,33092,33166,33605,33873,34077,34337,34458,34715,35165,35438,35466,35824,36017,36410,36607,36974,37033,37420,37526,37930,38054
[d270941] 32182,32564,32741,33065,33205,33533,33757,34140,34225,34551,34806,35189,35365,35568,35754,36087,36285,36616,36802,37191,37491,37738,37833,38218
[d428624] 32237,32435,32680,33037,33158,33640,33787,34156,34335,34495,34888,34970,35402,35467,35819,36152,36370,36551,36753,37242,37325,37512,37960,38020
[d106116] 32178,32441,32786,33110,33324,33470,33717,33960,34237,34591,34710,35182,35327,35641,35717,36009,36467,36730,36753,37126,37328,37639,37960,38104
[d7989] 32281,32564,32825,33096,33205,33533,33757,34078,34381,34551,34849,35189,35365,35700,35741,36087,36285,36616,36779,37191,37491,37655,37825,38140
[d113131] 32313,32425,32797,33020,33344,33414,33829,34173,34357,34495,34926,34988,35348,35709,35815,36054,36389,36500,36963,37046,37305,37692,37887,38153
[d499881] 32349,32478,32714,33020,33210,33556,33910,34033,34211,34615,34865,35072,35314,35656,35878,36127,36443,36579,36981,37037,37320,37536,37802,38244
[d27504] 32180,32516,32780,32980,33368,33486,33895,33935,34200,34445,34806,35129,35381,35553,35933,36187,36265,36712,36848,37073,37404,37694,37786,38245
[d39703] 32284,32524,32762,33101,33370,33532,33734,34091,34349,34640,34899,35125,35214,35503,35842,36208,36229,36630,36956,37211,37450,37613,37814,38179
[d198461] 32332,32625,32719,32963,33261,33513,33795,34088,34378,34559,34866,35023,35272,35467,35954,35975,36458,36504,36744,37034,37368,37759,37915,38027
[d122583] 32253,32457,32746,33062,33283,33503,33769,33924,34315,34634,34783,34988,35360,35537,35933,36177,36247,36560,36769,37073,37267,37666,38007,38071
[d30789] 32252,32573,32780,32939,33369,33451,33801,33977,34218,34539,34925,34983,35381,35650,35923,36116,36247,36502,36971,37177,37447,37628,37777,38053
[d118780] 32202,32635,32777,32914,33190,33625,33891,34050,34383,34632,34767,35150,35325,35706,35849,36094,36439,36708,36849,37086,37306,37555,37987,38076
[d188843] 32228,32405,32648,32991,33258,33620,33750,33931,34391,34592,34886,35076,35384,35606,35799,36056,36457,36677,36932,37243,37475,37547,37896,38231
[d9766] 32378,32454,32800,32964,33263,33569,33887,34155,34390,34590,34837,35114,35394,35575,35762,36119,36284,36620,36957,37108,37436,37585,37979,38182
[d178349] 32308,32395,32670,32944,33215,33657,33703,33952,34215,34515,34884,34993,35330,35506,35820,36212,36465,36523,36939,37127,37445,37605,37914,38037
[d12080] 32234,32580,32803,33140,33394,33561,33744,33978,34312,34555,34880,35046,35403,35517,35737,36008,36348,36597,36757,37219,37325,37600,37885,38248
[d19343] 32284,32634,32781,32995,33383,33469,33734,34014,34226,34506,34768,35125,35386,35503,35842,36101,36229,36525,36925,37211,37412,37750,37814,38028
[d179113] 32194,32636,32662,33061,33275,33543,33870,33997,34384,34553,34834,34976,35379,35670,35861,36002,36378,36494,36791,37236,37332,37758,37971,38099
[d52970] 32248,32604,32750,33031,33381,33538,33841,34051,34337,34639,34933,35163,35438,35616,35920,36172,36232,36635,36820,37118,37352,37737,37763,38219
[d31538] 32261,32515,32749,32979,33343,33573,33867,34075,34403,34594,34835,35164,35326,35617,35772,36073,36465,36486,36986,37128,37362,37540,37992,38030
[d57836] 32265,32446,32753,33118,33244,33449,33770,34164,34308,34678,34898,35046,35428,35563,35895,36182,36388,36488,36912,37071,37325,37662,37931,38248
[d109805] 32142,32438,32699,33006,33379,33514,33668,33925,34302,34593,34906,35120,35210,35648,35901,36067,36412,36669,36871,37083,37419,37631,37867,38173
[d19397] 32324,32492,32718,33004,33232,33426,33861,34079,34320,34537,34941,35060,35423,35522,35887,36020,36460,36722,36977,37194,37412,37533,37923,38236
[d77916] 32212,32553,32698,32938,33155,33617,33852,34086,34305,34506,34915,34992,35371,35476,35836,36026,36332,36528,36878,37058,37413,37649,37868,38221
[d41972] 32362,32505,32831,33102,33192,33519,33796,33925,34242,34541,34869,35082,35287,35478,35847,36062,36264,36675,36812,37113,37280,37632,37886,38031
[d144713] 32257,32625,32876,32963,33261,33613,33739,33970,34324,34559,34854,35023,35203,35467,35954,35975,36458,36494,36926,37038,37368,37596,37927,38027
[d100798] 32361,32521,32818,33060,33247,33591,33745,33991,34407,34579,34848,35104,35375,35515,35769,36051,36459,36617,36962,37172,37432,37567,37813,38100
[d43781] 32198,32516,32753,33020,33304,33451,33769,34033,34342,34548,34740,35136,35292,35532,35774,36116,36333,36532,36754,37241,37447,37622,37777,38260
[d132026] 32221,32510,32800,33036,33335,33473,33825,33993,34194,34638,34809,35093,35358,35567,35952,35969,36461,36526,36928,37079,37353,37610,37925,38270
[d477593] 32191,32635,32777,32914,33266,33586,33726,34050,34386,34632,34735,35150,35402,35634,35781,36137,36434,36708,36794,37179,37306,37555,37835,38197
[d95965] 32133,32468,32664,33092,33300,33601,33726,34033,34408,34544,34846,35093,35201,35664,35806,35969,36343,36689,36937,37063,37431,37614,37823,38108
[d58045] 32315,32573,32780,33140,33379,33537,33908,34050,34208,34633,34877,35129,35264,35610,35923,36116,36265,36559,36756,37099,37486,37552,37849,38242
[d16108] 32287,32452,32753,32998,33178,33598,33769,33924,34307,34455,34735,35067,35403,35563,35923,36061,36469,36606,36982,37177,37298,37540,37777,38219
[d52151] 32225,32516,32780,32960,33368,33451,33895,34154,34332,34539,34783,35129,35360,35553,35933,36187,36441,36712,36754,37073,37404,37671,37777,38219
[d20817] 32160,32505,32714,33089,33239,33434,33769,34165,34250,34560,34740,35136,35373,35549,35736,36007,36443,36696,36834,37065,37249,37570,37974,38052
[d54869] 32252,32573,32780,33020,33369,33451,33769,34033,34249,34539,34925,34983,35381,35650,35933,36116,36247,36502,36971,37177,37447,37723,37777,38051
End of preview. Expand in Data Studio

πŸ“„ ddro-docids

This repository provides the generated document IDs (DocIDs) used for training and evaluating the DDRO (Direct Document Relevance Optimization) models.

Two types of DocIDs are included:

  • PQ (Product Quantization) DocIDs: Compact semantic representations based on quantized document embeddings.
  • TU (Title + URL) DocIDs: Tokenized document identifiers constructed from document titles and/or URLs.

πŸ“š Contents

  • pq_msmarco_docids.txt: PQ DocIDs for MS MARCO (MS300K).
  • tu_msmarco_docids.txt: TU DocIDs for MS MARCO (MS300K).
  • pq_nq_docids.txt: PQ DocIDs for Natural Questions (NQ320K).
  • tu_nq_docids.txt: TU DocIDs for Natural Questions (NQ320K).

Each file maps a document ID to its corresponding tokenized docid representation.


πŸ“Œ Details

  • Maximum Length:
    • PQ DocIDs: Up to 24 tokens (24 subspaces for PQ coding).
    • TU DocIDs: Up to 99 tokens (after tokenization and truncation).
  • Tokenizer and Model:
    • T5-Base tokenizer and model are used for tokenization.
  • DocID Construction:
    • PQ DocIDs: Generated by quantizing dense document embeddings obtained from a SentenceTransformer (GTR-T5-Base) model.
    • TU DocIDs: Generated by tokenizing reversed URL segments or document titles combined with domains based on semantic richness.
  • Final Adjustment:
    • All DocIDs are appended with [1] (end-of-sequence) token for consistent decoding.

πŸ› οΈ Code for Embedding and DocID Generation

Step 1: Generate Document Embeddings

Document embeddings are generated using a SentenceTransformer model (gtr-t5-base by default). The scripts used to generate these embbedings are available here.

Example:

python generate_embeddings.py \
    --input_path path/to/input.jsonl \
    --output_path path/to/save/embeddings.txt \
    --model_name sentence-transformers/gtr-t5-base \
    --batch_size 128 \
    --dataset msmarco
  • input_path: Path to the document corpus.
  • output_path: Destination for the generated embeddings.
  • dataset: Choose msmarco or nq.

Note: For NQ, documents are loaded differently (from gzipped TSV format).


πŸ› οΈ Code for DocID Generation

The scripts used to generate these DocIDs are available here.

Key functionality:

  • Loading document embeddings and documents.
  • Encoding document IDs with PQ codes or URL/title-based tokenization.
  • Applying consistent token indexing for training generative retrievers.

Example usage:

python generate_encoded_docids.py \
    --encoding pq \
    --input_doc_path path/to/documents.jsonl \
    --input_embed_path path/to/embeddings.txt \
    --output_path path/to/save/pq_docids.txt \
    --pretrain_model_path transformer_models/t5-base

Supported encoding options: atomic, pq, url, summary

πŸ“– Citation

If you use these docids, please cite:

@article{mekonnen2025lightweight,
author = {Mekonnen, Kidist Amde and Tang, Yubao and de Rijke, Maarten},
title = {Lightweight and Direct Document Relevance Optimization for Generative Information Retrieval},
year = {2025},
isbn = {9798400715921},
publisher = {Association for Computing Machinery},
address = {New York, NY, USA},
url = {https://doi.org/10.1145/3726302.3730023},
doi = {10.1145/3726302.3730023},
abstract = {Generative information retrieval (GenIR) is a promising neural retrieval paradigm that formulates document retrieval as a document identifier (docid) generation task, allowing for end-to-end optimization toward a unified global retrieval objective. However, existing GenIR models suffer from token-level misalignment, where models trained to predict the next token often fail to capture document-level relevance effectively. While reinforcement learning-based methods, such as reinforcement learning from relevance feedback (RLRF), aim to address this misalignment through reward modeling, they introduce significant complexity, requiring the optimization of an auxiliary reward function followed by reinforcement fine-tuning, which is computationally expensive and often unstable. To address these challenges, we propose direct document relevance optimization (DDRO), which aligns token-level docid generation with document-level relevance estimation through direct optimization via pairwise ranking, eliminating the need for explicit reward modeling and reinforcement learning. Experimental results on benchmark datasets, including MS MARCO document and Natural Questions, show that DDRO outperforms reinforcement learning-based methods, achieving a 7.4\% improvement in MRR@10 for MS MARCO and a 19.9\% improvement for Natural Questions. These findings highlight DDRO's potential to enhance retrieval effectiveness with a simplified optimization approach. By framing alignment as a direct optimization problem, DDRO simplifies the ranking optimization pipeline of GenIR models while offering a viable alternative to reinforcement learning-based methods},
booktitle = {Proceedings of the 48th International ACM SIGIR Conference on Research and Development in Information Retrieval},
pages = {1327–1338},
numpages = {12},
keywords = {document relevance optimization, generative information retrieval, learning to rank, ranking optimization, supervised fine-tuning},
location = {Padua, Italy},
series = {SIGIR '25}
}

Downloads last month
45

Collection including kiyam/ddro-docids